emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Сергей Дорофеенко" <sdorof1@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <878swn7bs3.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAP-KJ4_f+aWB+uvkaFOCS2vaKWVM0fTYce2uQikzCheVTipSgw@mail.gmail.com> ("Сергей Дорофеенко"'s message of "Sat, 6 Apr 2019 11:24:16 +0300")

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

      reply	other threads:[~2019-04-06  8:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878swn7bs3.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=sdorof1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).