Search found 33 matches

by raybiss
Tue Jan 31, 2023 7:34 am
Forum: SDK-API, Frameworks - Document Types
Topic: Moving a list out of a paragraph, copyExceptClass not working?
Replies: 1
Views: 680

Moving a list out of a paragraph, copyExceptClass not working?

Hi, I'm trying to move a list (ol or ul) out of a paragraph if it's found inside one. The following Quick Fix works but the @class attribute is copied even if I have the mode="copyExceptClass" templates. These templates are working fine in other fixes. <pattern id="list_inside_paragra...
by raybiss
Tue Jan 31, 2023 6:11 am
Forum: Feature Request
Topic: oxygen-term-checker in Framework?
Replies: 5
Views: 822

Re: oxygen-term-checker in Framework?

Thanks Radu!
It worked like a charm.
Raymond
by raybiss
Tue Jan 24, 2023 6:08 am
Forum: Feature Request
Topic: oxygen-term-checker in Framework?
Replies: 5
Views: 822

oxygen-term-checker in Framework?

Hi, How about distributing the oxygen-term-checker folder with a Framework? Our integrator have decided to bundle our Framework as an add-on, which is a great idea. It was previously done through a project file and I was planning to copy the "oxygen-term-checker" folder in this project. No...
by raybiss
Tue Jan 17, 2023 7:29 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: ChangeAttributeOperation how to change tbody from table?
Replies: 6
Views: 1134

Re: CSS: ChangeAttributeOperation how to change tbody from table?

Hi Radu, I think you're right about the interference. I'll revert to "table: after" for now since I want to keep the default floating toolbars. An interesting observation: I always thought selecting an element with the breadcrumb was the same as selecting it with the tag but it looks like ...
by raybiss
Mon Jan 16, 2023 6:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: ChangeAttributeOperation how to change tbody from table?
Replies: 6
Views: 1134

Re: CSS: ChangeAttributeOperation how to change tbody from table?

