From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70381 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:15:55 +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 1312298181 12625 80.91.229.12 (2 Aug 2011 15:16:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 15:16:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 02 17:16:17 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 1QoGhb-00043Y-Lq for gctc-ntg-context-518@m.gmane.org; Tue, 02 Aug 2011 17:16:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC38FCAEAE; Tue, 2 Aug 2011 17:16:14 +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 jdYHIzXnYXYd; Tue, 2 Aug 2011 17:16:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A32ECCAEA6; Tue, 2 Aug 2011 17:16:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 836D0CAEA6 for ; Tue, 2 Aug 2011 17:16:09 +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 GlmFIk9dQQln for ; Tue, 2 Aug 2011 17:15:58 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 49FA6CAEA5 for ; Tue, 2 Aug 2011 17:15:58 +0200 (CEST) Original-Received: from mail-gx0-f169.google.com (mail-gx0-f169.google.com [209.85.161.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p72FFukF019758 for ; Tue, 2 Aug 2011 17:15:57 +0200 Original-Received: by gxk23 with SMTP id 23so5386773gxk.14 for ; Tue, 02 Aug 2011 08:15:56 -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=+rvIWhwP9EazE8hoMysLFgpL/cBHNN1JK6izZZ8tni8=; b=JOwlyRikPR1oSsexgMlQlv22JAhrkxLqOx8VuW3KjvW2yBqNqWxxOh6WFwCAlCkAN6 Li4fojcyItGFRmU9WmLHZJXKaRjo+VGvtxGgOX5Y0B85VJyF2XBkRRu5kn5Ef071oFrL mDlo871jwB4pzIQqm1K5ay/D8k+Mz30Za4rWs= Original-Received: by 10.150.96.1 with SMTP id t1mr1844477ybb.297.1312298155955; Tue, 02 Aug 2011 08:15:55 -0700 (PDT) Original-Received: by 10.150.60.10 with HTTP; Tue, 2 Aug 2011 08:15:55 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 05FfrfU6w - 1c85f8e4f216 - 20110802 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:70381 Archived-At: Sorry that was my fault for not cleaning up the .tuc-file or some such. Thank you, now it works perfectly. Johan 2011/8/2 Johan Sandblom : > 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 =A0 =A0 | run 1: luatex > --fmt=3D"/home/johans/context/tex/texmf-cache/luatex-cache/context/244822= 3e6631addb83df348d74153606/formats/cont-en" > --lua=3D"/home/johans/context/tex/texmf-cache/luatex-cache/context/244822= 3e6631addb83df348d74153606/formats/cont-en.lui" > --backend=3D"pdf" "./minimaltele2.tex" \stoptext > This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) > =A0\write18 enabled. > (minimaltele2.tex > > ConTeXt =A0ver: 2011.07.26 09:17 MKIV =A0fmt: 2011.8.2 =A0int: english/en= glish > > system =A0 =A0 =A0 =A0 =A0> cont-new.mkiv loaded > (/home/johans/context/tex/texmf-context/tex/context/base/cont-new.mkiv > system =A0 =A0 =A0 =A0 =A0> beware: some patches loaded from cont-new.mkiv > ) > system =A0 =A0 =A0 =A0 =A0> minimaltele2.top loaded > (minimaltele2.top) > fonts =A0 =A0 =A0 =A0 =A0 > latin modern fonts are not preloaded > languages =A0 =A0 =A0 > language en is active > {/home/johans/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-bas= e.map}fonts > =A0 =A0 =A0 =A0 =A0> 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 =A0 =A0 =A0 =A0 =A0 > readfile > asked name: 'loc', not found > {/home/johans/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/joh= ans/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} > fonts =A0 =A0 =A0 =A0 =A0 > virtual math > unable to resolve name mapsfro= mchar > fonts =A0 =A0 =A0 =A0 =A0 > fallback modern rm 12pt is loaded > ! Undefined control sequence. > > system =A0 =A0 =A0 =A0 =A0> tex > error on line 4 in file minimaltele2.te= x: > Undefined control sequence ... > > =A01 =A0 =A0 \mainlanguage[swedish] > =A02 > =A03 =A0 =A0 %%\definedescription > =A04 >> =A0%% [TelefonEntry] > =A05 =A0 =A0 %% [width=3D2em] > =A06 > =A07 =A0 =A0 %%\unexpanded\def\TelefonCommand#1#2#3% > =A08 =A0 =A0 %% {\startTelefonEntry{#2}#3\stopTelefonEntry} > =A09 =A0 =A0 \unexpanded\def\TelefonCommand#1#2#3% > 10 =A0 =A0 =A0 {\hbox to \hsize{#2\hfil#3}\par} > 11 > 12 =A0 =A0 \definesorting[Telefon][Telefone] > 13 > 14 =A0 =A0 \starttext > > \fakewords > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{1}{1} > \TelefonCommand ...#3->\hbox to \hsize {#2\hfil #3 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0}\par > l.4 \sortingentry{1}{=D6}{\fakewords {1}{1}}{} > > \doplacelistofsorts ...gparameter \c!method ", })} > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0\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 \hs= ize) from plain TeX. >> >> Wolfgang >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext >> 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 > -- = 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 ___________________________________________________________________________= ________