Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2023, 03:17 AM   #1
Kelpman
Junior Member
Kelpman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2020
Device: none
Post Escaping Comma in Custom Comma Separated Text Column

Hi there!

Short question regarding custom columns: I need a custom column that behaves exactly like the "Comma separated text, like tags, shown in the Tag browser", but allows some form of escaped comma.

E. g. the field should accept values like ['This is an example', 'This is an example \, too'].

Is this possible? The only way I found is using comma-like diacritics or similar looking characters instead of a regular comma.

Best regards

Kelpman
Kelpman is offline   Reply With Quote
Old 12-06-2023, 12:51 AM   #2
kjdavies
Zealot
kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.
 
Posts: 112
Karma: 53342
Join Date: Jun 2013
Device: Sony PRS-600
Quote:
Originally Posted by Kelpman View Post
Hi there!

Short question regarding custom columns: I need a custom column that behaves exactly like the "Comma separated text, like tags, shown in the Tag browser", but allows some form of escaped comma.

E. g. the field should accept values like ['This is an example', 'This is an example \, too'].

Is this possible? The only way I found is using comma-like diacritics or similar looking characters instead of a regular comma.

Best regards

Kelpman
Many have asked, none have received. There's been no interest so far in implementing custom delimiters (tag or hierarchical) or escaping delimiters.

I'd be willing to take a run at it, but my Python's not so strong and I don't know all the ramifications of the change, so I'd more like break things here than fix them.
kjdavies is offline   Reply With Quote
Advert
Old 12-07-2023, 10:58 AM   #3
Kelpman
Junior Member
Kelpman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2020
Device: none
Thanks for the reply! It's a shame, but I can work with it.

If anyone else is struggeling with this I recommend using the single low-9 quitation mark diacritic (unicode U+201A) which looks identical to me:

comma: ,
diacritic: ‚
Kelpman is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with custom column format string to force a comma jecilop Library Management 6 01-11-2023 08:22 PM
integers vs comma seperated text, like tags custom columns Amalthia Calibre 2 09-18-2022 01:59 AM
Custom column - Comma separated text MerlinMama Library Management 4 09-17-2015 02:34 PM
Multiple comma separated values in custom column? silentguy Library Management 8 04-19-2011 05:10 AM
Switching author name from comma separated to first last kbaggs Library Management 1 01-30-2011 03:36 PM


All times are GMT -4. The time now is 07:39 PM.


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