DITAfor publishers (d4p) & Oxygen
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 3
- Joined: Wed May 16, 2012 3:38 pm
DITAfor publishers (d4p) & Oxygen
Post by fgiovannini »
Hi, I would like to deploy the D4p Dita specialization (http://sourceforge.net/projects/dita4publishers/) in order to use it with Oxygen. D4p contains a series of plugin for the DITA OT, and the instruction to deploy them inside the toolkit. But I would like also to be able to create and edit documents in Oxygen using this specialization. Could someone give me indications on how to do that?
Thanks.
Thanks.
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITAfor publishers (d4p) & Oxygen
Hi,
Once you copy all the DITA 4 Publishers plugins to the plugins folder from the DITA OT bundled with Oxygen:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins
and run the DITA OT integrator the specialization DTDs will be installed in the DITA OT's main catalog and Oxygen should then be aware of them.
Then you will just need new file templates to get things going.
In the DITA for publishers distribution there should be a folder called "templates".
You should copy the contents of that folder to:
OXYGEN_INSTALL_DIR\frameworks\dita\templates
Then you can use the "New" wizard in Oxygen to search for the new templates, the prefix for all the added templates is "D4P".
Regards,
Radu
Once you copy all the DITA 4 Publishers plugins to the plugins folder from the DITA OT bundled with Oxygen:
OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins
and run the DITA OT integrator the specialization DTDs will be installed in the DITA OT's main catalog and Oxygen should then be aware of them.
Then you will just need new file templates to get things going.
In the DITA for publishers distribution there should be a folder called "templates".
You should copy the contents of that folder to:
OXYGEN_INSTALL_DIR\frameworks\dita\templates
Then you can use the "New" wizard in Oxygen to search for the new templates, the prefix for all the added templates is "D4P".
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Wed May 16, 2012 3:38 pm
Re: DITAfor publishers (d4p) & Oxygen
Post by fgiovannini »
Thank you Radu, this is what I've tried to do:
1. copy all the plugins under the plugin dir (OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins)
2. run ant -f integrator.xml (I've copied the tools/ant dir from the toolkit under the Oxygen's DITA OT folder and started the Command line with startcmd.bat)
3. copy the template folders (namely maps, topics, and word2dita) under template oxygen dir
but I'm not able to see any d4p template when I create a new doc.
In the catalog-dita.xml I can see a line like: "<rewriteURI uriStartString='plugin:net.sourceforge.dita4publishers.ruby.html:' ...>, and the file has been modified by the integration. What I am missing?
Many thanks,
Franco
1. copy all the plugins under the plugin dir (OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins)
2. run ant -f integrator.xml (I've copied the tools/ant dir from the toolkit under the Oxygen's DITA OT folder and started the Command line with startcmd.bat)
3. copy the template folders (namely maps, topics, and word2dita) under template oxygen dir
but I'm not able to see any d4p template when I create a new doc.
In the catalog-dita.xml I can see a line like: "<rewriteURI uriStartString='plugin:net.sourceforge.dita4publishers.ruby.html:' ...>, and the file has been modified by the integration. What I am missing?
Many thanks,
Franco
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITAfor publishers (d4p) & Oxygen
Hi Franco,
You are right, D4P had named the templates folders topics, maps while the existing folders in the Oxygen DITA templates directory are named topic and map.
Just copy the contents of the folder topics to the topic folder and the same for the folder maps to the map directory.
Regards,
Radu
You are right, D4P had named the templates folders topics, maps while the existing folders in the Oxygen DITA templates directory are named topic and map.
Just copy the contents of the folder topics to the topic folder and the same for the folder maps to the map directory.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Wed May 16, 2012 3:38 pm
-
- Posts: 11
- Joined: Fri Nov 11, 2011 3:39 pm
Re: DITAfor publishers (d4p) & Oxygen
IS this still the recommended way of implementing this (as of version 17)?
I ask since it seems incompatible with the idea of creating an extension to the DITA framework and distributing it as an Add On; is there no way of doing this other than replicating (and therefore having to maintain) the whole DITA-OT?
I ask since it seems incompatible with the idea of creating an extension to the DITA framework and distributing it as an Add On; is there no way of doing this other than replicating (and therefore having to maintain) the whole DITA-OT?
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITAfor publishers (d4p) & Oxygen
Hi,
You are right, the answer I gave back then was not that elegant.
Here's another way to do that based on framework extensions:
http://www.oxygenxml.com/forum/topic11976.html
Regards,
Radu
You are right, the answer I gave back then was not that elegant.
Here's another way to do that based on framework extensions:
http://www.oxygenxml.com/forum/topic11976.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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