How to add a custom skin to a DITA OT process
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 24
- Joined: Mon Aug 24, 2015 11:37 pm
How to add a custom skin to a DITA OT process
Post by Glimmerino »
Hello.
I have created a custom skin from the webhelp skin builder. I want to use this skin in my DITA OT build process. (I have purchased the webhelp plugins separately)
How do I install the new skin and how do I set the parameter -Dwebhelp.skin.css="url to the skin location"?
I don't want to go via Oxygen since I have my own build process.
Best regards
I have created a custom skin from the webhelp skin builder. I want to use this skin in my DITA OT build process. (I have purchased the webhelp plugins separately)
How do I install the new skin and how do I set the parameter -Dwebhelp.skin.css="url to the skin location"?
I don't want to go via Oxygen since I have my own build process.
Best regards
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: How to add a custom skin to a DITA OT process
Hi,
You have to save the CSS with the custom skin in the file system and indicate the path to it (a URL won't work) in the value of that parameter from the command line:
-Dwebhelp.skin.css=/path/to/my/custom.css
Regards,
Adrian
You have to save the CSS with the custom skin in the file system and indicate the path to it (a URL won't work) in the value of that parameter from the command line:
-Dwebhelp.skin.css=/path/to/my/custom.css
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 24
- Joined: Mon Aug 24, 2015 11:37 pm
Re: How to add a custom skin to a DITA OT process
Post by Glimmerino »
Hi.
Yes, but to which build file does that parameter go? Is it to the "build.xml" in the Dita source folder? Or is it to any other build file?
/Kristian
Yes, but to which build file does that parameter go? Is it to the "build.xml" in the Dita source folder? Or is it to any other build file?
/Kristian
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: How to add a custom skin to a DITA OT process
Post by bogdan_cercelaru »
Hi,
Depending on your operating system, you should open the "dita.bat" or "dita.sh" file from the "com.oxygenxml.webhelp" plugin directory and edit the line that starts with "-Dwebhelp.skin.css". If you cannot find it, please add this line at the and of your file:
Please note that you need at least version 16.0 of the WebHelp plugin to use a custom skin file.
Regards,
Bogdan
Depending on your operating system, you should open the "dita.bat" or "dita.sh" file from the "com.oxygenxml.webhelp" plugin directory and edit the line that starts with "-Dwebhelp.skin.css". If you cannot find it, please add this line at the and of your file:
Code: Select all
-Dwebhelp.skin.css=/path/to/my/custom.css
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 24
- Joined: Mon Aug 24, 2015 11:37 pm
Re: How to add a custom skin to a DITA OT process
Post by Glimmerino »
Hi.
This doesnt work since I dont think build.sh is part of my build process, nor should it be.
The build process goes as follows.
<my own ant build script> --> <dita.dir/build.xml (transtype=webhelp)> --> <dita.dir/plugins/com.oxygenxml.webhelp/build.dita.xml>
Where does the parameter "-Dwebhelp.skin.css" go if only using these scripts?
/Kristian
This doesnt work since I dont think build.sh is part of my build process, nor should it be.
The build process goes as follows.
<my own ant build script> --> <dita.dir/build.xml (transtype=webhelp)> --> <dita.dir/plugins/com.oxygenxml.webhelp/build.dita.xml>
Where does the parameter "-Dwebhelp.skin.css" go if only using these scripts?
/Kristian
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: How to add a custom skin to a DITA OT process
Post by bogdan_cercelaru »
Hi,
We've already discussed this in private, but in case anyone else needs to do this from an ANT build script, it should contain something like:
Regards,
Bogdan
We've already discussed this in private, but in case anyone else needs to do this from an ANT build script, it should contain something like:
Code: Select all
<target name="build.webhelp">
<ant antfile="${dita.dir}/build.xml">
<property name="args.input" location="${basedir}/in/project.ditamap"/>
<property name="output.dir" location="${basedir}/out/webhelp"/>
<property name="transtype" value="webhelp"/>
...
<property name="webhelp.skin.css" value="${path.to.skin.css}"/>
...
</ant>
</target>
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
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