← Prev in month ← Prev in thread

Docbook XML to Epub

From
Philo Calhoun <>
Date
2021-03-24T23:51:41+00:00
ID
Thread
Docbook XML to Epub
"Regarding your first question, if you put a role attribute on a phrase (<phrase role=âredâ>contents</phrase>), the value of that role will be carried to the HTML (e.g., <span class=âredâ>contents</span>)
You can then apply css normally.

Regarding your second question, Iâm not so sure whatâs the best thing to do, but you might try the same approach, wrapping the inlinemediaobject in a phrase with a role, then key off whatever sequence of spans you get (probably something like span.XYZ>span.inlinemediaobject>img).

Dick Hamiltonâ

That is great! Thank you so much. The red span works great. I will see if I can do the same for the images.
← Prev in month ← Prev in thread