Peter Uhnák <i.uh...@gmail.com> writes: > On Fri, Jul 31, 2015 at 10:20 PM, Damien Cassou <damien.cas...@inria.fr> > wrote: >> I think this solution is not the right one because it only affects >> HTML5. I would prefer that the document is changed by adding anchors to >> it. > > So in a sense of <a id="whatever" /><hX>..</hX>? And for LaTeX > \label{sec:whatever}
yes > So if I understand it correctly, the Transformer performs sort of > post-processing operations on the document tree? yes > So instead of doing a (semi-)single-pass build of the tree it would be > transformed several times? I'm also assuming this is also used to > extend annotations use. exactly. There are already many transformers: one to include a pillar file in another one, one to number lines in scripts, one to number headers, ... -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill