[OS X TeX] File paths

Joseph C. Slater PE, PhD joseph.slater at wright.edu
Tue Jun 3 13:19:10 CEST 2008


On Jun 3, 2008, at 4:18 AM, Peter Dyballa wrote:

>
> Am 02.06.2008 um 22:55 schrieb Phil Trinh:
>
>> The command \bibliography{~/Documents/master}{} to generate the
>> bibliography doesn't seem to be able to find the correct master file.
>> Why is this?
>
> The sign "~" and also a shell variable like "$HOME" have only to a  
> shell a meaning. In TeX it's just one or five characters. You would  
> need to record the absolute or the relative path. And the latter  
> will change when you change to another working directory ...
>

Will an alias work? I haven't tried.
  Go into the directory where your TeX file is using the terminal and  
type
ln -s ~/Documents/master

JS



More information about the macostex-archives mailing list