Search found 909 matches

by chrispitude
Wed Jan 11, 2023 4:39 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: 845

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

While making a testcase, I was running the PDF - HTML5 & CSS transformation repeatedly. The first few transformations ran normally. The fourth failed due to a corrupted .ditamap file. It turns out that somehow the .ditamap file in my DITA source directory was overwritten with the ${dita.temp.dir...
by chrispitude
Mon Jan 09, 2023 3:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: To achieve a specific header for the chapter
Replies: 7
Views: 882

Re: To achieve a specific header for the chapter

Hi Sunil,

You could try the oxy_label() feature:

How to Style a Part of the Text from the Header

although it looks like there is a limitation with string() that will affect how you must apply the CSS.
by chrispitude
Sat Jan 07, 2023 2:02 am
Forum: Common Problems
Topic: strange printing behaviors for WebHelp topics
Replies: 12
Views: 2178

Re: strange printing behaviors for WebHelp topics

I am hoping there are some kind of CSS print directives that can be added to the WebHelp page structure so that the topic content is printed normally without the viewport/scaling issues. Our previous online help tool supported this, although that tool placed all topic content inside an <iframe> so i...
by chrispitude
Sat Jan 07, 2023 1:57 am
Forum: Common Problems
Topic: strange printing behaviors for WebHelp topics
Replies: 12
Views: 2178

Re: strange printing behaviors for WebHelp topics

In Firefox, the html5 print preview is as follows: image.png In Firefox, the webhelp-responsive print preview is the same with or without a left-side TOC: image.png The page aspect ratio is still correct, but the viewport has scaled the font size down. And the right-size header is cut off, which als...
by chrispitude
Sat Jan 07, 2023 1:54 am
Forum: Common Problems
Topic: strange printing behaviors for WebHelp topics
Replies: 12
Views: 2178

Re: strange printing behaviors for WebHelp topics

In Chrome, the html5 print preview is as follows: image.png The webhelp-responsive print preview for a page with no left-side TOC is as follows: image.png Somehow the viewport is larger, which scales down the font size in both the content and the headers/footers. In addition, the page itself is a di...
by chrispitude
Sat Jan 07, 2023 1:43 am
Forum: Common Problems
Topic: strange printing behaviors for WebHelp topics
Replies: 12
Views: 2178

strange printing behaviors for WebHelp topics

We found some strange printing behaviors for WebHelp topics. Here is a testcase: webhelp_print_page.zip The project.xml file publishes a topic to html5 and webhelp-responsive , with the following simple CSS applied to both: body { font-family: Roboto, sans-serif; font-size: 14px; } .topictitle1, .wh...
by chrispitude
Wed Jan 04, 2023 4:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Home icon in Navbar
Replies: 4
Views: 553

Re: Home icon in Navbar

Hi Swapna,

Where you do want the home icon to link to? The home page of the WebHelp publication?
by chrispitude
Wed Jan 04, 2023 4:10 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Questions about validation of reused topics in different keyscopes
Replies: 3
Views: 589

Questions about validation of reused topics in different keyscopes

We have a large WebHelp map that contains multiple books. Each book has its own keyscope. Some content is reused within multiple books, which also means the content is reused in multiple keyscope contexts. In the following example, "Book4 good" and "Book4 bad" both include a shar...
by chrispitude
Tue Jan 03, 2023 5:58 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: <abbreviated-form keyref="xxx"/>
Replies: 7
Views: 5339

Re: <abbreviated-form keyref="xxx"/>

Hi Julien, I was also surprised by this behavior. I filed a DITA-OT bug for it: #4026: In preprocess2, <glossref> elements are ignored but as I found, the DITA spec clearly describes that @print defaults to no for <glossref> references. I have seen other users mention that they use <topicref> instea...
by chrispitude
Tue Jan 03, 2023 4:13 am
Forum: Common Problems
Topic: Alignment of page numbers in TOC on the right side. How?
Replies: 3
Views: 627

Re: Alignment of page numbers in TOC on the right side. How?

Hi Dan,

I created a testcase with the TOC styles you described, but I can't reproduce the misalignment:

chemistry_deep_toc.zip
(17.02 KiB) Downloaded 126 times

Can you share a simple testcase that reproduces the issue, or perhaps modify the testcase above to reproduce it?

- Chris
by chrispitude
Mon Jan 02, 2023 4:14 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Sorting a table with referenced rows
Replies: 3
Views: 484

Re: Sorting a table with referenced rows

Hi Susanne,

In Oxygen v25, I can sort the table in this topic and content in the conref'ed rows is considered properly:

table.zip
(550 Bytes) Downloaded 103 times

Maybe you can try the current Oxygen version and see if it works for you?
by chrispitude
Fri Dec 30, 2022 4:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Cross reference style
Replies: 2
Views: 539

Re: Cross reference style

Hi sure4369,

I think you want to set the args.css.param.show-onpage-lbl transformation parameter to no. For more information, see the following page:

DITA-OT CSS Publishing to PDF Plugin > DITA-OT CSS Publishing to PDF Plugin > Overview > Transformation Parameters
by chrispitude
Thu Dec 29, 2022 5:02 pm
Forum: General XML Questions
Topic: exclude specific tag from word error
Replies: 2
Views: 759

Re: exclude specific tag from word error

Hi Shikhar,

Please see the documentation on spell-checking ignored elements here:

Home > Configuration > Preferences > Editor Preferences > Spell Check Preferences

You should be able to add your indicated element to the list of elements not to check.
by chrispitude
Thu Dec 29, 2022 4:20 pm
Forum: Common Problems
Topic: Alignment of page numbers in TOC on the right side. How?
Replies: 3
Views: 627

Re: Alignment of page numbers in TOC on the right side. How?

Hi Dan,

When I generate a generic pdf-css-html5 PDF with no custom CSS, all the page numbers are properly right-aligned.

If you temporarily remove your CSS, does it publish correctly?
by chrispitude
Thu Dec 29, 2022 1:31 pm
Forum: Common Problems
Topic: Git Plugin fails to push, doesn't ask for credentials
Replies: 3
Views: 653

Re: Git Plugin fails to push, doesn't ask for credentials

Glad to hear that worked!

If you still have the old repo directory, compare the .git/config file between them. This might explain what resolved the issue.
by chrispitude
Wed Dec 28, 2022 3:55 pm
Forum: Common Problems
Topic: Git Plugin fails to push, doesn't ask for credentials
Replies: 3
Views: 653

Re: Git Plugin fails to push, doesn't ask for credentials

Hi T, I also usually try a command-line client to get more information about issues, so it's good you've tested the repository itself. It is strange that pulling works but pushing does not. If you re-clone the repo from Oxygen in a temporary directory, can you push from that clone? Does Reset all cr...
by chrispitude
Fri Dec 23, 2022 6:43 pm
Forum: Feature Request
Topic: Resolve editor variables in string parameter default values of refactoring operations
Replies: 3
Views: 724

Re: Resolve editor variables in string parameter default values of refactoring operations

Thanks Radu! In my testcase, TEXT parameters do not accept empty values; the Next and Finish buttons are disabled until text is present in every TEXT field. Some TEXT parameters might require values while others are optional and can be blank. Is there a way to specify this in the descriptor file?
by chrispitude
Fri Dec 23, 2022 5:53 pm
Forum: General XML Questions
Topic: Reg exp for appending file extension
Replies: 5
Views: 1666

Re: Reg exp for appending file extension

Sometimes for tasks a bit more complicated than this, I create a temporary refactoring operation, run it, then delete it. It would be useful to have something like XPath/XQuery Builder , but that would let me apply XSLT templates that are not worth creating an entire refactoring operation for: <xsl:...
by chrispitude
Fri Dec 23, 2022 2:54 pm
Forum: Feature Request
Topic: "Find Unreferenced Resources" could support DITA-OT project files
Replies: 3
Views: 576

Re: "Find Unreferenced Resources" could support DITA-OT project files

Thanks Radu! For the first enhancement, currently I grep all the .ditamap and .ditaval files out of the context and deliverable files, then create a dummy all.ditamap file to use with Find Unreferenced Resources . But this is not something my writers know how to do, and it is not strictly correct. (...
by chrispitude
Fri Dec 23, 2022 4:18 am
Forum: Feature Request
Topic: "Find Unreferenced Resources" could support DITA-OT project files
Replies: 3
Views: 576

"Find Unreferenced Resources" could support DITA-OT project files

As writers update and restructure their content, we accumulate unused topics, maps, images, and even DITAVAL files. Oxygen has a well-implemented Find Unreferenced Resources feature. However, it is only invokable from the DITA Maps Manager . To run it on multiple input maps, you must open one of the...
by chrispitude
Wed Dec 21, 2022 7:30 pm
Forum: Feature Request
Topic: Resolve editor variables in string parameter default values of refactoring operations
Replies: 3
Views: 724

Resolve editor variables in string parameter default values of refactoring operations

In an XSLT refactoring operation, I would like the default value of a string parameter to default to the current user ID by using an Oxygen editor variable : <parameter type="TEXT" name="my-string-user" label="my-string-user"> <description>my-string-user, defaults to ${...
by chrispitude
Wed Dec 21, 2022 2:00 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Images in PDF scales and occupy full width of the page
Replies: 8
Views: 1172

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

Hi Michael, I made a simple testcase but I cannot reproduce this behavior: chemistry_image_size.zip Are you setting the @width , @height , or @scale attribute? Maybe your PNG file somehow does not have an intrinsic size defined? Maybe you could share a simple testcase that reproduces this behavior? ...
by chrispitude
Tue Dec 20, 2022 3:05 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Images in PDF scales and occupy full width of the page
Replies: 8
Views: 1172

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

Hi Manoj, Can you try setting the @width or @height attribute on the <image> element? This should allow you to control the image size. You can specify units, such as 4in or 200px. You can also set the @scale attribute to a percentage value, to control size relatively instead of absolutely, such as s...
by chrispitude
Tue Dec 20, 2022 2:27 pm
Forum: Common Problems
Topic: Custom icons before the text
Replies: 6
Views: 1042

Re: Custom icons before the text

Hi Mr. User, Whenever I want to change something in the CSS, my first step is to see what rules are applied and where they are coming from, using the CSS inspector of my favorite browser . I suggest using the CSS inspector to see how the default icon is applied, then apply your own icon using the sa...
by chrispitude
Tue Dec 20, 2022 2:16 pm
Forum: Common Problems
Topic: Change TOC title
Replies: 4
Views: 634

Re: Change TOC title

Hi Mr. User,

Which transformation type are you using?
by chrispitude
Tue Dec 20, 2022 12:21 am
Forum: General XML Questions
Topic: Cannot pass static parameters to XSLT refactoring operation
Replies: 1
Views: 549

Cannot pass static parameters to XSLT refactoring operation

In refactoring operations, I would like to allow the user to turn some features on and off. So I tried defining some static stylesheet parameters, then used them to enable templates with use-when : <xsl:param name="remove.rev" as="xs:boolean" select="true()" static=&quo...
by chrispitude
Mon Dec 19, 2022 4:05 pm
Forum: Feature Request
Topic: Update outgoing (but not incoming) references when Main Files content is copied
Replies: 7
Views: 1736

Re: Update outgoing (but not incoming) references when Main Files content is copied

For EXM-49471 Main Files - Update references when resources are copied there is a similar discussion here, except that it relates to copying content elements instead of files: Oxygen XML Editor > DITA (Editing and Publishing DITA Content) > Paste relative path For that issue, Alex implemented a heur...
by chrispitude
Sun Dec 11, 2022 1:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Export DITA Map path issue
Replies: 6
Views: 703

Re: Export DITA Map path issue

Hi Gaspard, Ahh yes! I seem to recall that if the DITA-OT sees a resource outside the local root map directory, it behaves like this to try to fix the problem. I think the Syncro Soft folks would have probably known to suggest this immediately, whereas I made you work for it. :( But I'm glad you got...
by chrispitude
Sun Dec 11, 2022 2:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Export DITA Map path issue
Replies: 6
Views: 703

Re: Export DITA Map path issue

Hi Gaspard, Sometimes when I am simplifying testcases, I will read submap contents in place of their map references. And if the mapref applies a keyscope or something like that, I'll wrap it in a <topicgroup> . For example, something like this: <mapref href="submap.ditamap" keyscope="...
by chrispitude
Sat Dec 10, 2022 3:55 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Export DITA Map path issue
Replies: 6
Views: 703

Re: Export DITA Map path issue

Hi Gaspard, Some questions: Which transformation are you running? Are you setting any interesting transformation parameters? If you make a copy of your project and reduce it to a single topic, does the behavior still occur? If it does not occur with a single topic, try a binary search to narrow down...