ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johan Sandblom <jsandblom@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: sorted phone directory
Date: Tue, 2 Aug 2011 17:15:55 +0200	[thread overview]
Message-ID: <CACHLtvB7bdYREEY4-ycAVzgAbodht9amYuUi6aUZ8+ug7vm6rA@mail.gmail.com> (raw)
In-Reply-To: <CACHLtvA4HBp41JwYnw-u1CUh7YF9ib1Z7V_QJBXais+8NyB=cQ@mail.gmail.com>

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 <jsandblom@gmail.com>:
> 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="/home/johans/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en"
> --lua="/home/johans/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui"
> --backend="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/johans/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=2em]
>  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
>
> <argument> \fakewords
>                      {1}{1}
> \TelefonCommand ...#3->\hbox to \hsize {#2\hfil #3
>                                                  }\par
> l.4 \sortingentry{1}{Ö}{\fakewords {1}{1}}{}
>
> \doplacelistofsorts ...gparameter \c!method ", })}
>                                                  \stoppacked \endgroup
> l.25 ...on][criterium=all,command=\TelefonCommand]
>
> ?
>
> 2011/8/2 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>>
>> 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 “\maxaligned” with “\hbox to \hsize”.
>>
>> The command is rather new and the ConTeXt version of \line (\hbox to \hsize) 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-context
>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
>>
>
>
>
> --
> Johan Sandblom, MD PhD
> m +46735521477  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  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 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-08-02 15:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02  9:08 Johan Sandblom
2011-08-02 10:44 ` Jaroslav Hajtmar
2011-08-02 11:15 ` Pontus Lurcock
2011-08-02 11:33 ` Wolfgang Schuster
2011-08-02 14:08   ` Johan Sandblom
2011-08-02 14:23     ` Wolfgang Schuster
2011-08-02 14:50       ` Johan Sandblom
2011-08-02 15:01         ` Wolfgang Schuster
2011-08-02 15:10           ` Johan Sandblom
2011-08-02 15:15             ` Johan Sandblom [this message]
2011-08-02 15:19             ` Wolfgang Schuster
2011-08-02 20:05               ` Johan Sandblom
2011-08-02 20:05     ` Thomas A. Schmitz
2011-08-03  2:41       ` Jaroslav Hajtmar
2011-08-03  5:29         ` Johan Sandblom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACHLtvB7bdYREEY4-ycAVzgAbodht9amYuUi6aUZ8+ug7vm6rA@mail.gmail.com \
    --to=jsandblom@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).