[tex-live] ConTeXt and embedded spaces with 5 Sept. TeXLive rc
George White
aa056 at chebucto.ns.ca
Fri Sep 12 16:10:16 CEST 2003
A couple issues with the handling of embedded spaces on Win32 systems
should be noted. One looks like a real bug, the other boils down to the
way context handles embedded spaces in filenames.
On Win32, the following (from texexec.pl) sometimes fails
to find texexec.ini (all on one line):
C:> kpsewhich -progname=context -format="other text files"
texexec.ini
This seems to happen on Win98 when the current directory has an embedded
space in the last component.
A second oddity to trip the unwary:
ConTeXt texexec sets a variable to $ENV{"HOME"} in filename.tmp:
$ cat try.tex
\starttext
\input story
\stoptext
$ texexec try
$ cat try.tmp
% try.top
\unprotect
\setupsystem[\c!gebied={/user/gwhite/}]
\setupsystem[\c!n=1]
\setupsystem[inputfile=try.tex]
\protect
On Win32, executables manufactured from perl scripts using irun appear to
get a HOME variable, even if none is set in the environment, and which
will typically contain embedded spaces. ConTeXt will add a little gift at
the end of your document: "X//cont-err", where X is the part after the
embedded space. This is really a ConTeXt problem, but may come as a
surprise to someone who has been using context with an external perl
and/or on unix.
--
George White <aa056 at chebucto.ns.ca> <gnw3 at acm.org>
189 Parklea Dr., Head of St. Margarets Bay, Nova Scotia B3Z 2G6
More information about the tex-live
mailing list