Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 08-20-2020, 10:02 PM   #256
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by jony08 View Post
The field for editing the notes from the Highlight panel is just half the width of the popup window in Firefox.
Are you running an outdated firefox? Looks fine on Firefox 79.0. See attached screenshot.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20200821_073150.png
Views:	265
Size:	243.1 KB
ID:	181471  
kovidgoyal is offline  
Old 08-20-2020, 11:08 PM   #257
mwgabby-li
Junior Member
mwgabby-li began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2020
Device: reMarkable v1
Calibre 5 Suggestion

Dr. Goyal, I have a suggestion for a change to the default settings in Calibre 5.

I think it might be safe at this time to change the default book export to support Unicode. (Preferences - Saving books to disk - Convert non-English characters to English equivalents)

I think that disabling this by default made sense earlier in Calibre's lifespan, but at this point pretty much everything supports it.

This came up because I have books with Japanese titles, and right now the default settings convert the titles to ASCII in a way that is not very useful. They basically end up looking garbled to someone who reads Japanese. I think it would make Calibre easier to use if the export used Unicode by default.
mwgabby-li is offline  
Old 08-20-2020, 11:53 PM   #258
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@mwgabby-li: Sure, thanks for reminding me.
kovidgoyal is offline  
Old 08-21-2020, 01:37 AM   #259
mwgabby-li
Junior Member
mwgabby-li began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2020
Device: reMarkable v1
@kovidgoyal Great, glad to hear it!

I spent some time working through RTL and vertical writing usability issues that I discovered while working on support for these things.
The first few issues I tried attacking proved harder than I expected. For example, my sister pointed out a bug with titles and summaries in RTL books not being displayed in RTL, but it's hard to do anything about that because the books don't seem to set the RTL attribute on these elements as the ePub specification permits, so other than doing some sort of heuristics on the text, it's hard to know what the writing mode should be.

Luckily, I'm having some success with the selection handles with vertical text. I've discovered that the main reason it's not working is because of the bug with collapsed ranges on vertical text, so that should be solvable with enough time.
mwgabby-li is offline  
Old 08-21-2020, 01:49 AM   #260
jony08
Connoisseur
jony08 began at the beginning.
 
Posts: 91
Karma: 10
Join Date: Jun 2016
Device: Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
Are you running an outdated firefox? Looks fine on Firefox 79.0. See attached screenshot.
I am running Firefox 68.11.0esr on Debian bullseye, it should be the latest esr version.

Last edited by jony08; 08-21-2020 at 01:51 AM.
jony08 is offline  
Old 08-21-2020, 02:42 AM   #261
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by jony08 View Post
I am running Firefox 68.11.0esr on Debian bullseye, it should be the latest esr version.
That's fairly ancient, probably explains the weird errors you posted earlier as well.
kovidgoyal is offline  
Old 08-21-2020, 01:17 PM   #262
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,210
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jony08 View Post
I am running Firefox 68.11.0esr on Debian bullseye, it should be the latest esr version.
We're using 78.1.0esr which has been out for about a month now. Switched from 68.11.0esr due to oddities with some internal corporate sites after their last set of updates. Firefox is our supported browser due to it's ability to encrypt saved passwords and our users inability to use 1Password properly so that the expletive deleted devs testing only IE 11 and Chrome is, to me, unacceptable.
DNSB is offline  
Old 08-21-2020, 04:34 PM   #263
jony08
Connoisseur
jony08 began at the beginning.
 
Posts: 91
Karma: 10
Join Date: Jun 2016
Device: Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
That's fairly ancient, probably explains the weird errors you posted earlier as well.
I installed Firefox 79.0 and can confirm that the notes field looks like it should and I do not get the error when I click on Edit metadata of book in library from Go to->Metadata. The error that I still get in Firefox 79.0 is from clicking on a selection, but it should have been fixed.
jony08 is offline  
Old 08-21-2020, 11:52 PM   #264
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by mwgabby-li View Post

