l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2005 Dec 05 06:50

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



Peter Jay Salzman wrote:
> On Sun 04 Dec 05, 10:05 AM, Ken Bloom <kbloom@gmail.com> said:
> 
>>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
>>
>>Another tip: I find it useful to include the geometry package in
>>everything so that pdflatex can automatically generate the right size
>>PDF. So my basic LaTeX header (for articles) comes out looking like:
>>
>>\documentclass[letterpaper]{article}
>>\usepackage{hyperref}
>>\usepackage{geometry}
> 
> 
> Thanks Ken.  I didn't know about this package.
> 
> BTW, the documentation for hyperref says that you should load hyperref after
> you've already loaded all other packages because it redefines many internal
> latex macros.
> 
> Also, I've read on comp.text.tex that geometry should be loaded as early as
> possible since many packages depend on various page layout dimensions.
> 
> Clearly this hasn't caused any problems for you, but I figured I'd mention
> it.

Thanks for the tip. I probably use different orders everytime I retype
the header. I don't generally use lots of packages, so as long as
hyperref doesn't depend on geometry, I wouldn't have that much trouble
with it.

> Along with amsmath, geometry, and fancyvrb, I think hyperref is in my top
> list of groovy latex packages now.  Thanks!

ooh! fancyvrb looks cool! (getting my code examples into verbatim mode
with a single character, and many other features)

--Ken

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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.