Mobileread
[Title] -> [Title Sort] doesn't like leading Quote (34)
#1  phossler 02-23-2023, 11:01 AM
Small issue but when the title has leading quote, the Title-to-Title Sort button drops it

e.g. "Book Title" becomes Book Title"

Two leading quotes makes the Title Sort correct, but the metadata shows 2 leading quotes
Capture.JPG 
Reply 

#2  Quoth 02-23-2023, 12:46 PM
What if you use “Book Title” rather than "Book Title"? The " is a programming quote, historically a typewriter double quote. The “, ”, ‘ and ’ has no significance to programming, but " and ' do.
Don't use the ` beside the 1 key as that's a diacritic mark.
Reply 

#3  phossler 02-23-2023, 02:32 PM
Quote Quoth
What if you use “Book Title” rather than "Book Title"? The " is a programming quote, historically a typewriter double quote. The “, ”, ‘ and ’ has no significance to programming, but " and ' do.
Don't use the ` beside the 1 key as that's a diacritic mark.
Thanks

Know that

Tried that

Doesn't make a difference

More work to use Alt-0147 (“) than just regular old ASCII 34 (")

Some programming languages use double quotes ("") in a string to embed the ASCII 34 as part of the string literal. This works to have the correct format in [Title sort], but leaves the double quotes in the metadata edit screen
Capture.JPG 
Reply 

#4  Quoth 02-23-2023, 03:52 PM
Even before I swtiched to Linux I used the MS Keyboard editor to make the keyboard be like Linux, except Compose

Keys z x c v b
AltGr « » ç “ ”
Shift < > Ç ‘ ’
(all the printable keys having four options not just á é í ó ú of standard UK or US International)

I'm surprised “and” didn't work.
Reply 

#5  phossler 02-23-2023, 05:09 PM
It was a good thought and the situation doesn't arise too often so I'm pretty sure I'd forget how to do it
Reply 

#6  kovidgoyal 02-23-2023, 09:22 PM
https://github.com/kovidgoyal/calibre/commit/815cd507b92a4998a24d0e41495f31910c66aadb
Reply 

#7  phossler 02-24-2023, 08:22 AM
as always !!
Reply 

#8  Wiggo 03-18-2023, 01:18 PM
Still there in 6.14.1
Screenshot 2023-03-18 181700.jpg 
Reply 

#9  kovidgoyal 03-18-2023, 11:29 PM
Your screenshot is showing a leading quote being ignored, as expected.
Reply 

#10  Wiggo 03-18-2023, 11:45 PM
Maybe I'm having trouble understanding at the moment, but the change log says something different, doesn't it? Leading and trailing quotes

Quote
When computing title sorts strip leading and trailing quotes, not just leading quotes
Reply 

  Next »  Last »  (1/2)
Today's Posts | Search this Thread | Login | Register