[NTG-context] issue with t-scancsv.lua

Pablo Rodriguez oinos at gmx.es
Mon Dec 8 13:38:08 CET 2014


Hello Jaroslav,

I have discovered that it is impossible to change letter cases with
fields imported with t-scancsv.lua.

Here you have a sample:

\usemodule[scancsv]

\setuppapersize[C6, landscape]
\setuppagenumbering[location=]

\unexpanded\def\lineaction{
\lowercase{\cA}\crlf
\uppercase{\cB}\crlf
\cC--\cD\crlf

\lowercase{AAAA}\crlf
\uppercase{bbbb}\crlf
\page
}

\setsep{;}
\setfiletoscan{mailmergedatatable.csv}

\starttext
    \filelineaction
\stoptext

The contents of mailmergedatatable.csv would be:

name;address;postcode;city;
ME;STREET;0000;HERE;
You;Square;9999;There;

Would it be a way to avoid this?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list