[NTG-context] \input filename causes error.

Hans Hagen pragma at wxs.nl
Wed Jul 25 09:28:16 CEST 2012


On 25-7-2012 02:26, john Culleton wrote:
> If I set up my main file thus:
> \starttext
> \input title.tex
> \input copyright.tex
> \startfrontmatter
> \completecontent
> \chapter{Introduction}
> \stopfrontmatter
> \startbodymatter
> \input body.tex
> \stopbodymatter
> \startappendices
> \stopappendices
> \startbackmatter
> \chapter{Index}
> %\chapter{Acknowledgement}
> \title{Colofon}
> \stoptext
>
> and set up my title.tex file thus:
>
> \startstandardmakekup
> Foo
>
> \stopstandardmakekup
>
> then "\startstandardmakeup" generates an error.
>
> I can work around it of course. I just wonder why it happens. The
> use of the \input file should be transparent to the rest of TeX.
> MKIV on slackware Linux.

What error? the primitive \input has some special parsing properties

maybe adding \relax after the filename helps


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list