~/talk

Building a content-focused, scientific document authoring workflow

Talkat Write the Docs Portland 2020 · 2020-08-09..08-11· [data-visualization]
links:none on file
slides:none on file

A reproducible authoring workflow based on pandoc + XeLaTeX build and git produces a versioned PDF artifact built by CI (Drone) and Make, created in about two weeks and reused across teams; the 45‑page paper compiles in ~12 seconds (single-section edits in ~2 seconds). Tooling includes tikz diagrams, Lua/python pandoc filters, git/GitHub reviews, and optional tectonic to reduce downloads; install size hits ~1.5–2 GB and equation editing remains the biggest pain point.

AI-written summary · about

  1. 0:00Intro
  2. 2:36A BIG CHANGE
  3. 3:20DRAMATIS PERSONAE A team of seven colocateed data scientists and engineers
  4. 4:00REAL NEED A content-focused, scientific document authoring workflow for Data Scientists and Engineers alike
  5. 4:17THINKING ARCHITECTURALLY
  6. 4:41PRIMARY VALUES • Reviewable content: prose, diagrams, equations . Content-focused with minimal markup • Minimize structural exceptions with standardized styling and typesetting
  7. 5:09SECONDARY VALUES • Accomodate some preferences for LaTeX over simpler formats (Markdown) • Easy to use: one command to generate output • Automation: artifact built from versioned "code"
  8. 5:36Treat documentation as source code.
  9. 6:46SOLUTION
  10. 7:22BIGGEST BENEFIT? LaTeX typesetting without suffering writing LaTeX
  11. 8:06pandoc, BRIEFLY "A universal document converter"
  12. 8:38pandoc BASICS
  13. 10:11CLI metadata options can be put into the YAML front-matter of the document
  14. 12:21include-code of embedding pandoc
  15. 18:20MANAGING CONTENT One chapter per file - enables extraction • Transforms necessitate a build directory
  16. 18:53COMMITTING Use git commits to tell a story about the changes.
  17. 19:22REVIEWING
  18. 20:03CONTINUOUS INTEGRATION Block PR merging with Cl system automation • Ensure valid markup and view changes compiled • Run proselint or a grammar/spelling tool
  19. 21:23PAIN POINTS
  20. 21:33Dependency installation • Learning Pandoc's flavor of Markdown • "Why can't I just use LaTeX?" . Converting from Word or LaTeX loses cross- references
  21. 25:12GREATEST RISK OF ADDITIONAL TRANSFORMATION TOOLS?
  22. 26:15Leveled the playing field for contributions, great for collaborating and building documents with all of the features of LaTeX
  23. 27:02CURRENT USE
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.