Beginning documentation of -para

This commit is contained in:
John Whitington
2024-09-19 17:00:32 +01:00
parent 58a1e8c05f
commit cee564f33c
3 changed files with 49 additions and 0 deletions

Binary file not shown.

View File

@ -5130,6 +5130,22 @@ NB: To use \texttt{-embed-std14}, put it before \texttt{-draw}.
\section{Paragraphs} \section{Paragraphs}
\begin{framed}
\noindent\small\verb?cpdf -create-pdf AND -draw -mtrans "200 400" -font-size 20 -leading 25?\\
\noindent\small\verb? -bt -para "L200pt=This is a paragraph of width 100pt, left-justif?\\
\noindent\small\verb? ied, containing more than one line..." -et?\\
\noindent\small\verb? -o out.pdf?
\end{framed}
\bigskip
\fbox{\includegraphics[width=0.3\textwidth]{manualimages/para.pdf}}
\bigskip
2. Using -paras with newlines. Mention it's still all on one page.
\texttt{cpdf -}
\section{The next page} \section{The next page}
{\small\begin{framed} {\small\begin{framed}

33
manualimages/para.pdf Normal file
View File

@ -0,0 +1,33 @@
%PDF-2.0
%<25><><EFBFBD><EFBFBD>
1 0 obj
<</Type/Page/Parent 5 0 R/Resources<</Font<</F1 3 0 R>>>>/MediaBox[0 0 595.2765 841.89105]/Contents[4 0 R]>>
endobj
2 0 obj
<</Type/Catalog/Pages 5 0 R>>
endobj
3 0 obj
<</Type/Font/Subtype/Type1/Encoding/WinAnsiEncoding/BaseFont/Times-Roman>>
endobj
4 0 obj
<</Length 145/Filter/FlateDecode>>
stream
x}<7D>1<0E>0 E<><45>P)i@<40><><EFBFBD><17>ڤq<DAA4>:Qj<51><6A> b<><62><EFBFBD><EFBFBD><<3C>?[<5B>S<><53><EFBFBD><18><><EFBFBD>fho<68>/<2F><><EFBFBD><EFBFBD><EFBFBD><01>-GW6<>jZ<6A>K6<4B>!<21><14><><EFBFBD><EFBFBD>xZ<78><0F><>%J<>jOM<4F><4D>y|/B<>\_)|Y,1<><31><EFBFBD>1<EFBFBD><31>P<>e- k<>D<EFBFBD><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD>~i$i&
endstream
endobj
5 0 obj
<</Type/Pages/Kids[1 0 R]/Count 1>>
endobj
xref
0 6
0000000000 65535 f
0000000015 00000 n
0000000139 00000 n
0000000184 00000 n
0000000274 00000 n
0000000487 00000 n
trailer
<</Size 6/Root 2 0 R/ID[<0cfdf86c167a4f4f3f816f7e4a6fdd74><0cfdf86c167a4f4f3f816f7e4a6fdd74>]>>
startxref
538
%%EOF