Comprehensive TeX Archive Network

listofitems – Grab items in lists using user-specified sep char

This sim­ple pack­age is de­signed to read a list of items whose pars­ing char­ac­ter may be se­lected by the user.

Once the list is read, its items are stored in a struc­ture that be­haves as a di­men­sioned ar­ray. As such, it be­comes very easy to ac­cess an item in the list by its num­ber.

For ex­am­ple, if the list is stored in the macro \foo, the item #3 is des­ig­nated by \foo[3].

A com­po­nent may, in turn, be a list with a pars­ing de­lim­iter dif­fer­ent from the par­ent list, paving the way for nest­ing and em­ploy­ing a syn­tax rem­i­nis­cent of an ar­ray of sev­eral di­men­sions of the type \foo[3,2] to ac­cess the item #2 of the list con­tained within the item #3 of the top-tier list.

Sources /macros/generic/listofitems
Bug tracker https://fra­m­agit.org/un­bon­petit/listof­items/is­sues
Re­pos­i­tory https://fra­m­agit.org/un­bon­petit/listof­items/tree/mas­ter
Ver­sion 1.51 2017-10-24
Li­cense The Project Public Li­cense 1.3c
Copy­right 2017 Chris­tian Tel­lechea
Main­tainer Steven B. Se­gletes
Chris­tian Tel­lechea
Con­tained in TeX Live as listof­items
MiKTeX as listof­items
Topics list: gen­eral
ma­nip­u­late strings (typ­i­cally in to­ken lists)

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

Com­mu­nity Com­ments



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


Guest Book Sitemap Contact Contact Author