From: nico <nicolas.marsgui@libertysurf.fr>
Subject: Re: \typefile with a file in \usepath fails
Date: Sun, 30 Apr 2006 17:04:13 +0200 [thread overview]
Message-ID: <ops8tthba89niby6@localhost> (raw)
In-Reply-To: <4454BA29.9020106@wxs.nl>
On Sun, 30 Apr 2006 15:22:49 +0200, Hans Hagen <pragma@wxs.nl> wrote:
>>> what version of context do you run? i though that i added support for
>>> that some time ago
>>
>> Version 2006.04.27.
>>
>> \dodotypefile checks where the file is, but a following call to
>> \makelocreadfilename seems to set improperly \readfilename, but I'm not
>> sure to understand correctly the code.
>>
> \tracefilestrue
>
Hm, verbatim seems not using the file interface: there's no trace about
file found or not related to typefile. Another thing I did is to patch
\processfileverbatim to trace what is actually the file used:
\def\processfileverbatim#1%
{\par
\bgroup
\writestatus{jo}{file=#1}
...
And doing:
\typefile{list1.tex} % file in the current directory (ok)
\typefile{test-001.tex} % file in the \usepath directory (nok)
\typefile{joke} % file that does not exist (ok, an error is printed)
\typefile{pos2.tex} % again a local existing file (ok)
Gives the traces:
systems : begin file typefile at line 79
jo : file=list1.tex
systems : searching for pdfr-ec on tex path
systems : pdfr-ec located
(/usr/local/share/texmf-local/tex/context/base/pdfr-ec.tex)
jo : file=test-001.tex
verbatim : file joke does not exist
jo : file=pos2.tex
So, the actual file path is not used, but it is the argument passed that
is always used.
Regards,
BG
next prev parent reply other threads:[~2006-04-30 15:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-28 20:30 nico
2006-04-30 10:33 ` Hans Hagen
2006-04-30 12:23 ` nico
2006-04-30 13:22 ` Hans Hagen
2006-04-30 15:04 ` nico [this message]
2006-04-30 16:59 ` Hans Hagen
2006-04-30 18:28 ` nico
2006-04-30 19:02 ` nico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ops8tthba89niby6@localhost \
--to=nicolas.marsgui@libertysurf.fr \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).