-
Notifications
You must be signed in to change notification settings - Fork 34
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
Controlling image size #65
Comments
HI Fabian, there was recently issue with the Graphics package update that broke the
This way the dimensions will be generated always. See this example:
It will generate this HTML when the
An example of subfigures that should work:
Note that it also depends on the reader how it will display that. It is quite possible that if it has a poor CSS support, it will display the subfigures wrongly. |
Thanks a lot, the ebb -x changed a lot!! It works for some cases out of the box, the others need to be investigated. |
@Fabian188 sure, feel free to make a MWE that shows the issues :) |
My pdfs (e.g. the ones generated by gnuplot) have a transparent background, I guess this comes from the following command
|
The Ghostscript configuration for PDF can be configured using `\Configure{PdfConvert}. This is the default value:
You can change it according your needs. |
Thanks for the response, I'll follow the way the next edition. My figures are fine now with the same latex file for pdflatex and for epub. I use the following simple form \begin{figure}[ht!] However, for mobi, all figures with more than one graphics are smaller than half the page width. For a single graphics mobi looks as epub and I'm fine (just the centering is ignored but that is ok). The result looks like as having halved the width in the multi graphics case. I use Kindle Previewer 3 on a Mac. I get the same (in Previewer) when converting the epub with Kinde Previewer. When converting the epub to mobi with Calibre, all figures (single and multiple graphics) are not wider than the "Figure x.y:" in the caption. I know, the ultimage approach is to create new figures out of the single ones, but maybe someone knowns a better workarorund? Thanks! |
This may be an issue in Kindle, I think it doesn't support full CSS, so it may be hard to achieve what you want. Maybe some info can be found in Kindle publishing guidelines. |
I guess this is not a bug but an inability from my side, but after hours trying I still did not succeed the slightest step in controlling the size of images for .epub
Can someone please provide a full example of
a) controlling the size of images relatively to the pagewidth
b) placing two or three images side by side
Thank you very much!
The text was updated successfully, but these errors were encountered: