Hi all,
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...
Conversion Tools ⇒ Nuweb, LaTeX: clickable links in PDF w/o hyperref?
Nuweb, LaTeX: clickable links in PDF w/o hyperref?
I am replying to my own question, for the benefit of others who are also interested in literate programming using nuweb to produce PDF's with clickable links. Here is the reply of the author (Prof. David Musser).
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?
Is the source for pdfnuweb available? I only see a Linux Intel binary on the website you link. Thank you!
Re: Nuweb, LaTeX: clickable links in PDF w/o hyperref?
In addition to the PDFNUWEB executable, you'll also need a copy of CYGWIN1.DLL -- which is freely available on the 'Net.
Just download a copy and place it in the directory with PDFNUWEB and everything Just.Works.
Thanks for the pointers.
Just download a copy and place it in the directory with PDFNUWEB and everything Just.Works.
Thanks for the pointers.