assorted updates to make building pdf docs work #76
Conversation
| @@ -17,12 +17,4 @@ monofontoptions: | |||
| - BoldFont=RobotoMono-Bold.ttf | |||
| - ItalicFont=RobotoMono-Italic.ttf | |||
| - BoldItalicFont=RobotoMono-BoldItalic.ttf | |||
| header-includes: | |||
jlmitch5
Jul 19, 2017
Author
Contributor
removing these is obviously subpar. At a loss as to what would make things work though. Any ideas?
removing these is obviously subpar. At a loss as to what would make things work though. Any ideas?
|
Ha. So I had actually done the hard work of removing the local filenames, then forgot to commit it properly. Good spot. ( Can you split this PR into one that just fixes my fonts mistake (and typos)? Or I can do it if we can't get to the bottom of the Latex issue and you can't test the change! My gut feeling on the Latex errors is that somehow there is a config mismatch, it might be that you're using a different version of TexLive/MacTex to me. I'll post some stuff on the lines thread. |
|
Using |
|
Okay, I'm going to close this. If I can I will try and get the paths issue fixed using an absolute path and the Give me 24 hours or so. |
|
Totally cool! I'll try running xelatex manually to see what I get, but it
sounds like you've got the fix itself covered.
I'll move on to the HTML/CSS stuff this evening. Exploring this was
helpful to learn about the build system/configuration/file structure, which
might be useful when looking at that!
On Wed, Jul 19, 2017 at 7:07 AM Sam Doshi ***@***.***> wrote:
Okay, I'm going to close this. If I can I will try and get the paths issue
fixed using an absolute path and the {{fonts_dir}} substitution,
otherwise I guess we'll have to go with relative.
Give me 24 hours or so.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#76 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABR8oO356Zac9nr-L1GJ5BH3KJ3boD1tks5sPeNWgaJpZM4OcNqj>
.
--
John Mitchell
Front End Developer
Ansible, Inc.
919-394-6667
|
cc @samdoshi
Looks like
latex_preamble.jinga2.mdhas some issues.Paths include refs to your local file system. Changing them to
- Path={{fonts_dir}}roboto-hinted/fixes the issue.including:
causes build failure.
RuntimeError: Pandoc died with exitcode "43" during conversion: b'! LaTeX Error: Can be used only in preamble.\n\nSee the LaTeX manual or LaTeX Companion for explanation.\nType H <return> for immediate help.\n ...If I remove the header-includes list, the PDF is built successfully. I looked into pandoc's latex template, and the header-includes are definitely added in the preamble of the document, so I cannot figure out what's up.
There are a few other trivial things I realized and fixed:
Teletype Documenation