When it comes to producing quality prints nothing compares to Latex and I use it extensively throughout my working needs. In recent years I've moved from the full Latex syntax to the quick and dirty markdown for my source files. At least for my initial drafts. Then I convert either to TEX or directly to the final PDF format with pandoc.
Pandoc is a swiss-army knife for the conversion between different document formats. It is capable of handling more formats than those one can imagine (or need). Also, it has very sensible defaults in terms of templates. It gives you full control over them if you need so. There are a ton of advanced features. Usually converting something is just a matter of issuing the command.
pandoc -o output.html intupt.txt
For producing slides I have used marp for most of my markdown to pdf conversions in the past, but its dependency on node makes it a bit brittle and forces me into repair mode every now and then.
Therefore, I have a pandoc pipeline that produces great slides and usually doesn't require much maintenance. Also, pandoc allows for extra functionality that you don't get with marp, like automatic tocs, sectioning and bibliographies.
I usually use something like this command to produce my slides.
pandoc -t beamer -f markdown -o output.pdf --pdf-engine xelatex --highlight-style tango input.md
Note that I usually use xelatex (or sometimes luatex) mainly to support UTF8 in input files directly.
I usually have this command in a script file that makes it quicker to run on any markdown file I need.
#!/bin/bash
set -e
for fich; do :; done
set -x
pandoc -t beamer -f markdown+implicit_figures -o "$fich".pdf --pdf-engine xelatex --highlight-style tango $*
open "$fich".pdf
Note that this uses a loop to get the last element of a input string into the variable $fich
and then passes the list of inputs to the pandoc command with $*
. This allows me to pass additional pandoc settings for a particular rendering, for example changing paper size, or styling.
Finally one last thing usually want when editing my slides is to rerun this script everytime I press save. For this I use entr with the following command (md2beamer.sh is the script name):
ls input.md | entr -r md2beamer.sh input.md
That's it. Simple MD to Beamer slides without complications. Sytling and colorthemes (among other things like titles, authors and institution) can be controlled by the options in the markdown yaml header.
- Beamer slides with markdown and pandoc
- HTMX resources
- Apple buys Pixelmator
- Working on a blog generator in bash
- Reading texts on paper beats reading texts on a computer screen
- Eureka Labs, AI for Education
- Reading on Darwin Machines
- You are not a Parrot, and other AI stories
- On Rags - Retrieval Augmented Generation
- Assange is free
- Editors, Editors
- Adding something between the lines
- Some Games I Like
- AI Aesthetics
- Random Number Generator, Anyone
- veo, i veo google
- gpt-4o, the crazy over helpful assistant
- teaching physical computing notes
- making checklists and ai
- refactoring old code scares me
- quem não lê é menos livre
- haiper video generation
- qualcomm ai hub
- New macs are rubbish
- I'm giving Zed a try
- where has my disk space gone?
- stealing this one, on how to study
- styles for clean bw slides in marp
- array based languages
- all 2023 posts
- added a rss feed
- code snippet for highlight.js in markdown pages
- is this the only css you'll ever need?
- things I'm (re)learning as i play advent of code 2023
- spell checker for shell scripts
- a simple ps1 bash prompt
- axtel and epstein's levels for agent based performance
- arduino tip120 demo code for classes
- blogs without server side rendering
- data science handbook
- grimm's odd standard protocol for describing individual-based and agent based models
- models of creativity
- ants are amazing - what about organizations - reading
- creating indices with tree
- m3, m3 pro and m3 max
- i have to many rss feeds in my reader
- finder, explorer, nautilus, rox, ... spacedrive
- marginalia in the modern digital world. is it possible?
- computer related stuff---how these machines work
- disable macbook air autoboot when dis/connecting to power or open lid
- red led at 13, blue led at 12 - police lights
- the wei (web environment integrity) api proposal from google is dangerous and should not go forward.
- my approach to managing scratch projects with bash scripts
- avoid long urls extending past the margins of text in latex with xurl
- how we learn and how to organise a reading inbox
- I am back to social networks, and it is mastodon.
- organising stuff is hard until it is not
- writing slides structure from the topics slide in marp
- a simple css trick 4 dithered images
- readings on strange programming, art and electronics
- gpt4 experiments - sparks of agi
- interesting openstreet use for studying hospital accessibility
- a simple js range one-liner
- o fim das trotinetes de aluguer?
- still reading about ai and gpt and what is next in this space
- the ai races for march 22:
- two main developments in the ai generators world
- and it goes dark
- fuzzy logic shell prompt alias
- svelte link dump.
- senhor clemente, que oportunidade perdida para o arrependimento.
- toggling light bulb problem
- no arrendamento, quem se lixa é quem cumpre e já aluga
- in the slow movement you find great pearls of wisdom.
- beja e alverca
- websites que funcionam apenas em modo texto
- small is beautiful
- tools for modern research
- and we are in 2023
- reading
- ai
- me