CTAN Comprehensive TeX Archive Network

New CTAN pack­age: to­k­enizer

Date: May 22, 2003 10:22:22 PM CEST
A new pack­age has been in­stalled at tug.ctan.org and should make its way, via the mir­a­cle of au­to­matic mir­ror­ing, to your fa­vorite lo­cal mir­ror. Thanks for the up­load, Jim Hef­feron ftp­maint at tug.ctan.org ==================================================================== The fol­low­ing in­for­ma­tion was pro­vided by our fel­low con­trib­u­tor. Name of con­tri­bu­tion: to­k­enizer Author's name: Sascha Her­pers Lo­ca­tion on CTAN: macros/la­tex/con­trib/to­k­enizer Sum­mary de­scrip­tion: Pack­age for to­k­eniz­ing comma sep­a­rated lists of strings. Li­cense type: lppl An­nounce­ment text given by the con­tri­bu­tion's au­thor: - - ---------------------------------------------------------------------- This pack­age pro­vides a rather small com­mand, which splits a comma sep­a­rated list of strings into two to­kens at the first en­counter of a comma. Each to­ken is saved to a ar­bi­trar­ily named com­mand. - - ----------------------------------------------------------------------

to­k­enizer – A to­k­enizer

A to­k­enizer for . \GetTo­kens{Tar­get1}{Tar­get2}{Source} splits source into two to­kens at the first en­counter of a comma. The first to­ken is saved in a newly cre­ated com­mand with the name passed as <Tar­get1> and the sec­ond to­ken like­wise. A pack­age op­tion ‘trim’ causes lead­ing and trail­ing space to be re­moved from each to­ken; with this op­tion, the \TrimS­paces com­mand is de­fined, which re­moves lead­ing and trail­ing spaces from its ar­gu­ment.

Main­tainerSascha Her­pers



Guest Book Sitemap Contact Contact Author