07-09-2024, 12:46 PM | #376 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle
|
Lines to keep per page scrolling
Hi, I am wondering if it is possible Calibre Viewer to keep 1 or 2 lines per page scrolling?
|
07-09-2024, 11:08 PM | #377 |
creator of calibre
Posts: 44,499
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
switch to flow mode and page scrolling will keep a line or two.
|
07-10-2024, 10:50 AM | #378 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle
|
|
07-10-2024, 12:04 PM | #379 |
creator of calibre
Posts: 44,499
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
ah right yes it is hardcoded to do page height - 10px. You can change that by patching line 166 in flow_mode.pyj increasing the 10 to something bigger.
|
07-10-2024, 01:40 PM | #380 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle
|
I cannot find the file with the name "flow_mode.pyj" my version 6.13 on Debian 12.5
|
07-10-2024, 08:31 PM | #381 |
creator of calibre
Posts: 44,499
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Its in the source code: https://manual.calibre-ebook.com/develop.html
|
07-11-2024, 06:39 AM | #382 | ||
Grand Sorcerer
Posts: 12,021
Karma: 7257323
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Also, distro-supplied versions of calibre are not supported. |
||
07-11-2024, 10:21 AM | #383 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle
|
Got it! I will try the latest version first and the source code file option next. Thank you.
|
08-06-2024, 10:33 AM | #384 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: None
|
Can someone help me put some space between the tables and the paragraphs? Thank you very much!
|
08-06-2024, 10:52 AM | #385 |
want to learn what I want
Posts: 1,248
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
I'm not a CSS expert, but you could try:
table + p {margin-top: 5em !important;} (I have p + p {margin-top: 0.30em !important;} to add spacing between paras) |
08-06-2024, 04:37 PM | #386 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: None
|
|
10-01-2024, 08:51 AM | #387 |
Evangelist
Posts: 485
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
At last I bought new PC and could update my Calibre, but I the viewer does not behave. Tweaked margins and text (2-pge layout) to my liking, but after adding background picture the text has no margins. What I'm trying to achieve is the all area covered with image, and text with 10-20 px margins.
On the Page Layout settings, the 'Change the page margins (in pixels) below' seems to set the background area - only with value 0 is all background covered with image (jpg) 'Change the maximum screen area (in pixels) used to display text' also changes the image size, and text area What Im I doing wrong?. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom CSS for output | deckoff | Calibre | 1 | 08-28-2010 11:55 PM |
ePub with custom .css on a 505 | dicknskip | Sony Reader Dev Corner | 3 | 06-09-2010 11:34 PM |
User stylesheets for ePub files | salty-horse | Sony Reader Dev Corner | 12 | 02-23-2010 07:44 AM |
ePub conversion: override existing css with a custom one | sbin | Calibre | 1 | 01-09-2010 04:03 AM |
Calibre's generated css for epub | brewt | Calibre | 7 | 12-29-2008 09:59 AM |