[Bug 241775] print/texlive-base: latex,pdflatex make wrong math in savebox

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 7 07:51:26 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241775

            Bug ID: 241775
           Summary: print/texlive-base: latex,pdflatex make wrong math in
                    savebox
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs at FreeBSD.org
          Reporter: shige at iee.niit.ac.jp
          Assignee: hrs at FreeBSD.org
             Flags: maintainer-feedback?(hrs at FreeBSD.org)

Created attachment 208932
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208932&action=edit
result of sample source by pdflatex

On FreeBSD, latex and pdflatex make wrong result for the following LaTeX
source:

----- From here -----
\documentclass{article}
\newsavebox{\myboxi}
\newsavebox{\myboxii}
\begin{document}
\savebox{\myboxi}{\mbox{$I = \int_0^1 x^3dx$}}
\savebox{\myboxii}{\mbox{$c = \sqrt{a^2+b^2}$}}
\begin{quote}
  \usebox{\myboxi}\usebox{\myboxii}
\end{quote}

\begin{quote}
  $I = \int_0^1 x^3dx$, $c = \sqrt{a^2+b^2}$
\end{quote}
\end{document}
----- To here -----

In first quote environment, some symbols in math appear at incorrect positions. 
Second quote environment is treated correctly (see attach pdf file which is the
result of pdflatex). latex and pdflatex may fail to treat savebox/usebox.
But, this problem may not appear on other OS (Windows, etc). I think this may
be a bug of FreeBSD texlive's ports (I installed by ports).
Well, Japanese platex included in japanese/tex-ptex does not cause the problem
too. I don't know the reason why.

pdflatex version : pdfTeX 3.14159265-2.6-1.40.16 (Web2C 2015)
platex version : e-pTeX 3.14159265-p3.6-141210-2.6 (euc) (Web2C 2015)
FreeBSD version : FreeBSD 12.0-RELEASE-p11

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list