Search found 330 matches

by chrispitude
Fri Feb 26, 2021 6:43 pm
Forum: Common Problems
Topic: Comparing the output from two PDF Chemistry versions
Replies: 3
Views: 1845

Re: Comparing the output from two PDF Chemistry versions

Thanks Dan! The nice thing about testing the final result visually is (1) I didn't have to know very much about the insides of PDF Chemistry (very complicated!), and (2) it's an end-to-end comparison from input to output. If you add more PDF compression some day, it will get included in the validati...
by chrispitude
Thu Feb 25, 2021 3:37 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Auto Fill date in Oxygen!
Replies: 9
Views: 820

Re: Auto Fill date in Oxygen!

Ahhh excellent! This is a reminder that I need to auto-populate the @author attribute of our <project-label> element (which is a specialization of <draft-comment> used to specifically track project-related development).
by chrispitude
Wed Feb 24, 2021 8:16 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Providing DITA plugins in an Oxygen project directory?
Replies: 11
Views: 2110

Re: Providing DITA plugins in an Oxygen project directory?

Hi all, Here is an updated script that installs all plugins matching a pattern ("com.synopsys.*" in our case) instead of using a hardcoded list installs/updates the plugins in all "C:\Program Files\Oxygen XML *" installations, instead of using hardcoded versions/paths @rem chrispy - 2/24/2021 @echo ...
by chrispitude
Wed Feb 24, 2021 4:18 am
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 822

Re: Site-Wide Deployment of Addons

Hi Alex, We would need to specify settings for all three plugins: Git Client DITA Prolog Updater Terminology Checker I wonder if somehow there could be a feature, that perhaps could be configured in the Synopsys .xpr file, that would prompt the user to install certain plugins if not installed, and c...
by chrispitude
Tue Feb 23, 2021 4:21 pm
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 822

Re: Site-Wide Deployment of Addons

Alex - thank you, this makes perfect sense! I will reply back here once I am able to deploy this.

Are plugin-specific settings also stored in the addons directory? It would be even better if this method would deploy all the plugins and their required settings.
by chrispitude
Tue Feb 23, 2021 3:10 pm
Forum: Common Problems
Topic: Comparing the output from two PDF Chemistry versions
Replies: 3
Views: 1845

Comparing the output from two PDF Chemistry versions

Hi folks, I wanted a way to test a new version of PDF Chemistry against my current version of PDF Chemistry to see if the PDF output was different. So I wrote this utility: https://github.com/chrispy-snps/compare-pdf-images This utility compares two PDF files by rendering them to bitmap images (mult...
by chrispitude
Wed Feb 17, 2021 4:30 pm
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 822

Re: Site-Wide Deployment of Addons

Hi Alex, Could you tell me more about option #1? Our writers use the following Syncrosoft-developed plugins: Git Client DITA Prolog Updater Terminology Checker (soon) Is there a way to install these automatically for the writers via a script, such that the writers would be notified of updates in the...
by chrispitude
Wed Feb 17, 2021 1:49 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Useful Schematron checks for DITA authoring
Replies: 7
Views: 1123

Re: Useful Schematron checks for DITA authoring

