Search found 105 matches

by gbv34
Mon Mar 18, 2024 1:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Map Information with XHTML
Replies: 8
Views: 355

Re: Map Information with XHTML

Interesting. The precedence of another stylesheet is a good lead. I'll look at this. Thanks, Radu! If I find the solution, I'll share it here.
by gbv34
Mon Mar 18, 2024 1:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Map Information with XHTML
Replies: 8
Views: 355

Re: Map Information with XHTML

I have attached the plugin here.
com.toto.othermeta.xhtml.zip
(5.46 KiB) Downloaded 24 times
by gbv34
Mon Mar 18, 2024 1:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Map Information with XHTML
Replies: 8
Views: 355

Re: Map Information with XHTML

Unfortunately, not at all.
by gbv34
Fri Mar 15, 2024 11:50 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Map Information with XHTML
Replies: 8
Views: 355

Re: Map Information with XHTML

Hi Radu, Yes, my XSLT is called in the plugin.xml as well as the param used to retrieve the map url: <?xml version="1.0" encoding="UTF-8"?> <plugin id="com.antidot.othermeta.xhtml"> <feature extension="dita.conductor.xhtml.param" file="buildXhtmlParam.xml...
by gbv34
Thu Mar 14, 2024 7:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Map Information with XHTML
Replies: 8
Views: 355

Map Information with XHTML

Hello guys! I have spent some time on this one and I don't think it is directly related to DITA-OT but rather a way to gather info from a map during an XHTML transformation. For the info, the same principles described below worked well in html5. My XSLT uses a param defined in an external xml file: ...
by gbv34
Mon Oct 30, 2023 12:47 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Converting attributes set in the map to element in a prolog
Replies: 3
Views: 406

Re: Converting attributes set in the map to element in a prolog

Thank you, to both of you,
I will explore the solution Chris proposed and will moved to the OT group, because my hunch tells me I'm not done with this issue yet :)
by gbv34
Thu Oct 26, 2023 3:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Converting attributes set in the map to element in a prolog
Replies: 3
Views: 406

Converting attributes set in the map to element in a prolog

Hello everyone! This is a task I'm currently struggling with. I work with people who'd like to leverage the subject scheme map and its controlled values to automatically convert the attributes initially declared o the topicrefs as elements in topics' prolog. Basically, my plugin relies on the follow...
by gbv34
Mon Jul 10, 2023 3:47 pm
Forum: Other Issues
Topic: Debug a plugin written in JS
Replies: 1
Views: 447

Debug a plugin written in JS

Hello everyone! I have a plugin that was developed several years ago in javascript. It contains a wsAccess.js, a toolbar.js and a plugin.xml file I don't really get what is the purpose of the wsAccess.js knowing that most of the functions in it are similar to the toolbar.js. The plugin.xml reference...
by gbv34
Mon Jun 26, 2023 5:31 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Chain transformations, dita + HTML5
Replies: 3
Views: 448

Re: Chain transformations, dita + HTML5

