a***@cock.li
2017-03-30 12:19:36 UTC
Hello everybody,
In auctex-mode, given
--8<---------------cut here---------------start------------->8---
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf xxxx \parencite{asdf}
--8<---------------cut here---------------end--------------->8---
after calling `fill-paragraph` I get the following
--8<---------------cut here---------------start------------->8---
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf
xxxx \parencite{asdf}
--8<---------------cut here---------------end--------------->8---
(note that xxxx gets wrapped to the new line even though it should stay
in the same line)
Here's the result when I use \cite instead of \parencite:
--8<---------------cut here---------------start------------->8---
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf xxxx
\cite{asdf}
--8<---------------cut here---------------end--------------->8---
I guess it has something to do with the initial letters of \parencite
which are the same as \par and \par is treated in a special way by
fill-paragraph.
Is there any solution (or workaround) to this problem?
Thanks for help in advance!
Cheers,
Adam
PS I'm using Emacs version 25.1.1 and AucTeX version 11.90.0 from elpa.
In auctex-mode, given
--8<---------------cut here---------------start------------->8---
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf xxxx \parencite{asdf}
--8<---------------cut here---------------end--------------->8---
after calling `fill-paragraph` I get the following
--8<---------------cut here---------------start------------->8---
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf
xxxx \parencite{asdf}
--8<---------------cut here---------------end--------------->8---
(note that xxxx gets wrapped to the new line even though it should stay
in the same line)
Here's the result when I use \cite instead of \parencite:
--8<---------------cut here---------------start------------->8---
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf xxxx
\cite{asdf}
--8<---------------cut here---------------end--------------->8---
I guess it has something to do with the initial letters of \parencite
which are the same as \par and \par is treated in a special way by
fill-paragraph.
Is there any solution (or workaround) to this problem?
Thanks for help in advance!
Cheers,
Adam
PS I'm using Emacs version 25.1.1 and AucTeX version 11.90.0 from elpa.