pillar one format for all supports
play

Pillar, one format for all supports Thibault Arloing Yann DUBOIS 26 - PowerPoint PPT Presentation

Pillar, one format for all supports Thibault Arloing Yann DUBOIS 26 aot 2016 1/35 Pillar 1 Pillar use cases 2 Whats new in Pillar 4.0 3 Make utilisation easier 4 Demo Time 5 Conclusion 6 2/35 Currently LaTeX Complicated Hard


  1. Pillar, one format for all supports Thibault Arloing Yann DUBOIS 26 août 2016 1/35

  2. Pillar 1 Pillar use cases 2 What’s new in Pillar 4.0 3 Make utilisation easier 4 Demo Time 5 Conclusion 6 2/35

  3. Currently LaTeX Complicated Hard to debug Hard to convert to HTML Markdown Incomplete Incompatible Inplementation Few output formats 3/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 3 / 35

  4. Why Pillar ? We wanted something : Easier than LaTeX More complete than Markdown 4/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 4 / 35

  5. Pillar 5/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 5 / 35

  6. Pillar One input, many outputs (e.g. HTML, LaTeX, ePub) 6/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 6 / 35

  7. Pillar - EPub export 7/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 7 / 35

  8. Pillar One input, many outputs (e.g. HTML, LaTeX, ePub) Slides / Books / Websites Textual syntax Easy to Extend Easy to use 8/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 8 / 35

  9. Pillar - Easy syntax !Example This is an example of Pillar file. *Link>http://pharo.org* -Unordered Item -Unordered Item #Ordered Item #Ordered Item [[[language=smalltalk|label=How to say Hello Transcript show: ’Hello !’. ]]] |!Harder |!Better |Faster |Stronger |More Than |Ever +Figure>file://path/to/the/file.png|width=80+ 9/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 9 / 35

  10. Advanced features ${}$ annotation syntax Slides ${slide :Slide name}$ ${myAnnotation :arg1=1|arg2=2}$ Consistency in syntax [[[language=smalltalk|arg1=1|arg2=2]]] Evaluate a smalltalk script 10/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 10 / 35

  11. Pillar use cases 11/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 11 / 35

  12. Books written with Pillar Enterprise Pharo : A Web Perspective Agile Virtualization Pharo By Example 12/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 12 / 35

  13. Books written with Pillar 13/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 13 / 35

  14. Presentations Beamer DeckJs This presentation itself is written in Pillar 14/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 14 / 35

  15. Other use cases Ecstatic : Static Websites, Guillermo Polito / Stéphane Ducasse (http ://guillep.github.io/ecstatic) PillarHub, Mike Filonov (http ://pillarhub.pharocloud.com/) 15/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 15 / 35

  16. What’s new in Pillar 4.0 16/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 16 / 35

  17. Pillar 4.0 - Structures Dissociate form the shape Easy to use Provide from formatting mistakes 17/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 17 / 35

  18. Structures - How does it work 18/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 18 / 35

  19. Pillar 4.0 - Other features Footnotes ${footnote :Text to put in the footnote}$ Citations ${cite :REF1713}$ Header Capitalization Hideable Scripts 19/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 19 / 35

  20. Make utilisation easier 20/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 20 / 35

  21. Hell on boot project Where is my configuration file ? Where are templates ? I am bored of copy/paste parts of configuration file Where did I put my pillar files ? 21/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 21 / 35

  22. Pillar Archetypes - Skeleton maker Simple utilisation Build a project base with example files Many archetypes (Book / Slides / Beginner) ./ pillar archetype book 22/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 22 / 35

  23. Pillar Archetype - How does it work ? 23/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 23 / 35

  24. Makefile Archetypes Makefile adapted to each Archetypes Separated Makefiles 24/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 24 / 35

  25. Makefile Job Begin with a pillar file 25/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 25 / 35

  26. Makefile Job 26/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 26 / 35

  27. Makefile Job Pass through Pillar $( OUTPUTDIRECTORY )/%. html.json: %. pillar copySupport ./ pillar export --to=" html" --outputFile =$@ $< 27/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 27 / 35

  28. Makefile Job 28/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 28 / 35

  29. Makefile Job Pass through a template System ./ mustache --data=$< --template=${ HTMLTEMPLATE } > $@ 29/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 29 / 35

  30. Makefile Job 30/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 30 / 35

  31. Demo Time 31/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 31 / 35

  32. Conclusion 32/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 32 / 35

  33. Future Works Pharo comments in Pillar Mobi Exporter Math expressions in LaTeX We have a lot of suggestions from community 33/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 33 / 35

  34. Conclusion Easy to Extend Easy Syntax Lot of output Easier Compilation Possibility to use other tools for templating 34/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 34 / 35

  35. For more informations https ://ci.inria.fr/pharo- contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book- result/PillarChap/Pillar.html 35/35 Thibault Arloing Yann DUBOIS Pillar, one format for all supports 26 août 2016 35 / 35

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend