Skip to content
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

PDF Generation #46

Open
chrisvwx opened this issue Aug 22, 2020 · 3 comments
Open

PDF Generation #46

chrisvwx opened this issue Aug 22, 2020 · 3 comments

Comments

@chrisvwx
Copy link
Member

"Hi guys, I have a couple of doubts in the output generation, PDF and HTML. Normally, I generate it in order to read in a better format. First, the footnotes in PDF appear on line, and not as footnotes. Second, the Latex mathematical symbols use a weird charset. I think is my setup, then. How can I add the right font? Usually, I generate my work on ORG-MODE using Latex and Tufte style documents."

Originally posted by @smendozabarrera in #5 (comment)

@chrisvwx
Copy link
Member Author

Yes, we don't have adequate documentation of how to generate a PDF. This documentation should include info about what fonts could be used. The PDF that is on the website now does not have great fonts and could be improved; as a start we should describe how this imperfect PDF file could be generated.

I'll work on this, including looking into having Travis generate a PDF for each branch. We're already building HTML for each branch; see #43.

@chrisvwx
Copy link
Member Author

chrisvwx commented Sep 13, 2020

I've worked on generation of a PDF by Travis in the cp/pdf2 branch, with HTML and PDF available online. Unfortunately the emoji in the PDF don't work yet. If I get this working a bit better, the .travis.yml will be one place to go for documentation of how to generate a PDF.

chrisvwx added a commit that referenced this issue Sep 28, 2020
The .travis.yml file provides (imperfectly) documentation for the PDF file generation requested in #46
@chrisvwx
Copy link
Member Author

In the source asciidoc the following two lines are displayed the same in HTML but differently in PDF

`grados/2/π`
+grados/2/π+

Use of the back-tics (`) seems to be the right choice to produce a fixed-width font in HTML and PDF, while all the source files use plus (+). Theres more to be done on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant