* how to get \big/ for latex conversion to word
@ 2018-09-18 20:21 Vince West
[not found] ` <b9d29ebb-5a78-46ba-b658-a8b0f392442e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Vince West @ 2018-09-18 20:21 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1784 bytes --]
working on a technical document in org-mode. Amazing how well the export
to docx works, but does seem to fail in one small part. Wondering if it is
just a missing feature:
if I have the following in an equation block it fails at the:
\big/
in the .docx export, but works fine in the conversion to html. It also
works fine in direct export from org to pdf. Based on the output it looks
like its just an unsupported feature in this export path, but I'm not sure
if its because of a limitation of docx or something that could be easily
implemented, or if there is another way to do this.
$$\begin{equation}
x = a \big/ b
\end{equation}$$
here is the error output from the pandoc command:
> pandoc test.org -o test.docx
[WARNING] Could not convert TeX math '\begin{equation}
x = a \big/ b
\end{equation}', rendering as TeX:
x = a \big/ b
^
unexpected "/"
expecting letter, white space, "(", ")", "[", "]", "\\{", "\\}",
"\\lbrack", "\\lbrace", "\\rbrack", "\\rbrace", "\\llbracket",
"\\rrbracket", "\\langle", "\\rangle", "\\lfloor", "\\rfloor", "\\lceil",
"\\rceil", "|", "\\|", "\\lvert", "\\rvert", "\\vert", "\\lVert",
"\\rVert", "\\Vert", "\\ulcorner" or "\\urcorner"
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b9d29ebb-5a78-46ba-b658-a8b0f392442e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 3279 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to get \big/ for latex conversion to word
[not found] ` <b9d29ebb-5a78-46ba-b658-a8b0f392442e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2018-09-18 20:56 ` John MacFarlane
0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2018-09-18 20:56 UTC (permalink / raw)
To: Vince West, pandoc-discuss
The library that handles math conversion is texmath
(jgm/texmath on GitHub). You could put up an issue on
texmath's bug tracker.
Currently texmath's types don't allow manual sizing
to be represented. A workaround could be to define
a macro so that \big is a no-op. Pandoc should
apply this before passing the math to texmath:
\newcommand{\big}{}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-18 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18 20:21 how to get \big/ for latex conversion to word Vince West
[not found] ` <b9d29ebb-5a78-46ba-b658-a8b0f392442e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-09-18 20:56 ` John MacFarlane
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 NNTP newsgroup(s).