Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-27-2016, 05:58 PM   #16
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Can't hurt! The inline TOC will get tagged automatically anyway.
exaltedwombat is offline   Reply With Quote
Old 03-27-2016, 06:08 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: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by exaltedwombat View Post
Can't hurt! The inline TOC will get tagged automatically anyway.


It only takes a few clicks
OP
doing that assume file per type. Set Semantics can NOT set more than one on any single file (nor the flip). Only ONE
theducks is offline   Reply With Quote
Advert
Old 03-27-2016, 07:00 PM   #18
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,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Semantic tags are useful if the file names are meaningless - eg file001.html.

Suggestion - if a file has a Semantic tag then maybe it could be shown in Tools->Reports->Files

BR
BetterRed is offline   Reply With Quote
Old 03-27-2016, 07:43 PM   #19
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by BetterRed View Post
Semantic tags are useful if the file names are meaningless - eg file001.html.
Well, yes... But there are only a limited selection of preset semantic names. By the time you'd created appropriate ones and edited them in (can you? I suppose so) wouldn't it have been more sensible just to rename the files.

There's an excellent automatic system to name a string of files "Chapter_01", "Chapter_02" etc. - just select them all and rename the top one.
exaltedwombat is offline   Reply With Quote
Old 03-27-2016, 07:59 PM   #20
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,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I was mainly thinking of front and back matter - renaming files to HalfTitle, Acknowledgements, Preface, Colophon, Foreword, References, Notes, Maps etc etc is tedious - easier to give them a Semantic tag

'Cept there's no Semantic tags for Maps and HalfTitle

BR
BetterRed is offline   Reply With Quote
Advert
Old 03-27-2016, 08:24 PM   #21
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Originally Posted by exaltedwombat View Post
"Text" can affect which page is displayed when the file is first opened. It isn't universally recognized, but you might as well try!
So 'Text' can end up over-riding the cover in regards to where the EPUB opens to? Is that good? I think I'd feel the file was a bit 'pre-used' if it didn't open right at the start. So if I definitely want the EPUB to open on the cover does that mean I shouldn't use the 'Text' tag?

Do these semantic tags also get used in any Kindle book that may be made from the EPUB?
bookman156 is offline   Reply With Quote
Old 03-27-2016, 08:43 PM   #22
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,321
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
I put it in there whenever I clean up a book. I figure it only takes a few seconds...and IF future readers use it it will already be there. I also change file names as mentioned above.
Turtle91 is offline   Reply With Quote
Old 03-27-2016, 10:35 PM   #23
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,504
Karma: 5703586
Join Date: Nov 2009
Device: many
Epub3 does allow a much longer list of semantic types than epub2. That said, if you read the epub2 (2.0.1) spec for guide semantics they give the list we have plus add the fact that you can create your own types for those not listed by prefixing the semantic with the string "other.".

Notice the period. So epubcheck should certainly allow things like "other.halftitle" and "other.maps" as valid entries in the guide for epub2 as it is clearly allowed in the spec. I know of no readers that use those values but I could easily extend the epub2 add semantics dialog to include and use these "other." prefixed types if anyone is interested in using them for epub2.

epub3 already has a much longer list of allowed Semantic types for use in nav landmarks.


See http://www.idpf.org/epub/20/spec/OPF...htm#Section2.6

KevinH




Quote:
Originally Posted by BetterRed View Post
I was mainly thinking of front and back matter - renaming files to HalfTitle, Acknowledgements, Preface, Colophon, Foreword, References, Notes, Maps etc etc is tedious - easier to give them a Semantic tag

'Cept there's no Semantic tags for Maps and HalfTitle

BR
KevinH is offline   Reply With Quote
Old 03-28-2016, 01:19 AM   #24
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,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
Epub3 does allow a much longer list of semantic types than epub2. That said, if you read the epub2 (2.0.1) spec for guide semantics they give the list we have plus add the fact that you can create your own types for those not listed by prefixing the semantic with the string "other.".

...
Whether or not to cater for other.semantic types etc is up to you Kevin.

I stand by my original suggestion - include the Semantic Tag assigned to a file in the Files Report.

BR
BetterRed is offline   Reply With Quote
Old 03-28-2016, 02:28 AM   #25
Doitsu
Grand Sorcerer
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: 5,689
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by bookman156 View Post
So 'Text' can end up over-riding the cover in regards to where the EPUB opens to? [...]
Do these semantic tags also get used in any Kindle book that may be made from the EPUB?
AFAIK, KindleGen is the only app that actually uses the Text or bodymatter semantics.

