In a time where more and more tasks happen directly in the web and media suggests the "paperless office" to be within reach, digital documents take on an important role.
The PDF format is one very interesting standard to work with since PDF documents offer an interesting range of features:
* High compatibility with a huge range of devices and operating systems
* Preservation of the documents optical appearance
* Important documents can be digitally signed
* Can be printed and signed manually (e. g. for contracts)
* Offline storage of downloaded documents is easy
Many libraries exist that allow the creation of PDF documents. Unfortunately most are somehow limited in functionality, require good programming skills or come with high licensing cost.
On the other hand an immensly powerful solution to PDF creation under a free license exists with LaTeX.
This inspired us at dkd to write an Open Source service to make the power of LaTeX available to web applications via a REST interface. "Indoctrinatr" is a powerful toolkit that enables developers to easily create LaTeX templates that can be accessed via web- or REST-interface and thus create data driven PDF documents with ease.
This talk will give a very short introduction to LaTeX and why it is a great choice for PDF creation. By means of different real world examples the advantages of a document generation service will be demonstrated. Within the range of examples will be:
* Generation of customised contracts via the web-interface
* Generation of data driven graphics within a PDF
* Generation of custom address labels with generated barcodes via a TYPO3 extension using the REST-interface
10. »Portable Document Format
(PDF) is a file format used to
present documents in a manner
independent of application
software, hardware and operating
systems.«
–Wikipedia
11. PDF format – an overview
• Encapsulates a complete description of a fixed-layout flat document
• Includes
• text
• fonts
• graphics
• and other information needed to display it
• Is an open standard (ISO 32000-1:2008)
• Can be digitally signed
• Employs various standardised subsets
12. PDF standardised subsets
• PDF/X "PDF for Exchange” – Graphic technology: Prepress digital data
exchange
• PDF/A "PDF for Archive" – Document management: Electronic document
file format for long-term preservation
• And more
21. LaTeX – A document
preparation system
LaTeX is a high-quality typesetting system; it includes features designed for
the production of technical and scientific documentation.
!
– www.latex-project.org
24. What you probably already know.
• LaTeX is the de facto standard for the communication and publication
of scientific documents.
• LaTeX is available as free software.
• Allows very easy generation of
• Table of contents
• Page numbering
• Document headers and footers
• Index of important terms in your document
• LaTeX documents are plain text, allowing
• Easy use of your favourite VCS
• Easy collaboration on documents
• Small file sizes
• LaTeX comes with a package system – just like TYPO3 – currently offering
approx. 4,800 additional packages.
25. What else can LaTeX do for you?
• Links and cross-references
• PDF bookmarks
• Bibliography
• Tables spanning multiple pages
• Set PDF metadata
• Generation of barcodes, QR codes, etc.
• Custom styles for your content
• Automatic generation of graphics
26. x
f(x)
Sekante
P
f(x0)
x0
Q
f(x0 + ") f(x0)
x0 +
f(x0 + )
31. Let’s write some LaTeX.
Let us start with a very simple
paragraph.
Can we have something bold?
How about a little bullet list?
• red
• green
• blue
Can I have a table, please.
Let us start with a very
simple paragraph.
Can we have something
textbf{bold}?
How about a little bullet
list?!
begin{itemize}!
! item red!
! item green!
! item blue!
end{itemize}
Sorry. Not today.
69. List of References
“Indoctrinatr – PDF generation service”
Autor: Søren Schaffstein
Datum: 2014-10-13
List of References
Images
[1] ACO Severin Ahlmann GmbH Co. KG. ACO. The future of
drainage.
[2] ACO Severin Ahlmann GmbH Co. KG. Grating.
[3] Media Loot. Location Icon. URL: http://medialoot.com/item/
free-vector-map-location-pins/.
[4] Søren Schaffstein. Blue Wave.
[5] Søren Schaffstein. Blurred Flower.
[6] Søren Schaffstein. Challenging Path.
[7] Søren Schaffstein. Climbing a rock.
[8] Søren Schaffstein. dkd Pizza.
[9] Søren Schaffstein. Donut and LEGO Simpsons.
[10] Søren Schaffstein. Green Butterfly.
[11] Søren Schaffstein. Illuminated Trishaw.
[12] Søren Schaffstein. Line of Tags.
[13] Søren Schaffstein. On top of the Rock.
[14] Søren Schaffstein. Protected Place.
[15] Søren Schaffstein. Roadmap.
[16] Søren Schaffstein and Simone Schaffstein. Cactus Ice Cream Cone.
[17] taymtaym. Girl in Latex Suit. URL: https://www.flickr.com/
photos/taymtaym/13663386063.
[18] texample.net. LaTeX example graphics. URL: http://www.texample.
net.
All trademarks, trade names, product names and logos appearing in
this presentation are the property of their respective owners, including
in some instances dkd. Any rights not expressly granted herein are
reserved.
Seite 1/1
dkd Internet Service GmbH . Kaiserstraße 73 . 60329 Frankfurt am Main www.dkd.de