ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Johannes Hüsing" <tmi0m0@spi.power.uni-essen.de>
Subject: extra }
Date: Sun, 1 Oct 2000 21:21:12 +0200	[thread overview]
Message-ID: <20001001212112.53629@spi.power.uni-essen.de> (raw)

Hi,

I am trying to ape a presentation style with a content list on each page.
I am getting a nasty error on the second run, when the .tuo file is
parsed. The minimal example follows:

\setupoutput[pdftex]
\usemodule[pre-general]

\setuppapersize
  [S6][S6]

\setuptexttexts
  [margin]
  [][\TopicList]

\def\TopicList
  {\vbox
     {\placelist
        [chapter, section, subsection]
        [alternative=none,
         criterium=all,
         command=\TopicLine]
      }}

\def\TopicLine#1#2#3
  {\limitatetext{\tfx #2}{\marginwidth}{\unknown}\par} 
\starttext
\completecontent
\chapter[intro]{Introduction}
\section[intro.purpose]{Purpose}
\section[intro.purpose.blah]{Initial itch}

\stoptext

... and here is the log:

This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (format=cont-en 2000.9.20
)  1 OCT 2000 19:50
entering extended mode
**&cont-en minimal
(minimal.tex[/var/lib/texmf/pdftex/config/pdftex.cfg]

ConTeXt  ver: 2000.9.12  fmt: 2000.9.20  int: english  mes: english

language       : language en is active
system         : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems        : beware: some patches loaded from cont-new.tex!
)
system         : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading        : Context Old Macros
)
system         : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
bodyfont       : 12pt rm is loaded
language       : patterns 2-en-2 2-uk-2 2-de-2 2-fr-2 2-sp-2 2-nl-2 loaded
specials       : tex,postscript,rokicki loaded
\openout2 = `minimal.tui'.

system         : minimal.top loaded
(./minimal.top) (./minimal.tuo) (./minimal.tuo) (./minimal.tuo) (./minimal.tuo)
(./minimal.tuo) (./minimal.tuo) (./minimal.tuo) (./minimal.tuo) (./minimal.tuo)
(./minimal.tuo)
\openout0 = `mpgraph.mp'.

specials       : tex,postscript,rokicki is reset
specials       : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
systems        : please update your pdfTeX binaries
specials       : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex <unprotect 2> <unprotect 3>
<protect 3> <protect 2>)
specials       : fdf loaded
<unprotect 2> <protect 2>)
specials       : fdf,tpd loaded
system         : macros of module pre-general loaded
(/usr/share/texmf/tex/context/base/s-pre-00.tex <unprotect 2> <protect 2>
<unprotect 2> <protect 2> <unprotect 2> <protect 2>) (./minimal.tuo)(./minimal.tuo)
systems        : begin file minimal at line 24
title          : - \headtext {\v!inhoud }
(./minimal.tuo) (./minimal.tuo
! Argument of \TopicLine has an extra }.
<inserted text> 
                \par 
<to be read again> 
                   }
<argument> ...latednumber [2::0:1:0:0:0:0:0::2]}}}
                                                  \linklisttoelement {\v!hoo...

\doifelse ...ngb {#2}\ifx \!!stringa \!!stringb #3
                                                  \else #4\fi 
\makelijstelement ...0:0:0:0:0::2}{2}{\box 0}}{#2}
                                                  }
\doifdefinedelse ...@EA {\p!defined }\endcsname #2
                                                  \else #3\fi 
...
l.8 ...1}{1}{Introduction}{2::0:1:0:0:0:0:0::2}{2}

? x

Any suggestions?

Thanks for any input

Johannes


             reply	other threads:[~2000-10-01 19:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-01 19:21 Johannes Hüsing [this message]
2000-10-01 21:38 ` Hans Hagen

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=20001001212112.53629@spi.power.uni-essen.de \
    --to=tmi0m0@spi.power.uni-essen.de \
    --cc=johannes.huesing@uni-essen.de \
    /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).