You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pandoc 2.1.3 to generate ODT from docbook. My docbook has image alignment and width constraints. I believe the width constraints are carried over, but the alignment is definitely not.
The docbook xml looks like this:
<title>Three nodes in quorum with full connectivity</title>
diag 82abce45400eb7db76c52e09f45d1975
The content.xml inside the ODT looks like this:
<text:p text:style-name="FigureWithCaption"><draw:frame draw:name="img1" svg:width="174.75pt" svg:height="129.0pt"><draw:i
mage xlink:href="Pictures/0.svg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /></draw:frame></text:p>
<text:p text:style-name="FigureCaption">Three nodes in quorum with full connectivity</text:p>
All alignment is missing, both from the figure and the caption and also the caption appears outside the figure. I'm not sure what the consequence of this is, but I believe the elements are not really associated then.
Any help/fixes much appreciated, my haskell is really rusty I'm afraid.
The text was updated successfully, but these errors were encountered:
99b39ff (for the RST reader) stores alignment in the AST simply as a align-left or align-right class on the Image element... so other readers and writers should probably eventually be changed accordingly...
mb21
changed the title
Docbook to ODT image alignment & caption
Image alignment in more readers and writers
May 6, 2018
I'm using pandoc 2.1.3 to generate ODT from docbook. My docbook has image alignment and width constraints. I believe the width constraints are carried over, but the alignment is definitely not.
The docbook xml looks like this:
<title>Three nodes in quorum with full connectivity</title> diag 82abce45400eb7db76c52e09f45d1975The content.xml inside the ODT looks like this:
<text:p text:style-name="FigureWithCaption"><draw:frame draw:name="img1" svg:width="174.75pt" svg:height="129.0pt"><draw:i
mage xlink:href="Pictures/0.svg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" /></draw:frame></text:p>
<text:p text:style-name="FigureCaption">Three nodes in quorum with full connectivity</text:p>
All alignment is missing, both from the figure and the caption and also the caption appears outside the figure. I'm not sure what the consequence of this is, but I believe the elements are not really associated then.
Any help/fixes much appreciated, my haskell is really rusty I'm afraid.
The text was updated successfully, but these errors were encountered: