TEXT output justification
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 8
- Joined: Wed Mar 31, 2004 5:20 am
TEXT output justification
I'm following the Oxygen XML help instructions (below) for creating text output. How do I stop the horrible justification of the plain text output that puts no spaces between some words and extras between others. such as:
For our purposes,the freeaccount levelismore than adequate.
c
***
TXT Output
Change directory to [oxygen]/frameworks/docbook/xsl/fo/.
Select docbook.xsl, click Open. The dialog closes.
Select the FOP tab.
Check the Perform FOP option. The remaining options are enabled.
Select the following options:
XSLT result as input.
TXT as method.
Built-in(Apache FOP) as processor.
Select the Output tab.
In the Save As field enter the output file name relative to the current directory (YourFileName.txt ) or the path and output file name (C:\FileDirectory\YourFileName.txt).
Optionally, uncheck the XHTML and XML check boxes in the Show As group.
Click Transform Now. The transformation is started.
For our purposes,the freeaccount levelismore than adequate.
c
***
TXT Output
Change directory to [oxygen]/frameworks/docbook/xsl/fo/.
Select docbook.xsl, click Open. The dialog closes.
Select the FOP tab.
Check the Perform FOP option. The remaining options are enabled.
Select the following options:
XSLT result as input.
TXT as method.
Built-in(Apache FOP) as processor.
Select the Output tab.
In the Save As field enter the output file name relative to the current directory (YourFileName.txt ) or the path and output file name (C:\FileDirectory\YourFileName.txt).
Optionally, uncheck the XHTML and XML check boxes in the Show As group.
Click Transform Now. The transformation is started.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
The FOP text renderer is not powerful as the PDF renderer. For avoiding the spacing problems you should set the following Docbook parameters:
* body.font.family="Courier"
* title.font.family="Courier"
* body.font.size="7.3pt"
Regards,
Sorin
The FOP text renderer is not powerful as the PDF renderer. For avoiding the spacing problems you should set the following Docbook parameters:
* body.font.family="Courier"
* title.font.family="Courier"
* body.font.size="7.3pt"
Regards,
Sorin
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