public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Xavier Belanche Alonso <xbelanch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Pass variables to ODT template
Date: Mon, 15 Jun 2015 05:10:16 -0700 (PDT)	[thread overview]
Message-ID: <5fd6133c-bc12-4752-9879-2d256b7f80ca@googlegroups.com> (raw)
In-Reply-To: <35e33289-d4ff-4bda-ad57-44636b3a3ffb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

Okay, just googled a little more and I found the solution: using metadata 
instead of variable

--metadata=title:A title

Btw I have a more questions... anyone knows how can I call differents 
$header-includes$ or $include-before$ as well?

Thanks!


On Monday, June 15, 2015 at 12:47:02 PM UTC+2, Xavier Belanche Alonso wrote:
>
> If I do this 
>
> pandoc input.md —template=mydefault. 
> <http://pandoc.org/demo/mytemplate.tex>opendocument —reference-odt=
> myreference.odt —variable author=My Name And Surname -o output.pdf 
> <http://pandoc.org/demo/example14.pdf>
>
> <http://pandoc.org/demo/example14.pdf>It gives me an error: it doesn't 
> recognize the "variable" argument. Well, my goal is to pass values to the 
> set of variables defined on the opendocument template. In fact, the default 
> opendocument template (
> https://github.com/jgm/pandoc-templates/blob/master/default.opendocument) 
> includes such variables like "author", "date", "title"...
>
> Maybe I'm doing a mistake or maybe is not supported :( but I'd appreciate 
> some help :)
>
> Thanks in advance
> ​
>

-- 
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/5fd6133c-bc12-4752-9879-2d256b7f80ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2015-06-15 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 10:47 Xavier Belanche Alonso
     [not found] ` <35e33289-d4ff-4bda-ad57-44636b3a3ffb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-15 12:10   ` Xavier Belanche Alonso [this message]
2015-06-16 10:57   ` kurt.pfeifle-gM/Ye1E23mwN+BqQ9rBEUg
     [not found]     ` <8b345e1c-470c-4fad-a90c-7ca108bc6892-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-16 11:06       ` Xavier Belanche Alonso
     [not found]         ` <4aad9367-09b9-4b27-b71c-7e5086e3d387-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-16 18:14           ` John MacFarlane
2015-06-16 11:25   ` Xavier Belanche Alonso
     [not found]     ` <fe96494a-d0e0-406c-bb2d-a6308196e1ab-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-06-16 18:15       ` John MacFarlane
     [not found]         ` <20150616181518.GG41913-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org>
2015-06-17  6:38           ` Xavier Belanche Alonso
     [not found]             ` <CAFNEGTYbD-XT6Bbp0BoxeG7GxBSxW3snQRi=gaiEfka_iBnuMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-17  8:09               ` Xavier Belanche Alonso
2015-06-17 22:39               ` John MacFarlane

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=5fd6133c-bc12-4752-9879-2d256b7f80ca@googlegroups.com \
    --to=xbelanch-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /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.
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).