opentracing / specification

A place to document (and discuss) the OpenTracing specification. 🛑 This project is DEPRECATED! https://github.com/opentracing/specification/issues/163
http://opentracing.io/spec
Apache License 2.0
1.17k stars 182 forks source link

Script to generate a PDF doc from Markdown #146

Closed tappoz closed 4 years ago

tappoz commented 4 years ago

Problem

I was originally looking for a PDF doc on the website so I could read the spec offline. I ended up generating a PDF myself, so I was thinking there could be an automated way to generate a PDF for these Markdown files.

Proposal

Could we create a bash script with something like:

cat *.md | pandoc \
                    --variable geometry:a4paper \
                    --number-sections \
                    --pdf-engine=xelatex \
                    --toc \
                    -f markdown \
                    --listings \
                    -s \
                    -o opentracing-spec.pdf

Depending on the level of control this could be improved with LaTex directives, but the above should be enough for a basic PDF doc.

yurishkuro commented 4 years ago

no +1's or interest in this, apparently. Closing.