From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23984 Path: news.gmane.org!not-for-mail From: Zeljko Vrba Newsgroups: gmane.comp.tex.context Subject: An idea Date: Thu, 1 Dec 2005 17:29:14 +0100 Message-ID: <20051201162914.GA14497@fly.srk.fer.hr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133529742 27419 80.91.229.2 (2 Dec 2005 13:22:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2005 13:22:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 14:22:15 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EiArT-0001bV-Kg for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2005 14:22:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5AF5B12834; Fri, 2 Dec 2005 14:19:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11172-01-74; Fri, 2 Dec 2005 14:19:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC9E912836; Fri, 2 Dec 2005 14:18:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C9A2127B8 for ; Fri, 2 Dec 2005 14:16:48 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10345-04-66 for ; Fri, 2 Dec 2005 14:16:44 +0100 (CET) Original-Received: from fly.srk.fer.hr (fly.srk.fer.hr [161.53.74.66]) by ronja.ntg.nl (Postfix) with ESMTP id 0F78912890 for ; Thu, 1 Dec 2005 17:29:15 +0100 (CET) Original-Received: from fly.srk.fer.hr (mordor@localhost [127.0.0.1]) by fly.srk.fer.hr (8.12.10/8.12.10) with ESMTP id jB1GTEF7014968 for ; Thu, 1 Dec 2005 17:29:14 +0100 (MET) Original-Received: (from mordor@localhost) by fly.srk.fer.hr (8.12.10/8.12.2/Submit) id jB1GTEv0014967 for ntg-context@ntg.nl; Thu, 1 Dec 2005 17:29:14 +0100 (MET) Original-To: ntg-context@ntg.nl Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (fly.srk.fer.hr [127.0.0.1]); Thu, 01 Dec 2005 17:29:14 +0100 (MET) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:23984 Archived-At: 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..