[macemacsjp-english 883] Re: auctex/pdf

Back to archive index

Seiji Zenitani zenit****@mac*****
Mon Feb 5 04:01:18 JST 2007


On 2007/02/04, at 11:49, Roussanka Loukanova wrote:

> On Sun, 4 Feb 2007, Seiji Zenitani wrote:
> ...
>> My current plan is as follows. In this case, texdoc is identical to
>> open. But I am still wondering whether I should use "open %o",
>> because texdoc is cheaper than I have expected. Introducing another
>> wrapper increases the entropy...  If the user would like to use
>> PDFView, the user can configure the AUCTeX variable or the texdoc
>> command by himself/herself.
>>
>>>       "%(o?)xdvi %dS -paper a5r -s 0 %d")
>>>      ("^dvi$" ,(concat "^" (regexp-opt '("a5paper" "a5comb")) "$")
>>>       "%(o?)xdvi %dS -paper a5 %d")
>>> +    ("^pdf$" "." "texdoc %o")
>>>      ("^pdf$" "." "xpdf -remote %s -raise %o %(outpage)")
>>>      ("^html?$" "." "netscape %o"))
>>>    "List of output file extensions and view options.
>
> Then, which application would be the default View from Emacs for
> 1) a dvi file?

At present I change nothing regarding the dvi files.
It is quite likely that emacs fails to launch the xdvi command.

> 2) a pdf file?
>
The open command is equivalent to double-clicking the file's icon.  
Therefore you can change the viewer application via the Finder's Info  
Window. Take a look at the "Open with:" section. In most cases,  
Preview.app is the pdf viewer.

Here's today's beta:
http://macemacsjp.sourceforge.jp/package/test/


Seiji




More information about the macemacsjp-english mailing list
Back to archive index