Search found 284 matches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.
by chrispitude
Wed Dec 02, 2020 7:28 pm
Forum: Feature Request
Topic: Handling file/directory rename reference adjustment in large projects
Replies: 8
Views: 415

Re: Handling file/directory rename reference adjustment in large projects

Hi Radu, That is helpful, I had not tried that! Unfortunately this will help only in a small number of cases. Most of the time, the writers are restructuring topic/image files within their books (adding directory structure as subject areas get large and complicated), renaming directories within thei...
by chrispitude
Wed Dec 02, 2020 7:13 pm
Forum: Common Problems
Topic: Finding over-width tables (and cleaning up transformation warnings?)
Replies: 4
Views: 379

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

Hi all, Today I was asked how our writers can find and fix over-width tables in our PDFs. I do see an over-width table message in the transformation message summary (look for the "SEE HERE"): Description: [CH] Invalid property encountered on "fo:inline": box-sizing (See position 16:2623) Description...
by chrispitude
Mon Nov 30, 2020 3:18 am
Forum: Feature Request
Topic: Handling file/directory rename reference adjustment in large projects
Replies: 8
Views: 415

Re: Handling file/directory rename reference adjustment in large projects

Hi Radu, Lately when I need to rename some files, I add just that map to Master Files, do the rename work, then remove the map from Master Files. There doesn't seem to be any preprocessing penalty for doing this - the rename operations immediately assess the context and correctly figure out the depe...
by chrispitude
Fri Nov 20, 2020 9:23 pm
Forum: DITA (Editing and Publishing DITA Content)
Topic: apply-imports / next-match missing in org.dita-community.dita3html
Replies: 5
Views: 338

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

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 to apply-imports or next-match in our own pl...
by chrispitude
Fri Nov 20, 2020 8:55 pm
Forum: Feature Request
Topic: Option to Not Save Associated Transformation Scenarios to Project File
Replies: 17
Views: 1919

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

Thank you Cosmin! Although it seems like a small thing, this fix was literally the first thing my coworker asked about when I mentioned that Oxygen v23 was released.
by chrispitude
Fri Nov 13, 2020 2:40 pm
Forum: Feature Request
Topic: Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps
Replies: 6
Views: 344

Re: Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps

After some further thinking... Given the three possible behaviors a writer might need: Include no topics in resource-only maps ("search only MY content that I wrote") Include topics locally instantiated from resource-only maps ("search all content in MY book") Include all topics in resource-only map...
by chrispitude
Thu Nov 12, 2020 4:16 pm
Forum: Feature Request
Topic: Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps
Replies: 6
Views: 344

Re: Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps

This particular scope: Include topics locally instantiated from resource-only maps ("search all content in MY book") would mean that only topics referenced with keyref in the main DITA Map should be searched, right? But in a way this is similar to "Include no topics in resource-only maps" because t...
by chrispitude
Mon Nov 09, 2020 6:49 pm
Forum: Feature Request
Topic: Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps
Replies: 6
Views: 344

Re: Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps

Hi Radu, You are correct! Thank you for double-checking my assertion. It is good that the issue is limited to warehouse books. I am actually not sure what the best solution is, and I hope you can help me think through it. Let's say that a warehouse book provides topics A, B, and C (via a resource-on...
by chrispitude
Sun Nov 08, 2020 8:27 pm
Forum: Feature Request
Topic: Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps
Replies: 6
Views: 344

Control "Current DITA Map Hierarchy" traverses into warehouse/peer maps

Our books have cross-book (peer) and warehouse maprefs to other books: Peer books (processing-role="resource-only", scope="peer") - for cross-book links Warehouse books (processing-role="resource-only", scope="local") - to con[key]ref content When we perform an operation that operations on the curre...
by chrispitude
Fri Nov 06, 2020 7:52 pm
Forum: Feature Request
Topic: Can I format and indent specific elements after a refactoring operation?
Replies: 1
Views: 163

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

This is an extension to the following feature request, but more fine-grained: https://www.oxygenxml.com/forum/post56094.html I have a refactoring operation that restructures MathML blocks inside DITA documents. The refactoring causes the MathML to get funny formatting/indenting, as elements are remo...
by chrispitude
Sat Oct 31, 2020 1:28 am
Forum: DITA (Editing and Publishing DITA Content)
Topic: CSS formatting added to a DITA topic is not appearing in the generated PDF
Replies: 7
Views: 299

Re: CSS formatting added to a DITA topic is not appearing in the generated PDF

jekehu, if you want to make CSS-formatted PDF files, I strongly urge you to use the latest release of Oxygen. PDF Chemistry has improved quite a bit just in from v21 to v22 (stability, features, consistency and predictability). I am sure v23 will be even better. It has been one of the most impressiv...
by chrispitude
Fri Oct 30, 2020 6:05 am
Forum: Feature Request
Topic: Possibilities to directly edit dita topics in a ditamap
Replies: 11
Views: 938

Re: Possibilities to directly edit dita topics in a ditamap

This seems to work pretty well! I deleted my five project transformations, then created five map transformations and five topic transformations in my DITA framework. So far so good!