29.05.2014 Views

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>The</strong> entry in the multi pass data le looks as follows (we collect all multi pass data in one<br />

le):<br />

\mainreference{}{example}{2--0-1-1-0-0-0-0--1}{1}{{I.I}{Example}}%<br />

\listentry{MyHead}{2}{I.I}{Example}{2--0-1-1-0-0-0-0--1}{1}%<br />

In MkIV we store more information and use tables for that. Currently the entry looks as<br />

follows:<br />

structure.lists.collected={<br />

{<br />

...<br />

},<br />

{<br />

metadata={<br />

catcodes=4,<br />

coding="tex",<br />

internal=2,<br />

kind="section",<br />

name="MyHead",<br />

reference="example",<br />

},<br />

pagenumber={<br />

numbers={ 1, 1, 0 },<br />

},<br />

sectionnumber={<br />

conversion="R",<br />

conversionset="default",<br />

numbers={ 0, 2 },<br />

separatorset="default",<br />

},<br />

sectiontitle={<br />

label="MyHead",<br />

title="Example",<br />

},<br />

},<br />

{<br />

...<br />

},<br />

}<br />

<strong>The</strong>re can be much more information in each <strong>of</strong> the subtables. For instance, the pagenumber<br />

and sectionnumber subtables can have prefix, separatorset, conversion,<br />

conversionset, stopper, segments and connector elds, and the metadata<br />

Everything structure 245

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!