🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1780

Q: Using UNIX meta-chars in a file path to be used by LaTeX and dvips

#1780
From: Hossein Saiedian
Date: Thu, 27 Aug 1992 16:23
24 lines
1273 bytes
I have a number of postscript files that I like to use
in \special or \epsffile commands when running LaTeX
and dvips on two different UNIX machines. The relative
location of these files with respect to my home directory
is the same on both machines (i.e., ~/TeX/inputs). But my
home directory is different on each machine. One is
/faculty/... and the other one is /home/...

Is there anyway I can use the same source LaTeX and sty
files without modifying the file paths? Note that niether
one of the following works:

	\epsffile{$HOME/TeX/inputs/foo.ps}
	\epsffile{~/TeX/inputs/foo.ps}

When running dvips or dvi2ps, I get an error message
that the file was not found. (BTW, /TeX/inputs is
the same disk area shared by both machines.)

Is there any solution?

Many thanks in advance...
Hossein
Technical Details
Message-ID: <hossein.714932586@unocss>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!news.unomaha.edu!unocss!hossein

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!news.unomaha.edu!unocss!hossein
From: hossein@unocss.unomaha.edu (Hossein Saiedian)
Subject: Q: Using UNIX meta-chars in a file path to be used by LaTeX and dvips
Message-ID: <hossein.714932586@unocss>
Sender: news@news.unomaha.edu (UNO Network News Server)
Organization: University of Nebraska at Omaha
Date: Thu, 27 Aug 1992 16:23:06 GMT
Lines: 24