Skip to content

Section embedded within other section in sample2e.tex #984

@bfirsh

Description

@bfirsh

Looks like #959 is now fixed, but I'm seeing another regression when trying to bump LaTeXML. I think it's in d18cdad..fd566f1 somewhere.

It's a problem with sample2e.tex, a test document that is bundled with LaTeX. It's quite hard to explain, but quite obvious if you just render it and view the DOM. Basically, Section 2 is embedded inside the last paragraph of section 1. Some of the stuff in that last paragraph is also messed up (like the footnote, which should be in its own paragraph), which I think it is causing it to mess up everything following that.

Here is a screenshot of the DOM which shows the problem more clearly:

screenshot 2018-05-02 19 01 35

Ref arxiv-vanity/engrafo#292 (As an aside: our tests have HTML snapshotting. I have committed the broken output so you can see the diff of the HTML if you expand the large diff in the github UI.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions