Re: [Docbook] programlisting

[email protected]
Newsgroups gmane.text.xml.french.tech
Message-ID <[email protected]>
Si ça peut aider quelqu'un d'autre, j'ai trouvé une solution à mon problème.

J'ai changé un attribut dans la feuille de style qui contient les paramètres
pour le fo :
<xsl:attribute-set name="monospace.verbatim.properties"
use-attribute-sets="verbatim.properties monospace.properties">
  <xsl:attribute name="text-align">start</xsl:attribute>
  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
</xsl:attribute-set>

Selon [email protected]:

> Bonjour,
>
> Je cherche à imprimer des listings à l'intérieur d'un document docbook. J'ai
> utilisé la balise programlisting.
>
> Lorsque je génère le pdf, le résultat n'est pas satisfaisant car le code
> déborde. Y'a t'il un moyen de spécifier de faire des sauts de ligne lorsqu'on
> arrive en bordure de page ?
>
> Merci d'avance.
>
> Xavier
>
> --
> Devenez redacteur <XML>fr et contribuez au developpement du
> xml francophone (http://xmlfr.org/infos/redacteurs/) !
>
> Liste de diffusion "[email protected]" (http://xmlfr.org).
>
> Cette liste est a votre disposition pour discuter en francais de
> tout sujet technique lie a XML.
>
> Pour resilier votre abonnement, envoyez un message contenant
> la commande "unsubscribe" a [email protected]
> (mailto:[email protected]?Subject=unsubscribe)
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.