Conversion Tools ⇒ Nuweb, LaTeX: clickable links in PDF w/o hyperref?
Nuweb, LaTeX: clickable links in PDF w/o hyperref?
I am trying to (re)create the following PDF
http://www.cs.rpi.edu/~musser/gp/gensearch1.pdf
from its source
http://www.cs.rpi.edu/~musser/gp/gensea ... search.zip
and all I'm getting is a PDF similar to this:
http://www.literateprogramming.com/gsearch.pdf
I noticed that the LaTeX source file, gensearch.tex, which is extracted from gensearch.w by running nuweb (obtained here: http://www.cs.rpi.edu/~musser/gp/nuweb.zip) does not use hyperref package.
I'm using MikTeX 2.7's pdflatex.
Any insights will be tremendously appreciated.
Thanks.
P.S. I would have asked the author, but he's retired, and the website was last updated in 2008...
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Nuweb, LaTeX: clickable links in PDF w/o hyperref?
The key tool you need is pdfnuweb, which you can get from
http://www.cs.rpi.edu/~musser/archive/2 ... ex_20.html
I just confirmed that the Windows binary, pdfnuweb.exe, works
(under XP, but it should be OK also in Vista or Windows 7). There are
other binaries offered there that I haven't tried recently, but if one
of those is what you need and doesn't work, the C source code for
pdfnuweb is there also.
I tested pdfnuweb on the sample file rand.w (see the link on the right
side of the page to "Literate Programming Illustrated ..."), which
is processed with
pdfnuweb rand
pdflatex rand
pdfnuweb rand
pdflatex rand
(The multiple passes are necessary for filling in all the code cross
references.)
To be able to process gensearch.w with pdfnuweb, you must add the lines
\usepackage[plainpages=false,pdftex,colorlinks,backref]{hyperref}
\usepackage{color}
\definecolor{light}{gray}{.93}
You can put them right after the documentclass line.
-
- Posts: 1
- Joined: Thu Feb 18, 2010 12:37 pm
Re: Nuweb, LaTeX: clickable links in PDF w/o hyperref?
Re: Nuweb, LaTeX: clickable links in PDF w/o hyperref?
Just download a copy and place it in the directory with PDFNUWEB and everything Just.Works.
Thanks for the pointers.