Search found 909 matches

by chrispitude
Wed May 31, 2023 6:28 pm
Forum: Feature Request
Topic: Provide invariant permalinks for subtopics
Replies: 3
Views: 721

Provide invariant permalinks for subtopics

WebHelp provides handy "permalink" icons by section and subtopic titles that provide a link to that section or subtopic. Given the following DITA source with three sections and three subtopics: <topic id="topic_id"> <title>My Topic</title> <body> <p>This is a topic.</p> <section ...
by chrispitude
Wed May 31, 2023 12:46 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Title for prereq, context, postreq elements
Replies: 4
Views: 536

Re: Title for prereq, context, postreq elements

Hi Ann,

DIfferent transformation types are customized in different ways. What transformation types are you using?
by chrispitude
Tue May 30, 2023 2:09 pm
Forum: Common Problems
Topic: Error "Could not insert document fragment" in Oxygen 25
Replies: 8
Views: 803

Re: Error "Could not insert document fragment" in Oxygen 25

Hi Martin,

Just curious - if you double-encode the ampersand, does it work?

Code: Select all

&amp;amp;cetera
by chrispitude
Fri May 26, 2023 3:14 pm
Forum: Common Problems
Topic: v25.1 change in behavior for <image placement="break">
Replies: 5
Views: 841

Re: v25.1 change in behavior for <image placement="break">

Hi Radu, Indeed you are correct! I misunderstood how the extension points were structured in the template file. Instead, there was a bug in my workaround plugin that caused the duplicate values in v25.0. If anyone wants to revert to the CSS-based @class~="break" behavior, you can use this ...
by chrispitude
Wed May 24, 2023 3:23 am
Forum: Common Problems
Topic: v25.1 change in behavior for <image placement="break">
Replies: 5
Views: 841

Re: v25.1 change in behavior for <image placement="break">

So now I see the reason for the difference in WebHelp behavior. There is an "html5-images.xsl" stylesheet in the WebHelp and PDF Chemistry transformations that converts the adjacent <br> elements to @class="break" added to the image. This stylesheet is used in both versions of PD...
by chrispitude
Tue May 23, 2023 6:56 pm
Forum: Common Problems
Topic: v25.1 change in behavior for <image placement="break">
Replies: 5
Views: 841

Re: v25.1 change in behavior for <image placement="break">

Well this is frustrating! If the output is serialized as XHTML, then the <br> element considers the line-height CSS property: <?xml version="1.0" encoding="UTF-8"?> <html lang="en"> <head> <style>br {line-height: 0}</style> </head> <body> <p>LINE</p> <br /><span>image</...
by chrispitude
Tue May 23, 2023 5:35 pm
Forum: Common Problems
Topic: v25.1 change in behavior for <image placement="break">
Replies: 5
Views: 841

v25.1 change in behavior for <image placement="break">

This is a heads-up to my fellow WebHelp users. Given a DITA <image> element with @placement="break" : <p>LINE</p> <image href="image.png" placement="break"/> <p>LINE</p> In v25.0, the webhelp-responsive transformation produces HTML that uses a @class="break" p...
by chrispitude
Mon May 22, 2023 7:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Keeping Publication TOCs of various WebHelp guides separate
Replies: 2
Views: 435

Re: Keeping Publication TOCs of various WebHelp guides separate

Hi doctissimus,

The webhelp.publication.toc.links controls what the left-side TOC shows. It is documented here:

WebHelp Responsive Transformation Parameters

Does this help?
by chrispitude
Mon May 22, 2023 7:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: in page display
Replies: 3
Views: 377

Re: in page display

Hi balajinrs,

It looks like you posted the same picture twice, and you did not ask an explicit question. Could you please clarify your question and check the pictures for correctness?
by chrispitude
Sat May 20, 2023 8:20 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: context-help-map has duplicate entries
Replies: 4
Views: 574

Re: context-help-map has duplicate entries

Hi Micaela, WebHelp publishing does not make any attempt to suppress entries to different files that have the same ID. But interestingly, your multiple entries are pointing to the same files. I noticed you have this line twice: <chapter href="c_Concept.dita"/> If you remove the second inst...
by chrispitude
Fri May 19, 2023 2:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Different keywords in each submap not resolving
Replies: 4
Views: 417

