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 11-06-2018, 10:31 AM   #16
masp
Enthusiast
masp began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
Got it: thanks! I suppose there's no way to hard-code comma as the separator, but then allow for that to be replaced by ampersand if requested? Or to introduce a new type of list (ampersand-separated) so existing lists would be unaffected (still hard-coded to comma) but users could choose to create lists of the new (ampersand-separated) type if they wished? (Just clutching at straws!)
masp is offline   Reply With Quote
Old 11-06-2018, 10:39 AM   #17
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,385
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by masp View Post
Got it: thanks! I suppose there's no way to hard-code comma as the separator, but then allow for that to be replaced by ampersand if requested? Or to introduce a new type of list (ampersand-separated) so existing lists would be unaffected (still hard-coded to comma) but users could choose to create lists of the new (ampersand-separated) type if they wished? (Just clutching at straws!)
Sure, it can be done. I just don't want to pay the price. Adding a new list type or adding a new column behavior parameter *will* break software, possibly calibre, possibly other programs that process the calibre database. For me, this cost is significantly higher than the benefit.
chaley is offline   Reply With Quote
Advert
Old 11-06-2018, 01:00 PM   #18
masp
Enthusiast
masp began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
OK, thanks for exploring the idea so thoroughly!
masp is offline   Reply With Quote
Old 11-06-2018, 03:03 PM   #19
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
The separator character is specified in the column description, and has been since custom columns were introduced.
I must be misunderstanding that

I defined this custom column (there's a semi colon in the description):

Click image for larger version

Name:	1.jpg
Views:	81
Size:	43.6 KB
ID:	167480

I entered val1; val2, val3 into a SemiTest cell, when I press Shift+F2 I see

val1; val2
val3

I was hoping I'd see

val1
val2, val3

BR
BetterRed is offline   Reply With Quote
Old 11-06-2018, 03:23 PM   #20
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,385
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
I must be misunderstanding that

I defined this custom column (there's a semi colon in the description):[...]
Adding the semicolon to the description has no effect on the choice of separator. The separator is a comma unless you check the "Contains Names" box, in which case it becomes an ampersand. What you see confirms this behavior.
chaley is offline   Reply With Quote
Advert
Old 11-06-2018, 03:38 PM   #21
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
But you wrote

Quote:
The separator character is specified in the column description, and has been since custom columns were introduced.
Maybe you meant 'column definition'

I've often wished for something other than a comma or ampersand as a list separator. I was hoping your words were an Easter Egg feature

BR
BetterRed is offline   Reply With Quote
Old 11-06-2018, 03:42 PM   #22
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,385
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
But you wrote



Maybe you meant 'column definition'

I've often wished for something other than a comma or ampersand as a list separator. I was hoping your words were an Easter Egg feature

BR
Ooops. I actually meant column description, but from the point of view of the calibre DB manager. That includes type, name, label, etc. I can't help it if the term is overloaded.

But ya know, words do have meaning...
chaley is offline   Reply With Quote
Old 11-06-2018, 11:34 PM   #23
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,681
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
Ooops. I actually meant column description, but from the point of view of the calibre DB manager. That includes type, name, label, etc. I can't help it if the term is overloaded.

But ya know, words do have meaning...
And far too often too many meanings, sometimes figuring out which is which is like playing tag on a roundabout

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom column built from word count column Montana Harper Library Management 3 10-04-2018 09:57 PM
A custom column built from other columns: simple math operations Joanna Calibre 26 06-07-2016 04:35 AM
Crash when adding a custom (built) column MidwestJen Library Management 13 12-06-2014 03:52 PM
Date custom column built from a Y/N one? glos Library Management 3 08-25-2013 12:48 PM
Custom yes/no column built from long text column Philantrop Library Management 7 03-23-2013 07:44 PM


All times are GMT -4. The time now is 02:56 PM.


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