Hi,

The problem is in the docbook to epub xsl:

http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl

which comes from the docbook project.

It ignores the docbook role attribute, from


== Casa de Mamá Vita

[role="myverse"]
[verse, Payne]
Aunque vivamos entre placeres y honores,
no existe ningún otro lugar como la casa propia,
por humilde que sea.


asciidoc produces correct docbook


<article lang="en">

<articleinfo>

    <date>2011-03-16</date>

</articleinfo>

<section id="_casa_de_mamá_vita">

<title>Casa de Mamá Vita</title>

<blockquote role="myverse">
   <------------ NOTE
<attribution>

Payne

</attribution>

<literallayout>Aunque vivamos entre placeres y honores,

no existe ningún otro lugar como la casa propia,

por humilde que sea.</literallayout>

</blockquote>

</section>

</article>


but it doesn't make it through the epub xsl.

You might look on the docbook project and see if such a bug has been
filed or file one yourself.

Cheers
Lex

On 16 March 2011 01:35, framallo <[email protected]> wrote:
> Hi,
> I was wondering if someone find out a way to format this... :(
>
> I'll appreciate any help
>
> On Feb 4, 10:32 am, framallo <[email protected]> wrote:
>> Hi,
>>
>> I'm trying to set up the verse output format, but couldn't figure out
>> how to do it.
>> I'm trying to make an epub book.
>>
>> For instance:
>>
>> == Casa de Mamá Vita
>> image::02.JPG["Casa de Mamá Vita"]
>>
>> [verse, Payne]
>> Aunque vivamos entre placeres y honores,
>> no existe ningún otro lugar como la casa propia,
>> por humilde que sea.
>>
>> And the output is:
>> <div class="chapter" title="Casa de Mamá Vita"><div
>> class="titlepage"><div><div><h1 class="title"><a
>> id="_casa_de_mam_vita"/>Casa de Mamá Vita</h1></div></div></div><div
>> class="blockquote"><table border="0" width="100%" cellspacing="0"
>> cellpadding="0" class="blockquote" summary="Block quote"><tr><td
>> valign="top"> </td><td valign="top"><div
>> class="literallayout"><p>Aunque vivamos entre placeres y honores,<br/>
>> no existe ningún otro lugar como la casa propia,<br/>
>> por humilde que sea.</p></div></td><td valign="top"> </td></tr><tr><td
>> valign="top"> </td><td colspan="2" align="right" valign="top">--<span
>> class="attribution">
>> Payne
>> </span>
>>
>> I would like to remove the table and use classes to set up the stlye.
>>
>> I tried to set up a role to the pargraph but it creates one single
>> line. I should respect the carriage return and the verse should be in
>> 3 lines.
>>
>> Any ideas?
>> thanks!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/asciidoc?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to