Tag! Your PDF is It!
Alejandro Piñeiro and Joanmarie Diggs
GUADEC 2013
2
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
Topics
● Tagged PDFs:
– What They Are
– Why We ...
`
Tagged PDFs
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
4
Tagged PDF > PDF
• Meta-information about page ...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
5
Why We Want Them
• Enhanced document accessibil...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
6
Why We Want Them (cont.)
• Reflow functionality...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
7
Making Tagged PDFs
✘ AbiWord: No
✘ Google Docs:...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
8
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
9
PDF/A-1a > Tagged PDF
• Objective: Search and r...
`
Current Status
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
11
Tagged PDF Support
✔Parse the document structu...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
12
PDF/A-1a Support
? PDF/A-1b
✔ Tagged PDF
✔ Str...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
13
What's Next?
• Create parallel object tree wit...
`
Getting the Code
(and what you'll see when you do)
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
15
Credit Where Credit is Due
• Adrián Pérez: Doc...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
16
Getting the Code
• git://git.freedesktop.org/g...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
17
Getting the Code (cont.)
• Poppler:
10 files c...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
18
Associated Output Tools: Before
• pdfinfo: aut...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
19
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
20
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
21
Associated Output Tools: After
● pdfstructtoht...
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
22
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
23
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
24
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
25
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
26
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
27
Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013
28
`
Questions?
Upcoming SlideShare
Loading in …5
×

Tag! Your PDF is It! (GUADEC 2013)

240 views

Published on

By Alejandro Piñeiro Iglesias and Joanmarie Diggs.

Creating tagged PDF documents is easy to do and provides many benefits including reflow for hand-held devices, content extraction with formatting preserved, and accessibility. This presentation will describe and demonstrate the work done thus far to implement this support in Poppler and Evince.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
240
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Tag! Your PDF is It! (GUADEC 2013)

  1. 1. Tag! Your PDF is It! Alejandro Piñeiro and Joanmarie Diggs GUADEC 2013
  2. 2. 2 Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 Topics ● Tagged PDFs: – What They Are – Why We Want Them – How to Make Them ● Current Status of the Project ● Getting the Code (and what you'll see when you do)
  3. 3. ` Tagged PDFs
  4. 4. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 4 Tagged PDF > PDF • Meta-information about page content • HTMLish tags and IDs for text spans • Alternative text for images • Replacement text for symbols
  5. 5. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 5 Why We Want Them • Enhanced document accessibility • Through exposure of structural and semantic information associated with the tags Thanks (again) Friends of GNOME!!!
  6. 6. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 6 Why We Want Them (cont.) • Reflow functionality (e.g. for mobile devices) • Export to other applications with format, layout, font data, etc. • Copy and paste to other applications with some fundamental retention of content format
  7. 7. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 7 Making Tagged PDFs ✘ AbiWord: No ✘ Google Docs: No ✘ LaTeX: No ✘ Scribus: No ✘ PDF Studio: No ✘ python-pisa: No ✔ LibreOffice: Yes (and it's easy!)
  8. 8. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 8
  9. 9. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 9 PDF/A-1a > Tagged PDF • Objective: Search and repurpose document content • Includes: - PDF/A-1b: Reproduce document appearance - Structure / Hierarchy - Tagged PDF - Unicode character maps - Language specification
  10. 10. ` Current Status
  11. 11. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 11 Tagged PDF Support ✔Parse the document structure tree: Poppler ✔Expose the tree and attributes: Poppler GLib ✔Provide tools to examine and verify result: Poppler ● Create parallel object tree with attributes: Evince ● (Expose object tree and attributes via ATK: Evince)
  12. 12. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 12 PDF/A-1a Support ? PDF/A-1b ✔ Tagged PDF ✔ Structure / Hierarchy ? Unicode character maps ✔ Language specification
  13. 13. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 13 What's Next? • Create parallel object tree with attributes: Evince • (Expose object tree and attributes via ATK: Evince) ? PDF/A-1b and Unicode character maps ? Adding support to LaTeX, et al.
  14. 14. ` Getting the Code (and what you'll see when you do)
  15. 15. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 15 Credit Where Credit is Due • Adrián Pérez: Document Parser Extraordinaire • Carlos García Campos: Maintains Evince & Poppler Thanks Guys!!!
  16. 16. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 16 Getting the Code • git://git.freedesktop.org/git/poppler/poppler • Today - Branch: tagged-pdf - Patches: fdo bugs 64816 and 67710 • Soon: master branch
  17. 17. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 17 Getting the Code (cont.) • Poppler: 10 files changed, 2309 insertions(+), 17 deletions(-) • Popper Glib: 16 files changed, 3011 insertions(+) • Utils: 3 files changed, 661 insertions(+), 2 deletions(-)
  18. 18. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 18 Associated Output Tools: Before • pdfinfo: author, editor, etc. • pdftotext: content (plain text) • pdftohtml: content (barely formatted text)
  19. 19. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 19
  20. 20. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 20
  21. 21. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 21 Associated Output Tools: After ● pdfstructtohtml: like pdftohtml but preserves tags ● pdfinfo's new options: - hierarchy - hierarchy along with content of each element ● poppler-glib-demo: new option to display hierarchy
  22. 22. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 22
  23. 23. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 23
  24. 24. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 24
  25. 25. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 25
  26. 26. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 26
  27. 27. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 27
  28. 28. Tag! Your PDF is It! - Alejandro Piñeiro & Joanmarie Diggs - GUADEC 2013 28
  29. 29. ` Questions?

×