From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40503 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: typesetting modules Date: Sat, 19 Apr 2008 17:23:57 +0200 Message-ID: <480A0E8D.1020206@wxs.nl> References: <1641F2E9-095F-4A5E-8249-D8FB7287599D@science.uva.nl> <4809E7E6.3040306@elvenkind.com> <4809E984.7040806@elvenkind.com> <4809ED80.5010003@elvenkind.com> 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 1208627030 15815 80.91.229.12 (19 Apr 2008 17:43:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 17:43:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 19 19:44:23 2008 connect(): Connection refused 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 1JnExx-000785-N5 for gctc-ntg-context-518@m.gmane.org; Sat, 19 Apr 2008 17:27:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A46301FB1F; Sat, 19 Apr 2008 17:26:18 +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 05614-01-8; Sat, 19 Apr 2008 17:25:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AAFCB1FB5A; Sat, 19 Apr 2008 17:24:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 592EC1FB1F for ; Sat, 19 Apr 2008 17:24:56 +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 04888-02-4 for ; Sat, 19 Apr 2008 17:24:23 +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 E96CD1FB7F for ; Sat, 19 Apr 2008 17:24:20 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 406 for ; Sat, 19 Apr 2008 17:24:20 +0200 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <4809ED80.5010003@elvenkind.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 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:40503 Archived-At: Taco Hoekwater wrote: > Taco Hoekwater wrote: >> Taco Hoekwater wrote: >>> Hans van der Meer wrote: >>>> For typesetting a context module I did the following, first making a >>>> .ted file and then typesetting it: >>>> texmfstart ctxtools --documentation --type=pdf char-utf.tex >>>> texmfstart texexec --silent --pdf --autopdf >>>> >>>> However I got an unknown format cont-nl.fmt. Why is nl chosen? >>>> What I am doing wrong here? >>> Nothing, but ted files use dutch macro commands, so they need >>> the dutch interface. >> I was totally misinforming you, sorry. Let me start over... hangon. > > Here we go: it uses the dutch interface because there is no explicit > interface given in the file nor on the command line, and it so happens > that line 3 of .ted contains > > \startdocumentation ah, i can remove that test because i don't think that nowadays anyone is using startdocument (old functionality to build styles for letters, stickers, etc) > This matches the dutch heuristics for interface discovery because > it is a superset of \startdocument. The second case in scantexcontent > in tex.rb probably should have something like a \b at the end of the > match. > > I was confused because > > texexec --interface=en char-utf.ted > > doesn't work either, but that is unrelated. You need to preload > a module that texexec --module would load automatically: > > texexec --interface=en --use=mod-01 char-utf.ted > > That should do it. or texexec --modu char-utf.tex thinking of it ... i add this feature to one of the mtx-* files because: (1) the whole conversion can be done in memory so no intermediate file is needed (2) the xml interface loading when using luatex is less demanding (and can result in faster runs for bigger documents ----------------------------------------------------------------- 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 ___________________________________________________________________________________