Search found 909 matches

by chrispitude
Sat Mar 04, 2023 7:30 pm
Forum: General XML Questions
Topic: can xmlRefactoring.sh (from Oxygen Scripting) be run in a dry-run mode?
Replies: 1
Views: 451

can xmlRefactoring.sh (from Oxygen Scripting) be run in a dry-run mode?

I would like to use Oxygen Scripting's xmlRefactoring.sh script to do some runtime testing and profiling of a complex refactoring operation via a batch file. Is there a way to run xmlRefactoring.sh in a "dry-run" mode that would not modify the files, but instead would simply perform the pr...
by chrispitude
Fri Mar 03, 2023 3:36 pm
Forum: Feature Request
Topic: Profiling vs Output File Names from Transforms
Replies: 4
Views: 706

Re: Profiling vs Output File Names from Transforms

Hi jmorales, I should also mention that if you use DITA-OT project files, then currently you must run transformations from the project file, either from its context menu in the Project view, or by opening it in the editor and clicking on the transformation buttons shown by the editing window CSS. Ou...
by chrispitude
Thu Mar 02, 2023 3:23 pm
Forum: Feature Request
Topic: Profiling vs Output File Names from Transforms
Replies: 4
Views: 706

Re: Profiling vs Output File Names from Transforms

Hi jmorales, If you define your deliverables using DITA-OT project files , you can do this. DITA-OT 4.0 implemented the following enhancement, which allows the PDF filename to be specified uniquely for each deliverable: #3682: In DITA-OT project files, allow a PDF <deliverable> to specify its output...
by chrispitude
Wed Mar 01, 2023 10:45 pm
Forum: Feature Request
Topic: In "Add/Change attribute" refactoring, support value XPath expressions
Replies: 2
Views: 442

Re: In "Add/Change attribute" refactoring, support value XPath expressions

Here is the refactoring operation I used for now:

set-evaluated-attribute.zip
(1.47 KiB) Downloaded 113 times
by chrispitude
Wed Mar 01, 2023 8:22 pm
Forum: Feature Request
Topic: In "Add/Change attribute" refactoring, support value XPath expressions
Replies: 2
Views: 442

In "Add/Change attribute" refactoring, support value XPath expressions

Let's say I have a table like this: image.png I would like each row to have an @id value equivalent to its first-column value, so it can be specifically referenced. It would be great if the Add/Change attribute refactoring operation had a "Evaluate value as XPath" that would evaluate the g...
by chrispitude
Wed Mar 01, 2023 3:39 pm
Forum: Common Problems
Topic: Different table borders
Replies: 2
Views: 490

Re: Different table borders

Hello Mr. User, Could you put your "bad" and "good" PDF files in an archive and post it here? Sometimes PDFs can get funny about how line widths are rendered, and it can vary by PDF viewer. Another possibility is some kind of order-of-rendering issue, but it will help to examine ...
by chrispitude
Wed Mar 01, 2023 12:31 am
Forum: Feature Request
Topic: Parameter to control search bar position
Replies: 6
Views: 1263

Re: Parameter to control search bar position

Hi Cosmin, I wonder if there could be an interactive tool like the Styles Basket, but that instead builds template HTML files with some kind of interface that allows the components to be placed and arranged. If this interface is shown in the browser, then the browser's own CSS Flexbox support could ...
by chrispitude
Thu Feb 23, 2023 12:08 pm
Forum: XSLT and FOP
Topic: How to replace entire document, including prolog
Replies: 8
Views: 1443

Re: How to replace entire document, including prolog

Please also add my name to this request. It would be nice to configure toolbar buttons or menu/submenu items that directly run certain common refactoring operations.
by chrispitude
Mon Feb 13, 2023 5:02 pm
Forum: Feature Request
Topic: Omit printing of Prologue information when it is minimized
Replies: 2
Views: 1417

Re: Omit printing of Prologue information when it is minimized

Hi mwn,

How are you generating your PDF? Are you running a PDF transformation, or are you doing a File > Print from a topic or expanded map in Oxygen?

