GROMACS: Fast, Free and Flexible MD
 
 
 
I get an error message when I try to create the booklet version of the PDF manual. How do I fix that
Tuesday, 13 September 2005
This is complicated, but not impossible :-)

We generate the booklet with the texexec script and ConTeXt program. The versions shipping with redhat 7.2 are NOT new enough; there's a bug that will produce a 250 Mb file only containing copies of the front page...

You'll have to be root for this. A word of warning: This might cause serious harm to your TeX installation. It worked for me on Redhat 7.2 without side effects, but I do NOT promise it works on your system, and more important we can't help you if it destroys something since we're not TeX experts! Here's what you'll have to do:

  • Download the newest version of the pdftex source code from http://www.tug.org/applications/pdftex/.
    Follow the link to the download/ftp site. Follow the instructions in the README file on the ftp site (not the one in the package) and make the pdftex binaries (this is easy - I got an error towards the end of the build, but it works anyway).
  • Install the new pdftex binaries and files. Copy 'pdftex', 'pdfetex' and 'pdftosrc' from e.g. /tmp/src/texk/web2c (if you unpacked it in /tmp) to /usr/bin. Copy the files 'pdftex.pool' and 'pdfetex.pool' to /usr/share/texmf/web2c, and the file fmtutil.cnf to the same place.
  • Fetch the newest version of ConTeXt from http://www.pragma-ade.nl
    Unzip it into the directory /usr/share/texmf.
  • Add the line map +context.map to /usr/share/texmf/pdftex/config/pdftex.cfg.
  • Set the variable EDITOR to emacs, unless you like vi...
  • Start 'texconfig', select format and edit the line

    # cont-en pdfetex cont-usr.tex *cont-en.ini

    to remove the initial hashmark (i.e. make sure it is not uncommented).

  • Add the new formats with 'fmtutil --all', just in case texconfig didn't do it.
  • Make the new texexec formats with 'texexec --make'.

You might have to rebuild the TeX ls -R database with 'texhash' between steps, and you should definitely do it at the end. Hopefully that will work, but there's no guarantee :-)
 
< Prev   Next >
 
Top! Top!
This page took 0.033074 seconds to load.