ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Haltiwanger <john.haltiwanger@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTexT conversion to html/rtf/odt
Date: Sun, 7 Nov 2010 10:18:53 +0000	[thread overview]
Message-ID: <AANLkTinmdKEi0Z73HjYrF-wu0ZxpFZYRF-TPZ-h6RGOE@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1011061655200.12550@ybpnyubfg.ybpnyqbznva>


[-- Attachment #1.1: Type: text/plain, Size: 1625 bytes --]

On Sat, Nov 6, 2010 at 9:00 PM, Aditya Mahajan <adityam@umich.edu> wrote:

> On Sat, 6 Nov 2010, Manfred Lotz wrote:
>
>  work for ConTeXt and then I would like to know what other alternatives
>> I have. Also regarding rtf or/and odt.
>>
>
> Since you do not need any fancy features, a simpler option is to use
> markdown as your starting format and use pandoc to convert it to context,
> html, and odt. However, creating even slightly complicated tables in
> markdown is a pain, unless your editor supports an ascii table mode.
>
>
This is indeed a decent solution, one which worked for typesetting my thesis
in PDF and HTML. (You get RTF and ODT for free, assuming it doesn't take
much glue to get it to look the way you want). I had to write a wrapper
script to do regular expression parsing to take care of edge cases (pandoc
is written in Haskell, so to 'scripting' the application requires working in
that language; my choice was to do a more hackish approach that used a Ruby
script that generated multiple markdown files)

Aditya, do perhaps know one of these editors with ASCII table mode?




> Aditya
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
>
> ___________________________________________________________________________________
>
>

[-- Attachment #1.2: Type: text/html, Size: 2702 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2010-11-07 10:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06 19:33 Manfred Lotz
2010-11-06 21:00 ` Aditya Mahajan
2010-11-07 10:18   ` John Haltiwanger [this message]
2010-11-07 20:50     ` Aditya Mahajan
2010-11-07 10:54   ` Manfred Lotz
2010-11-07 11:09     ` luigi scarso
2010-11-07 11:12     ` Hans Hagen
2010-11-07 11:02   ` luigi scarso
2010-11-07  9:51 ` Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinmdKEi0Z73HjYrF-wu0ZxpFZYRF-TPZ-h6RGOE@mail.gmail.com \
    --to=john.haltiwanger@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).