() Patrice Dumas <[email protected]> () Tue, 15 Jan 2013 19:52:57 +0100
On Fri, Jan 11, 2013 at 10:22:25AM +0100, Thien-Thi Nguyen wrote:
>
> ‘spec/ixin.texi’ is The IXIN Chronicles, a document that
> defines the file format and provides related info. There
> are various output formats, including .info, .pdf and .ixin.
Another comment, I think it would be better if you could do without
the ixin new element. Instead, I think that a map that translate
labels to node number could be used, and then the labels that are
already in the tree could be used, avoiding the need to add a new
element.
Something like that would in any case be needed for cross references,
so it wouldn't hurt much to use it for internal references too.
I'm sorry i don't follow. Are you referring to ‘ixcc’, which is not an
element but an attribute? For example:
(image (@ (where "inline") (ixcc "(blob 0)"))
(imagefile (@) "logo"))
which corresponds to the XML:
<image where="inline" ixcc="(blob 0)">
<imagefile>logo</imagefile>
</image>
The ixcc "targets" include not just nodes (family ‘node’) but also DTS
(family ‘(dts NAME)’), flosets (family ‘(floset TYPE)’) and blobs-index
entries (family ‘blob’, as in the example). If you play around w/ the
.ixin files using spit.el, you can see these various families (mostly
nodes and DTS) highlighted. I think spec/{ixin,z4}.ixin are the only
ones that have blob and floset families:
$ find . -name '*.ixin' | xargs grep -nHE -e 'ixcc.+(blob|floset)'
./spec/ixin.ixin:460: (image (@ (where "inline") (ixcc "(blob 0)"))
./spec/ixin.ixin:620: (float (@ (type "Figure") (ixcc "((floset
Figure) 0)"))
./spec/ixin.ixin:639: (float (@ (type "Figure") (ixcc "((floset
Figure) 1)"))
./spec/z4.ixin:407: (ixcc "(blob 0)"))
./spec/z4.ixin:529: (float (@ (ixcc "((floset Figure) 0)"))
./spec/z4.ixin:547: (float (@ (ixcc "((floset Figure) 1)"))
--
Thien-Thi Nguyen ..................................... GPG key: 4C807502
. NB: ttn at glug dot org is not me .
. (and has not been since 2007 or so) .
. ACCEPT NO SUBSTITUTES .
........... please send technical questions to mailing lists ...........
pgprMTUQjqv4X.pgp
Description: PGP signature
