[pstricks] using values read from an external file

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Apr 13 21:34:47 CEST 2012


Am 13.04.2012 14:46, schrieb Leon Free:
> Thanks for your suggestion. It works fine with the example I provided.
>
> Your trick shows it is possible to concatenate the \data list with other
> arbitrary values as you do in
>
> \edef\data{\data\space D 1 D \rA\space D 1 }
>
> but what about the "inverse" operation of extracting an element (the \iA
> th) from \data and store it in a tex variable? is there a simple way to
> do that with a tex macro? or is it better/simpler to have an external
> script doing that job (and then opening/reading the result with latex)?

How many elements are saved in the \data macro?

HErbert




More information about the PSTricks mailing list