mbattyani / cl-pdf

CL-PDF is a cross-platform Common Lisp library for generating PDF files.
Other
115 stars 41 forks source link

Missing: A how-to guide #12

Open Frobitz66 opened 5 years ago

Frobitz66 commented 5 years ago

There is very little in the way of "how-to" documentation for this project. Can one of the contributors ping me so that I can help develop such documentation?

mbattyani commented 5 years ago

For sure some how-to or tutorial would be useful. What kind of examples do you have in mind?

Frobitz66 commented 5 years ago

Sure.

Ex. How to parse a PDF file and manipulate the resulting data structures. This how-to would show how to do the following steps: 1) Open an existing PDF file 2) Store the results of parsing the file into user-accessible data structures 3) Describe the basic parts of a PDF document 4) Show how to access one or more basic parts (see 3)

Ex. How to copy a PDF file. This how-to would show a trivial example: 1) Open an existing PDF file 2) Parse the contents into internal data structures 3) Assemble the data structures into a new PDF file 4) Write the newly created PDF file

Reasonable?

mbattyani commented 5 years ago

Seems reasonable. I tried to find some old examples doing that sort of things but could not find them.

I have much more stuff about generating pdf files than working on existing ones though.

fiddlerwoaroof commented 4 years ago

It'd be useful to have an example of opening a PDF and extracting its title/author metadata and similar things