Search found 909 matches

by chrispitude
Sun Feb 11, 2024 4:21 pm
Forum: Common Problems
Topic: Preserve Whitespace For Elements with Specific Text
Replies: 7
Views: 329

Re: Preserve Whitespace For Elements with Specific Text

Hi dreifsnider, What language is your post-processing tool written in? Maybe it can be upgraded to normalize spaces in each string before it compares them? "Normalizing spaces" typically means replace multiple spaces/newlines with a single space, and removing leading/trailing whitespace co...
by chrispitude
Sun Feb 11, 2024 4:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to hide parts of the file path in Web Help URL
Replies: 3
Views: 444

Re: How to hide parts of the file path in Web Help URL

Hi Tanja, There is some similar discussion here: Flattening URL link for my online help It would be nice if WebHelp could someday support DITA-OT rewrite rules, so that the directory structure could be freely reorganized at publishing time. We have cases similar to yours where we would like to hide ...
by chrispitude
Sat Jan 06, 2024 3:09 am
Forum: Feature Request
Topic: Convert MathML/LaTeX equations to SVG files during HTML transformations
Replies: 2
Views: 305

Convert MathML/LaTeX equations to SVG files during HTML transformations

This is a follow-up to the discussion here: MathML rendering for PDF We need a way to publish MathML/LaTeX equations to SVG files during html5 and webhelp-responsive transformations, instead of relying on MathJax to do dynamic rendering at viewing time. This is a requirement for the new project I am...
by chrispitude
Sat Jan 06, 2024 1:53 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: MathML rendering for PDF
Replies: 11
Views: 3509

Re: MathML rendering for PDF

Hi Julien, Is there any news on rendering MathML to SVG image files at publishing time for HTML-based transformations? This is a requirement for the new project I am working on. We are using the html5 transformation in Oxygen Publishing Engine to publish DITA content for use by a large language mode...
by chrispitude
Wed Jan 03, 2024 9:42 pm
Forum: Common Problems
Topic: Scroll bar always on right side in Oxygen XML Webhelp v26.0
Replies: 2
Views: 227

Re: Scroll bar always on right side in Oxygen XML Webhelp v26.0

It seems to be caused by this CSS rule:

Code: Select all

