hgbook

changeset 2:379a802c0210

Add bibliography.
author Bryan O'Sullivan <bos@serpentine.com>
date Sat Jun 24 16:14:02 2006 -0700 (2006-06-24)
parents 04e469de601e
children 906d9021f9e5
files .hgignore en/00book.tex en/99book.bib en/99defs.tex en/Makefile en/mq.tex
line diff
     1.1 --- a/.hgignore	Fri Jun 23 12:15:38 2006 -0700
     1.2 +++ b/.hgignore	Sat Jun 24 16:14:02 2006 -0700
     1.3 @@ -6,6 +6,9 @@
     1.4  .*.swp
     1.5  *~
     1.6  *.aux
     1.7 +*.bbl
     1.8 +*.bib
     1.9 +*.blg
    1.10  *.dvi
    1.11  *.lg
    1.12  *.lo[fgt]
     2.1 --- a/en/00book.tex	Fri Jun 23 12:15:38 2006 -0700
     2.2 +++ b/en/00book.tex	Sat Jun 24 16:14:02 2006 -0700
     2.3 @@ -24,6 +24,10 @@
     2.4  
     2.5  \include{mq}
     2.6  
     2.7 +\addcontentsline{toc}{chapter}{Bibliography}
     2.8 +\bibliographystyle{plain}
     2.9 +\bibliography{99book}
    2.10 +
    2.11  \end{document}
    2.12  
    2.13  %%% Local Variables: 
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/en/99book.bib	Sat Jun 24 16:14:02 2006 -0700
     3.3 @@ -0,0 +1,14 @@
     3.4 +@Unpublished{gruenbacher:2005,
     3.5 +  author = 	 {Andreas Gruenbacher},
     3.6 +  title = 	 {How To Survive With Many Patches (Introduction to Quilt)},
     3.7 +  year = 	 {2005},
     3.8 +  month = 	 {June},
     3.9 +  note =         {\url{http://www.suse.de/~agruen/quilt.pdf}},
    3.10 +}
    3.11 +
    3.12 +@Misc{web:quilt,
    3.13 +  author = 	 {Andreas Gruenbacher, Martin Quinson, Jean Delvare},
    3.14 +  title = 	 {Patchwork Quilt},
    3.15 +  note = 	 {\url{http://savannah.nongnu.org/projects/quilt}},
    3.16 +}
    3.17 +
     4.1 --- a/en/99defs.tex	Fri Jun 23 12:15:38 2006 -0700
     4.2 +++ b/en/99defs.tex	Sat Jun 24 16:14:02 2006 -0700
     4.3 @@ -1,3 +1,4 @@
     4.4 +\newcommand{\filename}[1]{\texttt{#1}}
     4.5  \newcommand{\hgext}[1]{\texttt{#1}}
     4.6  \newcommand{\hgcmd}[1]{``\texttt{hg #1}''}
     4.7  \newcommand{\hgcmdargs}[2]{``\texttt{hg #1 #2}''}
     5.1 --- a/en/Makefile	Fri Jun 23 12:15:38 2006 -0700
     5.2 +++ b/en/Makefile	Sat Jun 24 16:14:02 2006 -0700
     5.3 @@ -1,4 +1,8 @@
     5.4 -sources := 00book.tex mq.tex
     5.5 +sources := \
     5.6 +	00book.tex \
     5.7 +	99book.bib \
     5.8 +	99defs.tex \
     5.9 +	mq.tex
    5.10  
    5.11  latex-options = \
    5.12  	-interaction batchmode \
    5.13 @@ -12,6 +16,8 @@
    5.14  pdf/hgbook.pdf: $(sources)
    5.15  	mkdir -p $(dir $@)
    5.16  	pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
    5.17 +	cp 99book.bib $(dir $@)
    5.18 +	cd $(dir $@) && bibtex $(basename $(notdir $@))
    5.19  	pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
    5.20  	pdflatex $(call latex-options,$@) $< || (rm -f $@; exit 1)
    5.21  
     6.1 --- a/en/mq.tex	Fri Jun 23 12:15:38 2006 -0700
     6.2 +++ b/en/mq.tex	Sat Jun 24 16:14:02 2006 -0700
     6.3 @@ -70,11 +70,11 @@
     6.4  
     6.5  
     6.6  In early 2003, Andreas Gruenbacher and Martin Quinson borrowed the
     6.7 -approach of Andrew's scripts and published a tool called
     6.8 -\href{http://savannah.nongnu.org/projects/quilt}{``patchwork quilt''},
     6.9 -or simply ``quilt''.  Because quilt substantially automated patch
    6.10 -management, it rapidly gained a large following among open source
    6.11 -software developers.
    6.12 +approach of Andrew's scripts and published a tool called ``patchwork
    6.13 +quilt''~\cite{web:quilt}, or simply ``quilt''
    6.14 +(see~\cite{gruenbacher:2005} for a paper describing it).  Because
    6.15 +quilt substantially automated patch management, it rapidly gained a
    6.16 +large following among open source software developers.
    6.17  
    6.18  Quilt manages a \emph{stack of patches} on top of a directory tree.
    6.19  To begin, you tell quilt to manage a directory tree; it stores away
    6.20 @@ -125,10 +125,18 @@
    6.21  Because quilt does not care about revision control tools, it is still
    6.22  a tremendously useful piece of software to know about for situations
    6.23  where you cannot use Mercurial and MQ.
    6.24 -\section{Section!}
    6.25 -\label{sec:sec}
    6.26 +\section{Getting started with Mercurial Queues}
    6.27 +\label{sec:mq:start}
    6.28  
    6.29 -Section!
    6.30 +Because MQ is implemented as an extension, you have to explicitly
    6.31 +enable it in order to use it.  (You don't need to download anything;
    6.32 +MQ ships with the standard Mercurial distribution.)  To enable it,
    6.33 +edit your \filename{~/.hgrc} file, and add the following lines:
    6.34 +
    6.35 +\begin{verbatim}
    6.36 +[extensions]
    6.37 +hgext.mq =
    6.38 +\end{verbatim}
    6.39  
    6.40  %%% Local Variables: 
    6.41  %%% mode: latex