Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2024, 01:46 PM   #376
3-WVI
Junior Member
3-WVI began at the beginning.
 
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?
3-WVI is offline   Reply With Quote
Old 07-10-2024, 12:08 AM   #377
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,572
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
switch to flow mode and page scrolling will keep a line or two.
kovidgoyal is offline   Reply With Quote
Old 07-10-2024, 11:50 AM   #378
3-WVI
Junior Member
3-WVI began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
switch to flow mode and page scrolling will keep a line or two.
Hi Kovidgoyal,

I am already in the flow mode.
When I use "Page Down" or "Page Up" all I get, at best, a line cut in half horizontally transferred from the previous page.

Thank you
3-WVI is offline   Reply With Quote
Old 07-10-2024, 01:04 PM   #379
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,572
Karma: 24495948
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.
kovidgoyal is offline   Reply With Quote
Old 07-10-2024, 02:40 PM   #380
3-WVI
Junior Member
3-WVI began at the beginning.
 
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
3-WVI is offline   Reply With Quote
Old 07-10-2024, 09:31 PM   #381
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,572
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Its in the source code: https://manual.calibre-ebook.com/develop.html
kovidgoyal is offline   Reply With Quote
Old 07-11-2024, 07:39 AM   #382
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,045
Karma: 7548549
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by 3-WVI View Post
I cannot find the file with the name "flow_mode.pyj" my version 6.13 on Debian 12.5
Quote:
Originally Posted by kovidgoyal View Post
@3-WVI: Note that you are running a calibre version more than a year old. Any fixes/changes are done in the latest version. In addition, the problem you are having might already have been fixed.

Also, distro-supplied versions of calibre are not supported.
chaley is offline   Reply With Quote
Old 07-11-2024, 11:21 AM   #383
3-WVI
Junior Member
3-WVI began at the beginning.
 
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.
3-WVI is offline   Reply With Quote
Old 08-06-2024, 11:33 AM   #384
readerperson
Junior Member
readerperson began at the beginning.
 
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!
Attached Thumbnails
Click image for larger version

Name:	Captura de tela 2024-08-06 113220.png
Views:	122
Size:	111.9 KB
ID:	209999  
readerperson is offline   Reply With Quote
Old 08-06-2024, 11:52 AM   #385
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,288
Karma: 6543210
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)
Comfy.n is offline   Reply With Quote
Old 08-06-2024, 05:37 PM   #386
readerperson
Junior Member
readerperson began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: None
Quote:
Originally Posted by Comfy.n View Post
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)
It worked! Thank you very much!
readerperson is offline   Reply With Quote
Old 10-01-2024, 09:51 AM   #387
travger
Evangelist
travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.travger ought to be getting tired of karma fortunes by now.
 
travger's Avatar
 
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?.
travger is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom CSS for output deckoff Calibre 1 08-29-2010 12:55 AM
ePub with custom .css on a 505 dicknskip Sony Reader Dev Corner 3 06-10-2010 12:34 AM
User stylesheets for ePub files salty-horse Sony Reader Dev Corner 12 02-23-2010 08:44 AM
ePub conversion: override existing css with a custom one sbin Calibre 1 01-09-2010 05:03 AM
Calibre's generated css for epub brewt Calibre 7 12-29-2008 10:59 AM


All times are GMT -4. The time now is 11:35 AM.


MobileRead.com is a privately owned, operated and funded community.