public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* No LaTeX formatting when converting from LaTeX to icml??
@ 2015-11-16 17:31 William Zeitler
       [not found] ` <494afd2b-7db1-4965-8e5b-a78cdf6f637b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: William Zeitler @ 2015-11-16 17:31 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1252 bytes --]

I've did a fair amount of LaTeX back in the day, newbie to PanDoc. Just 
installed the latest and greatest:

MikTex 2.9.5721
PanDoc 1.15.2
(Win7x64)

I use PanDoc to convert a trivial tex file like:

\documentclass[book]
\begin{document}

*hello$^{world}$     % 'world' should output as a superscript*

\end{document}

I convert it to icml with

          pandoc -s -f latex -t icml -o blah.icml blah.tex

When I place blah.icml in my InDesign file, '^{world}' is passed through 
raw/unprocessed, instead of being converted to a superscript as expected. 
(Arg!)

(When I generate a pdf using MikTex without PanDoc, the superscript is as 
expected)

Many Thanx!!

william zeitler


-- 
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/494afd2b-7db1-4965-8e5b-a78cdf6f637b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2306 bytes --]

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

* Re: No LaTeX formatting when converting from LaTeX to icml??
       [not found] ` <494afd2b-7db1-4965-8e5b-a78cdf6f637b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-17  3:55   ` John MacFarlane
  2015-11-17 12:08   ` William Zeitler
  1 sibling, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2015-11-17  3:55 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Currently the ICML writer just outputs the raw tex math,
which isn't great.  I'll change it to use the "faking it
with unicode" method when possible (this should work in
your particular example).

+++ William Zeitler [Nov 16 15 09:31 ]:
>   I've did a fair amount of LaTeX back in the day, newbie to PanDoc. Just
>   installed the latest and greatest:
>   MikTex 2.9.5721
>   PanDoc 1.15.2
>   (Win7x64)
>   I use PanDoc to convert a trivial tex file like:
>   \documentclass[book]
>   \begin{document}
>   hello$^{world}$     % 'world' should output as a superscript
>   \end{document}
>   I convert it to icml with
>             pandoc -s -f latex -t icml -o blah.icml blah.tex
>   When I place blah.icml in my InDesign file, '^{world}' is passed
>   through raw/unprocessed, instead of being converted to a superscript as
>   expected. (Arg!)
>   (When I generate a pdf using MikTex without PanDoc, the superscript is
>   as expected)
>   Many Thanx!!
>   william zeitler
>
>   --
>   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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/494afd2b-7db1-4965-
>   8e5b-a78cdf6f637b%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/494afd2b-7db1-4965-8e5b-a78cdf6f637b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


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

* Re: No LaTeX formatting when converting from LaTeX to icml??
       [not found] ` <494afd2b-7db1-4965-8e5b-a78cdf6f637b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2015-11-17  3:55   ` John MacFarlane
@ 2015-11-17 12:08   ` William Zeitler
       [not found]     ` <5f72ec8e-160a-4e3d-97d7-d2727a96043f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: William Zeitler @ 2015-11-17 12:08 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1595 bytes --]

You have to use 'math mode' for for superscripts (for footnotes) and 
special characters (e.g. Greek letters). That's all *I* use 'math mode' 
for, at least -- and I'm typesetting a completely math free document.

On Monday, November 16, 2015 at 9:31:27 AM UTC-8, William Zeitler wrote:
>
> I've did a fair amount of LaTeX back in the day, newbie to PanDoc. Just 
> installed the latest and greatest:
>
> MikTex 2.9.5721
> PanDoc 1.15.2
> (Win7x64)
>
> I use PanDoc to convert a trivial tex file like:
>
> \documentclass[book]
> \begin{document}
>
> *hello$^{world}$     % 'world' should output as a superscript*
>
> \end{document}
>
> I convert it to icml with
>
>           pandoc -s -f latex -t icml -o blah.icml blah.tex
>
> When I place blah.icml in my InDesign file, '^{world}' is passed through 
> raw/unprocessed, instead of being converted to a superscript as expected. 
> (Arg!)
>
> (When I generate a pdf using MikTex without PanDoc, the superscript is as 
> expected)
>
> Many Thanx!!
>
> william zeitler
>
>
>

-- 
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/5f72ec8e-160a-4e3d-97d7-d2727a96043f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2739 bytes --]

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

* Re: No LaTeX formatting when converting from LaTeX to icml??
       [not found]     ` <5f72ec8e-160a-4e3d-97d7-d2727a96043f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2015-11-17 13:14       ` Andrew Dunning
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Dunning @ 2015-11-17 13:14 UTC (permalink / raw)
  To: pandoc-discuss

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

It's not advisable to use math mode for those sorts of things in modern LaTeX; you will get better results from both programs from the specific macros for these purposes.

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

end of thread, other threads:[~2015-11-17 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-16 17:31 No LaTeX formatting when converting from LaTeX to icml?? William Zeitler
     [not found] ` <494afd2b-7db1-4965-8e5b-a78cdf6f637b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-17  3:55   ` John MacFarlane
2015-11-17 12:08   ` William Zeitler
     [not found]     ` <5f72ec8e-160a-4e3d-97d7-d2727a96043f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-11-17 13:14       ` Andrew Dunning

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).