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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to