[Mac OS X TeX] missing ligatures in hard copy
Claus Gerhardt
gerhardt at math.uni-heidelberg.de
Fri Feb 22 17:24:39 CET 2002
>
I forgot to indicate the non trivial linebreaks ([linebreak]) in the
shell script if they don't fit it won't work.
#!/bin/sh
##
# dvipdfc.sh
# Convert dvi files to pdf files
#
#
#
##
for file; do [linebreak]
location=$(dirname "$file") [linebreak]
cd "${location}" && dvips -q -o "${file}.ps" -Ppdf "${file}" &&
ps2pdf13 -sPAPERSIZE=a4 -r1200 "${file}.ps" && rm "${file}.ps"
[linebreak]
done [linebreak]
Save it as a text file dvipdfc.sh. One can invoke it with the command
sh dvipdfc.sh filename %%use filename without the suffix .dvi
To make an executable save the file in ~/bin and issue the command
chmod ogu+x ~/bin/dvipdfc
Then, after restarting the terminal,
dvipdfc filename %% without any suffix
will do the job.
Claus
--
Claus Gerhardt
Institut für Angewandte Mathematik
Ruprecht-Karls-Universität Heidelberg
Im Neuenheimer Feld 294
69120 Heidelberg
Germany
Homepage: http://www.math.uni-heidelberg.de/studinfo/gerhardt/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20020222/cc823fcc/attachment.html>
More information about the macostex-archives
mailing list