Thanks a lot, Radu! I was able to check the different points you listed and designing the plugin in Oxygen highly helps indeed :) Right now, the use case is pretty simple, I just want to add a string into the first paragraphs of the DITA source (not in the HTML( publishing that I want to publish aft...
by gbv34
Mon Jun 26, 2023 2:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Chain transformations, dita + HTML5
Replies: 3
Views: 448

Chain transformations, dita + HTML5

Hello, I'm seeking a method to apply consecutive changes to a project using a single transformation type (DITA first, HTML5 after from the modified DITA source). I've been advised to use an extension point to execute an ant target ("depend.preprocess.pre") and I have started designing this...
by gbv34
Wed Jun 14, 2023 2:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Chunk to content and referencing a same topic
Replies: 2
Views: 371

Re: Chunk to content and referencing a same topic

Thank you, Radu.
Indeed, using copy-to solves the issue.
by gbv34
Wed Jun 14, 2023 12:12 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Chunk to content and referencing a same topic
Replies: 2
Views: 371

Chunk to content and referencing a same topic

Hello there! I stumbled upon a strange situation. I have a map with a parent topic which chunks a subtopic. <map> <title>Mathematics</title> <topicref href="introduction.dita"/> <topicref href="parent.dita" chunk="to-content" > <topicref href="introduction.dita&quo...
by gbv34
Wed Mar 08, 2023 3:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: depend.preprocess.post plugin example
Replies: 1
Views: 363

depend.preprocess.post plugin example

Hello, there! I have a custom plugin whose purpose is to pull the resourceid values from chunked topics and merge them in the parent resourceid. It works fine when I apply an HTML5 transformation; however I'm stuck at this point because I use a delivery platform which processes content from the temp...
by gbv34
Sun Jan 29, 2023 8:01 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: abbreviated-form and keyref
Replies: 3
Views: 593

Re: abbreviated-form and keyref

Hi Chris,
I'm currently using html5 transtype.
by gbv34
Sat Jan 28, 2023 8:56 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: abbreviated-form and keyref
Replies: 3
Views: 593

abbreviated-form and keyref

The abbreviated-form element used with <abbreviated-form keyref=""/> is pretty handy to display description from a glossary term. It offers information when hovering a link provided through a keyref and a link to the term definition on a specific topic. However, when clicking a link to a t...
by gbv34
Mon Dec 26, 2022 9:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Apply a specific attribute only on chunked topics
Replies: 2
Views: 563

Re: Apply a specific attribute only on chunked topics

Problem solved, Radu! Thanks for your pointers. The issue was related to this variable definition: <xsl:variable name="attributeValue"> <xsl:value-of select="$mapDoc//topicref[contains(@href, $topic_id)]/@outputclass"/> </xsl:variable> I updated it with: <xsl:value-of select=&quo...
by gbv34
Sat Dec 17, 2022 9:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Plugin dita-embed-html-xslfo
Replies: 4
Views: 599

Re: Plugin dita-embed-html-xslfo

Hi Radu,
That was absolutely silly of me.
I didn't check inside the plugin folder and... Indeed, the plugin itself was inside a subfolder :roll:
Everything works perfectly now. Sorry about the noise.
by gbv34
Sat Dec 17, 2022 5:24 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Apply a specific attribute only on chunked topics
Replies: 2
Views: 563

Apply a specific attribute only on chunked topics

Hello, I'm currently having difficulties with a transformation in a plugin whose purpose is to apply a custom attribute to chunked topics. Concretely, I have topicrefs with chunked topics in a map that contains an outputclass that will serve for the transformation: <topicref href="colors/t_intr...
by gbv34
Wed Dec 14, 2022 3:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Plugin dita-embed-html-xslfo
Replies: 4
Views: 599

Re: Plugin dita-embed-html-xslfo

Hi Radu,
Thanks for your answer. That's true, I use a custom OT but I also used the integrator to make sure the plugin is correctly integrated.
Surprisingly, it works with the OT 3..3.4 whereas the 3.5.4 and 3.7 don't display embed HTML.
by gbv34
Wed Dec 14, 2022 10:57 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Plugin dita-embed-html-xslfo
Replies: 4
Views: 599

Plugin dita-embed-html-xslfo

Hello, Radu! So far, I used your plugin dita-embed-html-xslfo with success until recently, but I wanted to update my OT version. So, I've tried to use the plugin with OT 3.5.4 and 3.7 and it seems it does not work anymore. I don't have error messages, just the fact that embed HTML like shown in the ...
by gbv34
Sun Dec 11, 2022 11:00 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Export DITA Map path issue
Replies: 6
Views: 699

Re: Export DITA Map path issue

Nice, Chris! I'll keep this trick for future debug, that's sure. I eventually found the error. A topic referenced an image with a link declared as: <image href="file:/C:/Users/XXXX/Pictures/pfn1564008980712.png" The file:/C:/Users......... seemed to confuse the definition of the tree struc...
by gbv34
Sat Dec 10, 2022 8:40 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Export DITA Map path issue
Replies: 6
Views: 699

Re: Export DITA Map path issue

Hi Chris! Thanks for the good tips :) I ran a default HTML5 transformation with no specific transformation parameters. The problem does not occur when I comment the maprefs progressively. It seems the issue might be related to nested maps (the initial project contains plenty of submaps and nested ma...
by gbv34
Sat Dec 10, 2022 1:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Export DITA Map path issue
Replies: 6
Views: 699

Export DITA Map path issue

Hello, I'm having a problem with a publication whose source topics are all located at the root of the folder. However, when publishing the project, it seems that the index is produced at the root of the out folder whereas the topics are produced and moved to subfolders following the path of the orig...
by gbv34
Tue Dec 06, 2022 10:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Good practices with multiple versions and ditavals
Replies: 3
Views: 651

Re: Good practices with multiple versions and ditavals

Thanks a lot, Radu.
Using a git version control would facilitate the process. I initially thought everything could be managed from a single map with several ditavals because the writers are not necessarily acquainted with GIT. But your solution seems straightforward.
by gbv34
Fri Dec 02, 2022 12:13 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Good practices with multiple versions and ditavals
Replies: 3
Views: 651

Good practices with multiple versions and ditavals

Hello, I have a documentation that is regularly updated. We already have more than ten versions available and we support it with ditavals. The problem is that the more versions we have, the more ditavals we have and this makes the document more difficult to read and maintain. I created a subject sch...
by gbv34
Thu Oct 06, 2022 9:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSL template for part element transformation
Replies: 2
Views: 473

Re: XSL template for part element transformation

Thank you, Radu. I used this template and edited it to display the attribute I wanted to insert in my XHTML output. This worked fine :) <xsl:template match="*[contains(@class, ' map/map ')]" mode="toc"> <xsl:param name="pathFromMaplist"/> <xsl:param name="divLabel&...
by gbv34
Mon Oct 03, 2022 11:41 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: XSL template for part element transformation
Replies: 2
Views: 473

XSL template for part element transformation

Hello, I currently have a document that uses a part element that includes a topicmeta, a chapter and a topicref. My customer used a custom attribute and declared it in a dtd. However, I'm looking a way to insert it in an xhtml output. But for that, I need to find the XSL template used for the transf...
by gbv34
Mon Sep 19, 2022 6:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add revised and modified date information within topic body
Replies: 3
Views: 641

Re: Add revised and modified date information within topic body

Hello, Radu! Thanks a lot! That helped a lot, indeed. More particularly using the xsl:next-match to avoid copy-pasting all the previous declarations. I also figured out why the date remained the same whatever the topic is: the map included a critdates element in its topicmeta. Therefore, the critdat...
by gbv34
Sun Sep 18, 2022 9:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Display a reading duration
Replies: 11
Views: 1558

Re: Display a reading duration

Hi Chris,
In my case, I am actually looking to display the reading time at the topic level. If you already have a snippet available, that would be awesome ;)
by gbv34
Sun Sep 18, 2022 1:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Add revised and modified date information within topic body
Replies: 3
Views: 641

Add revised and modified date information within topic body

Hello, everyone! I want to insert right after the main topic title the revised and modified dates values accessible from the critdates element (btw, it's for an HTML5 transtype and I have a dedicated plugin). I want to apply my xslt to an existing template (based on the class topic/body ), but I not...