Skip to content

Small formatting issue with captions in float package #898

@evoludolab

Description

@evoludolab

In my .tex file I define a new float environment using

\floatstyle{plain}
\newfloat{simulation}{ht}{los}[chapter]
\floatname{simulation}{\bfseries Interactive lab}

This yields the expected output from latex for the caption:
tex
However, when converting to XHTML with lateXML the caption is formatted as
xml
Note that there are two small, related problems: first, the colon is missing after the numbers and second the entire caption is set in bold instead of only floatname plus the counters.

It seems like lateXML is dropping a couple of closing characters after the counters and prematurely continues processing the rest of the caption. This should be easy to fix but unfortunately I did not succeed so far.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions