Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatched reference labels with Hebrew #197

Closed
yonatanyehezkeally opened this issue Dec 18, 2017 · 5 comments
Closed

Mismatched reference labels with Hebrew #197

yonatanyehezkeally opened this issue Dec 18, 2017 · 5 comments

Comments

@yonatanyehezkeally
Copy link

References to list items in Hebrew blocks always appear as if they point to the last item on the list.

A minimal working example:

\documentclass{article}

\usepackage{polyglossia}

\setmainlanguage{hebrew}
\setotherlanguage{english}

\newfontfamily\hebrewfont[Script=Hebrew]{David CLM}
\newfontfamily\englishfont{Times New Roman}

\begin{document}
\begin{hebrew}
\begin{enumerate}
\item
\begin{enumerate}
\item\label{oneA_h}
א'.

\item\label{oneB_h}
ב'.
\end{enumerate}

\end{enumerate}

אנחנו מקשרים לסעיף
\ref{oneA_h}
וסעיף
\ref{oneB_h}.
\end{hebrew}
\end{document}

Both references are unfortunately rendered as .

See TeX-SE questions here and here. As @UlrikeFischer noted there, counters are incorrectly expanded in the aux file.

@ZvikaZ
Copy link

ZvikaZ commented Jan 15, 2019

Hi.
Any news with this bug?
@yoniy0 , have you found a solution, or workaround?

@yonatanyehezkeally
Copy link
Author

@ZvikaZ no, I found no workaround (other than never refer to a list with Hebrew numbering 😄)

@jspitz
Copy link
Collaborator

jspitz commented Aug 24, 2019

Fixed in master with d5f6739

Someone who can please close this ticket.

@yonatanyehezkeally
Copy link
Author

@jspitz when/how can I test that your commit fixes the issue?

@jspitz
Copy link
Collaborator

jspitz commented Aug 25, 2019

You can get and test the development version of polyglossia from this repository. I have no idea concerning release plans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants