can't get index configuration to work
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 25
- Joined: Mon Sep 17, 2007 10:02 am
- Location: Flanders
can't get index configuration to work
Dear all,
Using Oxygen 25 to generate PDF from DITA ('org.dita.pdf2'), I need some changes to the index configuration that I once set up with my customisation scenario. I figured out that the OT 3.x in Oxygen 25 ignores the overwrite of the index files. After some digging I figured out that by default the plugin 'org.dita.index' is used, so I can have my configuration in one place.
Nice, but I don't necessarily want that all the time. Different customisations require different indexing rules. Is there a way for me to control that either from the scenario or inside the customisation?
Thanks
Geert
Using Oxygen 25 to generate PDF from DITA ('org.dita.pdf2'), I need some changes to the index configuration that I once set up with my customisation scenario. I figured out that the OT 3.x in Oxygen 25 ignores the overwrite of the index files. After some digging I figured out that by default the plugin 'org.dita.index' is used, so I can have my configuration in one place.
Nice, but I don't necessarily want that all the time. Different customisations require different indexing rules. Is there a way for me to control that either from the scenario or inside the customisation?
Thanks
Geert
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: can't get index configuration to work
Hi,
In general we (the Oxygen team) have shifted towards supporting the CSS-based PDF publishing which is easier to customize and we are no longer up to date what happens to the default XSL-FO based publishing between DITA OT releases.
I assume you are using a PDF customization folder, right?
As written in the DITA OT docs, this method of PDF configuration is deprecated and can be replaced with a DITA OT PDF customization plugin:
https://www.dita-ot.org/dev/topics/pdf- ... ion_folder
Looking at the plugin.xml file for the DITA-OT/plugins/org.dita.index/plugin.xml, it has an extension point:
https://www.dita-ot.org/dev/extension-p ... pdf2.index
which would mean that a separate DITA OT PDF customization plugin could implement this extension point.
Regards,
Radu
In general we (the Oxygen team) have shifted towards supporting the CSS-based PDF publishing which is easier to customize and we are no longer up to date what happens to the default XSL-FO based publishing between DITA OT releases.
I assume you are using a PDF customization folder, right?
As written in the DITA OT docs, this method of PDF configuration is deprecated and can be replaced with a DITA OT PDF customization plugin:
https://www.dita-ot.org/dev/topics/pdf- ... ion_folder
Looking at the plugin.xml file for the DITA-OT/plugins/org.dita.index/plugin.xml, it has an extension point:
https://www.dita-ot.org/dev/extension-p ... pdf2.index
which would mean that a separate DITA OT PDF customization plugin could implement this extension point.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 25
- Joined: Mon Sep 17, 2007 10:02 am
- Location: Flanders
Re: can't get index configuration to work
Thanks for your reply, Radu.
I am using customisation directories on the PDF2.
The business scenario is as follows:
a company has a number of technical writers, all preparing technical manuals for various customers from Oxygen. Each end customer has different requirements on the customisation of their manuals. Each technical writer might have a different scheme in upgrading Oxygen.
so...
- many different customisations
- many Oxygen users, some different versions of Oxygen installed
Packaged scenarios with customisations should be available for all the technical writers and the amount of "things to care about" when upgrading Oxygen should be minimal
I need to check if the plugin approach from your references fits the above scenario
Will look into that, thanks for the suggestions
I am using customisation directories on the PDF2.
The business scenario is as follows:
a company has a number of technical writers, all preparing technical manuals for various customers from Oxygen. Each end customer has different requirements on the customisation of their manuals. Each technical writer might have a different scheme in upgrading Oxygen.
so...
- many different customisations
- many Oxygen users, some different versions of Oxygen installed
Packaged scenarios with customisations should be available for all the technical writers and the amount of "things to care about" when upgrading Oxygen should be minimal
I need to check if the plugin approach from your references fits the above scenario
Will look into that, thanks for the suggestions
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: can't get index configuration to work
Hi,
The decision to deprecate the PDF Customization folder was not ours, the DITA OT project is open source and it evolves in its own ways.
Other than that maybe you could have a DITA OT folder for each specific client, each DITA OT with its own PDF customization plugin installed in it. A DITA OT folder can be packed as an add-on in order to install it for each user by selecting it in the Oxygen Preferences->DITA page: https://github.com/oxygenxml/dita-ot-3x-plugin
Because even with separate customization folders you may have problems, you may have one client who wants to use DITA OT 3, another who wants to use DITA OT version 4 because it fixes some processing bug...
Regards,
Radu
The decision to deprecate the PDF Customization folder was not ours, the DITA OT project is open source and it evolves in its own ways.
Other than that maybe you could have a DITA OT folder for each specific client, each DITA OT with its own PDF customization plugin installed in it. A DITA OT folder can be packed as an add-on in order to install it for each user by selecting it in the Oxygen Preferences->DITA page: https://github.com/oxygenxml/dita-ot-3x-plugin
Because even with separate customization folders you may have problems, you may have one client who wants to use DITA OT 3, another who wants to use DITA OT version 4 because it fixes some processing bug...
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 25
- Joined: Mon Sep 17, 2007 10:02 am
- Location: Flanders
Re: can't get index configuration to work
Thanks for the follow up Radu.
Some more things to consider indeed, thanks for that.
Just to make sure there is no misunderstanding. I hope I did not sound as if I was pointing a finger at Oxygen. That was definitely not what I meant to say. I am very well aware on how DITA-OT evolves as an open source project, independently from Oxygen.
I am just trying to decide on the best way ahead, taking into account that I have quite some investment over the years in the various customisations on PDF2. Taking more control by packaging the OT with the customisation is definitely an option. Biting the bullet now and migrating to the CSS alternative, is also an option
Thanks for your time and suggestions
Some more things to consider indeed, thanks for that.
Just to make sure there is no misunderstanding. I hope I did not sound as if I was pointing a finger at Oxygen. That was definitely not what I meant to say. I am very well aware on how DITA-OT evolves as an open source project, independently from Oxygen.
I am just trying to decide on the best way ahead, taking into account that I have quite some investment over the years in the various customisations on PDF2. Taking more control by packaging the OT with the customisation is definitely an option. Biting the bullet now and migrating to the CSS alternative, is also an option
Thanks for your time and suggestions
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: can't get index configuration to work
Hi,
Regards,
Radu
I understand, ideally all customizations would also have some kind of manual attached or comments in the XSLT code discussing what the customization was for, this would allow you to create a list of the customizations you made and maybe migrate to CSS-based customizations.I am just trying to decide on the best way ahead, taking into account that I have quite some investment over the years in the various customisations on PDF2.
At least there would be no variable factor. But you would remain on an old DITA OT version which is no longer maintained and updated.Taking more control by packaging the OT with the customisation is definitely an option.
We invested time to build this CSS-based PDF engine and invest time in maintaining and offering advice for it because we considered that at least CSS-based customizations are easiert to perform, understand and maintain in time.Biting the bullet now and migrating to the CSS alternative, is also an option
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: can't get index configuration to work
Post by chrispitude »
Hi Geert,
We use the CSS-based PDF transformation. It is particularly nice because we are able to share common CSS styling across all of the following:
We use the CSS-based PDF transformation. It is particularly nice because we are able to share common CSS styling across all of the following:
- Oxygen editor
- PDF outputs
- WebHelp outputs
- our-common.css
- our-editor.css
- our-pdf.css
- our-webhelp.css
Return to “DITA (Editing and Publishing DITA Content)”
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