Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2019 07:51:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241775] print/texlive-base: latex,pdflatex make wrong math in savebox
Message-ID:  <bug-241775-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241775

            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@FreeBSD.org
          Reporter: shige@iee.niit.ac.jp
          Assignee: hrs@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)

Created attachment 208932
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208932&action=
=3Dedit
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 =3D \int_0^1 x^3dx$}}
\savebox{\myboxii}{\mbox{$c =3D \sqrt{a^2+b^2}$}}
\begin{quote}
  \usebox{\myboxi}\usebox{\myboxii}
\end{quote}

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

In first quote environment, some symbols in math appear at incorrect positi=
ons.=20
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 m=
ay
be a bug of FreeBSD texlive's ports (I installed by ports).
Well, Japanese platex included in japanese/tex-ptex does not cause the prob=
lem
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241775-7788>