howto

Making a whitepaper from a PDF

Markdown is so nice

tags
markdown
pandoc
pdf

Here's how I write in markdown and publish in PDF.

pandoc and Eisvogel

1
2
  brew install pandoc
  brew install texlive

Then download the eis release from the release page.

1
2
  cd $(mktemp -d)
  wget https://github.com/Wandmalfarbe/pandoc-latex-template/releases/download/v3.2.0/Eisvogel-3.2.0.tar.gz

Uncompress

1
2
  tar xzvf Eisvogel-3.2.0.tar.gz
  cd Eisvogel-3.2.0

Then install the templates:

1
2
  mkdir -p ~/.pandoc/templates
  cp eisvogel.* ~/.pandoc/templates

Generate the pdf

xelatex is for handling unicode.

1
2
3
4
  pandoc june-2025-coding-agents.md \
         --template eisvogel \
         -o pandoc.pdf \
         --pdf-engine=xelatex

Adding styling

Some example fields you can put in your front matter:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
  ---
  author: Will Schenk, TheFocusAI
  titlepage: true
  titlepage-logo: ../assets/thefocusai.png
  colorlinks: ff0d8a
  linkcolor: magenta
  urlcolor: magenta
  listings-no-page-break: true
  code-block-font-size: \scriptsize
  logo-width: 100mm
  titlepage-rule-color: "360049"
  toc: true
  toc-own-page: true
  header-right: June 2025
  table-use-row-colors: true
  ---

  # Hello

References

Previously

labnotes

Lightpanda to markdown

llm scraping

tags
markdown
lightpanda
http