Luckily, I'm having some success with the selection handles with vertical text. I've discovered that the main reason it's not working is because of the bug with collapsed ranges on vertical text, so that should be solvable with enough time.
Yes, I would be amazed if the highlighting code worked out of the box with RTL/vertical text.
kovidgoyal is offline  
Old 08-22-2020, 12:34 AM   #265
mwgabby-li
Junior Member
mwgabby-li began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2020
Device: reMarkable v1
@kovidgoyal: Well, congratulations on writing robust code, because the highlighting works great, at least with vertical text.
Really the only problem is the handles and the selection control bar.
mwgabby-li is offline  
Old 08-22-2020, 12:40 AM   #266
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
When I try to run calibre-customize on macOS using the latest beta (4.99.12) it seems to have a problem where it detaches from the terminal and constantly respawns without the arguments I originally passed. I saw this on macOS 10.15 and on the current macOS 11 beta. I do not see this with the Linux beta build.

With some setup to use a fresh config directory:

Code:
export CALIBRE_CONFIG_DIRECTORY=/Users/jgoguen/Downloads/WVuvjzL/config
export CALIBRE_TEMP_DIR=/Users/jgoguen/Downloads/WVuvjzL/tmp
# This works fine only if I haven't imported a plugin yet
./calibre.app/Contents/MacOS/calibre-customize --help
# This requires multiple rapid-fire calls to `pkill -f calibre-customize` to finally terminate and breaks even with a completely empty config directory.
./calibre.app/Contents/MacOS/calibre-customize -a ../Code/calibre-kobo-driver/KoboTouchExtended.zip
I can reproduce this no matter what the relative path is to the plugin or if I use an absolute path instead, and with other plugin files. Looking at ps output, the calibre-customize command that's run when it detaches and constantly respawns is:

Code:
/Users/jgoguen/Downloads/calibre.app/Contents/MacOS/calibre-customize -OO -B -I -c from multiprocessing.resource_tracker import main;main(5)
Looking at the config directory, the plugin did get added to the config directory and customize.py.json and global.py.json get created; only those three files exist:

Code:
% cat customize.py.json
{
  "disabled_plugins": {
    "__class__": "set",
    "__value__": []
  },
  "enabled_plugins": {
    "__class__": "set",
    "__value__": []
  },
  "filetype_mapping": {},
  "plugin_customization": {},
  "plugins": {
    "KoboTouchExtended": "/Users/jgoguen/Downloads/WVuvjzL/config/plugins/KoboTouchExtended.zip"
  }
}

% cat global.py.json
{
  "add_formats_to_existing": false,
  "case_sensitive": false,
  "check_for_dupes_on_ctl": false,
  "database_path": "/Users/jgoguen/library1.db",
  "filename_pattern": "(?P<title>.+) - (?P<author>[^_]+)",
  "input_format_order": [
    "EPUB",
    "AZW3",
    "MOBI",
    "LIT",
    "PRC",
    "FB2",
    "HTML",
    "HTM",
    "XHTM",
    "SHTML",
    "XHTML",
    "ZIP",
    "DOCX",
    "ODT",
    "RTF",
    "PDF",
    "TXT"
  ],
  "installation_uuid": "ece08ac4-9573-4a8e-925a-6bcc65d1e014",
  "isbndb_com_key": "",
  "language": null,
  "library_path": null,
  "limit_search_columns": false,
  "limit_search_columns_to": [
    "title",
    "authors",
    "tags",
    "series",
    "publisher"
  ],
  "manage_device_metadata": "manual",
  "mark_new_books": false,
  "migrated": false,
  "network_timeout": 5,
  "new_book_tags": [],
  "output_format": "EPUB",
  "read_file_metadata": true,
  "saved_searches": {},
  "swap_author_names": false,
  "use_primary_find_in_search": true,
  "user_categories": {},
  "worker_process_priority": "normal"
}
The output from calibre-customize is the same every time:

Code:
Usage: calibre-customize options                                                                                                                                  [21:38:07] exe:0.47s

Customize calibre by loading external plugins.


Whenever you pass arguments to calibre-customize that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces"

