From: Erik Margraf <erik.margraf@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: typefile with absolute path to file
Date: Tue, 20 Nov 2012 21:06:16 +0100 [thread overview]
Message-ID: <CAAaWjtGiEk9WY+sHHqoXPXSMWsB0+-B=ZZMU69AHezNtUBJXWQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.02.1211201019420.29220@ybpnyubfg.ybpnyqbznva>
Hi,
Thanks Aditya!
I tried this again with
\starttext
\typefile{/tmp/xxx.tex}
\stoptext
and could trace what's going on ... (not even /tmp/xxx.tex worked)
The lines below is the trace output belonging to "/tmp/xxx
stat("tmp/xxx.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory)
stat("../tmp/xxx.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory)
stat("../../tmp/xxx.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or
directory)
stat("tmp/xxx.tex.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file or directory)
stat("../tmp/xxx.tex.tex", 0x7fff5dc73d90) = -1 ENOENT (No such file
or directory)
stat("../../tmp/xxx.tex.tex", 0x7fff5dc73d90) = -1 ENOENT (No such
file or directory)
I could verify that "tmp/xxx.tex" is actually found!
current version: 2012.11.16 23:51
Anything I can do about that? (I guess I can work with relative paths
below - tested this ...)
Context Version: current version: 2012.11.16 23:51
System: Debian 3.2.32-1 x86_64 GNU/Linux
regards
Erik
On Tue, Nov 20, 2012 at 4:25 PM, Aditya Mahajan <adityam@umich.edu> wrote:
>
>> Dear List,
>>
>> a question about \typefile{}.
>> I tried to use \typefile{ /with/an/absolute/path/to/some_file } and
>> failed
>> Message in the log: Verbatim some_file not found. Also tried with
>> no path at all, assuming it will take the file from the current directory.
>> Same result.
>>
>> Do I miss something? Should this work? Or, if not, how can I achieve
>> this effect (typefile
>> with absolute path to a file. btw. on a Linux system)
>
>
> \starttext
> \typefile{\jobname.tex}
> \typefile{/tmp/test.tex}
> \stoptext
>
> work with ConTeXt MkIV 2012.11.16.
>
> However, I can confirm that
>
> \typefile{/usr/bin/pdf2ps} does not work with context minimals on archlinux,
> although the texmfcnf.lua file says:
>
> ["system.outputmode"] = "restricted",
> ["system.inputmode"] = "any",
>
> 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 : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-20 20:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-20 15:12 Erik Margraf
2012-11-20 15:25 ` Aditya Mahajan
2012-11-20 20:06 ` Erik Margraf [this message]
2012-11-20 21:41 ` Hans Hagen
2012-11-20 22:17 ` Aditya Mahajan
2012-11-20 22:39 ` Sietse Brouwer
2012-11-20 22:40 ` Erik Margraf
2012-11-21 10:09 ` Hans Hagen
2012-11-21 10:18 ` Sietse Brouwer
2012-11-21 16:35 ` Hans Hagen
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='CAAaWjtGiEk9WY+sHHqoXPXSMWsB0+-B=ZZMU69AHezNtUBJXWQ@mail.gmail.com' \
--to=erik.margraf@gmail.com \
--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).