Quote:
Originally Posted by BetterRed View Post
I stand by my original suggestion - include the Semantic Tag assigned to a file in the Files Report.
IMHO, that would be overkill. You can quickly see all assigned semantics by looking at the guide section in the .opf file of ePub2 books or the landmarks section of the .nav file of ePub3 books.
Doitsu is offline   Reply With Quote
Old 03-28-2016, 05:14 AM   #26
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,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
IMHO, that would be overkill. You can quickly see all assigned semantics by looking at the guide section in the .opf file of ePub2 books or the landmarks section of the .nav file of ePub3 books.
I avoid opening the .opf file unless there's a problem with it.

Having it in the Files Reports would tell me which files don't have a Semantic Type (ST).

But, something I hadn't realised until now is that any one ST can only be applied to one file - I knew a file couldn't have a multiple STs, but didn't appreciate reverse was true -- i.e the relationship must to be 1:1.

That means I can't have a book with 4 files marked Notes or 3 marked Index. It explains my - "I'm sure I marked that file as Notes" - puzzlements

I've been interpreting the word 'semantic' according to its common/normal/classical adjectival meaning; that it's sometimes used in this context as a noun <cringe, sigh> should have warned me.

The wombat has the measure of it - rename the files

"Semantics created some of us, and Syntaxes the rest of us" - BetterRed's Better Half in a Balmain pub - circa 1986

BR

Last edited by BetterRed; 03-28-2016 at 05:35 AM.
BetterRed is offline   Reply With Quote
Old 03-28-2016, 05:47 AM   #27
Doitsu
Grand Sorcerer
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: 5,689
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by BetterRed View Post
I avoid opening the .opf file unless there's a problem with it.
In general this is an good idea, however, as long as you don't change anything it's perfectly safe to open content.opf.

Quote:
Originally Posted by BetterRed View Post
But, something I hadn't realised until now is that any one ST can only be applied to one file - I knew a file couldn't have a multiple STs, but didn't appreciate reverse was true -- i.e the relationship must to be 1:1.
That's what I thought, too, because Sigl won't let you assign the same semantics type to multiple files in ePub2 books, but in ePub3 books you can actually assign the same semantics type to multiple files. For example, you can assign chapter to multiple .xhtml types.
Doitsu is offline   Reply With Quote
Old 03-28-2016, 06:16 AM   #28
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,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
In general this is an good idea, however, as long as you don't change anything it's perfectly safe to open content.opf.
I don't thrust my 10 left thumbs.

Quote:
Originally Posted by Doitsu View Post
That's what I thought, too, because Sigl won't let you assign the same semantics type to multiple files in ePub2 books, but in ePub3 books you can actually assign the same semantics type to multiple files. For example, you can assign chapter to multiple .xhtml types.
Well if you thought that too, I don't feel so much of a fool as I did before.

I wonder what possessed TPTB to impose the '1 ST : 1 File' restriction in EPUB2.

But the fact that EPUB3 has dispossessed itself of that peculiarity brings me back full circle to wanting the ST in the Files Report - I use the Reports feature quite a lot. It would also be good if Files report had the means to order the files as they appear in the 'Book Browser'. I'll post a CR at gitsclub github.

I'll also convert one of my 'Test EPUBs' to EPUB3 and have a looksee

BR

Last edited by BetterRed; 03-28-2016 at 06:22 AM.
BetterRed is offline   Reply With Quote
Old 03-28-2016, 04:21 PM   #29
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
One stupid question: once you've added a sematic tag in Sigil, how can you remove it without editing directly in the .opf file? I presume to change one you just add another one, but to remove it altogether?
bookman156 is offline   Reply With Quote
Old 03-28-2016, 04:24 PM   #30
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,504
Karma: 5703586
Join Date: Nov 2009
Device: many
It toggles. If you re-add the same semantic to the same file it will turn it off.
Kevin

Last edited by KevinH; 03-28-2016 at 04:36 PM.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil 0.8.1 Released user_none Sigil 33 10-16-2014 05:04 PM
Sigil 0.8.0 Released user_none Sigil 126 10-11-2014 07:52 PM
Sigil 0.7.1 Released user_none Sigil 64 03-26-2013 10:02 PM


All times are GMT -4. The time now is 11:24 AM.


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