From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4020 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: texexec Date: Sun, 11 Feb 2001 22:14:59 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010211221459.01dd2d70@server-1> References: <000d01c093b0$4985b340$a3ccfea9@nuovo> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394715 22141 80.91.224.250 (23 Oct 2002 17:38:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:38:35 +0000 (UTC) Cc: "ConTeXt" Original-To: "Giuseppe Bilotta" In-Reply-To: <000d01c093b0$4985b340$a3ccfea9@nuovo> Xref: main.gmane.org gmane.comp.tex.context:4020 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4020 At 08:02 PM 2/10/01 +0100, Giuseppe Bilotta wrote: >Hello, > >I'm getting so used to ConTeXt that I sometime >run texexec on my LaTeX documents. So I found >that it would be nice if texexec had (possibly >limited) support for non-ConTeXt format, especially >plain and LaTeX. > >I could then link .tex files to texexec without worries. > >E.g., when texexec recognizing a LaTeX document, >it simply bails out; it would be nice if it closed >the cont-?? session and started a latex session if you run a latex doc trough context, it should abort, since: \def\documentstyle% {\showmessage{\m!systems}{3}{} \stoptekst} \let\documentclass\documentstyle >(possibly running enough times to fix cross-refs, plus >running bibtex and makeindex etc---and stopping after >no more than 10 --configurable-- runs, to prevent >hangups when non-converging LaTeX documents are parsed; >such features are implemented in the MiKTeX program texify). >Plain support would be even less mess. Is it much work to do? Implementing it is not so much a problem i think, but my knowledge of latex is minimal and i never run it. Actually, if i would need it, i would probably implement it -) Running bibtex is on the todo list anyway. the "number of runs" limit is already implemented. >Recognizing a format should not be much work, especially >if using well-behaved distributions AND well-behaved files >that use the %&fmtname metacommand. Well, LaTeX files can be >recognized by \documentclass, anyway. And the user could >always force in some way the format in case of misrecognitions. Well, actually texexec can handle other formats: texexec --format=plain works well. And afaik latex works too, so texexec --make --make --format=latex.ltx works too. I didn't test is, but i suppose that % format=latex as a first line should work, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------