html{overflow-y:scroll
which is in

out/oxygen-webhelp/app/topic.css

This rule is not there in the 25.1 output. If I comment it out or set the property to "auto", the problem is avoided.
by chrispitude
Wed Jan 03, 2024 9:28 pm
Forum: Common Problems
Topic: Scroll bar always on right side in Oxygen XML Webhelp v26.0
Replies: 2
Views: 227

Scroll bar always on right side in Oxygen XML Webhelp v26.0

Starting with the v26.0 release of WebHelp, there is always a scroll bar placeholder on the right side of Chrome browser windows: image.png The window is high enough that no scroll bar actually appears, but the placeholder is still there and cannot be removed. In v26.0, this happens only with Chrome...
by chrispitude
Wed Dec 27, 2023 4:52 pm
Forum: Feature Request
Topic: how to split a huge XML file
Replies: 1
Views: 151

Re: how to split a huge XML file

Hi Xinchen, What kind of XML file is it? How do you want to split it? Does the structure or schema require it to be split in a certain way to ensure that the resulting files are valid? To help us understand your request, can you provide a small sample of the content, and show us where that sample wo...
by chrispitude
Fri Dec 22, 2023 8:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Incorrect footnote spacing
Replies: 3
Views: 543

Re: Incorrect footnote spacing

Hi Vinny,

When you open the temporary merged HTML file in a browser, do you see the misaligned spacing there?

If so, can you use the browser's CSS/element inspector to see if the problem is due to CSS margin/padding values, or due to embedded spaces in one of the elements?
by chrispitude
Fri Dec 22, 2023 5:37 pm
Forum: Feature Request
Topic: Running a refactoring operation only on the root map of a map hierarchy
Replies: 1
Views: 202

Running a refactoring operation only on the root map of a map hierarchy

I am working on a refactoring operation that processes an entire map at once, including all submap and topic files. The transformation must consider information about the entire map hierarchy. Thus, the stylesheet runs in two stages like this: <!-- this should match ONLY the root map of the entire m...
by chrispitude
Fri Dec 22, 2023 1:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Incorrect footnote spacing
Replies: 3
Views: 543

Re: Incorrect footnote spacing

Hi Vinny,

Is this in HTML, WebHelp, or PDF output?

For any of those three, I would start by opening the relevant HTML file, then using your favorite browser to inspect the elements and their CSS rules. See if there are embedded spaces or differences in margin/padding value between these entries.
by chrispitude
Wed Dec 20, 2023 2:44 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: can't get index configuration to work
Replies: 6
Views: 564

Re: can't get index configuration to work

Hi Geert, We use the CSS-based PDF transformation. It is particularly nice because we are able to share common CSS styling across all of the following: Oxygen editor PDF outputs WebHelp outputs We have a set of four CSS files: our-common.css our-editor.css our-pdf.css our-webhelp.css where 90% of th...
by chrispitude
Fri Dec 08, 2023 2:17 pm
Forum: Common Problems
Topic: Whether there is a some way to record a macros - to eliminate repetitive actions?
Replies: 3
Views: 380

Re: Whether there is a some way to record a macros - to eliminate repetitive actions?

Hi Dan, Refactoring operations are my favorite way to automate content changes. There is a nice interface to view their names and descriptions, it's easy to change the scope of where they operate, they can be previewed before being run, and they can be shared in a project across a team. As Radu says...
by chrispitude
Sat Dec 02, 2023 4:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Webhelp responsive: how to Modify the file name 'index.html'
Replies: 3
Views: 1674

Re: Webhelp responsive: how to Modify the file name 'index.html'

Here is the opposite request, which is to rename some other HTML topic in the output to become the index.html file (so that browsers auto-open it): Can I customize the WebHelp "Main Page" to point to a DITA topic? Although the request is different, perhaps the rewrite rules machinery could...
by chrispitude
Thu Nov 16, 2023 3:15 pm
Forum: Common Problems
Topic: "!" in topic title and linktext cannot be recognized
Replies: 5
Views: 540

Re: "!" in topic title and linktext cannot be recognized

Hi galanohan, To reproduce this without sharing internal information, perhaps you could try the following: Extract the files for the problematic bookmap ( DITA Maps > Export DITA Map ). In your standalone testcase, use the Delete element refactoring operation to delete all <body> elements. This shou...
by chrispitude
Wed Nov 15, 2023 4:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Making pagination controls accessible to DITA writers
Replies: 5
Views: 2025

Re: Making pagination controls accessible to DITA writers

Hi Ray, I'm glad you got it working! Since my original message in 2019, we also support two additional properties, keep-together and allow-breaks-inside : *[paginate~="keep-together"] { page-break-inside: avoid; } *[paginate~="allow-breaks-inside"] { page-break-inside: auto; } Fo...
by chrispitude
Mon Nov 13, 2023 2:06 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Making pagination controls accessible to DITA writers
Replies: 5
Views: 2025

Re: Making pagination controls accessible to DITA writers

Hi Ray, DITA supports three DITA schema formats - XSD, DTD, and RNG (RelaxNG). My DITA specialization utility creates RelaxNG schemas because RelaxNG is the easiest and most powerful of the three schema formats. You could also specialize a @paginate attribute in DTD, but I do not know how to do that...
by chrispitude
Sat Nov 11, 2023 10:26 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Issue with [b]Note:[/b] Text Splitting in Output File
Replies: 7
Views: 730

Re: Issue with [b]Note:[/b] Text Splitting in Output File

Hi Amit,

You will need to use the CSS inspector in your browser on your actual output to see what CSS rule is taking precedence and causing the title to be rendered on a separate line.
by chrispitude
Tue Nov 07, 2023 3:32 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Issue with [b]Note:[/b] Text Splitting in Output File
Replies: 7
Views: 730

Re: Issue with [b]Note:[/b] Text Splitting in Output File

Hi Amit, If you use your browser's CSS inspector to look at the note styling, you will see the following property that styles the note title as a block element: span.note__title { display: block; } To get the styling you want, you can create a custom CSS file that styles the note title as an inline ...
by chrispitude
Fri Nov 03, 2023 2:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Issue with [b]Note:[/b] Text Splitting in Output File
Replies: 7
Views: 730

Re: Issue with [b]Note:[/b] Text Splitting in Output File

Hi Amit,

Are you saying that you want the note text to be on the same line as the "Note:" label?
by chrispitude
Fri Oct 27, 2023 2:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Converting attributes set in the map to element in a prolog
Replies: 3
Views: 368

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

Hi Gaspard, When I want to "wedge into" existing processing to apply some incremental change to it, I use a two-step approach. First, I capture the results of <xsl:next-match> , which returns the result of whatever processing would have applied if the current template did not exist, then a...
by chrispitude
Sun Oct 22, 2023 2:29 pm
Forum: Feature Request
Topic: Git Plugin Does not make use of Git Credential Manager
Replies: 2
Views: 413

Re: Git Plugin Does not make use of Git Credential Manager

Hi super-structure,

Adding to what Alex suggested, we register SSH keys with the Git server and it works very well. The server recognizes each user by their key and there is no need to authenticate. If this sounds interesting but you are not sure how to do it, let me know and I can try to help.
by chrispitude
Sun Oct 22, 2023 2:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: topicref inheriting attributes from topic
Replies: 7
Views: 863

Re: topicref inheriting attributes from topic

Hi MStarodub,

Are you asking about displaying a topic's attribute in the DITA Maps Manager in Oxygen (DITA Maps Manager), or actually inheriting the attribute value during publishing/transformation?
by chrispitude
Fri Oct 13, 2023 2:23 pm
Forum: Feature Request
Topic: Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file
Replies: 11
Views: 2832

Re: Feature Request: Have an Oxygen project obtain all profiling condition information from DITAVAL file

I see that EXM-47205 has been implemented in Oxygen v26, using the new Automatically apply colors and styles from DITAVAL files referenced in the Main Files folder configuration option: Oxygen XML documentation > Colors and Styles Preferences Thanks very much for implementing this! I contributed an ...
by chrispitude
Fri Oct 13, 2023 2:14 pm
Forum: Feature Request
Topic: Allow refactoring descriptor file to specify default file patterns
Replies: 6
Views: 913

Re: Allow refactoring descriptor file to specify default file patterns

I see that this has been implemented in Oxygen v26 via the @filesFilter attribute:

https://www.oxygenxml.com/doc/versions/ ... tools.html

Thank you!
by chrispitude
Fri Oct 13, 2023 1:28 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: In Schematron quick-fix XSLT, can default attributes be suppressed?
Replies: 3
Views: 382

Re: In Schematron quick-fix XSLT, can default attributes be suppressed?

Thanks Octavian! The fix proved to be simple and compact. And when using a refactoring operation in Schematron like this, I will always use a moded template to apply the fix, so it is no problem. Now this discussion can document the solution for others. :)
by chrispitude
Wed Oct 11, 2023 10:07 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: In Schematron quick-fix XSLT, can default attributes be suppressed?
Replies: 3
Views: 382

Re: In Schematron quick-fix XSLT, can default attributes be suppressed?

This removed the superfluous attributes:

Code: Select all

<xsl:template match="@class|@domains|@*:DITAArchVersion" mode="fix-glossterm-acronym"/>
by chrispitude
Wed Oct 11, 2023 9:27 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: In Schematron quick-fix XSLT, can default attributes be suppressed?
Replies: 3
Views: 382

In Schematron quick-fix XSLT, can default attributes be suppressed?

I have a Schematron quick-fix that adds <glossAcronym> and <glossSurfaceForm> to a <glossEntry> . It does this by calling a small bit of XSLT to update the <glossEntry> . When I run the quick-fix on this: <glossgroup id="glossary"> <title>My Glossary</title> <glossentry id="ddl">...
by chrispitude
Mon Oct 09, 2023 1:29 pm
Forum: Common Problems
Topic: Find/Replace in files appears to use a stale index sometimes
Replies: 12
Views: 1128

Re: Find/Replace in files appears to use a stale index sometimes

Hi Radu, I just realized something. In my case, I am using WSL in Windows 10, which is a linux environment inside Windows. It is possible that there is some kind of filesystem issue because I am running Oxygen in Windows, but I edit files in WSL/Linux using vim. Next time this happens, I will try to...