Re: Different keywords in each submap not resolving

Hi Matt, What made me really appreciate the power of keyscopes was when I had to include multiple books in an online help map: <map> <mapref href="book1" keyscope="book1"/> <mapref href="book2" keyscope="book2"/> <mapref href="book3" keyscope="b...
by chrispitude
Fri May 19, 2023 1:19 pm
Forum: Common Problems
Topic: How to retain default outputclass for element while applying speciific attribute a certain elements in OxygenXML Author
Replies: 2
Views: 490

Re: How to retain default outputclass for element while applying speciific attribute a certain elements in OxygenXML Aut

Hi Roopesh, I don't think multiple content completion specifications can apply to the same element. If you want <codeblock> to be different than the default, it will need to include all aspects that you want. Also, according to the documentation at https://www.oxygenxml.com/doc/versions/25.1/ug-auth...
by chrispitude
Fri May 19, 2023 12:59 pm
Forum: General XML Questions
Topic: Reg exp for appending file extension
Replies: 5
Views: 1576

Re: Reg exp for appending file extension

Hi Radu, That would work! And it would allow the operation to be previewed, which is also great. For us, the text box would be better as our use case would be a writer applying something that I give them in an email. Novice writers might be a bit more confused by temporary files, forgetting to delet...
by chrispitude
Thu May 18, 2023 2:03 pm
Forum: Common Problems
Topic: Can I customize the WebHelp "Main Page" to point to a DITA topic?
Replies: 15
Views: 17270

Re: Can I customize the WebHelp "Main Page" to point to a DITA topic?

Hi DITAUser123, You only use cshelp.html when performing a ?contextId= lookup as described here: Context-Sensitive Help System The cshelp.html file is a special page with no content whose only purpose is to perform the lookup and redirect cleanly, without temporarily displaying any content that woul...
by chrispitude
Thu May 18, 2023 1:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Different keywords in each submap not resolving
Replies: 4
Views: 417

Re: Different keywords in each submap not resolving

Hi Matt, If a variable needs to have different values in different parts of your top-level map, you will need to use keyscopes. In the following application note: DITA 1.3 Feature Article: Understanding Scoped Keys in DITA 1.3 the "widget, gadget, doodad" example on the bottom of page 5 se...
by chrispitude
Tue May 16, 2023 3:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Images in PDF scales and occupy full width of the page
Replies: 8
Views: 1095

Re: Images in PDF scales and occupy full width of the page

Hi Mathieu,

Sometimes I preview XML refactoring operations just to see how much work they save me. :)

- Chris
by chrispitude
Tue May 16, 2023 1:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Images in PDF scales and occupy full width of the page
Replies: 8
Views: 1095

Re: Images in PDF scales and occupy full width of the page

