Search found 326 matches

by chrispitude
Tue Feb 23, 2021 4:21 pm
Forum: Feature Request
Topic: Site-Wide Deployment of Addons
Replies: 7
Views: 724

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: 1634

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: 724

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: 966

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: 334

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: 494

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: 494

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: 2940

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: 255

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: 521

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: 372

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: 521

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: 2187

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: 1992

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: 1992

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: 775

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: 352

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: 352

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: 297

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: 770

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: 426

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: 584

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: 1342

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: 1342

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: 775

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 ...
by chrispitude
Sat Dec 05, 2020 12:11 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: Book validation follows cross-book @conref into target book content
Replies: 3
Views: 332

Re: Book validation follows cross-book @conref into target book content

Actually, I think I disproved my own theory of key scope by experimentation. In the following modified testcase: oxygen_validate_scope_v2.zip I added a broken <xref keyref> inside topic_2.dita. Even so, the @conkeyref scenario does not report it as a missing key definition. There seems to be a (prob...
by chrispitude
Fri Dec 04, 2020 11:48 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Book validation follows cross-book @conref into target book content
Replies: 3
Views: 332

Re: Book validation follows cross-book @conref into target book content

Rereading my own post, I'm thinking that maybe a @conkeyref pulls the target topic into a scoped context (thus allowing keys in that file to resolve), whereas a @conref pulls the target topic into the current book's context instead?
by chrispitude
Fri Dec 04, 2020 11:08 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Book validation follows cross-book @conref into target book content
Replies: 3
Views: 332

Book validation follows cross-book @conref into target book content

Hi all, Each of our books has its own key scope. We create crossbook links using scoped keyrefs, and we reuse content across books using scoped conkeyrefs. However, I noticed something interesting. If a writer accidentally uses a cross-book @conref to reuse a single element from another book topic f...
by chrispitude
Fri Dec 04, 2020 10:54 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: Unable to find target for conref in map - conrefImpl.xsl, line 296
Replies: 6
Views: 563

Re: Unable to find target for conref in map - conrefImpl.xsl, line 296

Hi Aaron,

I find it easiest to copy the source element, then do a "Paste special" > "Paste as content [key] reference" and let Oxygen figure out exactly how to create the reference. It will sort out key scopes, topic IDs, element IDs, etc., automatically for you.