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
Graphics inclusion fails (for some drivers) in \endlinechar-1
context
#286
Comments
Thanks for the report, the issue is due to this change I guess
I think best thing to do would be to make sure |
I am a slow tester, but give me a few decades and I can sometimes find things. |
Am 23.02.20 um 13:13 schrieb Jean-François B.:
% \changes{v0.5e}{1994/1l/02}
I am a slow tester, but give me a few decades and I can sometimes find
things.
you mean that it took 26 years to find that the changes lines has an "l"
instead of a 1? :-)
|
@FrankMittelbach sadly only in 1994 could I have spotted that, nowadays that would require me to set my screen fonts to size |
This issue has been automatically marked as stale because it has not had recent activity. |
Despite my comment above, I think now dvipdfmx
just before the catcode setting, so equivalent to the following (using
|
Plan to write a short entry for doc/ltnews32 ? |
yes (need to write something about the viewport addition as well)
…On Thu, 13 Aug 2020 at 22:17, Frank Mittelbach ***@***.***> wrote:
Plan to write a short entry for doc/ltnews32 ?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#286 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVYAVCMPQK23ESQFU24WLSARKAFANCNFSM4KZYMXEA>
.
|
Minimal example showing the bug
The graphics inclusion code wants to do
\catcode\endlinechar 5
and this breaks if\endlinechar
has been set to-1
.In real life, the issue arose with
platex + dvipdfmx
(anddvipdfmx
class option) and inclusion of apng
file. The reason for the\endlinechar -1
is that this was embedded into some\scantokens
and we wanted to avoid the space token this process induces. More precisely for some reason (having to do with using\href
in some context with active characters needing deactivation) the\includegraphics
was incorporated into the\everyeof
toks (to freeze its catcodes and not have them submitted to\scantokens
).For this real life context, fix can be obtained by starting the
\everyeof{}
contents by\endlinechar13
.Log file (required) and possibly PDF file
endlinechar.log
The text was updated successfully, but these errors were encountered: