* use math notation in template
@ 2016-03-17 14:32 Thomas Lin Pedersen
[not found] ` <f396fe75-1128-4063-b2b5-299551684f3a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Lin Pedersen @ 2016-03-17 14:32 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1091 bytes --]
Hi
I'm trying to convert an article I'm writing in markdown into a tex file
using a template provided by the journal (Oxford Bioinformatics)
The template they provide includes math notation for superscript in the
author list, which throws of pandoc that expects a variable name. The math
notation is of the form:
$^{\text{\sfb 1,2,}*}$
and the error I get is:
pandoc: "template" (line 13, column 58):
unexpected "^"
expecting letter
Is there any way to tell pandoc to ignore these math notations?
best Thomas
--
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/f396fe75-1128-4063-b2b5-299551684f3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1903 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: use math notation in template
[not found] ` <f396fe75-1128-4063-b2b5-299551684f3a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2016-03-17 23:40 ` John MACFARLANE
[not found] ` <20160317234031.GB14004-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: John MACFARLANE @ 2016-03-17 23:40 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Any literal $s in a template should be escaped as $$.
See the README under Templates.
+++ Thomas Lin Pedersen [Mar 17 16 07:32 ]:
> Hi
> I'm trying to convert an article I'm writing in markdown into a tex
> file using a template provided by the journal (Oxford Bioinformatics)
> The template they provide includes math notation for superscript in the
> author list, which throws of pandoc that expects a variable name. The
> math notation is of the form:
> $^{\text{\sfb 1,2,}*}$
> and the error I get is:
> pandoc: "template" (line 13, column 58):
> unexpected "^"
> expecting letter
> Is there any way to tell pandoc to ignore these math notations?
> best Thomas
>
> --
> 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/f396fe75-1128-4063-
> b2b5-299551684f3a%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/f396fe75-1128-4063-b2b5-299551684f3a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: use math notation in template
[not found] ` <20160317234031.GB14004-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
@ 2016-03-18 6:41 ` Thomas Lin Pedersen
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Lin Pedersen @ 2016-03-18 6:41 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Ah - somehow I didn't catch that. Thanks
> Den 18. mar. 2016 kl. 00.40 skrev John MACFARLANE <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
>
> Any literal $s in a template should be escaped as $$.
> See the README under Templates.
>
> +++ Thomas Lin Pedersen [Mar 17 16 07:32 ]:
>> Hi
>> I'm trying to convert an article I'm writing in markdown into a tex
>> file using a template provided by the journal (Oxford Bioinformatics)
>> The template they provide includes math notation for superscript in the
>> author list, which throws of pandoc that expects a variable name. The
>> math notation is of the form:
>> $^{\text{\sfb 1,2,}*}$
>> and the error I get is:
>> pandoc: "template" (line 13, column 58):
>> unexpected "^"
>> expecting letter
>> Is there any way to tell pandoc to ignore these math notations?
>> best Thomas
>>
>> --
>> 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/f396fe75-1128-4063-
>> b2b5-299551684f3a%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/f396fe75-1128-4063-b2b5-299551684f3a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>> 4. https://groups.google.com/d/optout
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/iqNnbTWLwH8/unsubscribe.
> To unsubscribe from this group and all its topics, 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/20160317234031.GB14004%40protagoras.berkeley.edu.
> For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-18 6:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-17 14:32 use math notation in template Thomas Lin Pedersen
[not found] ` <f396fe75-1128-4063-b2b5-299551684f3a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-03-17 23:40 ` John MACFARLANE
[not found] ` <20160317234031.GB14004-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2016-03-18 6:41 ` Thomas Lin Pedersen
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).