Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pandocPublic

Bug parsing \@ in LaTeX #9555

Closed
Closed
Labels
@dan-reznik

Description

@dan-reznik

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp