Index: trunk/doc/developer/lihata_format/index.html =================================================================== --- trunk/doc/developer/lihata_format/index.html (nonexistent) +++ trunk/doc/developer/lihata_format/index.html (revision 16844) @@ -0,0 +1,53 @@ + + +
++The native file format of pcb-rnd is +lihata based. Lihata is a generic markup language that describes how +a tree can be serialized into a file format. What the tree contains and +what each node means is up to the user (pcb-rnd in this case). This document +describes how the lihata trees are interpreted by pcb-rnd. +
+The following table is a summary of the native file formats the core +handles. Various plugins will handle their own file formats, often also +lihata based - those are each documented at the corresponding. Note: +pcb-rnd does not try to recognize the purpose of the file by the file name, +but by the root node name - files can be named anything, there's no +"extension"; there are some files that are found by name (typically config +files) - these are marked with bold. +
+
typical filename | root node + | purpose (and documentation) + + |
---|---|---|
foo.lht | ha:pcb-rnd-board-v* + | Printed circuit board, self-contained + + |
bar.lht, bar.fp | li:pcb-rnd-subcircuit-v* + | A subcircuit, self-contained, most often used as a footprint + + |
times.lht | li:pcb-rnd-font-v1 + | Vector font + + |
pcb-conf.lht | li:pcb-rnd-conf-v1 + | A configuration subtree: system config (e.g. /usr/share/pcb-rnd/pcb-conf.lht) or user config (~/.pcb-rnd/pcb-conf.lht) + + + + + |