Search found 909 matches

by chrispitude
Fri Jul 21, 2023 12:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic level reuse in concatenated DITA maps
Replies: 13
Views: 1124

Re: Topic level reuse in concatenated DITA maps

As Cory mentioned (I work with him!), our WebHelp maps instantiate bookmaps in a consistent way and our in-house solution expects that. For a generalized solution, customers would need some kind of control. Maybe WebHelp could look for the presence of @outputclass="wh_scope" properties (or...
by chrispitude
Thu Jul 20, 2023 3:09 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic level reuse in concatenated DITA maps
Replies: 13
Views: 1124

Re: Topic level reuse in concatenated DITA maps

Hi Marius,

Can you let us know the issue ID for the scoped search enhancement?
by chrispitude
Thu Jul 20, 2023 2:28 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic level reuse in concatenated DITA maps
Replies: 13
Views: 1124

Re: Topic level reuse in concatenated DITA maps

Hi Jeff, When you say the other topics are shown as related links, are you referring to the "Similar results" list that Marius showed? Are you looking for search to show only the results inside the book that the current topic belongs to, when the search bar at the top of that topic page is...
by chrispitude
Wed Jul 19, 2023 2:18 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Topic level reuse in concatenated DITA maps
Replies: 13
Views: 1124

Re: Topic level reuse in concatenated DITA maps

Hi Jeff,

In your output directory, do you have a single version or multiple versions of your multiple-instance topics?
by chrispitude
Sun Jul 16, 2023 5:37 pm
Forum: General XML Questions
Topic: element structure is not serialized in <xsl:message> in XSLT debugger
Replies: 1
Views: 659

element structure is not serialized in <xsl:message> in XSLT debugger

I am trying to show some element structures in <xsl:message> statements in my stylesheet. For example, <xsl:template match="*"> <xsl:message>ELEMENT: <xsl:sequence select="."/></xsl:message> <xsl:next-match/> </xsl:template> Given the following input document: <topic id="top...
by chrispitude
Wed Jul 12, 2023 3:28 pm
Forum: Common Problems
Topic: Using xsl replace function with regular expression to find multiple instances
Replies: 2
Views: 423

Re: Using xsl replace function with regular expression to find multiple instances

Hi Ann, while you might be able to come up with a clever regex with lookaheads and lookbehinds to do this, it would not be very maintainable. I think a better solution is to use <xsl:analyze-string> to grab the content inside [[...]] constructs, then do the simple replace inside that: <xsl:analyze-s...
by chrispitude
Wed Jul 12, 2023 3:21 pm
Forum: Common Problems
Topic: display list of valid elements
Replies: 6
Views: 701

Re: display list of valid elements

In my example, <prolog> is not valid in its location, and <p> is not valid inside a <prolog>. Yet in Oxygen (desktop version), if I place my cursor inside the <p> element inside the <prolog>, the Elements view shows me valid child elements of <p>.
by chrispitude
Tue Jul 11, 2023 1:53 pm
Forum: Common Problems
Topic: display list of valid elements
Replies: 6
Views: 701

Re: display list of valid elements

Hi Smita, I don't use Oxygen Web Author, but I tried this DITA experiment in Oxygen: <topic> <title>My Topic</title> <body> <p></p> <prolog><p></p></prolog> </body> </topic> The first <p> is in a valid location, but the second <p> is not. In both cases, the Elements view shows me the valid child ele...
by chrispitude
Thu Jul 06, 2023 8:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Are profiling condition descriptions used anywhere?
Replies: 4
Views: 576

Re: Are profiling condition descriptions used anywhere?

Thanks Radu! That was exactly my problem - when I checked in various places, I hovered over the labels and not the checkboxes.

- Chris
by chrispitude
Wed Jul 05, 2023 6:58 pm
Forum: Other Issues
Topic: redundant warning about duplicate include of stylesheet
Replies: 5
Views: 728

Re: redundant warning about duplicate include of stylesheet

Hi hepabolu,

How are you running these refactoring operations? Is it as a refactoring operation with a descriptor file, a refactoring transformation, etc.?
by chrispitude
Wed Jul 05, 2023 4:40 pm
Forum: Common Problems
Topic: Custom Term List not honoured?
Replies: 3
Views: 543

Re: Custom Term List not honoured?

This clarification was also useful to me. Thank you Adrian!
by chrispitude
Wed Jul 05, 2023 3:57 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Are profiling condition descriptions used anywhere?
Replies: 4
Views: 576

Are profiling condition descriptions used anywhere?

In the Oxygen definition for a profiling condition, there are values for a "label" and "description": image.png I see the label used in dialog boxes and tooltips, but I don't see the description. Is it used anywhere? Here is a small testcase: profiling_condition_description.zip T...
by chrispitude
Wed Jul 05, 2023 2:23 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 Syncro Soft, To bring the conversation back to the original issue, the request is to disable the toc/tiles main page completely, and instead have the WebHelp's index.html page open to a default "landing page" DITA topic authored by the writers. Right now we are using the "good enou...
by chrispitude
Fri Jun 30, 2023 12:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Duplicate Title Names on Cover Page in PDF Output
Replies: 4
Views: 457

Re: Duplicate Title Names on Cover Page in PDF Output

Hi Tinmen, I'm glad you got it working! My reference to the merged HTML file was not to an HTML transformation, but rather to the PDF transformation you are already running. When you run a PDF Chemistry transformation, you should get a .merged.html file in the working directory as described here: ht...
by chrispitude
Thu Jun 29, 2023 2:56 pm
Forum: Common Problems
Topic: dependencies in cc_config.xml
Replies: 5
Views: 616

Re: dependencies in cc_config.xml

Hi Oliver,

It does seem like a bug to me too.
by chrispitude
Thu Jun 29, 2023 2:34 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Duplicate Title Names on Cover Page in PDF Output
Replies: 4
Views: 457

Re: Duplicate Title Names on Cover Page in PDF Output

Hi Tinmen, Somehow I think your XPath expression is picking up multiple <mainbooktitle> elements. If you look in the merged HTML file produced by PDF Chemistry, do you see multiple such elements? I tried a simple testcase with your CSS and I do not get a duplicated title: test_bookmap_with_css.zip Y...
by chrispitude
Fri Jun 23, 2023 11:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: No string named 'Ordered List Format 0' was found error when generating XSL PDF
Replies: 5
Views: 518

Re: No string named 'Ordered List Format 0' was found error when generating XSL PDF

Hi Annette, If you can reproduce this message with the regular DITA Open Toolkit available here: https://www.dita-ot.org/download then the issue is not specific to Oxygen, and you could ask about the message in the DITA-OT users group here: https://groups.google.com/g/dita-ot-users Or, you could fil...
by chrispitude
Fri Jun 23, 2023 12:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing elements and attributes
Replies: 3
Views: 417

Re: Customizing elements and attributes

Hi Sunil, If you are open to using a RelaxNG grammar instead of a DTD grammar, you could use make_dita_grammar.pl , located here: chrispy-snps/DITA-plugin-utilities (github.com) with an input file like this: <plugin directory="./com.mycompany.docshell" uri_prefix="com:mycompany:docshe...
by chrispitude
Thu Jun 22, 2023 3:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing elements and attributes
Replies: 3
Views: 417

Re: Customizing elements and attributes

Hi Sunil, You can configure a cc_config_ext.xml file as described here: Configuring the Proposals for Elements and Attributes then add an entry like this: <elementProposals rejectElements="shortdesc"/> If you want a quick way to experiment with this, you can use the testcase provided here ...
by chrispitude
Thu Jun 22, 2023 1:08 pm
Forum: Common Problems
Topic: dependencies in cc_config.xml
Replies: 5
Views: 616

Re: dependencies in cc_config.xml

Hi Oliver,

I was able to reproduce this with the @outputclass attribute in the following testcase:

cc_config_experiment.zip
(18.45 KiB) Downloaded 108 times
by chrispitude
Thu Jun 22, 2023 2:09 am
Forum: Feature Request
Topic: In the DITA Maps Manager, inserting a reference should consider the selected topic's path
Replies: 2
Views: 477

In the DITA Maps Manager, inserting a reference should consider the selected topic's path

In the DITA Maps Manager , when I click on a map element to insert a new file, the resulting dialog box defaults to the directory location of the currently selected topic: image.png This is an extremely useful behavior, and we like it! But we noticed that when inserting a reference to an existing fi...
by chrispitude
Thu Jun 22, 2023 1:00 am
Forum: Feature Request
Topic: Provide invariant permalinks for subtopics
Replies: 3
Views: 721

Re: Provide invariant permalinks for subtopics

I noticed that the links in the left-side navigation TOC and right-side "On this page" TOC show the desired ID-based links: Feature D subtopic: file:/.../topic.html#topic_bqx_x5m_qxb Feature E subtopic: file:/.../topic.html#topic_tdh_y5m_qxb Feature F subtopic: file:/.../topic.html#topic_w...
by chrispitude
Wed Jun 14, 2023 4:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to remove the setting to start new chapter always on the new page?
Replies: 5
Views: 620

Re: How to remove the setting to start new chapter always on the new page?

Hi Justyna,

If the behavior occurs with the standard open-source DITA-OT, perhaps you could post your question on the DITA-OT Users discussion group:

DITA-Users
DITA-OT Users - Google Groups
by chrispitude
Tue Jun 13, 2023 2:48 pm
Forum: Common Problems
Topic: Schematron: how to display the errors and warning based on priority
Replies: 3
Views: 525

Re: Schematron: how to display the errors and warning based on priority

Hi Octavian, As a general comment, it would be useful if the default behavior for new Oxygen installations was to sort by severity. For example, this applies to the following: Validate and Check for Completeness Validate (current topic) Transformation results Terminology Checker results I understand...
by chrispitude
Tue Jun 13, 2023 1:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to remove the setting to start new chapter always on the new page?
Replies: 5
Views: 620

Re: How to remove the setting to start new chapter always on the new page?

Hi Justyna,

Does the issue occur with the default XSL-FO transformation, without your custom plugin?
by chrispitude
Wed Jun 07, 2023 9:49 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding Many Ditamaps to Find Unreferenced Resources
Replies: 7
Views: 1406

Re: Adding Many Ditamaps to Find Unreferenced Resources

Hi Radu, I like your idea of running Find Unreferenced Files on Main Files ! As an alternative to the checkbox, perhaps it could also be invoked from the Project view, by selecting the Main Files folder then selecting Find Unreferenced Files from the context menu. This would make the requested behav...
by chrispitude
Tue Jun 06, 2023 3:21 am
Forum: Other Issues
Topic: Searching for topics that are missing the target
Replies: 2
Views: 457

Re: Searching for topics that are missing the target

Hi jmorales, You could use XPath/XQuery Builder to search your .dita files for a particular XQuery expression. For example, to find all top-level topics that have a <body> but not a <shortdesc> element, you could search for: /*[body][not(shortdesc)] This identifies topics by elements that have a <bo...
by chrispitude
Mon Jun 05, 2023 3:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Author Mode: Too much whitespace in list items with plain text
Replies: 6
Views: 705

Re: Author Mode: Too much whitespace in list items with plain text

Hi Frank, We try to enforce a rule here that any text in <li> and <dd> elements must be in <p> elements. This ensures that the formatting and margins are consistent for content inside and outside list items. With this convention, spacing across the block elements inside an <li> element has no effect...
by chrispitude
Thu Jun 01, 2023 2:28 pm
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, I made a DITA-OT plugin for HTML5-based deliverables ( html5 , webhelp-responsive , pdf-css-html5 ). It is provided in the following testcase: webhelp_task_headings.zip In the plugin, there is an XSLT3 map of heading strings that you can customize: <!-- define heading values to use for task ...