* Adding custom variables pandoc AST json, to be represented in Latex
@ 2017-02-08 16:54 hassan shaikley
[not found] ` <d0c2043f-f994-4154-aa78-7f3ba54c23e2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: hassan shaikley @ 2017-02-08 16:54 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 971 bytes --]
I tried this once and it worked.
I am trying it again and it won't.
in JSON AST
"meta" : {
"pubdegree":{
"t":"MetaInlines",
"c":[
{
"t":"Str",
"c":"Engineering"
}
]
}
}
in latex template
$if(pubdegree)$
\degree{Test One}
$else$
\degree{Test Two}
$endif$
Is anything missing? Is what I am trying to do even possible?
Best,
--
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/d0c2043f-f994-4154-aa78-7f3ba54c23e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 2008 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adding custom variables pandoc AST json, to be represented in Latex
[not found] ` <d0c2043f-f994-4154-aa78-7f3ba54c23e2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-02-08 17:27 ` hassan shaikley
0 siblings, 0 replies; 2+ messages in thread
From: hassan shaikley @ 2017-02-08 17:27 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1191 bytes --]
Nevermind. I realized that I had
"meta" : {
..
}
"pubdegree":{
..
}
Silly me. : (
On Wednesday, February 8, 2017 at 11:54:07 AM UTC-5, hassan shaikley wrote:
>
> I tried this once and it worked.
>
> I am trying it again and it won't.
>
> in JSON AST
>
> "meta" : {
> "pubdegree":{
> "t":"MetaInlines",
> "c":[
> {
> "t":"Str",
> "c":"Engineering"
> }
> ]
> }
> }
>
>
> in latex template
>
> $if(pubdegree)$
> \degree{Test One}
> $else$
> \degree{Test Two}
> $endif$
>
> Is anything missing? Is what I am trying to do even possible?
>
> Best,
>
--
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/bcc22fa1-5a00-4c45-ac47-9bf468cb7011%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 2434 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-08 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 16:54 Adding custom variables pandoc AST json, to be represented in Latex hassan shaikley
[not found] ` <d0c2043f-f994-4154-aa78-7f3ba54c23e2-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-02-08 17:27 ` hassan shaikley
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).