Add LaTeX environments for custom Scribble tags (fixes #231)
#232
Merged
otherjoel
merged 5 commits from scribble-fix-latex
into master
4 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'scribble-fix-latex'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Doing
raco setup --doc-pdf x pollen
no longer fails, and it produces a PDF file that is…of normal quality for Scribble documents.Besides becoming CSS classes, the names of custom Scribble styles are also reused as names of LaTeX macros. The only legal characters in LaTeX macro names are letters; no numbers or punctuation allowed. So I had to change some of the names, and change the CSS to match.
That 🎸 emoji:
pdflatex
is famously bad at Unicode, and chokes on the 🎸 used insetup.scrbl
. The most common advice is to use a newer engine likexelatex
instead (not on the table here). Failing that, it is supposed to be possible to substitute a vector graphic for particular characters, like so:But
pdflatex
(running from insideraco setup
) always complained of not being able to find the.eps
file I supplied (same with SVG, and PDF). So instead I substitute ∇ (\nabla
) for 🎸 in the PDF.Thanks @otherjoel. This would’ve hopeless for me.
88c354cb5f
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.