![]() |
#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?
|
![]() |
![]() |
![]() |
#377 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,242
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
switch to flow mode and page scrolling will keep a line or two.
|
![]() |
![]() |
![]() |
#378 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle
|
|
![]() |
![]() |
![]() |
#379 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,242
Karma: 23446430
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.
|
![]() |
![]() |
![]() |
#380 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle
|
I cannot find the file with the name "flow_mode.pyj"
![]() |
![]() |
![]() |
![]() |
#381 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,242
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Its in the source code: https://manual.calibre-ebook.com/develop.html
|
![]() |
![]() |
![]() |
#382 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,897
Karma: 7042567
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Also, distro-supplied versions of calibre are not supported. |
||
![]() |
![]() |
![]() |
#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.
|
![]() |
![]() |
![]() |
#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!
|
![]() |
![]() |
![]() |
#385 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,085
Karma: 6425108
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) |
![]() |
![]() |
![]() |
#386 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2024
Device: None
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |