ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "George N. White III" <gnwiii@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: migrating to ConTeXt
Date: Sat, 29 Dec 2007 08:48:18 -0400	[thread overview]
Message-ID: <22af238a0712290448p68a940b8wdae97221c601462a@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.0.9999.0712241430560.14218@nqv-yncgbc>


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

On 12/24/07, Aditya Mahajan <adityam@umich.edu> wrote:

On Sat, 22 Dec 2007, Gour wrote:
>
> > 5) I read LaTeX in proper ConTeXt pdf, but I'm interested is there some
> > helper to convert classical LaTeX book (book class) to ConTeXt? I've two
> > books which I'm considering to publish as one (~1000p) in the future, so
> > any help in conversion would be nice.
>
> I do this quite often (ConTeXt -> LaTeX), so I am just writing my thoughts
> about this. A general purpose translator from ConTeXt to LaTeX is VERY
> difficult, because of the nature of both macro languages. However, it is
> relatively simple to convert a subset of one to the other. Currently, I
> write most of my papers in ConTeXt. For the final version of the paper,
> most journals want LaTeX. I know my style of writing ConTeXt, and can
> easily convert 95% percent of it to LaTeX using regular expressions (and
> have been thinking of exploring gema in more detail:
> http://gema.sourceforge.net/). It is easier to do the rest by hand rather
> than writing a script that takes care of all the corner cases. Usually it
> takes me around 2 hours to convert a (30-40 page) paper from ConTeXt to
> LaTeX. Since this needs to be done only once every six months or so, I
> have not spent too much time trying to optimize my approach. I think that
> the same will be true for conversion from LaTeX to ConTeXt. However, I
> would suggest that you start by writing some ConTeXt documents by hand,
> before you automate the conversion. This way, you will know what you want
> to achieve from a conversion script.



This is consistent with my experience.

I suggest that anyone considering such conversions creating a simple test
document with one example of each construct you use.   I took Lamport's
sample2e.tex, added a figure and a table, and then made a context version
which is part of my test suite for new  tex installations.


-- 
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2007-12-29 12:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-22  6:55 Gour
2007-12-22  9:13 ` luigi scarso
2007-12-22 10:01   ` Gour
2007-12-22 11:00     ` Jean Magnan de Bornier
2007-12-22 14:02       ` Gour
2007-12-22 13:33     ` Mojca Miklavec
2007-12-22 14:19       ` Gour
2007-12-22 20:09         ` Mojca Miklavec
2007-12-22 21:11           ` Gour
2007-12-23 12:57             ` Wolfgang Schuster
2007-12-23 15:39               ` Idris Samawi Hamid
2007-12-24  6:43                 ` Gour
2007-12-24  8:29                   ` Hans Hagen
2007-12-24 15:58                     ` Gour
2007-12-24 14:58                   ` Idris Samawi Hamid
2007-12-24 15:15                   ` Wolfgang Schuster
2007-12-24  6:41               ` Gour
2007-12-24 19:40     ` Aditya Mahajan
2007-12-29 12:48       ` George N. White III [this message]

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=22af238a0712290448p68a940b8wdae97221c601462a@mail.gmail.com \
    --to=gnwiii@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).