public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Using YAML variables in docx
@ 2017-11-01  1:18 'Adam Mackie' via pandoc-discuss
       [not found] ` <46936ce3-7335-4071-ab66-88bd60ecdf84-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: 'Adam Mackie' via pandoc-discuss @ 2017-11-01  1:18 UTC (permalink / raw)
  To: pandoc-discuss

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

Hey folks,

Is there a straightforward way to use YAML-defined variables in my docx files? 

I generate docx files from markdown with headers and footers taken from a reference.docx. These headers always contain some document properties like "Title", "Revision" etc. Is there ANY way to get these to flow through from my YAML metadata?

I have looked through the readme and understand that reference.docx files are not like templates, so they're only intended to carry over document styles. I am also aware you can define "filters" for pandoc, but am unsure what they do for you or if they could be leveraged to solve this problem.

Just looking for ideas tbh, it's possible I've missed something somewhere, although I've poured over the readme/pandoc-discuss and gotten nowhere haha.

Cheers,
Adam

-- 
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/46936ce3-7335-4071-ab66-88bd60ecdf84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

end of thread, other threads:[~2017-11-11 19:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01  1:18 Using YAML variables in docx 'Adam Mackie' via pandoc-discuss
     [not found] ` <46936ce3-7335-4071-ab66-88bd60ecdf84-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-01  3:51   ` John MacFarlane
     [not found]     ` <20171101035147.GB19638-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-11-01 12:57       ` 'Adam Mackie' via pandoc-discuss
     [not found]         ` <edfcc38c-eb20-400f-822a-2c2f1231141c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-01 16:54           ` John MACFARLANE
2017-11-01 17:05             ` 'Adam Mackie' via pandoc-discuss
     [not found]               ` <eb861fe9-af97-4e32-bc6c-75662e0846a4-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-01 17:14                 ` John MACFARLANE
2017-11-01 21:40                 ` Agustín Martín
     [not found]                   ` <b6259169-dba5-4aa7-9154-1816c021ce99-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-01 22:05                     ` 'Adam Mackie' via pandoc-discuss
     [not found]                       ` <caa2d23a-8956-4660-abb7-09835f3edc44-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-02  5:17                         ` Ophir Lifshitz
     [not found]                           ` <5f9a9b31-62b5-47b5-9db7-0a8ab5cae4e3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-05 16:28                             ` 'Adam Mackie' via pandoc-discuss
2017-11-05 17:40                             ` John MacFarlane
     [not found]                               ` <20171105174028.GC73700-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-11-07 21:54                                 ` BP Jonsson
2017-11-11 19:30                                 ` Ophir Lifshitz

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