Hi André,

2016-02-13 20:01 GMT+01:00 André Malo <n...@perlig.de>:
>
>
> The docs have DTD files in the style directory. In this case that would be
> modulesynopsis.dtd
>
> The content restriction basically means, only block elements are allowed
> inside the usage element (any of those listed and unlimited times).
> Direct inline content, such as bare text is forbidden (not sure exactly,
> but
> this looks like bare text to me: "Math is always useful but sometimes
> confusing, some examples will surely help to clarify doubts that might
> arise:")
>

I owe you one, the error was indeed that sentence not wrapped with
<p></p>!. I kept staring to the
"(p|example|note|table|ul|ol|dl|pre|highlight|blockquote)*" pattern
thinking how to read it differently from its obvious meaning, meanwhile the
error was a super simple one.


> Additional note: You might want to use the highlight element instead of
> pre.
>

Thanks for the suggestion, I'll try to move away from <pre> (this version
is still a draft).

Cheers!

Luca

Reply via email to