DOCX writer: Look in user data dir for archive reference.docx.
This commit is contained in:
parent
78bdc08de7
commit
e4f3475eaa
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ writeDocx opts doc@(Pandoc meta _) = do
|
|||
case writerReferenceDocx opts of
|
||||
Just f -> B.readFile f
|
||||
Nothing -> readDataFile datadir "reference.docx"
|
||||
distArchive <- liftM (toArchive . toLazy) $ readDataFile Nothing "reference.docx"
|
||||
distArchive <- liftM (toArchive . toLazy) $ readDataFile datadir "reference.docx"
|
||||
|
||||
parsedDoc <- parseXml refArchive distArchive "word/document.xml"
|
||||
let wname f qn = qPrefix qn == Just "w" && f (qName qn)
|
||||
|
|
Loading…
Add table
Reference in a new issue