[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tilde in file names, still a problem

From: Norbert Preining
Subject: Re: tilde in file names, still a problem
Date: Sat, 14 Mar 2009 13:41:48 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Fr, 13 Mär 2009, Karl Berry wrote:
>     Can one of you imagine any way to fix that problem? 
> I can imagine ways, like running tex differently:
> tex '\catcode126=12 \input foo~bar/baz.texi'

Yes, I thought about that, too, but it is not really a good idea in
general, because baz.texi might rely on the fact that ~ is active, which
is the default.

It would be something
        \input \protecttilde{foo~bar/baz.texi}
but I guess that does not work, probably
But I am not sure if that can work out.

One owuld have to split the file name into tokens with all special chars
made normal, then reset the catcodes and assemble the tokens to the
filename (now they have already the right catcodes attached). Well, I am
not as much TeXpert that I can actually understand what I wrote or
implement ;-)

Best wishes


Dr. Norbert Preining <address@hidden>        Vienna University of Technology
Debian Developer <address@hidden>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
The Web site you seek
Cannot be located, but
Countless more exist.
                       --- Windows Error Haiku

reply via email to

[Prev in Thread] Current Thread [Next in Thread]