Thanks for answer. I've read comments from issue that you've referenced. > Implement basic support for converting pandoc properties into core and custom docx properties I don't fully understand this thing. "Pandoc properties" - is it pandoc variables, which are specified using -V command line option? "docx properties" - is it same as LibreOffice "fields"? friday, 25 january 2019 г., 5:11:54 UTC+5 user John MacFarlane writes: > > > Variables in pandoc just affect template resolution, > and docx doesn't use templates. > > Reference.docx is a different concept. > > See however #5215, which might offer a path forward in > the future. > > > > Dmitriy Vinokurov > writes: > > > Hi! > > > > I need to use custom variables for my DOCX file content created from > > Markdown file. > > > > Tried to insert DOC_NAME variable in "--reference-doc" template file > both > > using LibreOffice and MS Office in document header. Then I redefine this > > variable according to pandoc man page and convert Markdown to DOCX using > > this command line: > > > > $ pandoc -s -V DOC_NAME=DOCUMENT1 --columns 10 > > --reference-doc=template.docx -s -f markdown -t docx main.md -o > main.docx > > > > But when I open main.docx I see variable values that was set in office > > document editor in template.docx header, not what was set in command > line. > > E.g. I set variable DOC_NAME=doc1 in office and see it in resulting > file, > > not the "DOCUMENT1" value that was set in command line. > > > > Could anybody help me with setting custom variables? > > > > -- > > 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . > > To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/1066fd0c-ca5f-4650-bc64-17ca4aaec04c%40googlegroups.com. > > > For more options, visit https://groups.google.com/d/optout. > -- 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/faac06f7-39ce-414b-a6c5-71d133da0ae2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.