Hi Mathieu, My guess is that you would need to add @scale in the DITA source so that publishing adds the correct CSS "zoom" properties in the output. You could try using the Add/Change attribute refactoring operation to do this, with something like the following: Element: image[not(@width ...
by chrispitude
Sat May 13, 2023 2:33 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp Responsive Publication TOCs (I'm so confused)
Replies: 2
Views: 386

Re: WebHelp Responsive Publication TOCs (I'm so confused)

Hi doctissimus, When we were assembling books into a higher-level WebHelp map, I was confused why the book titles weren't showing up in the WebHelp's top-level TOC. Then I learned that when you reference a submap, the title of the submap does not create a level of navigation hierarchy . To accomplis...
by chrispitude
Fri May 12, 2023 4:52 pm
Forum: Feature Request
Topic: Enable running multiple Find/Replace in Files in background
Replies: 6
Views: 988

Re: Enable running multiple Find/Replace in Files in background

Hi Stepan, I think a refactoring operation would work well here. Can you describe in words what you want to do? For example, It looks like you want to replace values of @aaa and @bbb? Do you want to match @aaa and @bbb only when they match the two different regular expressions to provide, and leave ...
by chrispitude
Thu May 11, 2023 1:18 pm
Forum: Feature Request
Topic: Evaluate as you type for XSLT
Replies: 2
Views: 560

Re: Evaluate as you type for XSLT

This feature would be very useful!
by chrispitude
Tue May 09, 2023 4:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Create Parts in Ditamaps
Replies: 7
Views: 692

Re: Create Parts in Ditamaps

Hi Adam, One workaround would be to define your own @outputclass values on <topicref> or <topichead> map elements, then write your own DITA-OT plugin to make this work somehow -- either by turning your map into a bookmap during "mapref" reading in preprocessing, or by implementing override...
by chrispitude
Tue May 09, 2023 3:53 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: note element specializations: Oxygen issues
Replies: 3
Views: 406

Re: note element specializations: Oxygen issues

I wonder if a cc_config_ext.xml file provides any controls that would be useful? Configuring the Proposals for Elements and Attributes Configuring the Proposals for Attribute and Element Values For example, something like: <elementProposals path="caution"> <insertAttribute name="type&...
by chrispitude
Tue May 09, 2023 2:42 pm
Forum: Common Problems
Topic: Easily installing new Oxygen publishing engines in linux
Replies: 2
Views: 2459

Re: Easily installing new Oxygen publishing engines in linux

Here is an updated script that uses the current archive file naming convention (no more "-3.x" in the file name). It also fixes a bug with how the fonts/ filesystem link was created. #!/bin/bash # get the absolute on-disk path to where the archive will place the publishing engine rm -rf ./...
by chrispitude
Tue May 09, 2023 2:37 pm
Forum: Common Problems
Topic: Can I customize the WebHelp "Main Page" to point to a DITA topic?
Replies: 15
Views: 17270

Re: Can I customize the WebHelp "Main Page" to point to a DITA topic?

Hi InspectorSpacetime,

Thank you for suggesting other options! Sometimes in the heat of battle, we stop at the first working solution, where another more optimal solution exists. It is always good to evaluate alternatives.
by chrispitude
Tue May 09, 2023 2:25 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Providing DITA plugins in an Oxygen project directory?
Replies: 14
Views: 5093

Re: Providing DITA plugins in an Oxygen project directory?

Here is an updated script that detects and deletes obsolete Oxygen installation directories (where the uninstaller removed all the Oxygen files, but a "frameworks" directory exists by itself containing only the links previously created by this script). @rem chrispy - 5/9/2023 @echo off net...
by chrispitude
Tue May 09, 2023 12:02 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Create Parts in Ditamaps
Replies: 7
Views: 692

Re: Create Parts in Ditamaps

HI Adam, For HTML-based outputs, if you navigate to an "empty" map element that has no topic content associated with it (like a <part> with a navtitle but no @href to a topic), then you are taken to the next element in the map that does have content. So adding placeholder topics to these e...
by chrispitude
Mon May 08, 2023 11:16 am
Forum: Feature Request
Topic: Enable running multiple Find/Replace in Files in background
Replies: 6
Views: 988

Re: Enable running multiple Find/Replace in Files in background

Hi Stepan,

In the Oxygen project I have open, Find/Replace in Files took 145 seconds to search 41,861 files.

How many files do you have, and how long does a search take?
by chrispitude
Sun May 07, 2023 10:57 pm
Forum: Common Problems
Topic: Can I customize the WebHelp "Main Page" to point to a DITA topic?
Replies: 15
Views: 17270

Re: Can I customize the WebHelp "Main Page" to point to a DITA topic?

Hi DITAUser123, Context-sensitive help lookups should always use the cshelp.html file for the lookup, as described here: Context-Sensitive Help System This is true even if you aren't overriding the main page. Hi InspectorSpacetime, Is your JavaScript redirect identical in function to the <meta http-...
by chrispitude
Sun May 07, 2023 10:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Create Parts in Ditamaps
Replies: 7
Views: 692

Re: Create Parts in Ditamaps

Hi Adam, If it helps, the <part> element can point to a topic file just like chapters, etc. So you could do something like <part href="part1.dita"> <chapter ...> <topicref .../> </chapter> </part> Are you creating PDF outputs, HTML outputs, or both? - Chris