calibre-customize: error: no such option: -O
jgoguen is offline  
Old 08-22-2020, 04:15 AM   #267
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@jgoguen: This will happen if one of the plugins you are installing uses multiprocessing. In python 3.8 multiprocessing was changed to use spawn rather than fork on macOS. This should take care of it: https://github.com/kovidgoyal/calibr...6e4db0610d5ddb
kovidgoyal is offline  
Old 08-22-2020, 04:22 PM   #268
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Heh, that'll do it. I'm using multiprocessing.Lock right now and I'm (slowly) trying to sort out how I could process multiple content files in parallel.
jgoguen is offline  
Old 08-24-2020, 11:57 PM   #269
apricoto
Connoisseur
apricoto began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Nov 2019
Location: Chicago
Device: HP X360 11", Win10
I know that I am late to this thread. I was only recently told about, and given a link to ver 5 beta. I am using it, and am generally happy with how it works regarding annotations/highlighting. I have made a few notes of things that I feel could use improvement. Perhaps they have already been discussed. iac:

1. attempting to highlight at top of page, or tapping a footnote at top of page often opens the toolbar
2. annoyance: the X for closing the viewer is easily mistaken for the x for closing windows,eg 'browse highlights' or for closing the toolbar. not unusual to close viewer when only intending to close a window in viewer.
3.In highlight popup, unclear about difference between: mag glass (look up selection on the net) and building (lookup/search selected word)
4 when highlighting text on right side page (landscape view, 2 pages), moved cursor a bit too far to left, across page divide,and before I new it, i had highlighted 3 pages of text. had to move back to right 3 pages to get back to where I started.
5. annotations are stored in the Calibre database: I have not been able to locate the database. What do you think of making the location customizable? I keep all books in a folder on the sd card, which i can move to another computer and backup. If the annotations are located elsewhere they won't travel with sd card or be backed up.
6. in the 'browse highlights', can you add something to deliniate one highlight from the next? They currently look like they are one continuous paragraph. A dash, asterisk, extra line etc.
7.what is the intended purpose of highlight/annotation titles? the annotations are all grouped together like a paragraph, and the title is down below tool bar. Its more like the title might be an annotation of the annotation.
8. there needs to be a 'return' button. too many times I press to highlight (touch screen), then move my finger, or pull up my finger because highlighting isn't happening, or just a mistaken touching of screen, or item 4 above, and i am instantly transported to some other place in the document, often without a clear idea of where i have wound up and how to back to where I was. I have no idea why this happens, however, an always available 'return' button would take me back to where i was before I was taken to some other place in document (similar to purpose of ctrl-z, but not needing keyboard). (I know there is 'back' and 'forward' in toolbar, but they don't seem to help with this issue).
apricoto is offline  
Old 08-25-2020, 03:46 AM   #270
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: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1. yes tapping in the top 1/3 rd of the screen will open the controls, that's how controls are accessed. Unless you tap a link in which case the link is activated, or do a long tap, which will start a highlight

2. An x is used to close things, am not coming up with a special icon for it

3. click them and find out

4. moving the cursor left does not scroll pages, moving it up into the top or down into the bottom margin scrolls pages

5. Click the nice export button on the highlights panel to export highlights wherever you want them

6. Its a standard list control, used everywhere. Are you saying you cant distinguish list items anywhere in calibre?

7. I have no idea what this means

8. Pressing and moving your finger means you are swiping, swiping either takes you to the next/previous page or chapter depending on the motion. Dont do that. If you want to start highlighting, tap and hold.
kovidgoyal is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta testers needed kovidgoyal Calibre 75 08-18-2019 07:00 PM
Beta testers for calibre 3.0 needed kovidgoyal Calibre 598 07-09-2017 10:26 PM
Beta testers needed kovidgoyal Calibre 54 05-20-2016 12:34 PM
Windows beta testers needed kovidgoyal Calibre 19 02-08-2016 04:38 PM
Beta testers for calibre 2.0 needed kovidgoyal Calibre 142 05-08-2015 04:44 AM


All times are GMT -4. The time now is 05:08 AM.


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