Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44666 - [texlive-fontsextra] QED Symbol in TeXLive broken after upgrade

Attached to Project: Arch Linux
Opened by Moritz Schulte (mtesseract) - Monday, 20 April 2015, 21:11 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Tuesday, 01 September 2015, 10:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After a recent upgrade of the package texlive-fontsextra-2014.34817-1-any to texlive-fontsextra-2014.36711-1-any.pkg.tar.xz I cannot typeset the QED symbol (a small square) in TeXLive anymore. Instead of the little square, a weird symbol I have never seen before appears. See http://i.stack.imgur.com/9D7aW.png for a screenshot. I cannot tell if this is an upstream bug or an Arch Linux specific bug.

This problem only occurs when using the package 'newtxmath'. (I need this package to get proper math typesetting capabilities together with the Linux Libertine font, but this shouldn't matter.) Below is a minimal working example.

Additional info:
* the package which introduced the bug for me is texlive-fontsextra-2014.36711-1-any.pkg.tar.xz

Steps to reproduce:

Compile the following source file:

\documentclass{article}
\usepackage{amsthm}
\usepackage{newtxmath} % Commenting out this line fixes the problem.
\begin{document}
This is supposed to be a small square: \qedsymbol.
\end{document}

with pdflatex (or with lualatex).

Thanks,
~ m
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Tuesday, 01 September 2015, 10:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in texlive-fontsextra 2015.37556
Comment by Rémy Oudompheng (remyoudompheng) - Tuesday, 21 April 2015, 06:06 GMT
Can you provide the LaTeX logs when compiling with the working version?
There seems to be a typo somewhere, modifying newtxmath.sty as follows makes the problem disappear:

@@ -1655,8 +1655,8 @@
%%%
%%% for AMS classes
%%%
-\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
-\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{ntxsya}{m}{n}\thr@@\endgroup}
+\DeclareRobustCommand{\textsquare}{\begingroup \usefont{U}{txsya}{m}{n}\thr@@\endgroup}
+\DeclareRobustCommand{\openbox}{\begingroup \usefont{U}{txsya}{m}{n}\thr@@\endgroup}

Maybe something is missing.
Comment by Moritz Schulte (mtesseract) - Tuesday, 21 April 2015, 08:01 GMT
I have attached two log files: working.log is the log of pdflatex when compiling with the
old texlive-fontsextra package, yielding a working version and broken.log is the log of
pdflatex when compiling with the new texlive-fontsextra, yielding the broken symbol.
Thanks for your help.
Comment by Moritz Schulte (mtesseract) - Wednesday, 06 May 2015, 10:16 GMT
Are there any news on this?
Comment by Rémy Oudompheng (remyoudompheng) - Thursday, 07 May 2015, 06:38 GMT
t seems that a newer version of newtx package has appeared on CTAN, I will have a look and check whether it fixes the issue.

Loading...