Collection-Type-Default setting missing?
See original GitHub issueExpected Behavior
In the pdf output i want to have reltable linkage between topics, and no automatic parent / child
linkage (if not specified explicitly by
<topicref href="topics/intro/concepts-intro.dita" collection-type="...">
So by default i want to have no parent / child linkage, only when specified via attribute collection-type. But i want all reltable links to appear.
Actual Behavior
This is not possible currenlty, since either i set
--args.rellinks=all
which will include parent & child links, or i set
--args.rellinks=none
which will exclude my reltable links.
If i specify
--args.rellinks=nofamily
will prevent the explicitly requested links
<topicref href="topics/intro/concepts-intro.dita" collection-type="choice">
to appear.
Possible Solution
I would expect that the
--args.rellinks=
(or any other option) only specifies the default value for the collection-type if not set for a topic,
so it can be defined per-topic wise.
Environment
Tested on dita-ot 3.1 and 3.3 on Linux Ubuntu 19.10.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
In the docs we have the same use case, and use the internal property
include.rellinks = friend
to achieve the desired result.It might make sense to extend the
args.rellinks
parameter description with a cross-reference to the list of valid link roles ininclude.rellinks
and explicitly list which roles are active for each value. (Some roles may require further explanations as well).the attribute/property is fine, I believe
if you look at the generated dita in the temp folder, it has links
but when you look at the generated fo, it has no links 😦
@jelovirt any immediate ideas? 😄