indoctrinatr – open source pdf generation service
DESCRIPTION
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-interfaceTRANSCRIPT
![Page 1: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/1.jpg)
Indoctrinatr PDF generation service
CEO, dkd Internet Service GmbHSøren Schaffstein
![Page 3: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/3.jpg)
![Page 4: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/4.jpg)
![Page 5: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/5.jpg)
![Page 6: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/6.jpg)
![Page 7: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/7.jpg)
![Page 8: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/8.jpg)
![Page 9: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/9.jpg)
The PDF format
![Page 10: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/10.jpg)
–Wikipedia
»Portable Document Format (PDF) is a file format used to
present documents in a manner independent of application
software, hardware and operating systems.«
![Page 11: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/11.jpg)
• 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
PDF format – an overview
![Page 12: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/12.jpg)
• 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
PDF standardised subsets
![Page 13: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/13.jpg)
PDF is platform independent
![Page 14: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/14.jpg)
• Documents that should be printed. • Documents that should have a specific appearance. • Documents that should be archived.
PDF is great for:
![Page 15: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/15.jpg)
Creating a PDF
![Page 16: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/16.jpg)
• Scan to PDF • PDF printer driver • “Save as PDF” from within an application • Using a software library
Different ways to create a PDF.
![Page 17: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/17.jpg)
LaTeX
![Page 18: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/18.jpg)
![Page 19: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/19.jpg)
![Page 20: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/20.jpg)
pronounced: /ˈlɑːtɛk/ LAH-tek
![Page 21: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/21.jpg)
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
![Page 22: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/22.jpg)
![Page 23: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/23.jpg)
Evolution
![Page 24: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/24.jpg)
• 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.
What you probably already know.
![Page 25: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/25.jpg)
• 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
What else can LaTeX do for you?
![Page 26: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/26.jpg)
x
f(x)
Sekante
P
f(x0)
x0
Q
x0 + "
f(x0 + ")� f(x0)
"
"
f(x0 + ")
![Page 27: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/27.jpg)
p2
p3
p4p
5p
6
p7
p8
p9p
10 p11 p
12p
13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26p
27p28
p29
p30
p31
p32
p33
p34
p35
p36
p37p
38p
39p
40 p41 p
42 p43
p44
p45
p46
p47
p48
p49
p50
p51
p52
p53
p54
p55
p56
p57
p58
p59
p60
p61
p62
p63
p64
p65
p66
p67p
68p69p
70p71
p72
p73
p74
p75
p76
p77
p78
p79
p80
p81
p82
p83
p84
p85p
86p
87
p2
p3
p4p
5p
6
p7
p8
p9p
10 p11 p
12p
13
p14
p15
p16
p17
p18
p19
p20
p21
p22
p23
p24
p25
p26p
27p28
p29
p30
p31
p32
p33
p34
p35
p36
p37p
38p
39
p2
p3
p4p
5p
6
p7
p8
p9p
10 p11 p
12p
13
p14
p15
p16
p1
![Page 28: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/28.jpg)
![Page 29: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/29.jpg)
Brilliant!Let’s do everything with LaTeX now.
![Page 30: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/30.jpg)
A very short introduction into LaTeX
![Page 31: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/31.jpg)
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.
![Page 32: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/32.jpg)
How to get a PDF from LaTeX?
![Page 33: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/33.jpg)
Challenging Path
![Page 34: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/34.jpg)
Fear not!
![Page 35: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/35.jpg)
Indoctrinatr PDF generation service
![Page 36: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/36.jpg)
How does Indoctrinatr work?
Web-InterfaceREST-Interface
![Page 37: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/37.jpg)
![Page 38: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/38.jpg)
![Page 39: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/39.jpg)
![Page 40: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/40.jpg)
A beautiful & up-to-date contract.
![Page 41: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/41.jpg)
![Page 42: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/42.jpg)
![Page 43: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/43.jpg)
A beautiful diagram.
![Page 44: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/44.jpg)
![Page 45: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/45.jpg)
![Page 46: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/46.jpg)
![Page 47: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/47.jpg)
![Page 48: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/48.jpg)
• Simple ZIP container • Containing configuration • Templates • All required assets
Indoctrinatr template packs.
![Page 49: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/49.jpg)
ExamplesTested under real world conditions. ;)
![Page 50: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/50.jpg)
![Page 51: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/51.jpg)
![Page 52: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/52.jpg)
![Page 53: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/53.jpg)
![Page 54: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/54.jpg)
![Page 55: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/55.jpg)
![Page 56: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/56.jpg)
ACO Drain Design – datasheets
![Page 57: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/57.jpg)
A catalogue challenge
Approximately 15,000 products Approximately 60 languages
![Page 58: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/58.jpg)
ACO Haustechnik – datasheets
![Page 59: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/59.jpg)
ACO Haustechnik – datasheets• Headers and Footers • Optional info boxes • 3 column layout • Optional sections • Tables spanning multiple pages • Links to product website • Up-to-date data from PIM
![Page 60: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/60.jpg)
formhandler finisherUsing the REST-interface to send form data.
![Page 61: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/61.jpg)
![Page 62: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/62.jpg)
![Page 63: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/63.jpg)
DropletUsing the REST-interface to send data.
![Page 64: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/64.jpg)
![Page 65: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/65.jpg)
Roadmap
User Management
Parser Pipeline
Indoctrinatr-Tools
SaaS
![Page 66: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/66.jpg)
? Questions
![Page 67: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/67.jpg)
Thanks a lot!To the Indoctrinatr team at dkd!
![Page 68: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/68.jpg)
Thank you for listening
![Page 69: Indoctrinatr – Open Source PDF generation service](https://reader033.vdocument.in/reader033/viewer/2022052906/558dfeaa1a28abaf0d8b46d7/html5/thumbnails/69.jpg)
www.dkd.dedkd Internet Service GmbH . Kaiserstraße 73 . 60329 Frankfurt am Main
List of References“Indoctrinatr – PDF generation service”
Autor: Søren SchaffsteinDatum: 2014-10-13
List of References
Images
[1] ACO Severin Ahlmann GmbH & Co. KG. ACO. The future ofdrainage.
[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 CreamCone.
[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 inthis presentation are the property of their respective owners, includingin some instances dkd. Any rights not expressly granted herein arereserved.
Seite 1/1