Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.6k
Closed
Labels
Description
Using "pandoc main.tex -o main.docx" on the .tex below, we identify
two potential deviations from a latex-generated PDF:
a) a footnote following a right-to-left string (e.g., hebrew) appears
correctly on its right side on the PDF and incorrectly on its left
side on the .docx
b) when an abbreviation such as "It." is followed by "\@ ", e.g.,
"It.\@ ", so as to avoid a long space after the period, in the PDF it
behaves correctly, however, in the .docx that space is omitted.
Currently one can "~" use "It.\@~next" as a workaround, which is not
TeX practice.
Cheers
\documentclass[letter]{article}\title{Right-To-Left Footnote problem}\author{}\usepackage{fontspec}\setmainfont{FreeSerif}\setsansfont{FreeSans}\setmonofont{FreeMono}\usepackage{polyglossia}\setdefaultlanguage[variant=american]{english}\setotherlanguages{hebrew}\newfontfamily\hebrewfont[Script=Hebrew]{Hadasim CLM}\begin{document}\maketitleTwo Pandoc bugs in going from \texttt{.tex} to \texttt{.docx}:\begin{itemize}\item A footnote on a right-to-left string, e.g.,\texthebrew{טוֹב}\footnote{A footnote.} appears incorrectly on theleft side of the string.\item After an abbreviated such as It.\@ hello you don't get a spaceafter the period. It works if I use a tilde after the abbreviatedword. E.g., It.\@~hello.\end{itemize}\end{document}