From: Alexis <flexibeast@gmail.com>
To: 杨劲松 <shannleon@gmail.com>
Cc: help-gnu-emacs@gnu.org, Kaushal Modi <kaushal.modi@gmail.com>
Subject: Re: How to use \subsetneqq in Org-mode?
Date: Sun, 03 Dec 2017 11:44:10 +1100 [thread overview]
Message-ID: <87374sej39.fsf@gmail.com> (raw)
In-Reply-To: <CAPw_aB9TmP6Vmd_MuUJY7ybhzWA0NAWXZMC-op5WM1jH4+QKcA@mail.gmail.com>
杨劲松 <shannleon@gmail.com> writes:
> Thank you Alexis and Kaushal. I might mislead you.
>
> I am writing some short articles which includes a lot of Math
> formula. So I include LaTeX command here and there like $A
> \subset
> B$. Most symbol display OK when exporting to HTML. But the
> \subsetneqq
> not. Same article, Html couldn't handle $\subsetneqq$ and
> display
> "Undefined control sequence \subsetneqq" in final render. But
> display
> in PDF output correctly.
Yes, because as we noted, \subsetneqq is not a LaTeX command that
Org
understands. When exporting to PDF, your article gets processed by
a
LaTeX program (e.g. pdflatex; but it might be something different
on
your system), which understands what \subseqneqq is, so it's able
to
produce the correct output in the PDF. But when exporting to HTML,
as
explained by Kaushal, exporting uses a list built-in to Org (which
you
can view with M-x org-entities-help) in order to produce HTML
output. It
seems most of the math symbols you use are in that list, but
\subsetneqq
is not, so you don't get the correct symbol in your output.
Thus, Kaushal suggested that you send an email to the Org people
asking
if \subsetneqq can be added to the list. In the meantime, however,
you
can simply add the symbol directly into your article, by using the
method i described; instead of typing \subsetneqq, type:
C-x 8 RET SUBSET OF ABOVE NOT EQUAL
which will insert the symbol into your article. Whether it
displays in
your Emacs buffer depends on whether the font you use in Emacs
includes
that symbol. Also note that whether it displays in a browser will
depend
on whether the user viewing it is using a font that includes that
symbol.
Hope that makes things clearer!
Alexis.
next prev parent reply other threads:[~2017-12-03 0:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-02 2:28 How to use \subsetneqq in Org-mode? shannleon
2017-12-02 2:54 ` Alexis
2017-12-02 3:49 ` Kaushal Modi
2017-12-02 22:43 ` 杨劲松
2017-12-03 0:44 ` Alexis [this message]
2017-12-03 1:04 ` 杨劲松
2017-12-03 1:30 ` Alexis
2017-12-03 1:40 ` 杨劲松
2017-12-05 3:29 ` 杨劲松
2017-12-05 17:35 ` Kaushal Modi
2017-12-05 22:45 ` 杨劲松
2017-12-06 3:28 ` Alexis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87374sej39.fsf@gmail.com \
--to=flexibeast@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kaushal.modi@gmail.com \
--cc=shannleon@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.