Hi Alexey,
I think your changes make perfect sense to me. Please go ahead and check them in. Thanks.

Bob Stayton
Sagehill Enterprises
[email protected]

On 5/20/2014 12:07 PM, Alexey Neyman wrote:
Hi,

A coworker reported an issue in FO output with a nested emphasis:

- <emphasis role="bold"><emphasis>foo</emphasis></emphasis> displays "foo" in
regular bold.

- <emphasis><emphasis role="bold">foo</emphasis></emphasis> displays "foo" in
bold italics.

This happens because the template in inline.xsl counts the total number of
ancestor emphasis elements when it does not have a @role - notwithstanding the
@role attribute on those ancestor.

On a related note, is there a reason why this (and some other templates are
counting dots in the number generated for the current emphasis, rather than
doing a simple count(ancestor::emphasis)?

Or in other words, any objections to committing the attached patch?

Regards,
Alexey.




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to