Skip to content

Add additional xmlns when converting to docx #10345

Answered by lifeunleaded
ebullient asked this question in Q&A
Discussion options

You must be logged in to vote

As of 3.4 (I think) docx has template support. The default template (obtained with pandoc -D docx) starts with the w:document declarations:

<?xml version="1.0" encoding="UTF-8"?>
<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main”
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math”
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships”
xmlns:o="urn:schemas-microsoft-com:office:office”
xmlns:v="urn:schemas-microsoft-com:vml”
xmlns:w10="urn:schemas-microsoft-com:office:word”
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main”
xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture”
xmlns:wp="http:…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lifeunleaded
Comment options

@ebullient
Comment options

@lifeunleaded
Comment options

@ebullient
Comment options

Answer selected by ebullient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants