output maging with external code insertion
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 19
- Joined: Tue Sep 18, 2007 1:45 pm
output maging with external code insertion
Post by arnaudmrs13 »
Hello Sorin and thank you for your help yesterday,
When i use external code, the text included in my file as you can see :
The result is great because i do not have to copy and paste the file.. well
in my xsl had input this to obtain a good result :
this is my final result

and as you can see with the number "1" circle, the text is outside the marge
and with the number 2 i would like to make the left marge for my paragraph less important.
Could you give me a few information to make it working please ?
Thanks
Arnaud
When i use external code, the text included in my file as you can see :
Code: Select all
<para>
<programlisting><textobject><textdata
fileref="file:///N:/hyzowa1/20071122/tree/etc/fstab"/></textobject>
</programlisting>
</para>
in my xsl had input this to obtain a good result :
Code: Select all
<xsl:template match="para">
<fo:block font-size="10pt" space-before.optimum="12pt" text-align="justify"><xsl:apply-templates/></fo:block>
</xsl:template>
<xsl:template match="textobject">
<fo:block font-size="8pt" space-before.optimum="10pt" text-align="left"><xsl:apply-templates/></fo:block>
</xsl:template>
<xsl:attribute-set name="shade.verbatim.style">
<xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
<xsl:attribute name="font-size">8pt</xsl:attribute>
<xsl:attribute-set>
and as you can see with the number "1" circle, the text is outside the marge
and with the number 2 i would like to make the left marge for my paragraph less important.
Could you give me a few information to make it working please ?
Thanks
Arnaud

-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
For the first problem you should either edit the tree/etc/fstab file to reduce the line length of the text that goes outside the page margin or hyphenate the long lines by setting the Docbook parameter hyphenate.verbatim.characters to a set of characters appropriate for your documents.
For the second problem you have to customize the Docbook stylesheet and modify the templates for the section titles and section content that you use for Fichier fstab de hyzowa2.
Regards,
Sorin
For the first problem you should either edit the tree/etc/fstab file to reduce the line length of the text that goes outside the page margin or hyphenate the long lines by setting the Docbook parameter hyphenate.verbatim.characters to a set of characters appropriate for your documents.
For the second problem you have to customize the Docbook stylesheet and modify the templates for the section titles and section content that you use for Fichier fstab de hyzowa2.
Regards,
Sorin
Return to “General XML Questions”
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