-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
Description
Hello,
this issue documents the inline style behaviour used in DocBook to apply a very specific style to an inline text.
Text Flow
Asciidoc
== [ChapterNumber]#2# Towards Asciidoc Books
[TIP]
====
.[TipPrefix]#Video# Title of my tip
A paragraph inside a tip.
====
DocBook
<title><phrase role="ChapterNumber">2</phrase> Towards Asciidoc Books</title>
<tip>
<formalpara>
<title><phrase role="TipPrefix">Video</phrase> Title of my tip</title>
<para>A paragraph inside a tip.</para>
</formalpara>
</tip>
OpenDocument (from pandoc)
<text:h text:style-name="Heading_20_1" text:outline-level="1">1 Towards Asciidoc Books</text:h>
<text:p text:style-name="P11"><text:span text:style-name="T279">Tip</text:span></text:p>
<text:p text:style-name="P11"><text:span text:style-name="T282">Video Title of my tip</text:span>.<text:line-break/>A paragraph inside a tip.</text:p>
<text:p text:style-name="Text_20_body">Another regular paragraph.</text:p>
Ideal solution
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:span text:style-name="ChapterNumber">2</text:span> Towards Asciidoc Books</text:h>
<text:p text:style-name="Text_20_body">Regular paragraph.</text:p>
<text:h text:style-name="ADMONITION11 ADMONITITION-TIP"><text:span text:style-name="TipPrefix">Video</text:span> Title of my tip</text:h>
<text:p text:style-name="ADMONITION11 ADMONITITION-TIP">A paragraph inside a tip.</text:p>
Something like that.
As for #1234, let me know how I can help; considering I don't know anything at all about Haskell :-(
Thanks very much :-)