This commit is contained in:
John Whitington 2022-01-23 13:21:07 +00:00
parent cda631fd7c
commit acb6667d0f
3 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
\documentclass{book} \documentclass{book}
% Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf etc. % 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{palatino}
\usepackage{listings} \usepackage{listings}
\usepackage{microtype} \usepackage{microtype}
@ -3376,7 +3376,7 @@ A basic text to PDF convertor is included in \texttt{cpdf}. It takes a UTF8 text
\clearpage \clearpage
\section*{Python Interface} \section*{Python Interface}
\begin{small}\tt \begin{small}\tt
\lstinputlisting{pysplits/c17} \lstinputlisting{pysplits/c18}
\end{small} \end{small}
\end{pycpdflib} \end{pycpdflib}
@ -3637,7 +3637,7 @@ The \texttt{-remove-clipping} operation removes any clipping paths on given page
\clearpage \clearpage
\section*{Python Interface} \section*{Python Interface}
\begin{small}\tt \begin{small}\tt
\lstinputlisting{pysplits/c18} \lstinputlisting{pysplits/c19}
\end{small} \end{small}
\end{pycpdflib} \end{pycpdflib}

View File

@ -1,4 +1,4 @@
# CHAPTER 17. Miscellaneous # CHAPTER 18. Miscellaneous
def draft(pdf, r, boxes): def draft(pdf, r, boxes):
"""Remove images on the given pages, replacing """Remove images on the given pages, replacing