diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index b21359a..f992249 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 664b6f1..9550b31 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -1,6 +1,6 @@ \documentclass{book} % Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf etc. -\usepackage{comment}\excludecomment{cpdflib}\includecomment{pycpdflib} +\usepackage{comment}\excludecomment{cpdflib}\excludecomment{pycpdflib} \usepackage{palatino} \usepackage{listings} \usepackage{microtype} @@ -3376,7 +3376,7 @@ A basic text to PDF convertor is included in \texttt{cpdf}. It takes a UTF8 text \clearpage \section*{Python Interface} \begin{small}\tt -\lstinputlisting{pysplits/c17} +\lstinputlisting{pysplits/c18} \end{small} \end{pycpdflib} @@ -3637,7 +3637,7 @@ The \texttt{-remove-clipping} operation removes any clipping paths on given page \clearpage \section*{Python Interface} \begin{small}\tt -\lstinputlisting{pysplits/c18} +\lstinputlisting{pysplits/c19} \end{small} \end{pycpdflib} diff --git a/pysplits/c19.tex b/pysplits/c19.tex index 9ddcc95..f3839b2 100644 --- a/pysplits/c19.tex +++ b/pysplits/c19.tex @@ -1,4 +1,4 @@ -# CHAPTER 17. Miscellaneous +# CHAPTER 18. Miscellaneous def draft(pdf, r, boxes): """Remove images on the given pages, replacing