Search found 30 matches

by antoterrence
Wed Nov 20, 2019 5:12 pm
Forum: General XML Questions
Topic: How to loop through a DITA map and build a two-column table?
Replies: 3
Views: 2210

Re: How to loop through a DITA map and build a two-column table?

Also when you pass a parameter to a template and you want it to be a node set you do it like this: <xsl:with-param name="node" select="(following-sibling::*)[1]"/> and then in the "get-document" template when you want to access stuff from that node instead of stuff lik...
by antoterrence
Wed Nov 20, 2019 2:35 pm
Forum: General XML Questions
Topic: How to loop through a DITA map and build a two-column table?
Replies: 3
Views: 2210

How to loop through a DITA map and build a two-column table?

Hi, I want to loop through a dita map using XSLT and build a two-column html table. First cell will contain first or even title and the second cell will contain the odd title. I tried creating the following XSLT script but it skips the odd title. And it also populates the second cell in a row with t...
by antoterrence
Thu Oct 03, 2019 5:45 pm
Forum: Common Problems
Topic: Password Protect PDF Output
Replies: 6
Views: 2880

Re: Password Protect PDF Output

Hi, If you are producing the PDF from Oxygen using our DITA to PDF using CSS transformation scenario, in the Oxygen installation folder you can create a subfolder called "config" inside which you can create an XML document called "chemistry-fop.xconf". The contents of that XML d...
by antoterrence
Wed Oct 02, 2019 11:37 pm
Forum: Common Problems
Topic: Dynamically discard registered trademark symbol
Replies: 5
Views: 2195

Re: Dynamically discard registered trademark symbol

Hi, The XSLT stylesheet which outputs the HTML content for the DITA <tm> is located in: OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT3.x/plugins/org.dita.html5/xsl/topic.xsl There is an XSLT template which matches the <tm> element: <xsl:template match="*[contains(@class, ' topic/tm ')]" name...
by antoterrence
Sat Sep 28, 2019 10:20 am
Forum: Common Problems
Topic: Help for CHM Customization
Replies: 3
Views: 1524

Re: Help for CHM Customization

Hi, I do not know a tutorial but for CHM you can customize a couple of things: 1) Using CSS you can customize how the HTML content is rendered. You can create your custom CSS and then edit the transformation scenario, in the Parameters list set the "args.css" to point to your custom CSS s...
by antoterrence
Thu Sep 19, 2019 5:19 am
Forum: Common Problems
Topic: How to modify the pdf properties using CSS Customization
Replies: 2
Views: 1339

Re: How to modify the pdf properties using CSS Customization

The title element of a bookmap is quite complex, and contains elements for the book library and an alternate title: <booktitle> <booklibrary>Retro Tools</booklibrary> <mainbooktitle>Main Book Title</mainbooktitle> <booktitlealt>Book Title Alternative</booktitlealt> </booktitle> The builtin CSS uses...
by antoterrence
Tue Sep 17, 2019 9:39 pm
Forum: Common Problems
Topic: Password Protect PDF Output
Replies: 6
Views: 2880

Password Protect PDF Output

Is there an option to encrypt PDF when PDF transform is run? <renderer mime="application/pdf"> <encryption-params> <user-password>testuserpass</user-password> <owner-password>testownerpass</owner-password> <noprint/> <nocopy/> <noedit/> <noannotations/> <encryption-length>128</encryption-l...
by antoterrence
Tue Sep 17, 2019 3:52 pm
Forum: Common Problems
Topic: How to modify the pdf properties using CSS Customization
Replies: 2
Views: 1339

How to modify the pdf properties using CSS Customization

We are using the CSS Customization option to build our custom PDF output templates. By default, the title filed on the description tab in the PDF properties shows only the value of the maintitle. We want to include the booktitlealt value as well. These pages do not talk about how to set the properti...
by antoterrence
Tue Sep 17, 2019 12:25 pm
Forum: Common Problems
Topic: Is it possible to access map variables from Customization CSS?
Replies: 8
Views: 3252

Re: Is it possible to access map variables from Customization CSS?

If this simplifies the work for your writers, I think you should go on with this CSS+XPath approach. However, if you plan to publish this to other formats, like WebHelp or plain HTML, you will not benefit of this customization, so please take care. Many regards, Dan Thank you, Dan. I kind of figure...
by antoterrence
Tue Sep 17, 2019 12:20 pm
Forum: Common Problems
Topic: Dynamically discard registered trademark symbol
Replies: 5
Views: 2195

