CTAN
Comprehensive TeX Archive Network

bitelist – Split list, in 's mouth

The pack­age pro­vides com­mands for “split­ting” a to­ken list at the first oc­cur­rence of an­other (spec­i­fied) to­ken list. I.e., for given to­ken lists s, t re­turn b and the short­est a, such that t = a s b.

The pack­age’s mech­a­nism dif­fers from those of pack­ages pro­vid­ing sim­i­lar fea­tures, in the fol­low­ing ways:

  • the method uses ’s mech­a­nism of read­ing de­lim­ited macro pa­ram­e­ters;
  • split­ting macros work by pure ex­pan­sion, with­out as­sign­ments;
  • the op­er­a­tion is car­ried out in a sin­gle macro call.

A vari­ant of the op­er­a­tion is pro­vided, that re­tains outer braces.

Sources /macros/generic/bitelist
Doc­u­men­ta­tion
Ver­sion 0.1
Li­cense The Project Public Li­cense 1.3
Main­tainer Uwe Lück
TDS archive bitelist.tds.zip
Con­tained in TeX Live as bitelist
MiKTeX as bitelist
Topics sup­port for de­vel­op­ment of macros
ma­nip­u­late strings (typ­i­cally in to­ken lists)
See also datatool
stringstrings
texapi
ted
xstring

Down­load the con­tents of this pack­age in one zip archive (368.2k).

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Guest Book Sitemap Contact Contact Author