From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41221 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: on the fly TeX typesetting Date: Tue, 27 May 2008 13:52:29 +0200 Message-ID: <483BF5FD.3010206@wxs.nl> References: <20080526193234.GA30886@blackowl.org> <483B26A2.7000508@wxs.nl> <20080527103527.GA550@blackowl.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211889284 11509 80.91.229.12 (27 May 2008 11:54:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2008 11:54:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 27 13:55:23 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1K0xlu-0007A5-Tg for gctc-ntg-context-518@m.gmane.org; Tue, 27 May 2008 13:55:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 922CA1FCCA; Tue, 27 May 2008 13:54:26 +0200 (CEST) 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 23696-05-2; Tue, 27 May 2008 13:53:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CD831FBA8; Tue, 27 May 2008 13:53:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C4001FC83 for ; Tue, 27 May 2008 13:53:32 +0200 (CEST) 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 24206-01 for ; Tue, 27 May 2008 13:52:50 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id C9AA41FBA8 for ; Tue, 27 May 2008 13:52:35 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 8820-1840426 for ; Tue, 27 May 2008 13:52:34 +0200 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <20080527103527.GA550@blackowl.org> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:41221 Archived-At: Olivier wrote: >>> I'm just wondering how TeX labels in metapost pictures are generated >>> when using mplib: if the set of pictures are all build through the >>> library which saves loading time and hd read/writes, it would be strange >>> to launch another TeX compiler. >> i'm not sure what you mean .. in mkiv there are no tex compilers >> launched, everything happens internally > > In the case of a standalone metapost graphic, if some label requires TeX > typesetting, the metapost file is first processed by mpost, then the > need for TeX typesetting is discovered and TeX is launched to produce > the labels and they are incorporated back into the metapost figure, > right? So in the case of mplib who takes care of the label typesetting? nothing ... handling text is then up to the calling applications; from the perspective of mp text is just a picture or whatever else it can manipulate > Does your already running instance of TeX (LuaTeX and mkiv) handles the > job of typesetting the labels? Even if this is completely disconnected > from the flow of the document currently processed? well, did you try it? the mpost related code in mkiv does the labels (there is/will be an article on how that is done in a couple of tex user group journals); so ... in context/mkiv no tex runs inside tex runs unless you do somethign real tricky like graphictext which needs to pipe pdf code into pdtoedit Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________