-
Notifications
You must be signed in to change notification settings - Fork 130
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 / svg generation issue with new pandoc #317
Comments
Are you sure this worked with older SVG images are simply not supported by LaTeX (or at least by |
This is an example of test with older pandoc... |
Don't ask me how, but it worked before... |
I started from Debian testing, upgraded everything except pandoc
|
OK, I see that you are trying to build the PDF documentation of This hasn't worked for a long time, because the "badges" on the "Installation" page are (remote) SVG files. Probably in earlier versions the error was somehow ignored, but I assume it was already there. The solution would be to auto-convert SVG images to PDF. I think this is because auto-downloading SVGs and auto-converting them doesn't play well together, but I'm not sure. If you have any further ideas, please let me know. |
So, your suggestion is to just disable the above test, and live happy? because it is what I'm doing right now :) I don't think such configuration can be supported, and our builders can't download stuff from the internet. |
No, that wasn't my suggestion at all.
OK, then the build should arguably fail, because the documentation does contain a few images that are supposed to be downloaded from the internet.
It was failing before in the sense that there were some error messages in the LaTeX run, but a PDF file was created in the end. It just didn't have the SVG "badges" in it (see e.g. https://readthedocs.org/projects/nbsphinx/downloads/pdf/0.4.2/#subsection.1.1). I do want to fix this, I just haven't found a solution yet. But anyway, if there is no internet connection during LaTeX/PDF creation, this part of the tests should probably be disabled. |
So I looked into this a bit further, and found the culprit, see #319. However, building the docs without internet connection still doesn't work (and I'm not planning to change that). |
yes, I was wrong, when that testsuite runs, internet is enabled |
OK, great, I've just merged |
I think you mean #319 :) |
Yes indeed!
Yes, is this a problem? Or is there an alternative I should use? |
No problem, I'll package it for Debian and Ubuntu and use it :) |
Closing the issue in the meanwhile |
I have to reopen, for some reasons after packaging the converter, and applying your PR, I still get a failure...
|
this is the new package I created Installing stuff in
In fact now the nbsphinx build is successful, while before sphinx was complaining about missing svg2pdfconverter module
So, it seems like I packaged it correctly, but something is still not working |
Are you sure you are using the Your error messages mention |
not at all, I'm using 0.4.2 + PR #319 :)
indeed, because after the build process, patches are unapplied, so during autopkgtest I was using the old code... sorry for the trouble, I'll fix it up |
Hello, (please ask for more information in case I missed anything).
With the new pandoc 2.5 and new ghc 8.6.5 / texlive in Debian unstable, we are hitting a test failure in pdf generation, because of "can't include svg file"
https://ci.debian.net/data/autopkgtest/unstable/amd64/n/nbsphinx/2916428/log.gz
The run test is really simple, trying to build documentation
The text was updated successfully, but these errors were encountered: