[QGIS Commit] r14199 - docs/trunk/english_us/user_guide

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Sep 7 12:21:21 EDT 2010


Author: dassau
Date: 2010-09-07 16:21:21 +0000 (Tue, 07 Sep 2010)
New Revision: 14199

Modified:
   docs/trunk/english_us/user_guide/Makefile
   docs/trunk/english_us/user_guide/index.tex
   docs/trunk/english_us/user_guide/qgis_style.sty
   docs/trunk/english_us/user_guide/user_guide.tex
Log:
added index to Makefile - just type make

Modified: docs/trunk/english_us/user_guide/Makefile
===================================================================
--- docs/trunk/english_us/user_guide/Makefile	2010-09-07 16:15:30 UTC (rev 14198)
+++ docs/trunk/english_us/user_guide/Makefile	2010-09-07 16:21:21 UTC (rev 14199)
@@ -68,13 +68,13 @@
 	dvips -R0 -o $*.ps $*.dvi 
 
 %.pdf:	%.tex $(INCLUDES) $(APPENDIX)
-	$(PDFLATEX) $*.tex $*.pdf && $(PDFLATEX) $*.tex $*.pdf && $(PDFLATEX) $*.tex $*.pdf
+	$(PDFLATEX) $*.tex $*.pdf && makeindex -cl -o user_guide.ind user_guide.idx && $(PDFLATEX) $*.tex $*.pdf && $(PDFLATEX) $*.tex $*.pdf
 
 %.tif:	%.pdf
 	gs -sDEVICE=tiffg3 -sPapersize=a4 -dNOPAUSE -q -sOutputFile=$*.tif $*.pdf -c quit
 
 clean:
-	rm -f *.log *.lof *.toa *.lot *.toc *.aux *.out *.bbl *.blg *.ps WARNINGS
+	rm -f *.log *.lox *.lof *.toa *.lot *.toc *.aux *.out *.bbl *.blg *.ps WARNINGS
 
 cleanall: 
-	rm -f *.log *.lof *.toa *.lot *.toc *.aux *.out *.bbl *.blg *.ps *.dvi *.pdf WARNINGS
+	rm -f *.log *.ilg *.idx *.ind *.lox *.lof *.toa *.lot *.toc *.aux *.out *.bbl *.blg *.ps *.dvi *.pdf WARNINGS

Modified: docs/trunk/english_us/user_guide/index.tex
===================================================================
--- docs/trunk/english_us/user_guide/index.tex	2010-09-07 16:15:30 UTC (rev 14198)
+++ docs/trunk/english_us/user_guide/index.tex	2010-09-07 16:21:21 UTC (rev 14199)
@@ -1,5 +1,5 @@
 % index.tex
 % file containing the index, at the very end of the document.
 % testing
-\addcontentsline{toc}{section}{Index}
+\addcontentsline{toc}{chapter}{Index}
 \printindex

Modified: docs/trunk/english_us/user_guide/qgis_style.sty
===================================================================
--- docs/trunk/english_us/user_guide/qgis_style.sty	2010-09-07 16:15:30 UTC (rev 14198)
+++ docs/trunk/english_us/user_guide/qgis_style.sty	2010-09-07 16:21:21 UTC (rev 14199)
@@ -9,6 +9,10 @@
 \usepackage[utf8]{inputenc} 
 \usepackage[T1]{fontenc} 
 
+%%% build index
+\usepackage{makeidx}
+\makeindex
+
 %%% font settings
 \usepackage{helvet}
 \renewcommand{\sfdefault}{phv}  % switch \sf to Helvetica T1

Modified: docs/trunk/english_us/user_guide/user_guide.tex
===================================================================
--- docs/trunk/english_us/user_guide/user_guide.tex	2010-09-07 16:15:30 UTC (rev 14198)
+++ docs/trunk/english_us/user_guide/user_guide.tex	2010-09-07 16:21:21 UTC (rev 14199)
@@ -71,7 +71,7 @@
 \input{appendices/qgis_qt_gpl_exception}
 \input{appendices/fdl_1.3}
 %\input{literature}
-%\input{index} untested, remind me to check it when the 1.5 release is flagged
+\input{index}
 
 %\printbibliography
 \end{document}



More information about the QGIS-commit mailing list