#!/bin/sh # Print the guide sources in docs/guias/ to the PDFs in docs/ with headless # Chrome (A4, no browser header or footer). Needs Chrome and the DejaVu fonts. set -eu cd "$(dirname "$0")" CHROME=${CHROME:-$(command -v google-chrome-stable || command -v google-chrome || command -v chromium)} "$CHROME" --headless --disable-gpu --no-pdf-header-footer --run-all-compositor-stages-before-draw \ --print-to-pdf="$PWD/../guia-operador-kanban.pdf" "file://$PWD/operador/guia-operador-kanban.html"