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

epub release + build instructions? #7

Open
sat3ll opened this issue Mar 28, 2019 · 1 comment
Open

epub release + build instructions? #7

sat3ll opened this issue Mar 28, 2019 · 1 comment

Comments

@sat3ll
Copy link

sat3ll commented Mar 28, 2019

It would be good if there were instructions on how to build a .pdf or a .epub release for people who would like to use their e-readers.
I've tried building ads.tex with Texmaker with {LuaLaTeX, XeLaTeX, PDFLaTeX} but without any success (already installed the texlive packages it requires).

@klevasseur
Copy link
Owner

The source code is all PreTeXt, so I think that you need to use PreTeXt converters. See https://pretextbook.org. All I've done so far is to convert to either pdf or html, so I don't know about details for .epub. For pdf, the command I use to convert to .tex is

xsltproc --xinclude ../../mathbook/xsl/mathbook-latex.xsl src/ads.xml > ads.tex

../../mathbook/xsl/mathbook-latex.xsl is the relative address of the latex converter
src/ads.xml is the relative address of the top level of the book

In my case, I covert from in the ads project directory.

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

2 participants