From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurens Van Houtven <_@lvh.io> Subject: Splitting up inline LaTeX Date: Fri, 13 Dec 2013 14:01:22 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b621f104e5f7604ed6a10c7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <_@lvh.cc>) id 1VrSNO-0001Wg-Lj for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 08:02:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <_@lvh.cc>) id 1VrSNF-0003jf-G9 for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 08:01:54 -0500 Received: from mail-ee0-f48.google.com ([74.125.83.48]:46612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <_@lvh.cc>) id 1VrSNF-0003jM-AQ for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 08:01:45 -0500 Received: by mail-ee0-f48.google.com with SMTP id e49so862301eek.7 for ; Fri, 13 Dec 2013 05:01:42 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b621f104e5f7604ed6a10c7 Content-Type: text/plain; charset=ISO-8859-1 Hi! I'm using org-mode with the LaTeX export to write a book. I'm having issues with inline LaTeX citations (\cite{some label}) and glossary references (\gls{some label}). When the label (the thing in between the curly braces) is split across lines, the org-mode LaTeX exporter escapes the curly braces, so I get something like: the beginning of the line \cite\{the first part of the label the latter part of the label\} the rest of the line The extra escaping of the curlies makes LaTeX very unhappy. I would like to teach org-mode that stuff like that needs to be kept together, much like $math mode stuff$. I tried reading the manual for advice, but those are neither inline math (so not $$ delimited) nor an environment (\begin{} and \end{} delimited), which are the two cases that the manual covers. thanks in advance lvh --047d7b621f104e5f7604ed6a10c7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi!

I'm using org-mode with the = LaTeX export to write a book. I'm having issues with inline LaTeX citat= ions (\cite{some label}) and glossary references (\gls{some label}). When t= he label (the thing in between the curly braces) is split across lines, the= org-mode LaTeX exporter escapes the curly braces, so I get something like:=

the beginning of the line \cite\{the first part of the labe= l
the latter part of the label\} the rest of the line

The e= xtra escaping of the curlies makes LaTeX very unhappy. I would like to teac= h org-mode that stuff like that needs to be kept together, much like $math = mode stuff$. I tried reading the manual for advice, but those are neither i= nline math (so not $$ delimited) nor an environment (\begin{} and \end{} de= limited), which are the two cases that the manual covers.

thanks in advance
lvh
--047d7b621f104e5f7604ed6a10c7--