Skip to content

tei2imxml: Inline graphics check disallows height attribute for EOAinline #51

Open
kthoden opened this issue May 27, 2020 · 0 comments
Open

Comments

@kthoden
Copy link

kthoden commented May 27, 2020

Currently around line 1108:
If a graphic is rendered as EOAinline or EOAfigurenonumber (as a workaround for figures in footnotes), is decided by the number of attributes:

        if len(graphic_attributes) == 1:
            graphic.tag = "EOAinline"
            graphic.text = graphic_attributes["url"]
        elif len(graphic_attributes) == 2:
            graphic_parent = graphic.getparent()

Should be handled differently

Sign in to join this conversation on GitHub.
Labels
None yet
Development

No branches or pull requests

1 participant