[OS X TeX] path name

Peter Dyballa Peter_Dyballa at Web.DE
Fri Nov 18 15:42:37 CET 2005


Am 18.11.2005 um 08:16 schrieb Friedrich Vosberg:

> What can I do to get complete path names?

Migrate to Mac OS X. I can't imagine how you can get a colon (':') into 
the path name otherwise ...

The problem is that you make awk only use the first 'word' -- and words 
are usually separated by white space. You need to make awk accept 
NEWLINE as 'Field Separator.' Try this:

\immediate\write18{pwd |
awk -F'\\n' '{print "\\newcommand{\\path}{" $1 "\\xspace}"}' > 
tmpdatei.tex}


>
> And BTW umlauts are ignored too. What can I do to get right umlauts in 
> \path
>

No. There are no umlauts. You can put umlauts into your TeX files, but 
Mac OS X returns decomposed UTF-8 characters. So an umlaut usually is 
[aeiouyAEIOUY]¨.

--
Mit friedvollen Grüßen

   Pete

Stau ist nur hinten blöd, vorne geht's!

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list