- Chris
by chrispitude
Mon Feb 13, 2023 5:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Custom drop list for elements
Replies: 6
Views: 735

Re: Custom drop list for elements

Hi Alex,

This is the first I've heard of LESS support in Oxygen! Where can I learn more about this support?

- Chris
by chrispitude
Tue Feb 07, 2023 3:49 am
Forum: Feature Request
Topic: Making @class attributes available to refactoring operations
Replies: 6
Views: 1201

Making @class attributes available to refactoring operations

When processing or validating DITA, it can be useful to access the @class attribute. For example, this template: <xsl:template match="addressdetails|administrativearea|b|codeph|coords|country|delim|em|equation-inline|equation-number|filepath|hwcontrol|i|lcAreaCoords|lcAreaCoords2|light-b|line-t...
by chrispitude
Mon Feb 06, 2023 11:00 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: cc_config.xml automatic element insertion no longer works for <note> elements
Replies: 3
Views: 530

Re: cc_config.xml automatic element insertion no longer works for <note> elements

Thanks Alex! I will modify our action for now.

Can you let me know the issue ID for the enhancement to consider element insertion proposals in action-inserted fragments?
by chrispitude
Sat Feb 04, 2023 9:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: cc_config.xml automatic element insertion no longer works for <note> elements
Replies: 3
Views: 530

cc_config.xml automatic element insertion no longer works for <note> elements

For elements that allow both block elements and plaintext (such as <note> and <li> ), we try to avoid plaintext. So in our cc_config_ext.xml file, we have entries like this: <elementProposals path="dd" insertElements="p"/> <elementProposals path="li" insertElements=&quo...
by chrispitude
Thu Feb 02, 2023 2:38 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation
Replies: 5
Views: 822

Re: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation

Radu - thank you for fixing this so quickly! And thank you for contributing this fix back to the DITA-OT.
by chrispitude
Wed Feb 01, 2023 5:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Searching for Missing Spaces in Content
Replies: 5
Views: 650

Re: Searching for Missing Spaces in Content

And for either method (regular-expression search or XPath search), you can create a test topic with example constructs that should be found or not found, then experiment on that single file with the scope set to Current File . This can save time and build confidence in the technique before you apply...
by chrispitude
Wed Feb 01, 2023 5:09 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Searching for Missing Spaces in Content
Replies: 5
Views: 650

Re: Searching for Missing Spaces in Content

Hi tpopp, You could open Window > Show View > XPath/XQuery Builder , then search for the following XPath expression: //(ph|b|u|i|codeph)[matches(., '[A-Z][a-z]$')][following-sibling::node()[1][matches(., '^[A-Za-z]')]] This searches for any <ph> , <b> , <u> , or <i> element that ends in a letter, fo...
by chrispitude
Sun Jan 29, 2023 5:05 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: abbreviated-form and keyref
Replies: 3
Views: 583

Re: abbreviated-form and keyref

Hi Gaspard,

Which transformation type are you using for output?

- Chris
by chrispitude
Thu Jan 26, 2023 1:19 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp Responsive XSLT Extension Points
Replies: 7
Views: 820

Re: WebHelp Responsive XSLT Extension Points

Try the following testcase: webhelp_example_curtis.zip It adds text to the top of each different page type (home page, topic pages, search page, index terms page). To run it, just open the DITA-OT project file named project.xml , then publish that deliverable. I recommend Oxygen v25+ because it has ...
by chrispitude
Wed Jan 25, 2023 8:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp Responsive XSLT Extension Points
Replies: 7
Views: 820

Re: WebHelp Responsive XSLT Extension Points

You might need to match "/*" (the root element) instead of "/" (the document root).
by chrispitude
Wed Jan 25, 2023 3:59 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp Responsive XSLT Extension Points
Replies: 7
Views: 820

Re: WebHelp Responsive XSLT Extension Points

Hi gszabo,

Can you add mode="copy_template" to your templates to see if they work as expected?

Code: Select all

<xsl:template match="..." mode="copy_template">
  <!-- ... -->
