* can't use Kdvi as dvi previewer
@ 2006-10-29 16:32 Johs
2006-10-29 16:48 ` Ralf Angeli
0 siblings, 1 reply; 7+ messages in thread
From: Johs @ 2006-10-29 16:32 UTC (permalink / raw)
I use Ubuntu 6.10 and auctex and have installed Kdvi. I have tried to add
the following to my
.emacs file:
(setq tex-dvi-view-command "kdvi")
But when I preview emacs still uses xdvi. How do I change to kdvi?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: can't use Kdvi as dvi previewer
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
0 siblings, 1 reply; 7+ messages in thread
From: Ralf Angeli @ 2006-10-29 16:48 UTC (permalink / raw)
* Johs (2006-10-29) writes:
> I use Ubuntu 6.10 and auctex and have installed Kdvi. I have tried to add
> the following to my
> .emacs file:
>
> (setq tex-dvi-view-command "kdvi")
This variable has nothing to do with AUCTeX.
> But when I preview emacs still uses xdvi. How do I change to kdvi?
(info "(auctex)Viewing") <-- Type `C-x C-e' here.
--
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: can't use Kdvi as dvi previewer
2006-10-29 16:48 ` Ralf Angeli
@ 2006-10-29 20:54 ` Johs
2006-10-29 21:04 ` Oliver Heins
0 siblings, 1 reply; 7+ messages in thread
From: Johs @ 2006-10-29 20:54 UTC (permalink / raw)
Ralf Angeli wrote:
> * Johs (2006-10-29) writes:
>
>> I use Ubuntu 6.10 and auctex and have installed Kdvi. I have tried to add
>> the following to my
>> .emacs file:
>>
>> (setq tex-dvi-view-command "kdvi")
>
> This variable has nothing to do with AUCTeX.
>
>> But when I preview emacs still uses xdvi. How do I change to kdvi?
>
> (info "(auctex)Viewing") <-- Type `C-x C-e' here.
>
hmm do I have to enter:
(info "(auctex)Viewing")
into my .emacs file?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: can't use Kdvi as dvi previewer
2006-10-29 20:54 ` Johs
@ 2006-10-29 21:04 ` Oliver Heins
2006-10-29 21:10 ` Johs
0 siblings, 1 reply; 7+ messages in thread
From: Oliver Heins @ 2006-10-29 21:04 UTC (permalink / raw)
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.
HTH
olli
--
GnuPG-Key: http://www.sopos.org/pgp/olli.asc
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827
NP: Citizen Fish - "Scene 496: Care in Melksham"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: can't use Kdvi as dvi previewer
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
0 siblings, 2 replies; 7+ messages in thread
From: Johs @ 2006-10-29 21:10 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: can't use Kdvi as dvi previewer
2006-10-29 21:10 ` Johs
@ 2006-10-29 21:15 ` Johs
2006-10-29 22:24 ` Johs
1 sibling, 0 replies; 7+ messages in thread
From: Johs @ 2006-10-29 21:15 UTC (permalink / raw)
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?
I have also tried:
M-x customize-variable RET TeX-view-style RET
which gives me:
Tex View Style: Hide
INS DEL Regexp: ^a5$
Command: kdvi %d -paper a5
INS DEL Regexp: ^landscape$
Command: kdvi %d -paper a4r -s 4
INS DEL Regexp: .
Command: kdvi %d
INS
State: this option has been changed outside the customize buffer.
List of style options and view options. Hide
So it is setup for kdvi but running C-c C-c does just start xdvi as usuall
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: can't use Kdvi as dvi previewer
2006-10-29 21:10 ` Johs
2006-10-29 21:15 ` Johs
@ 2006-10-29 22:24 ` Johs
1 sibling, 0 replies; 7+ messages in thread
From: Johs @ 2006-10-29 22:24 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-10-29 22:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.