[macemacsjp-english 884] Re: auctex/pdf

アーカイブの一覧に戻る

Kasper Daniel Hansen khans****@stat*****
Tue Feb 6 06:56:05 JST 2007


On Feb 4, 2007, at 11:01 AM, Seiji Zenitani wrote:

> 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/

In my opinion there is no discussion: the default setting should be  
to invoke "open" on the file. The user then needs to configure his  
system to work as he intends, eg. to associate PDFView permanently  
with PDF files (as I have done) and do something similar with dvi  
files. This is a default setting for an application - of course it  
should use default settings for that file from the OS. Anything else  
assumes quite a bit on how peoples systems are set up.

While I prefer PDFView for pdf files I do not think it is reasonable  
to enforce that on a user via a default setting.

There could be however, a question on the webpage on how to configure  
AUCTeX with a link to PDFView and similar (where I have helped  
putting up some (currently incomplete) solutions for Carbon Emacs.

Kasper



>
> Seiji
>
> _______________________________________________
> macemacsjp-english mailing list
> macem****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english




More information about the macemacsjp-english mailing list
アーカイブの一覧に戻る