Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small formatting issue with captions in float package #898

evoludolab opened this issue Dec 6, 2017 · 2 comments


Copy link

@evoludolab evoludolab commented Dec 6, 2017

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

\floatname{simulation}{\bfseries Interactive lab}

This yields the expected output from latex for the caption:
However, when converting to XHTML with lateXML the caption is formatted as
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.

@dginev dginev added the bug label Dec 6, 2017

This comment has been minimized.

Copy link

@dginev dginev commented Dec 6, 2017

Thanks for the report! Seems like a quick fix for float.sty.ltxml

@dginev dginev added the packages label Dec 6, 2017
@dginev dginev added this to the LaTeXML-0.8.3 milestone Dec 6, 2017

This comment has been minimized.

Copy link

@brucemiller brucemiller commented Jan 31, 2018

Well, it should have been easy... but in any case is fixed now. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.