emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: latex export [9.2.2 (9.2.2-18-g0ff705-elpaplus @ /home/sdorof/.emacs.d/elpa/25.3/develop/org-plus-contrib-20190325/)]
@ 2019-04-06  8:24 Сергей Дорофеенко
  2019-04-06  8:55 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Сергей Дорофеенко @ 2019-04-06  8:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

Package: Org mode version 9.2.2 (9.2.2-18-g0ff705-elpaplus @
/home/sdorof/.emacs.d/elpa/25.3/develop/org-plus-contrib-20190325/)

 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.

Date: Sat, 06 Apr 2019 11:22:07 +0300
Message-ID:
<87wok7k0gg.fsf@b586.i-did-not-set--mail-host-address--so-tickle-me>

[-- Attachment #2: Type: text/html, Size: 743 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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/)]
  2019-04-06  8:24 Bug: latex export [9.2.2 (9.2.2-18-g0ff705-elpaplus @ /home/sdorof/.emacs.d/elpa/25.3/develop/org-plus-contrib-20190325/)] Сергей Дорофеенко
@ 2019-04-06  8:55 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-04-06  8:55 UTC (permalink / raw)
  To: Сергей Дорофеенко
  Cc: emacs-orgmode

Hello,

Сергей Дорофеенко <sdorof1@gmail.com> 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,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-06  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-06  8:24 Bug: latex export [9.2.2 (9.2.2-18-g0ff705-elpaplus @ /home/sdorof/.emacs.d/elpa/25.3/develop/org-plus-contrib-20190325/)] Сергей Дорофеенко
2019-04-06  8:55 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).