[ http://jira.codehaus.org/browse/DOXIA-40?page=comments#action_85119 ] Vincent Siveton commented on DOXIA-40: --------------------------------------
I did a macro on trunk to handle that. For instance, in an apt file, you could write: {noformat} %{toc|section=2|fromDepth=1|toDepth=2} {noformat} and in xdoc file {noformat} <macro name="toc" section="1" fromDepth="1" toDepth="2"/> {noformat} Some explanations on parameters (from javadoc): section Display the specificated section number or all sections if 0 (in this case, other paramaters are ignored). Positive int, not mandatory, 0 by default. fromDepth Display the depth starting for the given section number. Positive int, not mandatory, 0 by default. toDepth Display the depth ending for the given section number. Positive int, not mandatory, 5 by default. I let it open to be sure that it solve your requirements > Request for a TOC-like feature > ------------------------------ > > Key: DOXIA-40 > URL: http://jira.codehaus.org/browse/DOXIA-40 > Project: doxia > Issue Type: New Feature > Reporter: Anuerin Diaz > Priority: Minor > > If it is possible, I would like to request for a TOC like functionality that > will generate links to certain headers (section, subsection, etc) on the > document. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira