-
Notifications
You must be signed in to change notification settings - Fork 482
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
add new platform to compile only to latex #1339
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a good idea, and it can also help when debugging LaTeX builds (i.e. that you can inspect the TeX; currently we always throw away the intermediate TeX code and you have to jump through some hoops to retrieve it).
However, just the .tex
file is not enough to build the PDF afterwards. The temporary build/
directory will also contain all the images, the .sty
file etc. We should probably copy the whole thing over to build/
?
Agree, I forgot about the other files. Made the changes, to copy the whole source directory to the build directory. Also corrected the documentation, as you requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! @fredrikekre, any thoughts on this one?
If I build HTML first and then build LaTeX without PDF, Will I get a mix of HTML and LaTeX file in Maybe copy the whole dir to |
and |
That is true. However, I believe currently |
Yes, I think so. I'll test it later today, and report back. |
I've tested the followings (on Windows and WSL Linux):
The first step is the usual Documenter build, and after the second command nothing is deleted, and the result is a mix of HTML and LaTeX files. Though, I'm not sure why this happens.
|
I can confirm that, although interestingly when I run |
As described in #1338 I would like to compile the documentation to latex only. Here's my implmentation for it.
Please let me know what you think about it.