If you keep all your DITA content inside a dita/ directory, here is a check for any @href file references that references a file above the dita/ directory level: <!-- compute how many directory levels exist past '/dita/' (or -1 if it doesn't exist) --> <let name="this_file_depth" value="if (contains...
by chrispitude
Fri Feb 05, 2021 6:33 pm
Forum: Common Problems
Topic: Enabling MathML
Replies: 2
Views: 386

Re: Enabling MathML

Hi Karl,

FYI, we found that the free LibreOffice Math equation editor works quite well.
by chrispitude
Wed Feb 03, 2021 4:46 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding owner/contributor author metadata to DITA topic files
Replies: 4
Views: 568

Re: Adding owner/contributor author metadata to DITA topic files

Thanks Cosmin! There are two reasons we think topic-level author metadata will be useful. The first is to help automated scripts send an email. For example, we might have a nightly script that does some kind of validation check. If an issue is detected in a topic file, the script can directly email ...
by chrispitude
Wed Feb 03, 2021 2:59 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Adding owner/contributor author metadata to DITA topic files
Replies: 4
Views: 568

Adding owner/contributor author metadata to DITA topic files

Hi everyone, We plan to start storing author (owner/contributor) metadata in our DITA topic files: <topic id="xyz"> <title>My Topic</title> <prolog> <author type="owner">chrispy</author> <author type="contributor">milada</author> </prolog> ... </topic> I created a refactoring operation to help set t...
by chrispitude
Tue Feb 02, 2021 3:23 pm
Forum: Feature Request
Topic: Option to Not Save Associated Transformation Scenarios to Project File
Replies: 18
Views: 3158

Re: Option to Not Save Associated Transformation Scenarios to Project File

Hi all,

I just wanted to share that with the 23.0 release, we have not had a single instance of someone accidentally modifying/committing/pushing the Oxygen .xpr file in our Oxygen/DITA/Git flow. Thank you!
by chrispitude
Sat Jan 30, 2021 6:23 pm
Forum: Common Problems
Topic: Conditioning Question
Replies: 1
Views: 295

Re: Conditioning Question

Hi Stacey, I find it easiest to use profiling attributes to specify what to include . For example, <p>This is for everyone.</p> <p audience="novice">This is for novice users only.</p> <p audience="intermediate">This is for intermediate users only.</p> <p audience="expert">This is for expert users on...
by chrispitude
Sat Jan 30, 2021 4:29 pm
Forum: Feature Request
Topic: Can I format and indent specific elements after a refactoring operation?
Replies: 3
Views: 585

Re: Can I format and indent specific elements after a refactoring operation?

I made some simplifications and bug fixes to add-author.xsl: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" version="2.0"> <xsl:param name="this.user" as="xs:string"/> <!-- PASS 1 - baseline identity transform...
by chrispitude
Fri Jan 29, 2021 4:51 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: How to add author information in generated webhelp
Replies: 3
Views: 417

Re: How to add author information in generated webhelp

Hi catherine,

I recall there is also an Oxygen plugin that automates the creation/updating of this metadata:

https://github.com/oxygenxml/oxygen-dita-prolog-updater
by chrispitude
Fri Jan 29, 2021 3:42 am
Forum: Feature Request
Topic: Can I format and indent specific elements after a refactoring operation?
Replies: 3
Views: 585

Re: Can I format and indent specific elements after a refactoring operation?

While working on an unrelated transformation, I found a hacky solution to this problem by applying multiple XSLT template passes. In pass 1, I make the structural XML changes I want. In pass 2, I discard all whitespace nodes around the elements of interest, then re-indent them according to their dep...
by chrispitude
Fri Jan 15, 2021 6:29 pm
Forum: Common Problems
Topic: How do I automatically run a post-processing utility on the PDF file?
Replies: 8
Views: 2322

Re: How do I automatically run a post-processing utility on the PDF file?

When I updated my PDF Chemistry parameters to put all PDF files into one place: "Plugin to leave just the PDF file in the output directory?" https://www.oxygenxml.com/forum/topic22322.html then my lazy hack of using "*.pdf" to grab the single PDF output file failed. (It matched all of them - oops!) ...
by chrispitude
Thu Jan 14, 2021 3:29 pm
Forum: Feature Request
Topic: Applying higher compression to PDF files
Replies: 2
Views: 2593

Re: Applying higher compression to PDF files

I also thought about pursuing better compression with the Apache FOP folks, but I wonder if they might want to stay focused on page layout and not get into the intricacies of optimizing PDF data structures. (Or maybe I'm wrong and they'd want to improve in this area too?)
by chrispitude
Wed Jan 13, 2021 6:50 pm
Forum: Feature Request
Topic: Applying higher compression to PDF files
Replies: 2
Views: 2593

Applying higher compression to PDF files

Hi everyone, This is a follow-up to "Using a more recent PDF version for PDF production" https://www.oxygenxml.com/forum/topic21147.html I have a 1200 page book with many figures. When I compare -Dpdf.version=1.4 to -Dpdf.version=1.5, I see a definite size reduction: 33036 -rw-rw-rw- 1 doc src 33688...
by chrispitude
Fri Jan 08, 2021 6:41 pm
Forum: Common Problems
Topic: Finding over-width tables (and cleaning up transformation warnings?)
Replies: 4
Views: 869

Re: Finding over-width tables (and cleaning up transformation warnings?)

Hi Dan, Rather than trying to trace back through the output chain back to the source DITA, would it be easier to have a transformation parameter to place a visual indicator (red marker, bar, etc.) overtop whatever object is triggering the over-width message? We create both draft and final PDFs, and ...
by chrispitude
Fri Jan 08, 2021 6:08 pm
Forum: Feature Request
Topic: Plugin to leave just the PDF file in the output directory?
Replies: 2
Views: 420

Re: Plugin to leave just the PDF file in the output directory?

SInce Oxygen 22.0, the PDF - HTML & CSS scenario contains a 'args.keep.output.debug.files' parameter which can be set to 'No' if you only want the final pdf in the output folder. Is it what you were looking for? This will work perfectly, thank you! My goal is to have "Transform with" (from the Proj...
by chrispitude
Thu Jan 07, 2021 8:12 pm
Forum: Feature Request
Topic: Plugin to leave just the PDF file in the output directory?
Replies: 2
Views: 420

Plugin to leave just the PDF file in the output directory?

Hi folks! I'd like to make a DITA-OT plugin that leaves just the final PDF directly in the output directory, without the temporary files or an intermediate directory containing them. (Ideally this would be controlled via parameter, so my writers get the simplified output but I can disable it when de...
by chrispitude
Tue Jan 05, 2021 6:36 pm
Forum: Common Problems
Topic: Easily installing new Oxygen publishing engines in linux
Replies: 1
Views: 342

Easily installing new Oxygen publishing engines in linux

Hi everyone, We use the Oxygen publishing engine in a linux environment to create our final production-ready PDFs. I thought I'd share the linux script that I use to download and configure the publishing engine: #!/bin/bash rm -rf oxygen-publishing-engine-3.x OXY=`realpath oxygen-publishing-engine-3...
by chrispitude
Mon Dec 21, 2020 4:40 pm
Forum: Common Problems
Topic: Pointing to a different SVG cover based on bookmap info
Replies: 5
Views: 878

Re: Pointing to a different SVG cover based on bookmap info

Hi Louis, If you have a small number of book categories, consider setting the @outputclass attribute on your top-level map element, then include this map element in your CSS selector path. We have books, release notes, and product installation notes. Their cover pages and their headers/footers vary ...
by chrispitude
Mon Dec 21, 2020 4:31 pm
Forum: Common Problems
Topic: Showing metadata and changes in table on the front-page/before the TOC
Replies: 2
Views: 465

Re: Showing metadata and changes in table on the front-page/before the TOC

Hi dyfed, What Julien provides in his link is exactly how we're doing it too. It is quite simple. In our bookmaps, we define keys for version, product name, and release date. Because some fields aren't published anywhere else, we use this method: https://www.oxygenxml.com/doc/versions/23.0/ug-ope/to...
by chrispitude
Mon Dec 21, 2020 4:19 pm
Forum: Feature Request
Topic: multi-select combobox for ${ask(...)}
Replies: 4
Views: 667

Re: multi-select combobox for ${ask(...)}

Hi Christian,

All of what you're doing here is new to me, but it sounds quite interesting! Could you share more of what you've done?
by chrispitude
Mon Dec 21, 2020 4:18 pm
Forum: Feature Request
Topic: Automatically set @keys attribute for new topics
Replies: 6
Views: 1442

Re: Automatically set @keys attribute for new topics

Hi Sorin, I found that the key is removed if you delete it and hit OK, but it comes back if you go back into the editing window and make some other change (or even nothing, as shown below) then hit OK: key_redefined.gif If this is a bug, it's a very minor one. I'll leave it to you to decide whether ...
by chrispitude
Tue Dec 08, 2020 9:37 pm
Forum: Feature Request
Topic: Automatically set @keys attribute for new topics
Replies: 6
Views: 1442

Re: Automatically set @keys attribute for new topics

Hello! We're using Oxygen v23. (Impressive release, by the way!) I noticed something interesting today. The DITA > Maps > Use file name as the value of the "keys" attribute setting affects <mapref> elements as well as <topicref> elements. For example, if I add a peer map reference (@scope="peer", @p...
by chrispitude
Mon Dec 07, 2020 5:21 pm
Forum: Common Problems
Topic: Finding over-width tables (and cleaning up transformation warnings?)
Replies: 4
Views: 869

Re: Finding over-width tables (and cleaning up transformation warnings?)

Thanks Dan! That would be great. I like the idea of a text snippet and enclosing-element iD. It would be even more awesome if we could somehow take the user to that ID'ed element in that topic file when the error is double-clicked (if possible). We have writers who are not quite technical enough to ...