-
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
Support for \vspace
#125
Comments
I think it is better to use custom commands in this case. |
Yes, I understand and agree. Ideally, something like in #117 could be provided to ensure robustness of code, maintainability and ease of use. |
Based on the given material, I have (theoretically, untested) came up with something like: LaTeX file/style:
Configuration file for tex4ebook:
Is that sensible (does it work, and other improvement suggestions)? |
For this LaTeX package, this
It saves the amount specified for the |
Nice, perfect. Many thanks! Right now, I am not sure, if I am doing things right. I have included the command creation in a LaTeX style that gets loaded in the main LaTeX document. And I also created Unfortunately, it doesn't seem to have an effect. Do I need to place the |
Is the main style named |
Ah, okay, didn't know that. The main style is at a sub folder (possibly, that might also cause further conflicts) and is just named So I'll try with |
Interesting. Now, the spacing seems to work, at least. But it broke many other things, like the TOC, etc. |
I assume, |
Well, it clashes with |
Ah, yes, makes sense. I have set it up in this way in many projects, but probably, it is a good thing to rename it, in general. Will test again and report back. |
Mh, I renamed as you suggested. The weird thing is that now, the I'll try to check whether I can fix that by moving the location of |
In this case, you should put the |
Okay, so moving both to the same subfolder didn't work (possibly to a flawed way of me integrating that style), but moving Moving forward, I am hoping to get the command integrated by default (like in #117). Also, as I am currently not sure about integration of |
So for the flawed integration of that style: Before, I did it like: \usepackage{./subfolder/mybook} and in the style: \ProvidesPackage{mybook} which always gave the warning
So I fixed that with changing the style to \ProvidesPackage{./subfolder/mybook} Unfortunately, that still doesn't make the |
Try \usepackage{subfolder/mybook} The leading |
Thanks, that works! |
After checking back with my PDF, I noticed, that sometimes, Similarly, support for I have been experimenting a bit with margins and other options, but didn't get a working result, yet. I think, collapsible margins might be a way to achieve it. |
I think in HTML, this CSS definition should suppress additional spaces after multiple
|
Thanks! As that topic seems to be also a bit more expanding, I created a follow-up issue: #130. |
Recently, I discovered, that currently, there doesn't seem to be support for the
\vspace
command.I assume this is on purpose, similar to #100.
However, especially with the option
p-indent
, that causes visual problems when one wants to visually separate some paragraphs from others (also see #122 for the similar issue that is about horizontal margins).I hope, some good solution for this can be found.
The text was updated successfully, but these errors were encountered: