Word compounds URL escape codes in Z cites when it converts a .docx to PDF.

edited December 9, 2020
When Word 2011 imports a Zotero citation it works, and doesn't seem to alter the escape codes (%) in its URL. But when Word creates a PDF it adds more escape codes in the URL, and picking the URL from the PDF doesn't work.

URL captured from Zotero:

https://commons.wikimedia.org/w/index.php?title=File:D%27Alembert_-_Opuscules_math%C3%A9matiques,_Tome_5,_1768.djvu&page=158


URL cut and pasted from Word 2011 .docx endnote (identical, good):

https://commons.wikimedia.org/w/index.php?title=File:D%27Alembert_-_Opuscules_math%C3%A9matiques,_Tome_5,_1768.djvu&page=158

URl cut and pasted from the same document which Word converted to PDF doesn't work:

https://commons.wikimedia.org/w/index.php?title=%20File:D%27Alembert_-%20_Opuscules_math%C3%A9matiques,_Tome_5,_17%2068.djvu&page=158

Does Word 2016 do any better? Is there a better way to make a PDF from a Word docx?
  • (I've added code tags to prevent the forums from swallowing what you're trying to show.)

    If I'm understanding you, this wouldn't have anything to do with Zotero. If you're referring just to the %20 instances, that's the escape code for spaces. I couldn't tell you how those are ending up in the URL, unless this is in some narrow portion of the document and soft line breaks are somehow being converted to encoded spaces, which would obviously be a Word bug.
Sign In or Register to comment.