emacs-orgmode
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[O] orgmode and auctex
From
:
Christopher Witte
Subject
:
[O] orgmode and auctex
Date
:
Tue, 7 Feb 2012 18:55:23 +0100
I've had a small problem with orgmode and auctex. Follwing the auctex quickstart I added the following to my .emacs
(setq-default TeX-master nil)
and then from the orgmode FAQ to setup reftex in orgmode I added the following
(defun org-mode-reftex-setup ()
(load-library "reftex")
(and (buffer-file-name)
(file-exists-p (buffer-file-name))
(reftex-parse-all))
(define-key org-mode-map (kbd "C-c )") 'reftex-citation))
(add-hook 'org-mode-hook 'org-mode-reftex-setup)
With both of these, whenever I opened an org file I was asked to name the master file. If I comment out the setq-default I don't get the behaviour I would like with mulitfile tex files. My solution was to change
(setq-default TeX-master nil)
to
(add-hook 'TeX-mode-hook (lambda ()
(setq-default TeX-master nil)))
I then appear to get the behaviour I desire. Is this a good way to do this? If so I might add it to the FAQ.
Cheers
Chris.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[O] orgmode and auctex
,
Christopher Witte
<=
Re: [O] orgmode and auctex
,
Nick Dokos
,
2012/02/07
Re: [O] orgmode and auctex
,
Christopher Witte
,
2012/02/09
Re: [O] orgmode and auctex
,
Thomas Alexander Gerds
,
2012/02/09
Re: [O] orgmode and auctex
,
Nick Dokos
,
2012/02/09
Re: [O] orgmode and auctex
,
Christopher Witte
,
2012/02/11
Re: [O] orgmode and auctex
,
Nick Dokos
,
2012/02/11
Re: [O] orgmode and auctex
,
Carsten Dominik
,
2012/02/11
Re: [O] orgmode and auctex
,
Nick Dokos
,
2012/02/11
Re: [O] orgmode and auctex
,
Christopher Witte
,
2012/02/20
Re: [O] orgmode and auctex
,
Nick Dokos
,
2012/02/24
Prev by Date:
Re: [O] org-babel-R: export R graphics to LaTeX
Next by Date:
Re: [O] orgmode and auctex
Previous by thread:
[O] [PATCH] Make [fragile] work with overlay specifications.
Next by thread:
Re: [O] orgmode and auctex
Index(es):
Date
Thread