-
Notifications
You must be signed in to change notification settings - Fork 500
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
can't make the pdf #26
Comments
This issue should be fixed now. |
Same problem here (on Ubuntu 12.04): cannot build PDF, even with various fixes over the initial error, but the EPUB builds normally. |
@fgm Do you have required dependencies installed? If yes, please provide an errors log. |
Yes, the dependencies are installed. After a few tweaks (missing Menlo font, notably), I'm stuck with this error: cd en && pandoc --latex-engine xelatex --template ../common/pdf-template.tex --listings redis.md -o redis.pdf Package hyperref Warning: Rerun to get /PageLabels entry. <use "title.png" > [0] [1] [2] [3] [4] [5] [6] [7 Output file removed. make: *** [en/redis.pdf] Erreur 43 |
@fgm It seems strange… Are Microsoft fonts installed? You mentioned Menlo, but does Verdana exist? |
Yes Verdana exists. Turns out the problem was with the Menlo replacement: Menlo is an Apple font, not available on Linux by default (is it actually free anyway?), so I had used "Ubuntu Mono". Switching to "Liberation Mono" solved the problem for me. Maybe this would be worth a mention in the config file: not all platforms have access to the same fonts and some fonts may have a problem with this source (missing glyph ?). |
For the french translation of the book (dloureiro / the-little-redis-book) I got the same problem. Working on linux and mac at the same time I choose to go for DejaVu font (not yet pushed on the repo btw). It looks good and seems close to Menlo (in a way:)). And of course works on linux and mac. |
Well, it was @karlseguin’s decision to use these fonts. @karlseguin, what do you think about this? I support @fgm’s proposition—to mention possible fonts problems in the readme file. I could prepare this small pull request if everybody will be happy and the problem will be considered as solved. |
Yes please. Writing another one (shhhh) and I'd love to be able to incorporate a better build into it. |
When I generate the pdf of the cn version of this book, following error will occur:
I am already search google and some documents, but i can't solve the problem. How should i do for it?
And i can use pandoc to generate the epub successfully.
The text was updated successfully, but these errors were encountered: