broken ..epigraph in XeTeX?

Matěj Cepl <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
So, I have a document which should start like this:


    Druhý život Petunie Dursleyové
    ##############################

    .. epigraph::

        Co je nejvyšším cílem člověka?

        Nejvyšším cílem člověka je oslavovat Boha a věčně se 
        z Něj radovat.

        -- Westminsterský katechismus, 1647

    Na cizinecké policii
    --------------------

    Hustě sněžilo, obloha byla zatažená a cítila se mizerně. 
    Její náladě ani nepřidalo to, že budova cizinecké policie 

This works perfectly with rst2html (or rst2html5 for that 
matter, which seems a way cooler ... thank you for that!), but 
it completely breaks rst2xetex. I get this LaTeX code for the 
epigraph:

    \begin{quote}
    \DUrole{epigraph}{
    Co je nejvyšším cílem člověka?

    Nejvyšším cílem člověka je oslavovat Boha a věčně se z Něj 
    radovat.
    \nopagebreak

    \raggedleft —Westminsterský katechismus, 1647
    }
    \end{quote}

And this error when run through xelatex:

    Runaway argument?
    { Co je nejvyšším cílem člověka? 
    ! Paragraph ended before \DUrole was complete.
    <to be read again> 
                       \par 
    l.71 
     
How can I have a paragraph break inside of ..epigraph?

Best,

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: [email protected]
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Always make new mistakes
   -- Esther Dyson


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
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.