Skip to content

Image alignment in more readers and writers #4542

@pyssling

Description

@pyssling

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions