From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: latex export [9.2.2 (9.2.2-18-g0ff705-elpaplus @ /home/sdorof/.emacs.d/elpa/25.3/develop/org-plus-contrib-20190325/)] Date: Sat, 06 Apr 2019 10:55:56 +0200 Message-ID: <878swn7bs3.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hCh7L-0003Cd-Ti for emacs-orgmode@gnu.org; Sat, 06 Apr 2019 04:56:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hCh7K-0004o1-SE for emacs-orgmode@gnu.org; Sat, 06 Apr 2019 04:56:03 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:40577) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hCh7K-0004kf-Jj for emacs-orgmode@gnu.org; Sat, 06 Apr 2019 04:56:02 -0400 In-Reply-To: (=?utf-8?B?ItCh0LXRgNCz0LXQuSDQlNC+0YDQvtGE0LXQtdC90LrQviIncw==?= message of "Sat, 6 Apr 2019 11:24:16 +0300") 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" To: =?utf-8?B?0KHQtdGA0LPQtdC5INCU0L7RgNC+0YTQtdC10L3QutC+?= Cc: emacs-orgmode@gnu.org Hello, =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 =D0=94=D0=BE=D1=80=D0=BE=D1=84=D0=B5= =D0=B5=D0=BD=D0=BA=D0=BE writes: > The command > > \marginnote{$A_{BC}$} > > will be exported to LaTeX as > > \marginnote\{\(A_{BC}\)\} > > while expected > > \marginnote{\(A_{BC}\)} > > However, if don't use nested {}, it will be exported as expected. This is not a bug. Org doesn't handle the full LaTeX syntax. For complicated constructs, like nested ones, you need to use specific syntax, e.g., @@latex:\marginnote{$A_{BC}$}@@ Regards, --=20 Nicolas Goaziou