hi all, thanks for the prompt response. here is a complete reproducible example.
I use:
/Applications/Emacs.app/Contents/MacOS/Emacs -geometry 80x30 --load ~/.emacs.d/Hacking/.emacs-debug-auctex -Q test.tex
I am attaching the files .emacs-debug-auctex and test.tex below.
the problem occurs only when the house is over the \citep commands and the text between them. Please let me know if there is anything else I can do.
E
.emacs-debug-auctex:
; file: ~/.emacs.d/Hacking/.emacs-debug-auctex
; use:
; /Applications/Emacs.app/Contents/MacOS/Emacs -geometry 80x30 --load ~/.emacs.d/Hacking/.emacs-debug-auctex -Q
(add-to-list 'load-path "~/.emacs.d/auctex-installed")
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq TeX-auto-save nil)
(setq TeX-auto-global nil)
(setq TeX-parse-self t)
(setq bib-cite-use-reftex-view-crossref t)
(autoload 'turn-on-bib-cite "bib-cite")
(add-hook 'LaTeX-mode-hook
(function (lambda ()
(turn-on-bib-cite)
(turn-on-reftex) ; with AUCTeX LaTeX mode
)))
test.tex:
%**start header
\documentclass{article}
\begin{document}
%**end of header
Hey hey asdf asdf asdf \citep[e.g.,][]{one-2010:testing, Guilyardi-Bellenger-Collins-et-al-2012:first, Linz-Tziperman-2013:Process}. Huha huha \citep[]{two-2010:enso}. More.
\end{document}