</xsl:template>
by chrispitude
Wed Jan 25, 2023 2:13 pm
Forum: Feature Request
Topic: oxygen-term-checker in Framework?
Replies: 5
Views: 803

Re: oxygen-term-checker in Framework?

Radu - agreed! I only included this second part for bonus points. The first part is how we distribute our Terminology Checker settings in our framework directory (even though it's not really a part of the framework itself).
by chrispitude
Wed Jan 25, 2023 1:55 pm
Forum: Feature Request
Topic: oxygen-term-checker in Framework?
Replies: 5
Views: 803

Re: oxygen-term-checker in Framework?

We simulate this by (1) storing Terminology add-on settings in the .xpr project file as Project settings, and (2) specifying the terminology rules directory inside where our custom framework directory is: image.png Although perhaps it's not really part of the framework itself, it's still a good orga...
by chrispitude
Sun Jan 22, 2023 3:21 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Import profiling colors and styles from ditaval
Replies: 4
Views: 692

Re: Import profiling colors and styles from ditaval

Hi Heidi, Currently, Oxygen stores the imported DITAVAL information in the Oxygen .xpr file. To change/add/remove colors, the .xpr file must be updated and redistributed. We filed enhancement request EXM-47205 to import DITAVAL dynamically at runtime: Feature Request: Have an Oxygen project obtain a...
by chrispitude
Fri Jan 20, 2023 2:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: dl dt tags to be rendered as table in webhelp output
Replies: 2
Views: 461

Re: dl dt tags to be rendered as table in webhelp output

Hi Alin,

This is pretty cool! Thank you for sharing it.

We would probably tie the conversion to some @outputclass value in the DITA so it can be selectively used.
by chrispitude
Thu Jan 19, 2023 2:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Chapter and Topic Nesting
Replies: 3
Views: 525

Re: Chapter and Topic Nesting

Building on Julien's suggestion, you can place the <topichead> in either the submap file: <!-- chapter_submap.ditamap --> <map> <topichead navtitle="Introduction"> <topicref href="installation_process_and_deliverables.dita"/> <topicref href="system_and_bios_requirements.dita...
by chrispitude
Tue Jan 17, 2023 2:42 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Chunked topic title not appearing as Page TOC on right pane
Replies: 3
Views: 558

Re: Chunked topic title not appearing as Page TOC on right pane

Hi Sumi, Adding to what Costin said, if you inspect the WebHelp topic structure, you will see an HTML structure like this, with an @id of wh_topic_toc : <nav role="navigation" id="wh_topic_toc" aria-label="On this page" class="col-lg-2 d-none d-lg-block navbar d-pr...
by chrispitude
Tue Jan 17, 2023 12:22 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Icons in the top menu
Replies: 2
Views: 387

Re: Icons in the top menu

Hi Swapna,

What tool are you using, and what menus/icons are you referring to? Can you share a small picture of the misalignment?
by chrispitude
Fri Jan 13, 2023 2:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation
Replies: 5
Views: 822

Re: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation

Hi Julien,

Thanks for filing the DITA-OT issue! I thought I checked the regular DITA-OT to see if this was an underlying issue, but I must have done something wrong in checking that.
by chrispitude
Thu Jan 12, 2023 4:21 am
Forum: Feature Request
Topic: Consider DITA-OT project file contexts in "Validate and Check for Completeness"
Replies: 4
Views: 985

Re: Consider DITA-OT project file contexts in "Validate and Check for Completeness"

Hi Radu, I understand your reluctance. I can share a real-world example from our documentation. We have a book that is used in eight different help collections, profiled by a different @product value in each collection. Let's say I am the writer who owns this book. My book has many condition-profile...
by chrispitude
Wed Jan 11, 2023 8:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation
Replies: 5
Views: 822

Re: .ditamap file is replaced with its DITA-OT temporary file equivalent after transformation

I think this issue is specific to the implementation of args.root.map in the pdf-css-html5-single-topic transformation. Here's a testcase: oxygen_corrupted_map.zip To reproduce the issue, Open the .xpr file. Open the .ditamap file. Open the topic from the DITA Maps Manager . Make sure the topic edit...