Search found 8 matches

by jcb_mgc
Tue Aug 17, 2021 6:39 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS: Creating new CSS counters for new types of figures
Replies: 5
Views: 1400

Re: PDF-CSS: Creating new CSS counters for new types of figures

Hi Julien, thanks for helping! We already have a publishing template set up, and I am overriding the template "place-fig-lbl" XSLT. By overriding this template, I can insert a span under the <figcaption>, for example: <span class="fig--title-label-number"> 2</span> I have confirm...
by jcb_mgc
Tue Aug 17, 2021 2:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: PDF-CSS: Creating new CSS counters for new types of figures
Replies: 5
Views: 1400

PDF-CSS: Creating new CSS counters for new types of figures

Hello, I need some advice on adding additional CSS counters to the PDF-css scenario for custom types of figures. In addition to the default figures, we also have examples and equations. We would like the captions and counters on these types to be "Example N", and "Equation N", wh...
by jcb_mgc
Thu Mar 18, 2021 3:12 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Customizing com.oxygenxml.pdf.css DITA-OT plugin
Replies: 1
Views: 895

Customizing com.oxygenxml.pdf.css DITA-OT plugin

Hi, I have been trying to figure out why my custom HTML5 DITA-OT plugin works properly in a straight HTML5 build, but this same HTML5 plugin does not seem to be called at all during execution of the oxygenxml.pdf.css plugin (which uses DITA-OT's HTML5 plugin). I saw that the com.oxygenxml.pdf.css pl...
by jcb_mgc
Fri Nov 13, 2020 8:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom validation engines
Replies: 4
Views: 1528

Re: Custom validation engines

Hi Radu please disregard my previous reply --- the XPATH in my rule's context attribute was incorrect. The Schematron check does work as intended, although it seems to be invoking my Schematron checks twice. I.E. I get TWO messages triggered by my the error that I purposely created.

-John
by jcb_mgc
Fri Nov 13, 2020 8:10 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom validation engines
Replies: 4
Views: 1528

Re: Custom validation engines

Hi Radu thanks for that info. I tried implementing one simple check using Schematron rules. The check tests for the existence of an othermeta element in the main .ditamap. I then added my Schematron file to the Dita Map Validation and completeness check via the "Additional Schematron checks&quo...
by jcb_mgc
Wed Nov 11, 2020 7:51 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Custom validation engines
Replies: 4
Views: 1528

Custom validation engines

We are currently doing some "validation" on othermeta elements in .ditamap files. We are migrating from a Frame/dita-ot/command-line build pipeline. We have a Perl script to perform this check; currently these scripts are launched via Ant. I have looked at creating a custom validation engi...
by jcb_mgc
Fri Sep 11, 2020 6:11 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: apply-imports / next-match missing in org.dita-community.dita3html
Replies: 5
Views: 1439

Re: apply-imports / next-match missing in org.dita-community.dita3html

Hi Radu thanks for looking into that issue. This is actually something we've been wondering about for a long time. So far, we have been using DITA-OT with our own plugin, and we have been the only fish in the pond. Now we are migrating to oXygen and that's not the case anymore. We don't have calls t...
by jcb_mgc
Thu Sep 10, 2020 7:15 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: apply-imports / next-match missing in org.dita-community.dita3html
Replies: 5
Views: 1439

apply-imports / next-match missing in org.dita-community.dita3html

Hi, We have a custom DITA-OT plugin that overrides several templates in the base xhtml plugin. One of these is gen-user-scripts. In testing, our plugin in the oXygen environment, I found that our gen-user-scripts override is not being called at all. The problem seems to be that the gen-user-scripts ...