OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] line breaking in programlistings


I  have following in my stylesheet:



<!--  formatting programlistings -->
<xsl:attribute-set name="monospace.verbatim.properties">
   <xsl:attribute name="font-family">Courier</xsl:attribute>
   <xsl:attribute name="font-size">8pt</xsl:attribute>
   <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>
   <xsl:attribute name="wrap-option">wrap</xsl:attribute>
   <xsl:attribute name="hyphenation-character">&#x200B;_</xsl:attribute>
</xsl:attribute-set>

Is this correct?




Am 23.11.2010 14:23, schrieb Maxime Bégnis:
> Hello Lwam,
>
> I guess you are talking about FO output.
> I do this by adding zero width spaces where I want the line breaking to
> happen :
>
> tx&#x200B;_pteswepricecalculator&#x200B;_supplarea
>
> Note that you may need to setup some things in your XSL as described in
> http://www.sagehill.net/docbookxsl/FittingText.html
>
> I would like to hear about a higher-level way to do it, if there is one.
>
> cheers
>
> [NeoDoc] NeoDoc
> Maxime Bégnis
> Développeur
> maxime@neodoc.biz
> Tél: 09.54.96.99.55 - Fax: 09.59.96.99.55
> http://www.neodoc.fr/
> 5, rue de la Touloubre
> 13770 Venelles
>
> Le 22/11/2010 15:02, Lwam Berhane a écrit :
>> Hello!
>> how can I break e.g tx_pteswepricecalculator_supplarea at the
>> underscores? Are there any similiarities to LaTex?
>> In LaTeX it works like this:
>> tx_"-pteswepricecalculator_"-supplyarea
>>
>>
>>
>> Best regards Lwam
>>


-- 
Gruß Lwam Berhane



punkt.de GmbH               TYPO3-Internet-Dienstleistungen-Beratung
Kaiserallee 13a             Tel.: 0721 9109-0  Fax: -100
76133 Karlsruhe             info@punkt.de    http://punkt.de/
AG Mannheim 108285          Gf: Jürgen Egeling


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]