buffers writing CR only instead of proper newlines (LF)
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
Hi, The gnuplot module recently stopped working because the buffers now seem to write out the CR (0x0d) instead of the LF character for newlines. Here's a minimal example as shamelessly stolen from the module: \long\def\startXheader {\def\stopXheader{\ifx\savebuffer\undefined \else \savebuffer[x-header]\fi}% \dostartbuffer[x-header][startXheader][stopXheader]} \def\resetXheader {\immediate\openout\scratchwrite=\jobname-x-header.tmp \immediate\closeout\scratchwrite} \resetXheader \starttext \startXheader hello bachotex \stopXheader \stoptext The problem is that I end up with a file with what vim shows as "hello^Mbachotex" (^M = character 0x0d / CR). This works properly in TL 2014. Any hints greatly appreciated. Thank you very much, Mojca
participants (1)
-
Mojca Miklavec