From: Johs <asdasd@asd.com>
Subject: Re: can't use Kdvi as dvi previewer
Date: Sun, 29 Oct 2006 23:24:22 +0100 [thread overview]
Message-ID: <ei39me$sq9$1@news.net.uni-c.dk> (raw)
In-Reply-To: ei35b0$o1n$1@news.net.uni-c.dk
Johs wrote:
> Oliver Heins wrote:
>
>> Johs <asdasd@asd.com> writes:
>>
>>> hmm do I have to enter:
>>>
>>> (info "(auctex)Viewing")
>>>
>>> into my .emacs file?
>>
>> Of course you're free to do it this way, but the preferable way is to
>> copy this line into an emacs buffer (eg the *scratch* buffer) and then
>> type C-x C-e. This leads you to the section "Viewing" of the auctex
>> manual. Here you will probably find an answer to your question.
>
>
> not really.
>
> I have now tried:
>
> (setq Tex-view "kdvi")
>
> does not work
>
> and I have also tried:
>
> (setq TeX-view-style '(("^a5$" "kdvi %d -paper a5")
> ("^landscape$" "kdvi %d -paper a4r -s 4")
> ("." "kdvi %d"))
>
> which does not work either.
>
> Any hints?
This works:
(add-hook 'TeX-mode-hook
;; Super-Tab
(lambda ()
;; Preview-LaTeX
(TeX-source-specials-mode 1)
(local-set-key "\C-i" 'th-complete-or-indent)
;; PDFs per default mit kpdf öffnen
(add-to-list 'TeX-output-view-style
'("^pdf$" "." "kpdf %o"))
;; DVIs per default mit kdvi öffnen
(add-to-list 'TeX-output-view-style
'("^dvi$" "." "kdvi %o"))))
So the option I needed was: TeX-output-view-style
prev parent reply other threads:[~2006-10-29 22:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-29 16:32 can't use Kdvi as dvi previewer Johs
2006-10-29 16:48 ` Ralf Angeli
2006-10-29 20:54 ` Johs
2006-10-29 21:04 ` Oliver Heins
2006-10-29 21:10 ` Johs
2006-10-29 21:15 ` Johs
2006-10-29 22:24 ` Johs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ei39me$sq9$1@news.net.uni-c.dk' \
--to=asdasd@asd.com \
--cc=asd@ads.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.