Re: Changing default dvi viewer.
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: Changing default dvi viewer.         


Author: Peter Dyballa
Date: Feb 7, 2008 10:32

Am 07.02.2008 um 17:26 schrieb David:
> So it looks like there's no one-liner I can just slip into my .emacs
> file.

This is my impression of recent AUCTeX (11.84), too.
> Finally C-c C-c followed by replacing the x of xdvi with a k
> each time doesn't seem like such a bad stratergy.

Once you've customised and saved, you'll be done.

Again, think of using a customised texdoc as viewer not only for TeX
documents, but also TXT, PS, PDF, DVI – *one* tool name instead of
four. And once your taste changes, you won't need to customise AUCTeX
again!

--
Greetings

Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«
3 Comments
Re: Changing default dvi viewer.         


Author: Ralf Angeli
Date: Feb 8, 2008 12:18

* Peter Dyballa (2008-02-07) writes:
> Again, think of using a customised texdoc as viewer not only for TeX
> documents, but also TXT, PS, PDF, DVI – *one* tool name instead of
> four. And once your taste changes, you won't need to customise AUCTeX
> again!

This is a very bad idea since you will have to check if something
changed in texdoc every time the TeX distribution is updated unless you
don't mind missing new features and bug fixes or dealing with potential
incompatibilities.

In addition you lose the capability of passing the paper size to the
viewer. So this is an exceptionally bad suggestion for the case at hand
where a DVI viewer is being dealt with.

It's not like there is no reason for all the options
`TeX-output-view-style'.

--
Ralf
no comments
Re: Changing default dvi viewer.         


Author: Peter Dyballa
Date: Feb 9, 2008 01:38

Am 08.02.2008 um 21:18 schrieb Ralf Angeli:
> This is a very bad idea since you will have to check if something
> changed in texdoc every time the TeX distribution is updated unless
> you
> don't mind missing new features and bug fixes or dealing with
> potential
> incompatibilities.

This isn't such a big issue. TeX Live updates happen once in two
years, before 2006 it was once per year. We're already in the middle
of February and no TeX Live 2008 DVD has been announced yet. I had to
update my texdoc copy in four years once (I have saved the elder
version in ~/bin, last change: a few days before summer 2007 began).
>
> In addition you lose the capability of passing the paper size to the
> viewer. So this is an exceptionally bad suggestion for the case at
> hand
> where a DVI viewer is being dealt with.
Show full article (2.11Kb)
no comments
Re: Changing default dvi viewer.         


Author: Ralf Angeli
Date: Feb 9, 2008 02:03

* Peter Dyballa (2008-02-09) writes:
> Am 08.02.2008 um 21:18 schrieb Ralf Angeli:
>
>> This is a very bad idea since you will have to check if something
>> changed in texdoc every time the TeX distribution is updated unless
>> you
>> don't mind missing new features and bug fixes or dealing with
>> potential
>> incompatibilities.
>
> This isn't such a big issue. TeX Live updates happen once in two
> years, before 2006 it was once per year.

What you are suggesting is just plain unnecessary because there are
other ways of achieving the goal of abusing `texdoc' as a replacement
for `run-mailcap' (aka `see'), namely setting the environment variables
used by `texdoc' or adapting the mailcap configuration. Please, inform
yourself before making suggestions.
Show full article (1.44Kb)
no comments