bidi-tex / bidi

Bidirectional typesetting in plain TeX and LaTeX, using XeTeX
Other
3 stars 0 forks source link

bidi uses deprecated \box_use_clear:N #13

Closed u-fischer closed 4 years ago

u-fischer commented 4 years ago

In pdfbase-xetex-bidi.def bidi uses in two places a deprecated expl3 command:

Minimal example showing the issue

% !TEX TS-program = XeLaTeX
% !TEX encoding = UTF-8 Unicode
\documentclass{article}
\usepackage{pdfbase}
\usepackage{bidi}
\begin{document}
test
\end{document}

gives (compiled with xelatex-dev)

! Undefined control sequence.
<argument> \LaTeX3 error: 
                           '\box_use_clear:N' deprecated on 2019-01-01. Use ...

The commands should be replaced by \box_use_drop:N.

davidcarlisle commented 4 years ago

fixed by b1b630ec3159a1de38270c935fec4be39320660e