Plugin to leave just the PDF file in the output directory?
Are you missing a feature? Request its implementation here.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Plugin to leave just the PDF file in the output directory?
Post by chrispitude »
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 debugging issues.)
Before I work on this, has anyone already done this?
Thanks!
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 debugging issues.)
Before I work on this, has anyone already done this?
Thanks!
-
- Posts: 665
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Plugin to leave just the PDF file in the output directory?
Post by julien_lacour »
Hello Chris,
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?
Regards,
Julien
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?
Regards,
Julien
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Plugin to leave just the PDF file in the output directory?
Post by chrispitude »
This will work perfectly, thank you!julien_lacour wrote: ↑Fri Jan 08, 2021 10:51 am 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?
My goal is to have "Transform with" (from the Project view context menu) place all PDF files in the same output directory. So, I will change the output directory from ${pd}/out/pdf-${cfn} to ${pd}/out, then set args.keep.output.debug.files to No as you suggested. Each book's temporary files appear directly in the out/ directory, but only temporarily as they are subsequently deleted before the next book runs.
So in the end, every works as desired.

Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service