Comments (11)
This is with TeXLive 2016.
from asymptote.
It looks like this is fixed in current TL 2016.
from asymptote.
I don't think that the issue is fixed. On tex.sx there just has been a similar question: https://tex.stackexchange.com/questions/376401/asymptote-package-works-with-pdflatex-and-xelatex-but-problems-with-lualatex,
And the asymptote.sty you get with texlive (2016/11/14 v1.32) still contains in various places quotes around the main part of a graphic. E.g "\AsyFile".pdf
, and luatex doesn't like this (it isn't a problem of the graphicx drivers, it doesn't work with primitives either).
from asymptote.
The quotes are necessary in order to handle file names containing spaces, which many users unfortunately insist on. If you remove the quotes, lualatex will work, but only with file names that do not contain spaces. I will check to see if lualatex in TeXLive 2017 has been fixed to discard quotation marks.
from asymptote.
It still fails. But users that wants to use spaces can use the grffile package:
\documentclass{book}
\usepackage{graphicx}
\usepackage{grffile}
\begin{document}
\includegraphics{test space.pdf}
\includegraphics{test space}
\end{document}
from asymptote.
This issue persists in texlive-2019. Maybe a reasonable compromise would be to commit something like the patch mentioned in this issue and require that luatex users use grffile
if they want spaces in their files? At least that way the base case would work with luatex.
from asymptote.
It turns out that a patched version of grffile now supports all TeXengines (including lualatex, xelatex, latex as well as pdflatex). So the simplest solution is to use grffile. I have committed this
as revision 41cc1fa, but I still have to update asymptote.sty.
from asymptote.
This week patch level 2 of the current latex will be released, which will contain significant changes in the file name handling of graphicx. grffile will then be no longer needed, the package will be made to a no-op package.
from asymptote.
@johncbowman I'm experiencing the following issues when attempting to build asymptote:
Package asymptote Warning: file `latexusage-1.tex' not found on input line 76.
Package asymptote Warning: file `latexusage-2.tex' not found on input line 93.
Package asymptote Warning: file `latexusage-3.tex' not found on input line 117.
Is this possibly related to the pending changes to asymptote.sty?
from asymptote.
from asymptote.
EDIT
The latest commits fix the issue for me. Thanks for the fixes!
Thanks for the clarification on that. I thought that may have been causing the error I'm getting when building latexusage.pdf, but I guess it's something else. I'm seeing this
[...]
tex/latex/latexconfig/epstopdf-sys.cfg)) (./latexusage-1.tex)
! Missing } inserted.
<inserted text>
}
l.76 \end{asy}
?
! Emergency stop.
<inserted text>
}
l.76 \end{asy}
! ==> Fatal error occurred, no output PDF file produced!
Have you encountered this?
from asymptote.
Related Issues (20)
- Defining struct in a loop gives confusing error message HOT 1
- Feature request: Convert tab to 4 [/8] spaces in error message reporting
- Feature request: `var oldAsin=asin;` copies the function HOT 2
- Bug: unitsize() does not work to set unitsize of other pictures HOT 2
- Feature suggestion: automatic generation of constructor HOT 1
- Documentation of cputime is in Structure section? HOT 1
- Feature suggestion: shorthand to create a picture HOT 9
- Feature suggestion: Remove `add(picture dest, picture src, pair position)` variant as it's dangerous HOT 4
- Stack traceback on error?
- Suggestion: integrate with Typst? HOT 3
- Suggestion: `envelope` type don't need `above` passed in HOT 1
- Why does the bounding box of a frame containing just a label not just the label's bounding box? HOT 1
- Suggestion: transformations for shading tools? HOT 1
- Feature suggestion: baseline specification for inclusion in LaTeX HOT 1
- Grammar railroad diagram HOT 2
- scale command breaks graph output HOT 2
- Most recent commit breaks my build HOT 5
- configure fails to enable readline if ncurses is built with separate tinfo lib and "--as-needed" linker flag is used HOT 5
- Rendering issues (Maybe only on Mac M1?) HOT 4
- remainder function in the math module HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asymptote.