Distributing a new set of document templates
Oxygen general issues.
-
- Posts: 75
- Joined: Mon Sep 28, 2009 8:10 am
Distributing a new set of document templates
I have a set of DITA template files that have a custom doctype. If I manually add the template folder using Options > Preferences > Editor > Templates > Document Templates, they appear in the New dialog box.
Is there a way to distribute this template setup to authors without them having to manually add the new template folder from Options etc? For example, so they can copy the template folder and a framework config file (for example), and then open Oxygen and just have it work?
Thanks,
Mark
Is there a way to distribute this template setup to authors without them having to manually add the new template folder from Options etc? For example, so they can copy the template folder and a framework config file (for example), and then open Oxygen and just have it work?
Thanks,
Mark
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Distributing a new set of document templates
Hi Mark,
Maybe the most elegant way would be to extend the DITA framework. I wrote a blog post about this a couple of days ago:
http://blog.oxygenxml.com/2015/08/docum ... aring.html
After step 4 in the blog post you can create a folder called for example template_folders in your framework extension's folder, something like custom_frameworks/template_folders which will hold all new file templates.
Then in your framework extension configuration dialog in the Templates tab add a reference to that folder.
As a side note, in Oxygen 17.1 (which will probably be released in Autumn this year) if your DITA Open Toolkit plugin which contains the DTD specialization will also contain a template_folders directory in it, Oxygen will automatically pick up new file templates from that folder and present them in the File->New wizard.
Regards,
Radu
Maybe the most elegant way would be to extend the DITA framework. I wrote a blog post about this a couple of days ago:
http://blog.oxygenxml.com/2015/08/docum ... aring.html
After step 4 in the blog post you can create a folder called for example template_folders in your framework extension's folder, something like custom_frameworks/template_folders which will hold all new file templates.
Then in your framework extension configuration dialog in the Templates tab add a reference to that folder.
As a side note, in Oxygen 17.1 (which will probably be released in Autumn this year) if your DITA Open Toolkit plugin which contains the DTD specialization will also contain a template_folders directory in it, Oxygen will automatically pick up new file templates from that folder and present them in the File->New wizard.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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