Setting math font in 'Antenna House Formatter' scenario
Oxygen general issues.
-
- Posts: 39
- Joined: Wed Dec 31, 2008 12:42 am
Setting math font in 'Antenna House Formatter' scenario
Post by expatriate »
To help me draw SVG diagrams containing math content using a sans-serif font, my stylesheet makes some character substitutions in MathFlow's MML then wraps the MML in a small FO file and sends it to Antenna House Formatter. The stylesheet is applied using oXygen's "Antenna House Formatter" scenario.
It works, but I cannot select the DejaVu Sans font I need. With fanatical persistence AHF uses STIX fonts, no matter where in the stylesheet I nail fontfamily attributes to the contrary.
The scenario seems not to look for an AHF settings file, as a normal AHF call would (?). Can I find the transformation script and hack it to do so? I'm not sure where to look.
Thanks
Pat
It works, but I cannot select the DejaVu Sans font I need. With fanatical persistence AHF uses STIX fonts, no matter where in the stylesheet I nail fontfamily attributes to the contrary.
The scenario seems not to look for an AHF settings file, as a normal AHF call would (?). Can I find the transformation script and hack it to do so? I'm not sure where to look.
Thanks
Pat
-
- Posts: 39
- Joined: Wed Dec 31, 2008 12:42 am
Re: Setting math font in 'Antenna House Formatter' scenario
Post by expatriate »
Just a follow-up to confirm that if I copy oXygen's call to AHF from the log, insert a parameter "-i [path-to-AHF-settings_file]" and run that from the command line, it works fine. But how can I tell the transformation scenario to do that? I see nowhere to enter that parameter…
Pat
Pat
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Setting math font in 'Antenna House Formatter' scenario
Hi Pat,
Right now Oxygen detects Antenna House is installed based on environmental variables but you do not have control over the command line it creates.
In the Oxygen Preferences->"XML / XSLT-FO-XQuery / FO Processors" page you have the option to manually add the Antenna House FO processor (there is a Browse button there). After you add it, it will appear in the FO processors list and you can edit the processor and change its command line.
Then duplicate and edit the trasformation scenario you were using and in the "FO Processors" tab select manually the Antenna House processor you have configured manually.
Regards,
Radu
Right now Oxygen detects Antenna House is installed based on environmental variables but you do not have control over the command line it creates.
In the Oxygen Preferences->"XML / XSLT-FO-XQuery / FO Processors" page you have the option to manually add the Antenna House FO processor (there is a Browse button there). After you add it, it will appear in the FO processors list and you can edit the processor and change its command line.
Then duplicate and edit the trasformation scenario you were using and in the "FO Processors" tab select manually the Antenna House processor you have configured manually.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 39
- Joined: Wed Dec 31, 2008 12:42 am
Re: Setting math font in 'Antenna House Formatter' scenario
Post by expatriate »
Thanks yet again, Radu! Fixed.
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