unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* [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 --
     [not found] <mailman.2399.1097420081.2017.bug-gnu-emacs@gnu.org>
2004-10-11 17:25 ` [TeX mode] wrong default 'TeX Dvi View Command' Stefan Monnier
2004-10-10 14:46 Mikhail Gusarov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).