TransWikia.com

Misplaced bracket with Hebrew text containing letter, digits and hyphen

TeX - LaTeX Asked on May 29, 2021

When displaying a Hebrew text, containing letters, digits, and a hyphen – all of these inside brackets, the ending bracket is misplaced.

MWE (using XeLaTeX):

documentclass[12pt]{article}

usepackage{polyglossia}
setdefaultlanguage{hebrew} 
setmainfont[Mapping=tex-text]{Times New Roman}

begin{document}
% misplaced bracket:
[א 1-2]

% bracket in place:
[א 1 2]
end{document}

The output looks like:

output

Note:
In older installation this worked well, so this is a relatively newer bug.

Any ideas how to workaround this issue, or where should this be reported? (or maybe it’s already reported?)

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP