-
Notifications
You must be signed in to change notification settings - Fork 61
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
Adding xelatex support for tufte-handout #5
base: master
Are you sure you want to change the base?
Conversation
Thanks for working on this! xelatex support for the tufte-handout has been something I've always had trouble getting to work. I checked out your branch and tried building the sample PDF. In particular, I added a bunch of extra paragraphs so that the PDF would be two pages long. Notice this text in the top corner: This text is supposed to be uppercase: Can you figure out how to do this with xelatex? This is how I usually do it in my other projects, but using pdflatex: diff --git a/tufte-handout/src/sample.md b/tufte-handout/src/sample.md
index 60e9af7..98cde2b 100644
--- a/tufte-handout/src/sample.md
+++ b/tufte-handout/src/sample.md
@@ -5,8 +5,9 @@ author: Jake Zimmerman
date: \today
fontsize: 12pt
# Comment or change these if you don't have these fonts installed
-mainfont: Palatino
-monofont: Menlo
+fontfamily: mathpazo
+fontfamilyoptions:
+- sc
newtxmathoptions:
- cmintegrals
- cmbraces ( |
I'm also happy to just commit the above diff instead of xelatex if that would solve the immediate problem you're running into ( |
If i try to make a multipage pdf with xelatex i get the following error:
|
In this |
Changes to enable xelatex for the tufte handout (see here for discussion of the the changes to template.tex). Tested w/ TexLive 2017 on MacOS Sierra.