\dosetupsystem ????!
![](https://secure.gravatar.com/avatar/d8fd95a14acec745cbe25333b9505be9.jpg?s=120&d=mm&r=g)
Hi: Can anybody tell me what might cause this error:
Runaway argument? \c!gebied ={\setupsystem [inputfile=rice.tex] \protect ! File ended while scanning use of \dosetupsystem. <inserted text> \par <to be read again> \relax \dodoreadfile ...normalinput \readfilename \relax \the \everyafterreadfile <everyjob> ...file \openutilities \loadoptionfile \checknotes \initializeMPg...
Everything was running smooth a few days ago. Now every document I process causes the same error. What actions does \dosetupsystem carry out? Thanks, Matt
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 22:16 26/08/2003 +0900, you wrote:
Hi:
Can anybody tell me what might cause this error:
Runaway argument? \c!gebied ={\setupsystem [inputfile=rice.tex] \protect
^^^^ command ^^^^ strange sounds like you set the directory string to some \setupsystem command, are you sure that your file is ok? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
![](https://secure.gravatar.com/avatar/d8fd95a14acec745cbe25333b9505be9.jpg?s=120&d=mm&r=g)
Hans Hagen wrote:
sounds like you set the directory string to some \setupsystem command, are you sure that your file is ok?
I get the error even on a simple file like:
\setupoutput[pdftex]
\starttext
This is a test.
\stoptext
If I insert a } when tex reports the error, it runs to the end and
produces a good pdf. However,
it does say "Don't change language in unprotected mode!" My log file
is attached.
Any ideas?
Thanks,
Matt
This is pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2c 7.3.7x) (format=cont-en 2003.8.27) 27 AUG 2003 13:27
entering extended mode
**&cont-en test.tex
(./test.tex{c:/tex/texmf-var/pdftex/config/pdftex.cfg}
ConTeXt ver: 2003.8.21 fmt: 2003.8.27 int: english mes: english
language : language en is active
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 13:32 27/08/2003 +0900, you wrote:
Hans Hagen wrote:
sounds like you set the directory string to some \setupsystem command, are you sure that your file is ok?
I get the error even on a simple file like:
\setupoutput[pdftex] \starttext This is a test. \stoptext
If I insert a } when tex reports the error, it runs to the end and produces a good pdf. However, it does say "Don't change language in unprotected mode!" My log file is attached.
(./test.top)
it seems that something is happening in the top file (the option file writtemn by texexec); did you change something in texexec.ini? is there some magic in your local cont-sys.tex? can you grep you system for {\setupsystem ? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
![](https://secure.gravatar.com/avatar/d8fd95a14acec745cbe25333b9505be9.jpg?s=120&d=mm&r=g)
Hans>> it seems that something is happening in the top file (the option file writtemn by texexec); did you change something in texexec.ini? is there some magic in your local cont-sys.tex? can you grep you system for {\setupsystem ?
Hans, Is texexec in any way influenced by OS environment variables? The warning "Don't change language in unprotected mode" in my log file caught my attention because a few days ago I added an environment variable LANG =en to my system (my OS not TeX). When I deleted this variable, texexec went back to running without any trouble. The error can't have been caused by any customizations in my texexec.ini or cont-sys.tex because even when I re-installed TexLive from scratch and didn't setup those files, texexec still ran into trouble in the top file with \setupsystem. Thanks for your help. Best regards, Matt
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 11:55 28/08/2003 +0900, you wrote:
Hans>> it seems that something is happening in the top file (the option file writtemn by texexec); did you change something in texexec.ini? is there some magic in your local cont-sys.tex? can you grep you system for {\setupsystem ?
Hans,
Is texexec in any way influenced by OS environment variables? The warning "Don't change language in unprotected mode" in my log file caught my attention because a few days ago I added an environment variable LANG =en to my system (my OS not TeX). When I deleted this variable, texexec went back to running without any trouble. The error can't have been caused by any customizations in my texexec.ini or cont-sys.tex because even when I re-installed TexLive from scratch and didn't setup those files, texexec still ran into trouble in the top file with \setupsystem.
Don't change ... is generated when an \unprotect has no matching \protect which can be dabgerous for esp french (active : and so). Texexec is not influenced by env vars; how does your jobname.tmp (afte a texexec run) looks (this is the saved options file). Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Matthew Huggett
-
Patrick Gundlach