|
|
#1 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
|
Project description
getting the number of entries in the toc to show in a custom column. Similar project that works getting the number of authors in a custom column ==> {authors:count(,)} The solution should be {toc:count(,)} but somehow the TOC field is not loaded with the rest of the metadata (it seems). I also tried to load the missing metadata with template functions, like {:field(toc):count(,)} but no luck. Can someone shed a light of this problem? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,664
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
toc is not a metadata field.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
|
The reason I tried for so long is that TOC is defined in the template language somewhere. It has a value, it's empty. What I mean is that
{potato} is undefined {toc} is empty. Dammit, I just realized, while typing this, that {toc} is my own godd*mm custom column isnt it? |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,664
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah, probably, it certainly isn't a builtin field.
|
|
|
|
|
|
#5 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,327
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Were you populating it based upon a result fro the Quality Check PI? |
|
|
|
|
| Advert | |
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ePub created with Sigil : empty when loaded with Calibre | jpomart | Calibre | 12 | 12-12-2015 02:48 PM |
| Problem with TOC with empty chapters | Matak | Conversion | 1 | 09-28-2014 12:54 AM |
| Multiple HTML files w/ TOC to MOBI, not added in order listed in TOC | dysfunction | Conversion | 3 | 01-03-2014 01:40 AM |
| Can a toc.ncx point to an empty content tag? | twedigteam | ePub | 7 | 02-08-2013 12:57 PM |
| toc.ncx navpoint content=src empty? | KevinH | Sigil | 6 | 11-23-2009 02:39 PM |