Skip to content
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

handling of files with CR line ending looks faulty in pdftex #364

Closed
1 task done
u-fischer opened this issue Sep 10, 2019 · 1 comment
Closed
1 task done

handling of files with CR line ending looks faulty in pdftex #364

u-fischer opened this issue Sep 10, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@u-fischer
Copy link

  • I have read the [MiKTeX Contributing Guidelines]

This is a stripped down example of a problem with a tikz plot.

When inputing a file with pdf

tex with one line of text (e.g. 0.5660 0.6968) which has line ending format CR

\newread\myread
\openin\myread line.txt
[line.txt](https://github.com/MiKTeX/miktex/files/3594729/line.txt)
 %cr line ending
\read \myread to \temp
\read \myread to \temp
\show\temp

\bye

miktex shows

> \temp=macro:
->.

With CRLF and LF ending (and with lualatex and xelatex, and in texlive for all cases) the output is

> \temp=macro:
->\par .
@edocevoli edocevoli self-assigned this Sep 10, 2019
@edocevoli edocevoli added the bug label Sep 10, 2019
@edocevoli edocevoli added this to the 2.9.7200 milestone Sep 10, 2019
edocevoli added a commit that referenced this issue Sep 26, 2019
Fix line input issue (#364)
@edocevoli
Copy link
Member

This has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants