[NTG-context] LMTX and addplot table

Hans Hagen j.hagen at xs4all.nl
Sat Dec 12 17:01:02 CET 2020


On 12/12/2020 3:35 PM, Jean-Philippe Rey wrote:

> By default, pgfplotstable breaks lines at white space (tab or space 
> according to the pgfplotstable manual). I used tabs as column separators 
> in my demo file. With MKiV, the columns are correctly split but with 
> LMTX, pgfplotstable sees a single column.
> 
> I explicitly stated that the columns are separated with tabs:
> 
> \addplot table [x=t, y=E, col sep=tab] {mfe-addplot.dat};
> 
> and it works. I tried to change the columns separator to a space, 
> instead of a tab and it also works.
> 
> I don't know what pgfplotstable uses to split columns, but the 
> conclusion is that with MkIV 'col sep=space' means space or tab, whereas 
> with LMTX it means strictly a space character.
> 
> Thank you very much for your help.
I think I have it running now but you have to wait for an update (one of 
those curious border cases where tex bends a rule by turning tabs into 
spaces (the alternative is to let the tab token flagged as spacer travel 
around which would permits round trip). Makes me wonder I should have 
that as option in luametatex (but as I'm now in metapost mode I delay 
that pondering.)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list