|
DTD generator?
#constraints
Hi Ben, If a RelaxNG-based plugin is acceptable to you, you could have a look at make_dita_grammar.pl: https://github.com/chrispy-snps/DITA-plugin-utilities#make_dita_grammarpl See here for some examp
Hi Ben, If a RelaxNG-based plugin is acceptable to you, you could have a look at make_dita_grammar.pl: https://github.com/chrispy-snps/DITA-plugin-utilities#make_dita_grammarpl See here for some examp
|
By
Chris Papademetrious
· #46950
·
|
|
keep with
Hi Ray, It's just because we use RelaxNG DITA grammars here. The approach should work equally well if you are using DTD grammars. - Chris
Hi Ray, It's just because we use RelaxNG DITA grammars here. The approach should work equally well if you are using DTD grammars. - Chris
|
By
Chris Papademetrious
· #46937
·
|
|
keep with
Hi Ray, To confirm, you are using PDF Chemistry for publishing, correct? We use RelaxNG grammars here (because we develop specializations with this utility), but the pagination approach does not requi
Hi Ray, To confirm, you are using PDF Chemistry for publishing, correct? We use RelaxNG grammars here (because we develop specializations with this utility), but the pagination approach does not requi
|
By
Chris Papademetrious
· #46934
·
|
|
Output only when the outputclass is set, otherwise do not output any HTML
Hi Ilham, I tried to do a similar thing a couple years ago - remove a <draftintro> topic from a bookmap when args.draft == no. I found that profiling attributes have dedicated machinery to remove filt
Hi Ilham, I tried to do a similar thing a couple years ago - remove a <draftintro> topic from a bookmap when args.draft == no. I found that profiling attributes have dedicated machinery to remove filt
|
By
Chris Papademetrious
· #46933
·
|
|
DITA to JSON with all references (keys, conkeyrefs...) resolved?
Hi Yves, The dita transformation format (dita -f dita) might get you pretty close. It produces normalized DITA. There might be some attributes/elements that you might need to clean up. One of these da
Hi Yves, The dita transformation format (dita -f dita) might get you pretty close. It produces normalized DITA. There might be some attributes/elements that you might need to clean up. One of these da
|
By
Chris Papademetrious
· #46932
·
|
|
Branch filtering on reused content
#conditional-processing
#branch-filtering
Hi Tim, Is this what you're trying to do? I attached a testcase you can play with. - Chris
Hi Tim, Is this what you're trying to do? I attached a testcase you can play with. - Chris
|
By
Chris Papademetrious
· #46890
·
|
|
Using Google Structured Data to enhance HTML output
Hi Radu, This is pretty cool. I will share it with my team. Thanks! - Chris
Hi Radu, This is pretty cool. I will share it with my team. Thanks! - Chris
|
By
Chris Papademetrious
· #46882
·
|
|
Branch filtering on reused content
#conditional-processing
#branch-filtering
Hi Tim, What was the missing step that made it work as expected? - Chris
Hi Tim, What was the missing step that made it work as expected? - Chris
|
By
Chris Papademetrious
· #46878
·
|
|
Does a key reference to a <mapref> have any meaning?
Hi Radu, Thank yous for filing that! Our writers will happily drag-and-drop anything from the DITA Maps Manager into an editing window that Oxygen allows them. :) They won't necessarily be aware of wh
Hi Radu, Thank yous for filing that! Our writers will happily drag-and-drop anything from the DITA Maps Manager into an editing window that Oxygen allows them. :) They won't necessarily be aware of wh
|
By
Chris Papademetrious
· #46871
·
|
|
Does a key reference to a <mapref> have any meaning?
Hi everyone, I confirmed that map-level inclusions of submaps via keyref are processed correctly: <mapref href="..." keys="some_map" processing-role="resource-only"/> ... <mapref keyref="some_map"/> S
Hi everyone, I confirmed that map-level inclusions of submaps via keyref are processed correctly: <mapref href="..." keys="some_map" processing-role="resource-only"/> ... <mapref keyref="some_map"/> S
|
By
Chris Papademetrious
· #46865
·
|
|
Does a key reference to a <mapref> have any meaning?
I attached a testcase, if anyone wants to experiment: - Chris
I attached a testcase, if anyone wants to experiment: - Chris
|
By
Chris Papademetrious
· #46862
·
|
|
Does a key reference to a <mapref> have any meaning?
We have a book with a preface submap, like this: I thought an <xref> to the preface submap would take me to the beginning of the content for that submap, but it does not. Given the following DITA topi
We have a book with a preface submap, like this: I thought an <xref> to the preface submap would take me to the beginning of the content for that submap, but it does not. Given the following DITA topi
|
By
Chris Papademetrious
· #46861
·
|
|
URL, URI, URN: What's the Difference?
Hi everyone, The difference between URLs, URIs, and URNs has always been a little fuzzy to me. I came across the following Reddit post in /r/programming: https://old.reddit.com/r/programming/comments/
Hi everyone, The difference between URLs, URIs, and URNs has always been a little fuzzy to me. I came across the following Reddit post in /r/programming: https://old.reddit.com/r/programming/comments/
|
By
Chris Papademetrious
· #46857
·
|
|
Best location for attributes
#conditional-processing
Hi Sheena, DITA provides lots of flexibility for many element types to be conditional, so the answer depends on what actually changes for each product. If only a product name is changing and everythin
Hi Sheena, DITA provides lots of flexibility for many element types to be conditional, so the answer depends on what actually changes for each product. If only a product name is changing and everythin
|
By
Chris Papademetrious
· #46854
·
|
|
Weird chunking behavior
#chunk
Hi Eliot, Thanks for sharing how the new deliverable-anchor stuff works! We use @deliveryTarget for format-specific filtering. Would this also work? <topicref keys=”topic-1-use-2” href=”topics/topic-1
Hi Eliot, Thanks for sharing how the new deliverable-anchor stuff works! We use @deliveryTarget for format-specific filtering. Would this also work? <topicref keys=”topic-1-use-2” href=”topics/topic-1
|
By
Chris Papademetrious
· #46839
·
|
|
How to share a topic across bookmaps where a part of the topic must be variable text?
#bookmap
#conref
#reuse
Hi Brian, We do this with regular variable definitions in each individual map: <keydef keys="Version"> <topicmeta> <keywords> <keyword>v1.3</keyword> </keywords> </topicmeta> </keydef> then uses of th
Hi Brian, We do this with regular variable definitions in each individual map: <keydef keys="Version"> <topicmeta> <keywords> <keyword>v1.3</keyword> </keywords> </topicmeta> </keydef> then uses of th
|
By
Chris Papademetrious
· #46828
·
|
|
In DITA-OT project files, allow subsets of deliverables to be published
Hi everyone, I initially posted this to the DITA-OT Users group, but I am cross-posting here for folks who aren't on that list. We are starting to use DITA-OT project files: DITA-OT documentation - Pu
Hi everyone, I initially posted this to the DITA-OT Users group, but I am cross-posting here for folks who aren't on that list. We are starting to use DITA-OT project files: DITA-OT documentation - Pu
|
By
Chris Papademetrious
· #46825
·
|
|
Usage of "passthrough" token in DITAVAL documents
#DITAVAL
Hi Kris, We are not currently using action="passthrough", but we are aware of its existence and we like knowing that at-delivery use of the information is available, if needed. - Chris
Hi Kris, We are not currently using action="passthrough", but we are aware of its existence and we like knowing that at-delivery use of the information is available, if needed. - Chris
|
By
Chris Papademetrious
· #46820
·
|
|
Ghost Links in Output
#reltable
Hi Ed, The new testcase is much easier to understand, thank you! And I'm glad the simplification process helped resolve the ghost links issue. My understanding was the same as yours - I did not think
Hi Ed, The new testcase is much easier to understand, thank you! And I'm glad the simplification process helped resolve the ghost links issue. My understanding was the same as yours - I did not think
|
By
Chris Papademetrious
· #46804
·
|
|
Needing more than one type of table formatting - custom CSS to PDF
#CSS
#tables
Hi Pati, In CSS, "A > B" means "element B contained directly within element A". But to apply multiple selectors to the same element, you want to directly concatenate them like this: *[class ~= "topic/
Hi Pati, In CSS, "A > B" means "element B contained directly within element A". But to apply multiple selectors to the same element, you want to directly concatenate them like this: *[class ~= "topic/
|
By
Chris Papademetrious
· #46800
·
|