hgbook

changeset 31:51d94bd2804c

Merge Jeff's PDF image fixes.
author Bryan O'Sullivan <bos@serpentine.com>
date Sat Jul 15 21:02:13 2006 -0700 (2006-07-15)
parents 6e988159394b cc1e6f1d7161
children b7d46e86a5f1
files en/Makefile
line diff
     1.1 --- a/en/Makefile	Wed Jul 12 00:33:27 2006 -0700
     1.2 +++ b/en/Makefile	Sat Jul 15 21:02:13 2006 -0700
     1.3 @@ -42,7 +42,7 @@
     1.4  	if grep 'Reference.*undefined' $(@:.pdf=.log); then exit 1; fi
     1.5  endef
     1.6  
     1.7 -pdf/hgbook.pdf: $(sources) $(image-sources:%.svg=%_pdf.png) examples
     1.8 +pdf/hgbook.pdf: $(sources) $(image-sources:%.svg=%.pdf) examples
     1.9  	$(call pdf)
    1.10  
    1.11  html: html/onepage/hgbook.html html/split/hgbook.html
    1.12 @@ -80,7 +80,7 @@
    1.13  beta/%.tex: %.tex
    1.14  	./fblinks $(hg_id) $(dir $@) $<
    1.15  
    1.16 -beta/pdf/hgbook.pdf: $(sources:%.tex=beta/%.tex) $(image-sources:%.svg=%_pdf.png) examples fblinks
    1.17 +beta/pdf/hgbook.pdf: $(sources:%.tex=beta/%.tex) $(image-sources:%.svg=%.pdf) examples fblinks
    1.18  	$(call pdf)
    1.19  
    1.20  beta/html/onepage/hgbook.html: $(sources:%.tex=beta/%.tex) $(image-sources:%.svg=%.png) examples
    1.21 @@ -96,10 +96,13 @@
    1.22  %.png: %.svg
    1.23  	inkscape -D -e $@ $<
    1.24  
    1.25 -# Produce 300dpi PNGs for PDF.
    1.26 +# Produce eps & pdf for the pdf
    1.27  
    1.28 -%_pdf.png: %.svg
    1.29 -	inkscape -D -d 300 -e $@ $<
    1.30 +%.pdf: %.eps
    1.31 +	epstopdf $<
    1.32 +
    1.33 +%.eps: %.svg
    1.34 +	inkscape -D -E $@ $<
    1.35  
    1.36  examples: examples/.run
    1.37  
    1.38 @@ -110,5 +113,5 @@
    1.39  	echo -n $(hg_id) > build_id.tex
    1.40  
    1.41  clean:
    1.42 -	rm -rf beta html pdf *.eps *.png *.aux *.dvi *.log *.out \
    1.43 +	rm -rf beta html pdf *.eps *.pdf *.png *.aux *.dvi *.log *.out \
    1.44  		examples/*.out examples/.run build_id.tex
     2.1 --- a/en/mq.tex	Wed Jul 12 00:33:27 2006 -0700
     2.2 +++ b/en/mq.tex	Sat Jul 15 21:02:13 2006 -0700
     2.3 @@ -78,10 +78,10 @@
     2.4  large following among open source software developers.
     2.5  
     2.6  Quilt manages a \emph{stack of patches} on top of a directory tree.
     2.7 -To begin, you tell quilt to manage a directory tree; it stores away
     2.8 -the names and contents of all files in the tree.  To fix a bug, you
     2.9 -create a new patch (using a single command), edit the files you need
    2.10 -to fix, then ``refresh'' the patch.  
    2.11 +To begin, you tell quilt to manage a directory tree, and tell it which
    2.12 +files you want to manage; it stores away the names and contents of
    2.13 +those files.  To fix a bug, you create a new patch (using a single
    2.14 +command), edit the files you need to fix, then ``refresh'' the patch.
    2.15  
    2.16  The refresh step causes quilt to scan the directory tree; it updates
    2.17  the patch with all of the changes you have made.  You can create
    2.18 @@ -336,7 +336,7 @@
    2.19  
    2.20  \begin{figure}[ht]
    2.21    \centering
    2.22 -  \grafix{mq-stack}
    2.23 +  \includegraphics{mq-stack}
    2.24    \caption{Applied and unapplied patches in the MQ patch stack}
    2.25    \label{fig:mq:stack}
    2.26  \end{figure}