ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Zeljko Vrba <mordor@fly.srk.fer.hr>
Subject: An idea
Date: Thu, 1 Dec 2005 17:29:14 +0100	[thread overview]
Message-ID: <20051201162914.GA14497@fly.srk.fer.hr> (raw)


A motivation and idea that came to mind while writing a post to comp.text.tex:

==
Then again, most (all?) of publishers require Latex source, if my document
ever makes it that far.. And Latex has nicer source code formatting than
Context. so I'm really split between Latex and Context..

None of them individually fit all (I admit, vague) requirements.. Context
being able to chew up Latex .cls files and still allowing for its advanced
formatting directives, long tables, and other goodies would be a perfect
match.
==

Basically, rewrite standard Latex environments and commands (\chapter,
\section, itemize, enumerate, etc..) present in article.cls and report.cls
to expand to Context commands that give an equivalent layout..

How much work would it be? Either a Latex emulation environment or a new
implementation of "Latex classes" for Context?

I have to admit that I don't have time to start implementing either. I'm just
interested in some feasibility opinions..

80% of Latex<>Context transition can be done with a few simple regexes.
Other 20% have to be translated by hand, and it is very painful, esp.
if tables are in question..

             reply	other threads:[~2005-12-01 16:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-01 16:29 Zeljko Vrba [this message]
2005-12-02 14:14 ` Hans Hagen
2005-12-02 17:43   ` Zeljko Vrba
2005-12-02 16:56 ` Nikolai Weibull
2005-12-02 17:04   ` Taco Hoekwater
2005-12-02 19:15     ` Re[2]: " Giuseppe Bilotta
2005-12-02 17:46   ` Zeljko Vrba
2005-12-02 18:43     ` Nikolai Weibull
2005-12-03 19:45       ` Nikolai Weibull
2005-12-03 22:48         ` Christopher Creutzig
2005-12-04 17:57           ` Nikolai Weibull
2005-12-04 19:00           ` Hans Hagen
2005-12-11 21:17             ` Christopher Creutzig
2005-12-04 18:59         ` Hans Hagen
2005-12-04 19:14           ` Nikolai Weibull
2005-12-04 20:38             ` Hans Hagen
2005-12-05 20:48               ` Nikolai Weibull
2005-12-06  9:11                 ` Hans Hagen
2005-12-05 19:27   ` 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=20051201162914.GA14497@fly.srk.fer.hr \
    --to=mordor@fly.srk.fer.hr \
    --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).