![]() |
#841 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,378
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Oldpilot: <mbp
![]() <div style="page-break-after:always"></div> You should also read the conversion section of the calibre user manual to learn how to control where calibre puts its automatic pagebreaks. @wn0x: If your input document contains font families they will be in the output stylesheet as well, unless what you put into extra css overrides them. In that case, Tweak epub is the way to go. |
![]() |
![]() |
![]() |
#842 |
Member
![]() ![]() ![]() ![]() Posts: 13
Karma: 378
Join Date: Mar 2010
Device: Sony PRS-505
|
Re: Font References in stylesheet.css
Thanks Kovid. I noticed that if I re-converted the the file to epub any changes I made to stylesheet.css were lost, so that makes sense. I will have to "explode" and modify the input epub files if I don't want to mess with that again.
I can override epub styles on the PRS505 as I am running prs+ which is an awesome feature. I am hoping that future versions of the PRS-950 allow for a different default font, or that a font replacement hack becomes available for the reader. Rich |
![]() |
![]() |
Advert | |
|
![]() |
#843 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76
Karma: 4430
Join Date: Jan 2009
Location: Chicagoland
Device: Kindle 4, eBookwise & Literati
|
Quote:
Last edited by ThePage; 11-19-2010 at 08:45 AM. Reason: misspelling |
|
![]() |
![]() |
![]() |
#844 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76
Karma: 4430
Join Date: Jan 2009
Location: Chicagoland
Device: Kindle 4, eBookwise & Literati
|
Repeating myself - you might want to offer (both) macro's for others to use - if you haven't already!
|
![]() |
![]() |
![]() |
#845 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2010
Device: none
|
how to keep images proportion
Hi all, I registered now on the forum...
I trying Calibre and I have a very good impression of it! I made a document with Open Office and save as html for convert it to an epub file. The conversion of text (with the default options) went fine, but the images don't maintain proportions. To do this I need to use Sigil end edit manually the code. Here's a simply option in Calibre for maintain proportions of the included images? Thanks for your help, Silvio. Last edited by SilvioTO; 11-20-2010 at 09:39 AM. Reason: typing error |
![]() |
![]() |
Advert | |
|
![]() |
#846 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Another possibility is to save the document as an ODT file and try converting that with calibre and see if you have the same problem. Good Luck. ![]() |
|
![]() |
![]() |
![]() |
#847 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Code:
<p><img src="images/mypic.jpg" alt="mypic" /></p> There may be better ways, but this works for me. Last edited by jackie_w; 11-20-2010 at 08:04 PM. |
|
![]() |
![]() |
![]() |
#848 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#849 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Nov 2010
Device: none
|
Quote:
In a future version of Calibre I hope that an option are added to maintain aspect ratio of images and, maybe, center in the text. Thanks all for advices. ![]() |
|
![]() |
![]() |
![]() |
#850 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
[QUOTE=SilvioTO;1227385]I'm refer to aspect ratio of the images. If you try to open my epub in attach and change the dimension of the window of your reader, you will see that the images are stretched, don't maintain the original aspect ratio.
My PRS-505 or Kindle don't have expandable windows so the images are converted fine for these and other fixed sized devices. Quote:
That said I'm surprised the window resizing doesn't maintain aspect ratio. |
|
![]() |
![]() |
![]() |
#851 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
[QUOTE=dwanthny;1227410]
Quote:
![]() |
|
![]() |
![]() |
![]() |
#852 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,378
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Umm aspect ratio is only not preserved for covers and there is an option under EPUB Output to control that.
|
![]() |
![]() |
![]() |
#853 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Keeping up with all the changes in Calibre can be such a pain ![]() Hit me again ![]() |
|
![]() |
![]() |
![]() |
#854 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#855 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,378
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah, that's a side effect of the way max-width is implemented in webkit. Simply turn off the option to fit images to the viewer window if it bothers you.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Epub Output: Line Height | greenapple | Conversion | 20 | 01-27-2013 09:27 AM |
EPUB output justification | toki08 | Calibre | 10 | 01-08-2011 04:14 PM |
Calibre epub output details and Nook | squidward | Calibre | 6 | 11-24-2010 03:21 PM |
epub output metadata | troymc | Calibre | 5 | 05-22-2010 12:23 AM |
Problem with epub output in Cybook Gen3 | fjf | Calibre | 3 | 02-03-2010 02:23 AM |