ruhiger Sommer im Garten in Geras

Andrew U. Frank

Andrew U. Frank

em.o.Univ.Prof. Dr. sc.techn. Dr. h.c. Dipl.Ing.

Andrew U. Frank

40 use of pandoc . md

The transformation uses Pandoc, in four steps: - read the file into the pandoc structure - extract from the pandoc file all content into a context - convert the context into the target format - fill the context into a template to produce the result (respective a .tex file to process by lualatex) (pdf)

Jan. 4, 2019

Read Markdown

Reads the YAML header and the text content into a Pandoc data type. The formating, in the header and the content, is converted from the input format (e.g. markdown) into the internal Pandoc encoding.

This first step could read essentially any format, Pandoc accepts - likely with minimal or no changes in other steps.

Extract all information into Context

Extract the information in the MetaValue type into a Context MetaValue; preserves the formating in the Pandoc format, but separated into pieces.

Convert the Data to target format

The Pandoc structured formatted data are converted to the target format (either Latex encoded as Text or HTML encoded as Text) - each individual piece.

Fill the converted pieces into template.

The specific templates for Daino must be compiled and are then filled with converted pieces - separately to produce the HTML file to be served and the .tex file to be processed by lualatex, which produces the final .pdf.

Produced with `daino` from Essays/SSGdesign/09technical/040UseOfPandoc.html (public, publish) with master7tufte.dtpl.
daino and w3.css