![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2013
Device: Ipad
|
error with --level1-toc
Hi,
convert html to epub. from GUI works fine, just have to set //h:h1[re:test(@align, 'center', 'i')] for h1 but from command line, I try many things with various --level1-toc="//h:h1[re:test(@align, 'center', 'i')]" with or without various --chapter="//h:h1 [re:test(@align, 'center', 'i')]" I search on the forum... no way error message : PropertyValue: Missing token for production choice(colorValue, Dimension, URIValue, Value, variable, MSValue, function): ('CHAR', u',',19,13) etc but not the more important I suppose but this : Removing invalid fragment identifier u'L orange' from TOC etc for 12 lines other H1 are ok, and still is ok from Calibre GUI. any idea ? ![]() Laurent |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,199
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Fix your quoting.
You want eiither "--chapter=..." or --chapter "..." not --chapter="...." |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2013
Device: Ipad
|
Hi,
I try so many things... that I wrote one solution. of course I already try with various --level1-toc "//h:h1[re:test(@align, 'center', 'i')]" with or without various --chapter "//h:h1 [re:test(@align, 'center', 'i')]" and it still doesn't work. any idea ? many thanks |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,199
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Since the CLI and the GUI use exactly the same code, the only difference if the options you are passing in. You can get the lsit of options by adding -vv to the command line for the CLI and by looking at the job log in the GUI. Compare them.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Oct 2013
Device: Ipad
|
Hi,
actualy I have the same error message with the GUI. so it's normal ... many thanks Laurent |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TOC attribute validation error | curiousgeorge | ePub | 3 | 04-18-2013 04:07 PM |
PROBLEM TOC VALIDATION ERROR IN SIGIL | Ibn | ePub | 7 | 06-06-2012 03:28 AM |
TOC errors in PDF to EPUB conversion - software or user error? | AhShoo5n | Conversion | 4 | 08-28-2011 08:05 AM |
Epub validation error (toc) | StirlingEditor | Sigil | 4 | 07-22-2011 09:04 PM |
TOC error when converting HTML | poloman | Calibre | 2 | 12-14-2008 04:05 PM |