ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* forbidden filenames in context?
@ 2007-12-04 12:57 Roger Mason
  2007-12-04 15:04 ` Hans Hagen
  2007-12-04 16:39 ` Aditya Mahajan
  0 siblings, 2 replies; 4+ messages in thread
From: Roger Mason @ 2007-12-04 12:57 UTC (permalink / raw)
  To: ntg-context

Hello,

I have two identical files, one named main.ctx.tex and the other
tmp.ctx.tmp.  The latter was made by copying the former.  Both files
contain just this:

\starttext

\stoptext

%%% Local Variables: 
%%% mode: context
%%% TeX-master: t
%%% End: 

tmp.ctx.tex compiles fine, but main.ctx.tex fails with this error:

system          : main.ctx.top loaded
(./main.ctx.top) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
(./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
(./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
(./main.ctx.tuo
! Missing \endcsname inserted.
<to be read again> 
                   \let 
\noshowargumenterror ->\let 
                            \expectedarguments \noexpectedarguments 
\dotripleempty #1->\noshowargumenterror 
                                        \doifnextcharelse
                                        [{\dotripletestemp...
<argument> ...oss \fileprefix fig:\externalfigure 
                                                  [dummy
\ifundefined #1->\unless \ifcsname #1
                                     \endcsname 
\mainreference ...ined {\r!cross \fileprefix #1#2}
                                                  \ifcase
                                                  \autocrossfilerefe...
l.11 ...re [dummy}{2::0:0:0:0:0:0:0::2}{2}{{1}{]}}
                                                  
? x
No pages of output.

Are some filenames forbidden in Context?

Puzzled,

Roger
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: forbidden filenames in context?
  2007-12-04 12:57 forbidden filenames in context? Roger Mason
@ 2007-12-04 15:04 ` Hans Hagen
  2007-12-07 13:43   ` Roger Mason
  2007-12-04 16:39 ` Aditya Mahajan
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2007-12-04 15:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Roger Mason wrote:
> Hello,
> 
> I have two identical files, one named main.ctx.tex and the other
> tmp.ctx.tmp.  The latter was made by copying the former.  Both files
> contain just this:

ctx suffixes are kind of special (depends a bit how used, but as part of 
workflows context will read them as xml files and lookup mapped names) 
and tmp is used for buffers and such (but normally the buffer name is 
prefixed); another situation may occur when tmp is used to save the top 
file (texexec options)

> \starttext
> 
> \stoptext
> 
> %%% Local Variables: 
> %%% mode: context
> %%% TeX-master: t
> %%% End: 
> 
> tmp.ctx.tex compiles fine, but main.ctx.tex fails with this error:
> 
> system          : main.ctx.top loaded
> (./main.ctx.top) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
> (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
> (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
> (./main.ctx.tuo
> ! Missing \endcsname inserted.

depends on what is read from the tuo file, hard to see what happens 
without example

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: forbidden filenames in context?
  2007-12-04 12:57 forbidden filenames in context? Roger Mason
  2007-12-04 15:04 ` Hans Hagen
@ 2007-12-04 16:39 ` Aditya Mahajan
  1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2007-12-04 16:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 4 Dec 2007, Roger Mason wrote:

> Are some filenames forbidden in Context?

texexec.tex (and I think texexec.top).

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: forbidden filenames in context?
  2007-12-04 15:04 ` Hans Hagen
@ 2007-12-07 13:43   ` Roger Mason
  0 siblings, 0 replies; 4+ messages in thread
From: Roger Mason @ 2007-12-07 13:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello all,

Thanks for the responses.

Hans Hagen <pragma@wxs.nl> writes:

>
> ctx suffixes are kind of special (depends a bit how used, but as part of 
> workflows context will read them as xml files and lookup mapped names) 
> and tmp is used for buffers and such (but normally the buffer name is 
> prefixed); another situation may occur when tmp is used to save the top 
> file (texexec options)

>> system          : main.ctx.top loaded
>> (./main.ctx.top) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
>> (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
>> (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo) (./main.ctx.tuo)
>> (./main.ctx.tuo
>> ! Missing \endcsname inserted.
>
> depends on what is read from the tuo file, hard to see what happens 
> without example

I can't reproduce this at the moment.  If it happens again I'll send
the tuo file.

Thanks,
Roger
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-07 13:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-04 12:57 forbidden filenames in context? Roger Mason
2007-12-04 15:04 ` Hans Hagen
2007-12-07 13:43   ` Roger Mason
2007-12-04 16:39 ` Aditya Mahajan

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).