magentastripe / willorapdf

Document preparation system for self-publishers based on Asciidoctor
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Better Unicode substitutions #2

Open dressupgeekout opened 1 year ago

dressupgeekout commented 1 year ago

Currently in willora.mk is a list of certain HTML entity/Unicode substitutions. These happen to be the ones that satisfy The Wolfskull Standard (my WIP novel) but in reality we need something better.

I still don't fully comprehend why Asciidoctor-PDF's built-in HTML entity/Unicode handling doesn't do the right thing all the time with the PDF converter, but I need something that'll work AND is comfortable to write. I don't want to require the author to look up a numerical code every time they want to write an accent or whatever.

dressupgeekout commented 1 year ago

Maybe doing only the Latin-1 special chars is good enough for now?

dressupgeekout commented 1 year ago

f33a1422839a43fdb849b24a1d4a681a90f24ca7 is a decent start but it's by no means comprehensive