-
Notifications
You must be signed in to change notification settings - Fork 89
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
Damage when drawing a cylinder from pdflatex in versions after 2.53 #145
Comments
I now see that although current git reported the version as 2.65git, the install exited after 'makeinfo --no-warn --no-split ../asymptote' in doc/png' without any messages but presumably with non-zero status. |
This is a problem with the tiling code; I will look into it. For the record, here's a minimal example:
For now, try using a lower settings.render value. |
The makeinfo error likely indicates that your version of makeinfo is obsolete. makeinfo --version Copyright (C) 2017 Free Software Foundation, Inc. |
I am using a newer makeinfo on the machine where I tried 2.65git Copyright (C) 2017 Free Software Foundation, Inc. As to a lower settings.render in my example, with 2 it works fine, with 4 it does not. |
I now cannot recreate the info problem when manually building and installing, although the installed info file definitely says it is still 2.64 (I went through the versions in order for the main issue). Maybe a weird one-off problem. |
"although the installed info file" : although the original installed info file |
The tiling bug reported here is fixed in 1566850. |
I have not been looking at results from my test documents with enough care. The following MWE produced a boring cylinder up to v2.53. In v2.54 it lost a rectangular part in the top, and also lost the colour, in 2.55 the colour was restored but not the top, similar result through to 2.62. In 2.63, 2.64 and current git the top or far side is restored, but a bigger chunk is taken out from the nearest side and another chunk is missing from the top right corner which eventually drew my attention to it.
`
\documentclass[12pt]{article}
\usepackage{asymptote}
\begin{document}
\begin{asydef}
import three;
\end{asydef}
\begin{center}
\begin{asy}cylinder:
pdflatex cylinder.tex
asy -V cylinder-*.asy
pdflatex cylinder.tex
pdflatex cylinder.tex
settings.render=16;
size(15cm,0);
draw(unitcylinder, red+opacity(.3));
\end{asy}
\end{center}
\end{document}
`
I use a Makefile withtwo runs of pdflatex after asy because it complained it needed to be rerun :
`
cylinder:
pdflatex cylinder.tex
asy -V cylinder-*.asy
pdflatex cylinder.tex
pdflatex cylinder.tex
`
cylinder-2.53.pdf
cylinder-2.55.pdf
cylinder-2.63.pdf
The text was updated successfully, but these errors were encountered: