# [tex-live] Is it a bug of amsldoc.pdf?

Wang Zhiyong owtgnaw at gmail.com
Sat Oct 9 07:20:34 CEST 2010

The problem may be caused by that
I compiled the amsldoc.tex in an improper way.

the following files

amsmath.source.tar.xz
amsmath.doc.tar.xz

in /CTAN/systems/texlive/tlnet/archive directory.
Extract the compressed file, in the /source/latex/amsmath/ directory ,
I compiled the amsldoc.tex by

pdflatex amsldoc.tex

twicely, then I got the 40 pages file without hyperlinks.
Open the source file, amsldoc.tex, we can find some commands like

\cn  \cs

perhaps they could be use to generate index with hyperlinks.
But in the bottom of the file I found the "theindex"  enverionment.
And the pages, like

\item \verb*+\xleftarrow+, 13
\item \verb*+\xrightarrow+, 13

are different with the  35 pages amsldoc.pdf with hyperlinks which
has xleftarrow and xrightarrow commands in page 10.

Maybe there is a way to generate hyperlinks in the output file and  to
get a right index ignoring the theindex enverionment in the  original file.

Thank you for your replies and bearing my informal English.

Regards,
Wang Zhiyong

On Sat, Oct 9, 2010 at 3:05 AM, Reinhard Kotucha <reinhard.kotucha at web.de>wrote:

> On 6 October 2010 Wang Zhiyong wrote:
>
>  > Hello,
>  > ftp://ftp.ams.org/pub/tex/doc/amsmath/amsldoc.pdf,
>  > we get a 40 pages pdf file. But the file in
>  >
> http://www.tug.org/texlive/Contents/live/texmf-dist/doc/latex/amsmath/amsldoc.pdf
> ,
>  >
>  > or just using the command "texdoc amsmath", we get a 35 pages file.
>  >
>  > They are  the  some version "1999-12-13 (revised 2002-02-25)" which
>  > wrote in the first page of those files. But they are indeed different.
>  > The main differences are:
>  >
>  > 1,  amsldoc.pdf in texlive may lose some pages (but I DO NOT know
>  > whether it lose some contents).
>
> The version in TeX Live is adapted for A4.  The increased
> \textheight leads to less pages.  I doubt that something is missing.
>
>  > 2   amsldoc.pdf in texlive puts some contents in different place,
>  > like a table in section 3.2, it put the table in page 27.
>
> Probably because tables are floating objects and where they appear
> depends on layout parameters (like \textheight).
>
> Regards,
>  Reinhard
>
> --
>
> ----------------------------------------------------------------------------
> Reinhard Kotucha                                      Phone:
> +49-511-3373112
> Marschnerstr. 25
> D-30167 Hannover                              mailto:
> reinhard.kotucha at web.de
>
> ----------------------------------------------------------------------------
> Microsoft isn't the answer. Microsoft is the question, and the answer is
> NO.
>
> ----------------------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20101009/7686486b/attachment-0001.html>