Can the opt file be conditionalized?
Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Fri Feb 04, 2022 6:09 pm
Can the opt file be conditionalized?
Post by mmgHinchey »
Our webhelp is published in multiple languages, some of which require a unique font family. Including unused font families in every build has caused our webhelp output file size to become unmanageable. I would like to conditionalize which font family is included in the build. Our custom opt file seems to be the logical place for that. Is there any way to use the xml:lang or perhaps a parameter to either select a opt file, or conditionalize the <fileset> or <include> tags within the opt file?
Thank you.
Thank you.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Can the opt file be conditionalized?
Hi,
Unfortunately, in the current WebHelp implementation there isn't this possibility (to load only specific resources in the opt file based on a condition).
A possible workaround would be to have different opt files for each language you might need. The newly created opt files can be stored in the same directory (you can have a collection of publishing templates and resources located in the same folder).
I hope this helps.
Regards,
Ionela
Unfortunately, in the current WebHelp implementation there isn't this possibility (to load only specific resources in the opt file based on a condition).
A possible workaround would be to have different opt files for each language you might need. The newly created opt files can be stored in the same directory (you can have a collection of publishing templates and resources located in the same folder).
I hope this helps.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 4
- Joined: Fri Feb 04, 2022 6:09 pm
Re: Can the opt file be conditionalized?
Post by mmgHinchey »
Thank you for the suggestion. How can I indicate which .opt files are called?
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: Can the opt file be conditionalized?
Hello,
If you are running the WebHelp Responsive transformation from the command line see this article: https://www.oxygenxml.com/doc/versions/ ... cript.html
Regards,
Alin
If you are running the WebHelp Responsive transformation from the command line see this article: https://www.oxygenxml.com/doc/versions/ ... cript.html
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
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