* [TeX mode] wrong default 'TeX Dvi View Command'
@ 2004-10-10 14:46 Mikhail Gusarov
0 siblings, 0 replies; 2+ messages in thread
From: Mikhail Gusarov @ 2004-10-10 14:46 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [TeX mode] wrong default 'TeX Dvi View Command'
[not found] <mailman.2399.1097420081.2017.bug-gnu-emacs@gnu.org>
@ 2004-10-11 17:25 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-10-11 17:25 UTC (permalink / raw)
> 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
Where exactly did you find this default?
It doesn't seem to come from Emacs.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-11 17:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-10 14:46 [TeX mode] wrong default 'TeX Dvi View Command' Mikhail Gusarov
[not found] <mailman.2399.1097420081.2017.bug-gnu-emacs@gnu.org>
2004-10-11 17:25 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.