-
Notifications
You must be signed in to change notification settings - Fork 33
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
cannot change caption format #66
Comments
Try the following .cfg file:
I am not sure how the ebook readers will handle it, though. Their CSS support can be poor. |
That had the wrong effect: It moved the caption block to the left (and eats the beginning of the line) but it still ignores the caption format which shall be plain instead of hang. Is there a log file I can search for a reason? This is the code: It is a table (hang format) <table class="caption"
Abbildung 2.1: I don't know how to escape the code example, therefore also a screenshot ` |
I almost resolved all my other issues? Is there a way to have the table for the caption omitted? Shall I provide more information (e.g. a MWE)? Thanks! |
Ah, I understood your request incorrectly, I thought that you want to replicate the
|
For me (tex4ebook v0.2c, newest on openSUSE tumbleweed) the default for cation is hang, even when set to plain via \usepackage[format=plain]{caption} it is ignored by tex4ebook. I attach screenshots for the pdflatex case (there the style is plain), the case with tex4ebook where it is the hang style (ignoring option plain) with tables. When I copy your 5 lines to a config file, the output is corrupt in Apple's Books reader. As there are html tables, I think we cannot do much with css configuration?!. Shall I try to provide a MWE? |
By default float's caption setup has format=hang. This means that all lines of the caption text start right of "Figure 3.2: ". This can be changed by
\usepackage[format=plain,indention=.5cm]{caption}
or
\usepackage[format=plain]{caption}
which seems to be ignored for epub.
The text was updated successfully, but these errors were encountered: