Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I got the files tex.web and pdftex.web from the texlive svn repo. I ran

weave tex.web
pdftex tex.tex

which produced a file tex.pdf with a nicely typeset, cross-referenced listing of the WEB source of TeX.

However, if I do the same process pdftex.web, the resulting file pdftex.pdf only contains the pages corresponding to the index.

Is there some other combination of commands I need to run, or do I need to edit part of pdftex.web? I tried weaving in the supplied .ch files, but it didn't seem to make a difference.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Simply change the line

\let\maybe=\iffalse % print only changed modules

to

\let\maybe=\iftrue

in pdftex.web.

share|improve this answer
1  
I forgot to add that you may also want to change \input webmac to \input pdfwebmac at the top of the weaved pdftex.tex to enable hyperlinks, which makes for more pleasant reading. –  Ulrik Mar 5 '11 at 22:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.