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,356
Karma: 23661992
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,356
Karma: 23661992
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,356
Karma: 23661992
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: 11,942
Karma: 7219261
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,157
Karma: 6426808
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
|
|
|
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 |