bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TeX mode] wrong default 'TeX Dvi View Command'


From: Mikhail Gusarov
Subject: [TeX mode] wrong default 'TeX Dvi View Command'
Date: Sun, 10 Oct 2004 21:46:10 +0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

By default TeX DVI view command is 'FILE=`echo * | cut -d. -f1`; dvips
-o $FILE.ps $FILE; ps2pdf $FILE.ps; gv $FILE.pdf', but getting the
FILE value does not work well with files containing more than one dot
in the full path.

It should be replaced with the other one, like FILE=`echo * | perl -pe
's/\.dvi$//'`. If the dependency to the perl is not acceptable, try to
find the analog :)

-- 
Mikhail Gusarov
Plesk Migration/Expand Dept. Developer
SWsoft, Inc.
http://www.sw-soft.com
ICQ# 111575219




reply via email to

[Prev in Thread] Current Thread [Next in Thread]