Hi,

Recently I started using Leo for a documentation project at work. I mainly 
use it to generate rst files (using @rst nodes and rst3). These files are 
converted to XML and then to DITA which is a topic based documentation 
format.

DITA based documentation consists of small re-usable topics which are 
linked together via so-called maps (similar to a TOC). Re-use of topics is 
perfectly captured via cloned nodes. Great. But I somehow need to be able 
to give each topic a unique id. The id's that Leo generates inside the .leo 
files are just fine for this purpose. However I need to get these id's (I 
mean the v element's t attribute) into the generated rst file (I think this 
is like sentinels?). 
This way I can generate the DITA maps from the .leo XML file and reference 
the individual topics based on the same id. I can then write out a big 
collection of topics as an rst document and use other @rst nodes to capture 
the hierarchy of topics containing only cloned nodes.

It doesn't matter much if these id's are written out as rst fields or 
comments under the heading as long as it's in the generated file.

Is there a way to achieve this in Leo without coding or patching the rst3 
plugin?

Thanks a lot.

Cheers,
--Marc

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to