* \input filename causes error.
@ 2012-07-25 0:26 john Culleton
2012-07-25 7:28 ` Hans Hagen
2012-07-25 7:32 ` Marco
0 siblings, 2 replies; 3+ messages in thread
From: john Culleton @ 2012-07-25 0:26 UTC (permalink / raw)
To: ntg-context
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.
--
John Culleton
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \input filename causes error.
2012-07-25 0:26 \input filename causes error john Culleton
@ 2012-07-25 7:28 ` Hans Hagen
2012-07-25 7:32 ` Marco
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2012-07-25 7:28 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: john Culleton
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \input filename causes error.
2012-07-25 0:26 \input filename causes error john Culleton
2012-07-25 7:28 ` Hans Hagen
@ 2012-07-25 7:32 ` Marco
1 sibling, 0 replies; 3+ messages in thread
From: Marco @ 2012-07-25 7:32 UTC (permalink / raw)
To: ntg-context
On 2012-07-24 john Culleton <John@wexfordpress.com> wrote:
Hi John,
> \startstandardmakekup
\startstandardmakeup
I would recommend to use ConTeXts environment, component, product
mechanism. See wiki: project structure.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-25 7:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-25 0:26 \input filename causes error john Culleton
2012-07-25 7:28 ` Hans Hagen
2012-07-25 7:32 ` Marco
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).