ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Re: { in input file names
Date: Tue, 22 Jun 2004 14:38:56 +0200	[thread overview]
Message-ID: <40D82860.4050702@wxs.nl> (raw)
In-Reply-To: <20040622105109.GB3379@puritan.pcp.ath.cx>

Nikolai Weibull wrote:

>* Hans Hagen Outside <pragma@wxs.nl> [Jun 22, 2004 10:40]:
>  
>
>>>Another one of my sort of weird questions.  I have a file with { in
>>>      
>>>
>>weird indeed, are you searching for the limits of tex/context/your-os?
>>    
>>
>
>Nah, I'm just getting used to Tom Lord's naming scheme
>	http://wiki.gnuarch.org/moin.cgi/FunkyFileNames
>since I use GNU Arch for revision control.
>
>I have my project files in ~/src/{projects}/
>
>  
>
>>>file name and context doesn't seem to enjoy it much:
>>>      
>>>
>>i only enjoy names that match [a-z0-9\-]
>>    
>>
>
>[a-z0-9{=,+-] on my side
>
>  
>
>>You can put this somewhere (cont-loc.tex or so) since i'm not that
>>sure if it does not interfere, so i (and others) need to test this for
>>a long time
>>    
>>
>[cut]
>
>OK, that worked fine for me.  I'll report any problems.
>  
>
first problem: graphics not found -) 

so, we probably can only do: 

\def\usepath[#1]% test for a real long time, permits ../{name} i.e. braces
  {\def\docommando##1%
     {\doifelse{##1}\v!reset
        {\let\allinputpaths\empty}
        {\sanitizefilename#1\to\ascii
         \convertcommand\ascii\to\ascii
         \addtocommalist\ascii\allinputpaths}}%
   \processcommalist[#1]\docommando}

\def\usesubpath[#1]% test for a real long time, permits ../{name} i.e. braces
  {\ifx\allinputpaths\empty
     \sanitizefilename#1\to\allinputpaths
   \else
     \def\docommando##1%
       {\def\dodocommando####1%
          {\sanitizefilename####1\to\ascii
           \convertcommand\ascii\to\ascii
           \addtocommalist{##1/\ascii}\allinputpaths}%
        \processcommalist[#1]\dodocommando}%
     \processcommacommand[\allinputpaths]\docommando
   \fi}
 

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

      reply	other threads:[~2004-06-22 12:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 19:45 Nikolai Weibull
2004-06-21 21:04 ` Hans Hagen Outside
2004-06-22 10:51   ` Nikolai Weibull
2004-06-22 12:38     ` Hans Hagen [this message]

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=40D82860.4050702@wxs.nl \
    --to=pragma@wxs.nl \
    --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).