[texhax] plain TeX: separate itmes by comme in \write environment
rodolfo.medina at gmail.com
Wed Apr 25 17:41:27 CEST 2018
"Philip Taylor (RHUoL)" <P.Taylor at Rhul.Ac.Uk> writes:
> Rodolfo Medina wrote:
>> In (e)plain TeX: in a document of mine I'm using the \write command so to
>> write a list of items in an external file and then input it in the document.
>> I wish that items were separated by a comma, apart from the last one of
>> course. How can I do that?
> It is not exactly clear what is meant by "using the \write command so to
> write a list of items in an external file"; can you post code, please ?
Yes, thanks. I'm attaching a simple example, to be processed with: `tex
test'. I applied David's suggestion with \mysep, and it seems to work, only
it produces a space before the comma rather than after it as it should be...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 781 bytes
Desc: not available
More information about the texhax