Peter Dyballa
Peter_Dybal****@Web*****
Sun Feb 4 09:09:04 JST 2007
Am 03.02.2007 um 22:37 schrieb Seiji Zenitani: > Regarding the auctex/pdf issue, does everyone become happier if I put > the below line into /Applications/Emacs.app/Contents/Resources/site- > lisp/auctex/tex.el(elc)? > > "%(o?)xdvi %dS -paper a5r -s 0 %d") > ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$") > "%(o?)xdvi %dS -paper a5 %d") > + ("^pdf$" "." "open -a Preview.app %o") > ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)") > ("^html?$" "." "netscape %o")) > "List of output file extensions and view options. Not me (but this does not matter as I am not using the built-in AUCTeX). I think it's more reasonable to use the script texdoc as viewer for all output formats that do not address "source specials" or that are not meant to meat a particular paper format (because xdvi cannot see which size and orientation a TeX document has in DVI which does not record this information – and so Mac OS X "DVI" viewers like TeXShop or TeXniscope also fail to convert them to PDF appropriately). The reason: texdoc is a valuable script to find (texdoc -l <name>) or to view (texdoc <name>) TeX documentation, which can come in DVI, PS, PDF, HTML, TXT format. Once texdoc has been customised to one's preferences: why do this boring thing again in AUCTeX?! Isn't it more reasonable to re-use the splendid texdoc? Well, I do ... -- Greetings Pete "Isn't vi that text editor with two modes... one that beeps and one that corrupts your file?" -- Dan Jacobson, on comp.os.linux.advocacy