-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use mdbook-pandoc to generate a PDF of the Players' Manual #1428
Comments
FWIW, I'm doing it on MacOS, using brew, which won't directly help @ts4z, but it may indirectly help. So far, I've
|
With mactex installed, the
This issue appears to be discussed on StackExchange. Looks like luatex might help, but this is starting to become a time sink. FWIW, luatex is installed as part of mactex, but I don't yet know if I can use it instead of pdftex. I'll poke around a little more, but I might need to move on with other things before too long. FWIW, the BARGE Rule Book might not need unicode support, or perhaps could use a different plugin to generate the PDF. |
Adding
to
So all the emojis are omitted in the PDF output. It looks like there's a lualatex solution on stackexchange, but I don't yet know if it's possible to embed TeX commands into the markdown needed by mdbook. I spent a bunch of time web searching and didn't find anything. Since I don't actually need this functionality, I'm going to put my |
The output that mdbook-pdf created was too large and not as nice (IMO) as the output mdbook-pandoc produced, so I looked to see if I could integrate the lualatex solution (that I mention in my previous comment) into the mdbook. The technique can indeed be used to get a nice coffee mug emoji inserted, but at a pretty big cost. I couldn't make inline substitution work, so the entire block that contains an emoji has to be formatted with TeX, and that formatting screws up the HTML build. The technique can be seen in my commit that I won't be merging. |
Update mb2-doc's configuration to use the mdbook-pandoc plugin.
Do this as a proof-of-concept to help @ts4z evaluate mdbook as a useful tool for a new edition of the BARGE Rule Book.
The text was updated successfully, but these errors were encountered: