Re: broken ..epigraph in XeTeX?
Guenter Milde <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
On 2017-02-05, Alan G. Isaac wrote:
> On 2/5/2017 3:40 AM, Guenter Milde wrote:
>> LaTeX, the above epigraph becomes
>> \begin{quote}
>> \DUclass{epigraph}%
>> No matter where you go, there you are.
>> \nopagebreak
>> \raggedleft —Buckaroo Banzai
>> \end{quote}
> 1. Did things very recently change, or is that \DUrole not \DUclass?
> I cannot update at the moment, but I suppose this changed in
> response to Matěj.
It is \DUrole, a new function introduced in the patch I posted in my
first response.
> 2. Fixing that, this does not compile, because of the paragraph break.
This is what the OP reported.
> 3. That failure is linked to this ongoing discussion. I.e., it
> illustrates why environments should be used.
> (Perhaps the change in response to Matěj fixes this.)
Yes, the change fixed this.
> 4. Also related, note that this structure makes no allowance for
> separate formatting of the author (in contrast to the HTML output).
Just like in "normal" quotes and many other instances.
> E.g., suppose I want the text in italic but not the author name?
> (Easy in HTML+CSS.
Yes, HTML/CSS works with the classes a lot better than LaTeX. The \DUrole
and \DUclass functions are a attempt to bring at least some of this
functionality to LaTeX.
OTOH, I can define something like ::
\let\origraggedleft\raggedleft
\newcommand{\DUclassepigraph}{%
\em%
\renewcommand{\raggedleft}{\origraggedleft\rm}
}
Untested.
> Would be easy here too if environments were used...)
I agree that the possibilities are limited, but I don't see how replacing
{quote} with another environment would help.
Günter
------------------------------------------------------------------------------
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.