← Prev in month ← Prev in thread
Next in thread → Next in month →

FW: [oasis-tcs/dita-lwdita] Cannot create inline graphics in HTML5 output (Issue #60)

From
Kristen Eberlein
Date
2022-04-11T14:39:00+00:00
ID
Thread
FW: [oasis-tcs/dita-lwdita] Cannot create inline graphics in HTML5 output (Issue #60)
FYI.


  Kris
From:  DTC-tobin <>
  Sent:  Monday, April 11, 2022 12:22 AM
To:  oasis-tcs/dita-lwdita <>
Cc:  Subscribed <>
Subject:  [oasis-tcs/dita-lwdita] Cannot create inline graphics in HTML5 output (Issue #60)


  Due to the limitations on LwDITA, every
<image>
element includes a trailing

<br>
element when the data is converted to HTML5 such as follows:
  DITA source

<p>The system has a malfunction. <image href=
height="29.000pt" width="42.999pt" /> (warning indicator: Yellow)</p>
  HTML5 output

<p class="p">The system has a malfunction. <img class="image" height="39" src=
width="57"><br> (warning indicator: Yellow)</p>
  It looks like this is due to no support for the
@placement
attribute in LwDITA. In the dita2html5 plugin, there is the following transformation in

 topic.xsl  (lines 1375 and 1376 in the Git repository):

<!-- build any post break indicated by style -->

<xsl:if test="not(@placement = 'inline')"><br/></xsl:if>
  Since there is no
@placement
attribute, this condition can never be true, and all images are rendered with a line break after essentially making inline images impossible.

 Reply to this email directly,
view it on GitHub
, or

unsubscribe
.
 You are receiving this because you are subscribed to this thread.
Message
  ID: <
oasis-tcs/dita-lwdita/issues/
>
← Prev in month ← Prev in thread
Next in thread → Next in month →