Also, I made a traditional Chinese version as well, but Firefox hangs when I try to print it. It’s the only language that happened with. Haven’t been able to figure it out yet.
Pleased to announce a new project: parallel language editions of the Book of Mormon, available as free PDF downloads. Here’s what they look like:
We’re starting out with the following editions, but I have more in the works. (Requests welcome!)
Dutch–English
French–English
German–Dutch
German–English
Italian–English
Lao–English
Lao–Thai
Portuguese–English
Portuguese–Spanish
Spanish–English
Spanish–Italian
Thai–English
Implementation/design notes
Chrome has a weirdSkiabug where text in exported PDFs isn’t searchable/copyable, which was a dealbreaker since these editions are meant to be digital-only.
Firefox does handle searching and copying just fine, but (sadly) it isn’t able to break the two-columned text correctly across page breaks. This means every part of a verse has to be on the same page (as opposed to half at the bottom of one and half at the top of the next), with the result that some pages have more whitespace at the bottom than is economical.
Firefox also doesn’t respectbreak-after: avoid, so I had to add page breaks before each chapter heading (which adds even more extra whitespace) (which can be a valid design decision, to be clear, but my original intent was to stream the chapters with no breaks so that the page count wouldn’t balloon). There’s a potential workaround that I’m looking into in the meantime.
There are no page numbers, because Firefox and Chrome don’t yet support the CSS paged media rules for that, and Paged.js choked and died on these files.
Browsers still aren’t great at paragraph layout, so there are going to be occasional widows and orphans.
I originally started on these several years ago using LaTeX, but I ran into issues getting the page layout to work the way I wanted it to. Layout-wise, things were so, so much easier with HTML and CSS.
If/when some of these browser issues get fixed (or I find workarounds), I’ll post updated files.
This time the chart doesn’t have a specific year baked in, so it’s reusable. (And there’s a variation for leap years.) It’s freely available as PDFs in both portrait and landscape. Currently just letter size, though maybe someday I’ll start including A4 and other sizes.
Colophon: I made these charts with HTML (it’s just a table), CSS, JavaScript (on page rather than via Node), and Firefox. The font is Avenir Next.