Re: Dynamically discard registered trademark symbol

Hi,
Thank you for the response.
Framework is a custom framework based on the default DITA framework.

Outputs = PDF, Webhelp, CHM

We are planning to modify the PDF and webhelp output using CSS customization features.
by antoterrence
Thu Sep 12, 2019 10:11 pm
Forum: Common Problems
Topic: Is it possible to access map variables from Customization CSS?
Replies: 8
Views: 3252

Re: Is it possible to access map variables from Customization CSS?

Thank you. I am now able to construct the copyright content dynamically. *[class ~= "front-page/front-page"]:after(2) { display: block; page: copyright-notice-page; /* Continue on the same page as the first ':after'. */ content: "some legal text"; } *[class ~= "front-page/fr...
by antoterrence
Thu Sep 12, 2019 5:30 pm
Forum: Common Problems
Topic: Remove Chapter Label and Chapter Numbering
Replies: 1
Views: 1305

Remove Chapter Label and Chapter Numbering

We use bookmap template for all types for deliverables. We need to publish guides with chapters and sometimes without chapters.
Is there a way to get rid of chapter label and chapter numbering through the CSS-based custom PDF template?
Thank you in advance.
by antoterrence
Thu Sep 12, 2019 5:08 pm
Forum: Common Problems
Topic: Dynamically discard registered trademark symbol
Replies: 5
Views: 2195

Dynamically discard registered trademark symbol

Hi, We use a lot of variables for product names. The variable values contain the trademark symbols by default. However, the trademark symbol should not be used after the first occurrence. For example, if product A occurs twice, the second occurrence should not have the symbol in the output. Is there...
by antoterrence
Thu Sep 05, 2019 4:52 am
Forum: Common Problems
Topic: Automating assembly of a ditamap
Replies: 3
Views: 1257

Re: Automating assembly of a ditamap

Thank you for the response. We are not using content from any other source. Let's say we have a list of topics. Can we dynamically create a map using that outline? Also, is it possible to add topics to a map file while publishing content?
by antoterrence
Wed Sep 04, 2019 6:03 am
Forum: Common Problems
Topic: Automating assembly of a ditamap
Replies: 3
Views: 1257

Automating assembly of a ditamap

Is it possible to automatically build a map without having to create it manually? If you can point me to a direction, that will be great.
by antoterrence
Wed Aug 21, 2019 7:51 pm
Forum: Common Problems
Topic: Is it possible to access map variables from Customization CSS?
Replies: 8
Views: 3252

Is it possible to access map variables from Customization CSS?

We are planning to create Publishing Template using Customization CSS. For simple maps, the following page says we can add copyright info using CSS selectors: https://www.oxygenxml.com/doc/versions/21.1/ug-pdf-css/topics/dcpp_cover_page.html#ariaid-title9 Problem 1: But it does not create a copyrigh...
by antoterrence
Wed Aug 21, 2019 7:01 pm
Forum: Common Problems
Topic: Cross-referencing topics outside a map
Replies: 4
Views: 1729

Re: Cross-referencing topics outside a map

Thanks. It works.
by antoterrence
Thu Jul 25, 2019 4:43 pm
Forum: Common Problems
Topic: Cross-referencing topics outside a map
Replies: 4
Views: 1729

Re: Cross-referencing topics outside a map

Thank you, Radu. The topic that contains cross references is being reused. So in one map, it works fine. In another, the writer does not want the links to appear in the output except the xref text. Is there a way to disable link (blue line) from the output without removing the xref element? Thanks f...
by antoterrence
Thu Jul 25, 2019 12:36 pm
Forum: Common Problems
Topic: Cross-referencing topics outside a map
Replies: 4
Views: 1729

Cross-referencing topics outside a map

Hi, We have a couple of maps that include topics which in turn contain cross-references to topics that are not part of the maps. Is it a good practice to cross-reference topics that are not part of a map? If done, such cross-references will work only in HTML output and not PDF. Can you guide us on a...
by antoterrence
Thu Jul 04, 2019 2:22 am
Forum: Common Problems
Topic: Help for CHM Customization
Replies: 3
Views: 1524

Help for CHM Customization

Is there a tutorial or documentation on CHM customization? I searched your documentation but found none.
by antoterrence
Thu Jul 04, 2019 2:02 am
Forum: Common Problems
Topic: Reuse a range from a reusable component does not work
Replies: 3
Views: 1475

Re: Reuse a range from a reusable component does not work

My bad. I panicked and asked this question. Sorry about it. I didn't realize when a range of steps is reused, it has the following structure:

Code: Select all

<step conref="" conrefend="">
<cmd/>
<cmd/>
</step> 
by antoterrence
Mon Jul 01, 2019 8:57 am
Forum: Common Problems
Topic: Reuse a range from a reusable component does not work
Replies: 3
Views: 1475

Reuse a range from a reusable component does not work

When I try to reuse a range from a reusable component, it does not work. The range appears as a single step and all cmd elements from the steps within the range is nested under that one single step. <step conref="reuse.dita#ReusableComponent_shc_vfl_g3b/a" conrefend="reuse.dita#Reusab...
by antoterrence
Wed Jun 26, 2019 3:26 pm
Forum: Common Problems
Topic: CHM Output does not display content
Replies: 2
Views: 1480

Re: CHM Output does not display content

Yes, it works fine for my colleague. I too read about it. Without identifying the exact cause, I didn't want to attempt to change any settings on my system.
by antoterrence
Tue Jun 25, 2019 10:02 pm
Forum: Common Problems
Topic: CHM Output does not display content
Replies: 2
Views: 1480

CHM Output does not display content

Hi, When I run the CHM transformation, the build is successful. The TOC is generated. But the content does not load in the content pane. Instead, the following error is displayed. Make sure the web address //ieframe.dll/dnserrordiagoff.htm# is correct I am using Windows 10. One of my colleagues uses...
by antoterrence
Wed Jun 05, 2019 8:20 am
Forum: Common Problems
Topic: Schematron rules for moving the position of an element
Replies: 2
Views: 1360

Schematron rules for moving the position of an element

Hi, We have some issues with the content migrated from another source. Wondering if we can use Schematron rules to provide quick fixes. I know we can use Schematron to replace elements. However, is it possible to change the position of a sibling element so that it becomes a child of a preceding elem...
by antoterrence
Mon May 13, 2019 3:23 pm
Forum: Common Problems
Topic: Variables for document template
Replies: 2
Views: 1541

Re: Variables for document template

Thank you. I got this to work. In some cases, the expanded path is an absolute path and not a relative path. That will cause potential portability issues.
by antoterrence
Mon May 13, 2019 3:21 pm
Forum: Common Problems
Topic: ERROR: contains characters which are not properly URI-encoded
Replies: 3
Views: 1530

Re: ERROR: contains characters which are not properly URI-encoded

We have a typical scenario here. The custom template sit in the installation directory. But the collections (reusable topics) that are part of the bookmap template sit in a separate file system. Naturally, the references to the collections files are going to break since the file system (drive names)...
by antoterrence
Fri May 10, 2019 5:46 pm
Forum: Common Problems
Topic: ERROR: contains characters which are not properly URI-encoded
Replies: 3
Views: 1530

ERROR: contains characters which are not properly URI-encoded

When I use the following method to set a value for @href <topicref processing-role="resource-only" href="${makeRelative(${currentFileURL}, ${repo}/ua_common/reusable.dita)}"/> I get the following error: contains characters which are not properly URI-encoded. Is it possible to use...
by antoterrence
Fri May 10, 2019 3:12 pm
Forum: Common Problems
Topic: Variables for document template
Replies: 2
Views: 1541

Variables for document template

We have a custom bookmap template that contains references to collections or reusable components. Templates sit in a fixed folder. However, the referenced reusable files are in a variable path. When the user creates a new bookmap using the custom bookmap template, the references are broken. Is there...
by antoterrence
Sat May 04, 2019 6:04 pm
Forum: Common Problems
Topic: Global preferences get reset when Oxygen Editor is restarted.
Replies: 1
Views: 1084

Global preferences get reset when Oxygen Editor is restarted.

I have been trying to set the Use the title to generate the file name preferences. When I remove the underscore from the Replace with field and click Apply, the preference sticks for the current session. However, when I close and open the Oxygen Editor, the preference is reset to the default setting...