From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70380 Path: news.gmane.org!not-for-mail From: Johan Sandblom Newsgroups: gmane.comp.tex.context Subject: Re: sorted phone directory Date: Tue, 2 Aug 2011 17:10:44 +0200 Message-ID: References: <03D403C6-8793-4591-9CF5-C912CE850606@googlemail.com> <3F8683F0-3EAA-46EA-BBF8-3AB0B209D036@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1312297860 10419 80.91.229.12 (2 Aug 2011 15:11:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 15:11:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 02 17:10:55 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QoGcR-0001LX-Dy for gctc-ntg-context-518@m.gmane.org; Tue, 02 Aug 2011 17:10:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B3640CAEB0; Tue, 2 Aug 2011 17:10:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UizVt6hMTp4d; Tue, 2 Aug 2011 17:10:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F62DCAEA9; Tue, 2 Aug 2011 17:10:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE0F4CAEA9 for ; Tue, 2 Aug 2011 17:10:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id k4eeHGrtj7uS for ; Tue, 2 Aug 2011 17:10:46 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 2A6AFCAEA7 for ; Tue, 2 Aug 2011 17:10:46 +0200 (CEST) Original-Received: from mail-gy0-f169.google.com (mail-gy0-f169.google.com [209.85.160.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p72FAiVx009703 for ; Tue, 2 Aug 2011 17:10:45 +0200 Original-Received: by gyg13 with SMTP id 13so5381297gyg.14 for ; Tue, 02 Aug 2011 08:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=r01HNoI1uPpybh/L47fMZQ2ZKKFwDCtISvFElkak838=; b=FLl4TxZGOsXF2QFaFolBQGmdGZihTFVtXK0XGV5glQqE6NKTsI5RrokT2IFOYcDwcQ GHks4wF6w9sK5Dnybi3fcNU3ZnVhrAt77bd4uG7R3EfqADvDD6vxlVbjcIsuj5ZBuoRF AjRoSoF2q5wG0Yggufm387BJJwkci7CS6gqhg= Original-Received: by 10.150.2.14 with SMTP id 14mr1755798ybb.354.1312297844206; Tue, 02 Aug 2011 08:10:44 -0700 (PDT) Original-Received: by 10.150.60.10 with HTTP; Tue, 2 Aug 2011 08:10:44 -0700 (PDT) In-Reply-To: <3F8683F0-3EAA-46EA-BBF8-3AB0B209D036@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08FfraJrN - cc37078689eb - 20110802 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:70380 Archived-At: I updated to no avail. Perhaps I need to get a newer luatex? I also tried to change \midaligned to \hbox to \hsize and got another problem. Curiously it is now located on line 4 of the input file regardless of whethter line 4 is a comment or not. Johan Running `LuaConTeXt' on `minimaltele2' with ``context minimaltele2.tex'' mtx-context | run 1: luatex --fmt=3D"/home/johans/context/tex/texmf-cache/luatex-cache/context/2448223e= 6631addb83df348d74153606/formats/cont-en" --lua=3D"/home/johans/context/tex/texmf-cache/luatex-cache/context/2448223e= 6631addb83df348d74153606/formats/cont-en.lui" --backend=3D"pdf" "./minimaltele2.tex" \stoptext This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. (minimaltele2.tex ConTeXt ver: 2011.07.26 09:17 MKIV fmt: 2011.8.2 int: english/english system > cont-new.mkiv loaded (/home/johans/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > minimaltele2.top loaded (minimaltele2.top) fonts > latin modern fonts are not preloaded languages > language en is active {/home/johans/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.= map}fonts > preloading latin modern fonts (second stage) (/home/johans/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/johans/context/tex/texmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {/home/johans/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/johan= s/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded ! Undefined control sequence. system > tex > error on line 4 in file minimaltele2.tex: Undefined control sequence ... 1 \mainlanguage[swedish] 2 3 %%\definedescription 4 >> %% [TelefonEntry] 5 %% [width=3D2em] 6 7 %%\unexpanded\def\TelefonCommand#1#2#3% 8 %% {\startTelefonEntry{#2}#3\stopTelefonEntry} 9 \unexpanded\def\TelefonCommand#1#2#3% 10 {\hbox to \hsize{#2\hfil#3}\par} 11 12 \definesorting[Telefon][Telefone] 13 14 \starttext \fakewords {1}{1} \TelefonCommand ...#3->\hbox to \hsize {#2\hfil #3 }\par l.4 \sortingentry{1}{=D6}{\fakewords {1}{1}}{} \doplacelistofsorts ...gparameter \c!method ", })} \stoppacked \endgroup l.25 ...on][criterium=3Dall,command=3D\TelefonCommand] ? 2011/8/2 Wolfgang Schuster : > > Am 02.08.2011 um 16:50 schrieb Johan Sandblom: > >> Thank you. Unfortunately I get the following: >> >> ! Undefined control sequence. >> >> \TelefonCommand #1#2#3->\maxaligned > > You can replace =93\maxaligned=94 with =93\hbox to \hsize=94. > > The command is rather new and the ConTeXt version of \line (\hbox to \hsi= ze) from plain TeX. > > Wolfgang > _________________________________________________________________________= __________ > 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-co= ntext > webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: http://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > -- = Johan Sandblom, MD PhD m +46735521477=A0 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________