[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] State of topic oriented writing in DocBook?
> On Nov 30, 2022, at 23:42, Jirka Kosek <jirka@kosek.cz> wrote: > > On 30.11.2022 15:25, Jean-Christophe Helary wrote: >> It seems to me that there could be a mechanism where xi:include manages included IDs by generating some kind of "name space" over the whole document, maybe based on the "includee" part ID. >> I can see how linking to such IDs form other parts could be non-trivial, but conversely, I don't see the point of trying to link to an ID that will be included in multiple places in a document, so maybe the point is moot. > > Well this is already supported by XInclude and transclusion mechanism, see: > > https://docbook.org/docs/transclusion/transclusion.html#ex.6 > > xslTNG support this mechanism, when enabled by the following option: > > https://xsltng.docbook.org/guide/p_docbook-transclusion.html > > Does this solve your use-case? It will solve it the moment I understand how to set that. If I had known that what I'm looking for is called "transclusion" I would certainly have investigated this solution way before, but better late than never :-) -- Jean-Christophe Helary @jchelary@emacs.ch https://traductaire-libre.org https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]