TeX capacity exceeded when building documentation with release.sh

Bug #711743 reported by Minh Van Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igraph
Fix Released
Medium
Gábor Csárdi

Bug Description

I often build the documentation using the convenient script release.sh. But I often get a "TeX capacity exceeded" error. Here are steps to reproduce the errors. Make sure you don't have the TeX environment variable "hash_extra" set; check the output of /usr/bin/env. Checkout trunk of igraph 0.6 and run the following commands:

$ autoreconf --install
$ ./configure --prefix=/path/to/my/usr
$ make && make install
$ ./release.sh

Then I would get the following error snippet:

<quote>
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `subscript' on input line 325073.

Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `subscript' on input line 325073.

! TeX capacity exceeded, sorry [hash size=65000].
\PageLabel ...ndafter \ifx \csname p@#1\endcsname
                                                  \relax \else \protected@wr...
l.325144 {1}}

! ==> Fatal error occurred, no output PDF file produced!
Transcript written on igraph-docs2.log.
make: *** [igraph-docs.pdf] Error 9
</quote>

The above can be fixed by increasing TeX's hash size as follows:

$ export hash_extra=65000

Or provide a fix in the file

doc/Makefile.am

A patch is attached for the latter approach.

Revision history for this message
Minh Van Nguyen (mvngu) wrote :
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Thanks! Added in revision #2292 (0.6-main).

Changed in igraph:
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Gábor Csárdi (gabor.csardi)
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/208

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.