l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Dec 05 06:31

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Chapters and links within pdf files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Chapters and links within pdf files

On Sun, Dec 04, 2005 at 10:05:38AM -0600, Ken Bloom wrote:
> Peter Jay Salzman wrote:
> > Hi all,
> > 
> > When you look at the GDB User's Guide,
> > 
> >    http://sources.redhat.com/gdb/current/onlinedocs/gdb.pdf.gz
> > 
> > with xpdf, there's a left nav bar that allows you to choose chapters.  Also,
> > the TOC contains links to the relevant sections.  The font and layout looks
> > like tex/latex to me.
> > 
> > How are the navbar and TOC links accomplished?
> Both are accomplished simply by including the hyperref package and using
> pdflatex to create the PDF. You'll also get hyperlinks from \cite{}
> commands to the appropriate bibliography entry.
> --Ken Bloom

One more thing to note; when I was using the hyperref package last year,
I noticed that it caused some problems in regular latex (but not
pdflatex) on the table of contents and table of figures pages (i.e.,
long section/figure/table names did not wrap properly to a second line).
I'm not sure if this bug still exists or not, but my solution was to use
the following at the top of my document:

    \ifx\pdfoutput\undefined    % We're not running pdftex
        % do nothing

Hope that helps.



* Matt Roper <matt@mattrope.com>                *
* http://www.mattrope.com                       *
* PGP Key: http://www.mattrope.com/mattrope.asc *

Attachment: signature.asc
Description: Digital signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.