--- Begin Message ---
Package: asymptote
Version: 2.38-1
Severity: normal
After updating to TL 2016, my usual invocation of asymptote started
producing full-page figures (the size of US letter paper), rather than
the size requested in the .asy file.
For example, as with this file:
size(100);
draw(unitsquare);
dot("A", (0.5,0.5));
run through
$ asy -k -vvv -noprc -render=0 -f pdf -tex pdflatex -V -wait "test"
Without the typeset text (the "A"), it works fine, as it does using the
latex engine ("-tex latex").
This problem, I have found, has been reported on the asymptote bug
tracker and extensively discussed. It seems that a change in the
graphicx package caused the problem.
See the discussion here:
<https://github.com/vectorgraphics/asymptote/issues/24>
The fix is linked from there and is:
<https://github.com/vectorgraphics/asymptote/commit/2f209f9ed847db0068c0ac85fa6c98571eeb9462>
For Debian, it just means patching plain.asy (adding a few lines).
That patch also fixes another problem with using asymptote and TL 2016:
that luatex 0.95 (and hence lualatex), which is in TL 2016, uses
\page(height|width) rather than \pdfpage(height|width), which the older
luatexs accepted.
To see that problem, try
$ asy -k -vvv -noprc -render=0 -f pdf -tex lualatex -V -wait "test"
and you get complaints about those commands being undefined.
The patch works for me, at least in my limited testing so far.
-Sanjoy
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages asymptote depends on:
ii freeglut3 2.8.1-3
ii ghostscript 9.19~dfsg-2
ii imagemagick 8:6.8.9.9-7.2
ii install-info 6.1.0.dfsg.1-8
ii libc6 2.23-5
ii libfftw3-double3 3.3.4-2+b1
ii libgc1c2 1:7.4.2-8
ii libgcc1 1:6.1.1-11
ii libgl1-mesa-glx [libgl1] 11.2.2-1
ii libglu1-mesa [libglu1] 9.0.0-2.1
ii libgsl2 2.1+dfsg-2
ii libncurses5 6.0+20160625-1
ii libosmesa6 11.2.2-1
ii libreadline6 6.3-8+b4
ii libsigsegv2 2.10-5
ii libstdc++6 6.1.1-11
ii libtinfo5 6.0+20160625-1
ii python 2.7.11-2
ii python-pil 3.3.0-1
ii python-pil.imagetk 3.3.0-1
ii tex-common 6.05
ii texlive-binaries 2016.20160513.41080-6
ii texlive-latex-base 2016.20160819-2
ii texlive-pstricks 2016.20160819-1
ii xdg-utils 1.1.1-1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages asymptote recommends:
ii asymptote-doc 2.38-1
Versions of packages asymptote suggests:
ii evince [pdf-viewer] 3.20.1-1
ii gv [pdf-viewer] 1:3.7.4-1
ii mupdf [pdf-viewer] 1.9a+ds1-1.2
ii okular [pdf-viewer] 4:16.04.2-1
ii xpdf [pdf-viewer] 3.04-1+b1
ii zathura-pdf-poppler [pdf-viewer] 0.2.6-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: asymptote
Source-Version: 2.38-2
We believe that the bug you reported is fixed in the latest version of
asymptote, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 836252@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated asymptote package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 01 Sep 2016 17:33:03 +0900
Source: asymptote
Binary: asymptote asymptote-doc
Architecture: source amd64 all
Version: 2.38-2
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Task Force <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description:
asymptote - script-based vector graphics language inspired by MetaPost
asymptote-doc - documentation and examples for asymptote
Closes: 836252
Changes:
asymptote (2.38-2) unstable; urgency=medium
.
* include upstream fix to work with TL2016 (Closes: #836252)
Checksums-Sha1:
00b7c08ba890b735c8a71f5c1bff831c816ecd34 2051 asymptote_2.38-2.dsc
901f6f880a5a37b764f6143f98efa7ac8b6e080a 13524 asymptote_2.38-2.debian.tar.xz
0411e04c36f6ea5dd0ceaf94b6241548227dbc2f 10944400 asymptote-dbgsym_2.38-2_amd64.deb
60335df12a7e5fdab979550328242d97ee2a78ff 2932620 asymptote-doc_2.38-2_all.deb
00810c26f59f06e9ea395a033e02a753decde8fe 1666162 asymptote_2.38-2_amd64.deb
Checksums-Sha256:
095e14553236e16041d571bf9c238e05a691f81a8ada7440fdd2c7636172c60c 2051 asymptote_2.38-2.dsc
6927974daeeb84fe11c1299874ab10c01737d1ad7830c33ac159ca8c51876cf6 13524 asymptote_2.38-2.debian.tar.xz
186958f71cca1a5e787381894c6af61ed9df99aef7bc1d47b9ac89d37c7420a6 10944400 asymptote-dbgsym_2.38-2_amd64.deb
4ab67148e13d568ee3c5761c5df7f9cc12afa1c605db847bc3afa2e031810454 2932620 asymptote-doc_2.38-2_all.deb
8952b5a6b97e2daa50f17cefc6f063237e23e1da8e7781f6835f6a9714631035 1666162 asymptote_2.38-2_amd64.deb
Files:
d082c20014f1af9cb9c82b35f4df1a7e 2051 tex optional asymptote_2.38-2.dsc
853c456a51346e658067d7e288726494 13524 tex optional asymptote_2.38-2.debian.tar.xz
46e82f3ae058ef4879555681e0961945 10944400 debug extra asymptote-dbgsym_2.38-2_amd64.deb
7f9c7eb8648d7e0e95b687de6cb728f2 2932620 doc optional asymptote-doc_2.38-2_all.deb
5d0d3741a43027ec8eccebfce1eaa423 1666162 tex optional asymptote_2.38-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJXx+yeAAoJEOwAuNrTImaqf0wIAKZbStG0ivc+bE3XxZZaN24F
dvcVoKCK1eDn1BSlUpipzcfJFLRi7fZRz8xskQVeAmo3kE6iYVrrvHGqEdR5R00F
/j1smDCxFonGOKCjF95ACE8WhQLXQGdHmrUGAq1S+97575iz0fPl6weeusLw9eAS
8oaayDO6gE6G8kGvFLN7Zoxg2Az6KddtjrRYQ6jhmFihBTseidXqhCaJtzpVSLgX
Om/aEApjqnpcUjycyUYonOuCRy5NkLnsZhAA9VzJQKAB424erUWMzD0TxprP8+My
+r6dv73FkRRIqdugVjv2TdGcRuk0/J/5ZDph4WqYu/HrtBL0Alb0WZ2nQXZXc4g=
=xgeA
-----END PGP SIGNATURE-----
--- End Message ---