Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-19-2017, 07:49 PM   #16
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Almost right!

But the perfect software we are still waiting for.

Imagine the power/completeness of two 'elephants' unified.

Last edited by chaot; 03-20-2017 at 11:09 AM. Reason: add: unified 99%→Almost
chaot is offline   Reply With Quote
Advert
Old 03-19-2017, 07:59 PM   #17
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 20,374
Karma: 20257282
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by DiapDealer View Post
Well there you go.

Sorry, but not every feature is going to be mirrored between the two programs. The good news is that one of them does what you want.
Thank you
I like that they do different stuff. I use both.
There was a time when you went into a Retail store and if you did not find your: Style, color, quality level (remember Good, Better and Best), you went to another store (or 2).
Now days it is S O S at every store (or they are just out )
theducks is offline   Reply With Quote
Old 03-20-2017, 01:31 PM   #18
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Quote:
Originally Posted by theducks View Post
A Mini can't haul a basketball team.
Depends! Let them starve long enough and then throw a bone inside. That could help.

Quote:
So I simply choose to change (using S&R) whatever is the chapter/part title to use H# tags and STYLE those to look exactly the same as they did.
Soon I will show (in another thread) my solution, under the given circumstances, associated with the question for improvements. (what I will do my best that this will hardly be possible). Hope to see you there!


Quote:
Originally Posted by BetterRed View Post
... why don't you ask Kovid where the XPath processing is located in the calibre source, download it, and massage it into a Sigil plugin.
To say it cristal clear (German equivalent: 'Klar wie Kloßbrühe' (engl. 'clear as dumpling broth') - what is very much something else!): You (now) and me know that my specific software skills are rather low - not enabling me to do such a plugin. But: Never say never! I will ask Kovid.

Quote:
There is no reason why, with due care and forethought, you can't use both editors - as I do.
Of course! As it works out more and more: I have to.

In #9 you say
Quote:
The Xpath capability found in the calibre editor Toc Editor was created ...
and in #12
Quote:
I didn't know the calibre editor even did Xpath till the OP indicated it did, ...
Do that fit together!?


Quote:
Originally Posted by theducks View Post
Thank you
I like that they do different stuff.
Even seen from the vantage point of competing suppliers it is advantageous. Also when at least Kovid
enjoy and feel passionate about doing calibre - what I absolute believe him.

Quote:
Now[a]days it is S O S at every store (or they are just out )
As a mariner I know S O S - most likely you mean something else!?

Last edited by chaot; 03-21-2017 at 04:28 AM. Reason: the case→possible; changed other formulations, trivia
chaot is offline   Reply With Quote
Old 03-20-2017, 02:41 PM   #19
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,702
Karma: 9800372
Join Date: Dec 2010
Device: Kindle PW2
@chaot:
Just to add some background information: some older Calibre versions used non-heading tags and special Calibre classes instead of heading tags to identify epub headings, and if you did epub-to-epub conversions with Calibre heading tags were usually replaced with non-heading tags with special Calibre class attributes.
Since Calibre originally didn't use/support heading tags, it made perfect sense to add XPath support and an excellent, fool-proof XPath wizard for users who are not familiar with XPath queries.
Sigil, however, has always used heading tags to identity headings, which, IMHO, made (and makes) perfect sense.

IMHO, headings should be tagged with h1-h6 heading tags, because that's what heading tags are for and moreover some reading apps for visually impaired readers will use heading tags for navigation purposes. While nothing prevents you from formatting headings with non-heading tags and special class attributes, you'll eventually find out that using heading tags will save you a lot of time when you update a book.

I don't really understand why you want to make your life more difficult by using non-heading tags. Why are you so hell-bent on using non-heading tags and XPath???

Last edited by Doitsu; 03-20-2017 at 02:45 PM.
Doitsu is offline   Reply With Quote
Old 03-20-2017, 03:38 PM   #20
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
I am not anymore 'hell-bent'.

It was just so that I spent some time to figure out that XPath solution. Then starting with sigil (because of the fine inline ToC ID creation there) to get confronted with the non-existence of XPath. That was too much.


Today afternoon I changed already to <hx> tags, got it checked and validated.

@KevinH: Sorry, there is no big MINUS, not even a small one.

Last edited by chaot; 03-21-2017 at 04:30 AM. Reason: add: :)
chaot is offline   Reply With Quote
Old 03-20-2017, 06:09 PM   #21
BetterRed
null operator
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: 8,388
Karma: 7071999
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaot View Post
In #9 you say
Quote:
The Xpath capability found in the calibre editor Toc Editor was created ...
and in #12
Quote:
I didn't know the calibre editor even did Xpath till the OP indicated it did, ...
Do that fit together!?

Makes perfect sense - on realising I didn't know it existed I went and had a look, and on looking I recollected I'd seen it in the manual, so I went and had a look there.

Then I engaged in some inductive reasoning - Xpath is a feature of Structure Detection in calibre's conversion pipeline- ergo Kovid must have reused it in the editor. I suspect it's also in the separate calibre TOC tool, but I've not looked there - maybe he lifted the whole TOC Tool enchilada into the editor.

Then I posted here - I try to check my facts before I post, habit I picked up as a junior on local paper 50+ years ago, when editors were the gatekeepers over quality, today their role is to push a particular ideology on behalf of their backhander paymasters.

BTW there's a Tutorial on XPath in the calibre manual if your interested.

BR
BetterRed is offline   Reply With Quote
Old 03-20-2017, 08:51 PM   #22
Tex2002ans
Guru
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 812
Karma: 3849999
Join Date: Jul 2012
Device: Nook
Quote:
Originally Posted by BetterRed View Post
I try to check my facts before I post, habit I picked up as a junior on local paper 50+ years ago, [...]

BTW there's a Tutorial on XPath in the calibre manual if your interested.
Here is a link to that Calibre XPath Tutorial:

https://manual.calibre-ebook.com/xpath.html

PS. I see the local paper 50 years ago taught you nothing. I see you still make the ol' your <-> you're error.
Tex2002ans is offline   Reply With Quote
Old 03-20-2017, 10:06 PM   #23
BetterRed
null operator
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: 8,388
Karma: 7071999
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Just as you never miss an opportunity to make derision at another's imperfections Ψ²
BetterRed is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC from XPath Paulie_D Editor 5 05-26-2015 02:55 PM
Nested TOC / Xpath question halfgone Conversion 0 02-13-2012 07:46 PM
Inline TOC from toc.ncx elmago79 Kindle Formats 38 03-25-2011 12:56 PM
Use Regex to Code an Inline TOC, from an External TOC's .ncx File mostlynovels ePub 2 03-16-2011 12:15 PM
Xpath TOC Expression Agama Calibre 2 07-12-2010 02:24 AM


All times are GMT -4. The time now is 06:31 AM.


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