Hi Radu, Thanks for the rapid follow up. Adding the button after the table is working: table:after { content: oxy_button(action, oxy_action( name, 'AlignTop', operation, 'ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation', arg-elementLocation, 'tgroup/tbody', arg-name, 'valign', ar...
by raybiss
Mon Jan 16, 2023 7:12 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: ChangeAttributeOperation how to change tbody from table?
Replies: 6
Views: 1134

Re: CSS: ChangeAttributeOperation how to change tbody from table?

First part solved! I only had to remove the "s" and replace arg-elementLocations, 'tbody', by arg-elementLocation, 'tgroup/tbody', About the second part. Should I be able to use the -oxy-selection-inside and -oxy-floating-toolbar to change the button's location? table:-oxy-selection-inside...
by raybiss
Sun Jan 15, 2023 10:17 am
Forum: SDK-API, Frameworks - Document Types
Topic: CSS: ChangeAttributeOperation how to change tbody from table?
Replies: 6
Views: 1134

CSS: ChangeAttributeOperation how to change tbody from table?

Hi, I have the following CSS that adds a button after a table and I'd like to set the valign attribute of the tbody element to "top". table: after { content: " " oxy_button(action, oxy_action( name, 'AlignTop', description, 'valign=top', operation, 'ro.sync.ecss.extensions.common...
by raybiss
Tue Oct 11, 2022 10:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Icons on list items in Author view
Replies: 6
Views: 1690

Re: Icons on list items in Author view

After reviewing my post...
I tried both "upper-alpha" and "lower-alpha" :)
by raybiss
Tue Oct 11, 2022 6:08 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Icons on list items in Author view
Replies: 6
Views: 1690

Re: Icons on list items in Author view

Hi, Is the "list-style-type" CSS property supported in Author mode (version 24.1)? I've been trying to style a list with @outputclass="upper-alpha" and *[class ~= "topic/ol"][outputclass ~= "lower-alpha"] { list-style-type: lower-alpha !important; } But I can'...
by raybiss
Fri Apr 29, 2022 7:30 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing PDF cover page based on a custom parameter
Replies: 2
Views: 662

Re: Changing PDF cover page based on a custom parameter

Thank you!
This works like a charm, even from my OT project file.
Best regards,
Raymond
by raybiss
Fri Apr 29, 2022 7:22 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Changing PDF cover page based on a custom parameter
Replies: 2
Views: 662

Changing PDF cover page based on a custom parameter

Hi, Using a PDF publishing template, I can add some content to a cover page as explained on this page https://www.oxygenxml.com/doc/versions/24.1/ug-pdf-css/topics/dcpp_cover_page.html with some css like *[class ~= "front-page/front-page-title"]:after(1) But what I would like to do is add ...
by raybiss
Thu Apr 21, 2022 4:43 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Re: Project files, absolute paths and Oxygen publishing templates?

Thank you!
I'm now successfully using this solution in a couple of targets.
Regards,
Raymond
by raybiss
Thu Apr 14, 2022 7:52 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Re: Project files, absolute paths and Oxygen publishing templates?

Hi Radu, I understand the policy and appreciate your offer to have a look at it. This is an HTML plugin that simply runs a target to generate the header and footer files before setting "args.hdr" and "args.ftr" in another (init) target. This approach was shown to me by Bob Thomas...
by raybiss
Thu Apr 14, 2022 2:33 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Re: Project files, absolute paths and Oxygen publishing templates?

Thank you Julien! I might get back about a custom parameter but it basically works. What did not work is replacing : <xslt processor="trax" style="${formedia.assesment.html.dir}${file.separator}xsl${file.separator}map_properties.xsl" in="${args.input}" out="${prop-...
by raybiss
Wed Apr 13, 2022 12:19 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Re: Project files, absolute paths and Oxygen publishing templates?

Thanks Radu,
I wIll try this later today...
One last question, buried in an earlier reply.
What should be the template parameter for transtype="pdf-css-html5"?
The equivalent to "webhelp.publishing.template" but for "pdf-css-html5".
Regards,
Raymond
by raybiss
Wed Apr 13, 2022 6:03 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Re: Project files, absolute paths and Oxygen publishing templates?

The last issue I'm facing (for now) is with a custom HTML plugin I have. This plugin is working fine when used on a DITA map from Oxygen but fails when used from a project file. It's failing in the first Ant target that uses a Trax transform... This is what the target looks like. <target name="...
by raybiss
Wed Apr 13, 2022 5:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Re: Project files, absolute paths and Oxygen publishing templates?

Hi Chris, It's working fine with the additional.args parameter set to -verbose -output=D:\dita_output\tutoriels\out Which outputs in the sub folder specified by <deliverable><output href="./map01"/> I cannot add -temp=D:\dita_output\tutoriels\temp because it does not create a sub folder fo...
by raybiss
Tue Apr 12, 2022 2:38 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Re: Project files, absolute paths and Oxygen publishing templates?

Hi Costin, I'm trying to use a DITA-OT project file that will target Oxygen Publishing Templates (WebHelp responsive and PDF via CSS). I also have issues targeting an absolute output folder, regardless of the transtype. My output folder should be an absolute path and other parameters should also be ...
by raybiss
Tue Apr 12, 2022 1:14 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is it possible to generate multiple DPF from one map?
Replies: 5
Views: 955

Re: Is it possible to generate multiple DPF from one map?

Hi Radu, These files are already published individually and I'm only looking for a way to automate their publishing, along with an index that will link to each individual pdf file. This index might also be just an HTML file, still to be decided... Since the target file name is in each topic, I shoul...
by raybiss
Mon Apr 11, 2022 12:42 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Project files, absolute paths and Oxygen publishing templates?
Replies: 14
Views: 2304

Project files, absolute paths and Oxygen publishing templates?

Hi, I recently started to learn how to use project files and although it looks promising, I'm facing a couple of issues. Everything works fine when I target "html5" or "pdf2" in the default folders but fail in other cases. How should I set absolute paths to parameters "outpu...
by raybiss
Sun Apr 10, 2022 5:03 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is it possible to generate multiple DPF from one map?
Replies: 5
Views: 955

Re: Is it possible to generate multiple DPF from one map?

Hi Chris, Thank you. I think that's the best way to achieve what I want. Generating the project file from the main map shouldn't be too hard. -- Is it possible to specify the output file name through the project file? It would be nice if I could set these directly in the project file. Otherwise, I w...
by raybiss
Sat Apr 02, 2022 1:13 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Is it possible to generate multiple DPF from one map?
Replies: 5
Views: 955

Is it possible to generate multiple DPF from one map?

Hi, How can I generate multiple PDF from one map? + One PDF per topic (tasks, arranged in topicgroup) + One PDF for the map (with links to individual topics) Like generating HTML but in PDF. Any idea on how to achieve this? - Through a PDF2 custom plugin? - Through an Oxygen Publishing template (PDF...
by raybiss
Thu Nov 04, 2021 7:50 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using a custom parameter in a Publishing Template?
Replies: 5
Views: 982

Re: Using a custom parameter in a Publishing Template?

Hi Julien, I'll probably use a mix of args.css.param... and oxy_path(...). You might want to fix this small error on the "dcpp_metadata" page. I the section on "Processing Ditamap Metadata", the css rule reading the revision date misses the "oxy_path" before the first p...
by raybiss
Thu Nov 04, 2021 6:44 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using a custom parameter in a Publishing Template?
Replies: 5
Views: 982

Re: Using a custom parameter in a Publishing Template?

Thank you! It works perfectly... Now I just need to figure out the best way to add content to the cover page using this parameter. I've read these pages but didn't find what I was looking for... https://www.oxygenxml.com/doc/versions/24.0/ug-pdf-css/topics/dcpp_cover_page.html#dcpp_cover_page https:...
by raybiss
Tue Nov 02, 2021 2:03 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Using a custom parameter in a Publishing Template?
Replies: 5
Views: 982

Using a custom parameter in a Publishing Template?

Hi, How can I use a custom parameter in a publishing template? I'm currently using this template to add check boxes to lcAnswerContent2 in a PDF. <extension id="com.oxygenxml.pdf.css.xsl.merged2html5" file="xslt/merged2html5Extension.xsl"/> <xsl:template match="*[contains(@c...
by raybiss
Tue Nov 02, 2021 12:54 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp: Best way to get the whole map tree into JavaScript?
Replies: 2
Views: 852

Re: WebHelp: Best way to get the whole map tree into JavaScript?

Hi Alin,

Thank you very much for taking the time to answer my question.

I will study your template and adapt my script to read from this JSON file.

Best regards,
Raymond
by raybiss
Sun Oct 17, 2021 5:47 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp: Best way to get the whole map tree into JavaScript?
Replies: 2
Views: 852

WebHelp: Best way to get the whole map tree into JavaScript?

Hi, Publishing WebHelp responsive through Oxygen Editor; what would be the best way to get the whole map tree into javaScript? Transforming it to a json object would be nice if I can find where to put the template to process the topicref structure and place it in the footer. I'm already reading some...
by raybiss
Wed Apr 29, 2020 4:17 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Getting topic count as a JavaScript variable in WebHelp output
Replies: 1
Views: 995

Getting topic count as a JavaScript variable in WebHelp output

Hi, I'm trying to get the topic count in a map with a custom WebHelp (responsive) publishing template. I added the markup below to the bottom of the footer template; which I took from https://github.com/oxygenxml/dita-ot-webhelp-responsive-custom-footer <script> totalPages = <xsl:value-of select=&qu...
by raybiss
Sat Feb 01, 2020 5:37 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: WebHelp XSLT: Display metadata as visible content
Replies: 7
Views: 4234

Re: WebHelp XSLT: Display metadata as visible content

Hi, I'm also trying to access the release management domain metadata but I have not yet figured out how to override macroExpander.xsl. I've been successful using a few macros in a template to get some metadata elements but it looks like overriding the macroExpander template is the only way to iterat...