Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-31-2015, 05:24 PM   #16
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DiapDealer View Post
I could never, in good conscience, recommend splitting in Book View. Too much potential for soupy markup being introduced. Having said that however, the process for WYSIWYG users assumes that markers will be manually inserted one at a time (for later mass splitting) or one-at-a-time "Split at Cursor" actions will be performed. I have a feeling that yours and NotJohn's definitions of "easier" are simply different.
Probably. I do it the same way that Turtle does--I regex them in, immediately preceding whatever element/class I've used for the section heads. Then split. I actually think using BV for this is dicier than using CV, because the results MAY (not necessarily will) be unexpected as to the location of the split. Not that it's unfixable, of course, but...{shrug}.

Hitch
Hitch is offline   Reply With Quote
Old 05-31-2015, 06:23 PM   #17
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,576
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Hitch View Post
Probably. I do it the same way that Turtle does--I regex them in, immediately preceding whatever element/class I've used for the section heads. Then split. I actually think using BV for this is dicier than using CV, because the results MAY (not necessarily will) be unexpected as to the location of the split. Not that it's unfixable, of course, but...{shrug}.

Hitch
I do the same for the same reasons. The "cursor" position in Book View is a bit ambiguous (with respect to the underlying markup). I'll still occasionally do the one-off manual "Split at Cursor" in Code View (as opposed to wholesale split markers inserted via regex S&R), so I do those splits/marks in Code View where the cursor position is never ambiguous.

Splitting into nested div situations, coupled with the wrong Tidy Settings, cured me of doing such things in Book View long ago.

Last edited by DiapDealer; 05-31-2015 at 06:31 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 05-31-2015, 06:29 PM   #18
signum
Zealot
signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.signum calls his or her ebook reader Vera.
 
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
Quote:
Originally Posted by Notjohn View Post
But then I've been writing web pages for twenty years, so I'm comfortable looking at html.
I, too, am quite comfortable looking at html, but I think you've missed the point I was trying to make. During the final read-through, I'm looking at the visual effect of the entire page, among other things. I'm reading the text word-for-word looking for things, such as mis-placed hyphens, that don't just pop out at you in code view. In my opinion, the markup codes obscure the final result at this point. Hyphens are very easy to remove with just a tap of the backspace or delete key, without having to switch to the code view. Improperly aligned headings pop out at just a glance. It's all visual at this point after I've done all the spell checking, removed all validation errors and made sure all curly quotes match.

I try to think like the end user, who probably will never see the html markup.

FWIW, my first browsers were ViolaWWW, Cello and NCSA Mosaic on a 286 running Windows 3.1. Perhaps you remember them?
signum is offline   Reply With Quote
Old 06-01-2015, 11:02 AM   #19
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 770
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
I use both the preview pane and book view. I size the preview pane to be very narrow, while book view is approximately the same dimensions as the ereader I use. That way, I can quickly check how tables, hanging indents, etc. look in my own personal ereader, while making sure any changes I've made don't completely screw up the format on ereaders with other screen dimensions. Easier than constantly resizing the same window.
icallaci is offline   Reply With Quote
Old 06-01-2015, 02:01 PM   #20
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,111
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by icallaci View Post
I use both the preview pane and book view. I size the preview pane to be very narrow, while book view is approximately the same dimensions as the ereader I use. That way, I can quickly check how tables, hanging indents, etc. look in my own personal ereader, while making sure any changes I've made don't completely screw up the format on ereaders with other screen dimensions. Easier than constantly resizing the same window.

That's what I had done as well until I found out you can use the preview pane for both...just double click the header on the preview pane to toggle between docked and un-docked. you can set the un-docked pane to any size/dimension.
Turtle91 is online now   Reply With Quote
Advert
Old 06-01-2015, 07:04 PM   #21
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by signum View Post
I, too, am quite comfortable looking at html, but I think you've missed the point I was trying to make. During the final read-through, I'm looking at the visual effect of the entire page, among other things. I'm reading the text word-for-word looking for things, such as mis-placed hyphens, that don't just pop out at you in code view. In my opinion, the markup codes obscure the final result at this point. Hyphens are very easy to remove with just a tap of the backspace or delete key, without having to switch to the code view. Improperly aligned headings pop out at just a glance. It's all visual at this point after I've done all the spell checking, removed all validation errors and made sure all curly quotes match.

I try to think like the end user, who probably will never see the html markup.
Well, yeah, but they're not going to look at the book like you do, anyway, whether it's BV, Preview, or ADE, or anything else. They'll see it however they see it, on whatever devices they have, fonts they choose, etc., no? Myself, I test the books on ADE, or (better yet) Sony Reader. That gives me a much better visual check, IMHO.

Quote:
FWIW, my first browsers were ViolaWWW, Cello and NCSA Mosaic on a 286 running Windows 3.1. Perhaps you remember them?
Nah--I used Lynx. Still do, as a matter of fact. It was my first "browser," per se. Before Lynx, I used ye olden Archie, along with Jughead and Veronica for Gopher. (Using, way back, OS/2, which I thought was really great, myself. Died for lack o'love (drivers)). Added 3.1 in...what, spring of '88? Or thereabouts? We still have a box here running OS/2. Hell, for that matter, we have one here running Win98 (used to drive a Mill!).

Hitch
Hitch is offline   Reply With Quote
Old 06-01-2015, 08:22 PM   #22
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: 20,620
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Hitch View Post
Using, way back, OS/2, which I thought was really great, myself.
AFAIK the NYC-TA still thinks the same. As of April 2012 (OS/2's 25th birthday) hundreds of OS/2 boxes were still in use in the Metrocard swipe terminal network. And some US regional banks still had OS/2 based ATM's.

Aah for the days, when the only way to go was to use gopher and wais. I'd forgotten about veronica

BR
BetterRed is offline   Reply With Quote
Old 06-02-2015, 06:31 AM   #23
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by signum View Post
I'm looking at the visual effect of the entire page, among other things.
Right! Thus the Preview Pane, which IMHO is the best thing that's happened to e-book creation since the debut of Sigil itself. I love them both and can't imagine finalizing a book any other way. WYSIWYG!

I usually size them about 60/40, plus a narrow sliver for the Book Browser on the left.
Notjohn is offline   Reply With Quote
Old 08-27-2015, 07:48 PM   #24
sjkramer
Connoisseur
sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.sjkramer ought to be getting tired of karma fortunes by now.
 
Posts: 68
Karma: 526028
Join Date: Nov 2009
Location: New York, NY
Device: iphone
Using Sigil 8.6 on a Mac running OSX 10.10.3. In all the versions of Sigil I've used (at least the last several), I have never had satisfactory handling of nonbreaking spaces. I have had a book rejected from the Google Play store for using nbsps and have been told to switch to #x00A0. Maybe no one cares about Google Play anymore (does it exist?) nonetheless, I have abide by my distributors wishes and not get files rejected.

In Sigil, the #x00A0s get converted into regular spaces. I never ever cross-my-heart-hope-to-die edit in Book View. And I've added #x00A0 to the preserve entities list, all to no avail. Basically, once I'm done editing in Sigil I have to have a separate step of opening in Calibre. And then I can never open the book in Sigil again from that point on. And I really do prefer Sigil.
sjkramer is offline   Reply With Quote
Old 08-27-2015, 08:39 PM   #25
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: 7,676
Karma: 5433388
Join Date: Nov 2009
Device: many
What are your Sigil settings for Preserve Entities? And do you have Tidy on open/ save enabled.

If it matters, named entities are not allowed in html5 and so Sigil will be moving to using numeric enties (either hex or not) as defaults for preserving entities.

KevinH


Quote:
Originally Posted by sjkramer View Post
Using Sigil 8.6 on a Mac running OSX 10.10.3. In all the versions of Sigil I've used (at least the last several), I have never had satisfactory handling of nonbreaking spaces. I have had a book rejected from the Google Play store for using nbsps and have been told to switch to #x00A0. Maybe no one cares about Google Play anymore (does it exist?) nonetheless, I have abide by my distributors wishes and not get files rejected.

In Sigil, the #x00A0s get converted into regular spaces. I never ever cross-my-heart-hope-to-die edit in Book View. And I've added #x00A0 to the preserve entities list, all to no avail. Basically, once I'm done editing in Sigil I have to have a separate step of opening in Calibre. And then I can never open the book in Sigil again from that point on. And I really do prefer Sigil.
KevinH is offline   Reply With Quote
Old 08-28-2015, 06:05 AM   #26
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by KevinH View Post
If it matters, named entities are not allowed in html5 and so Sigil will be moving to using numeric enties (either hex or not) as defaults for preserving entities.

KevinH
It is to weep! Are there really people who can remember what those numeric entities MEAN?

Whenever I do a search for an entity, I always specify "named" in the Google line.

I hope you will alert us when this change goes into effect, so I can stop updating the software! I'm still using WordStar 7d (more recent than Lynx, tee hee), so I'm comfortable wearing old clothes.
Notjohn is offline   Reply With Quote
Old 08-28-2015, 09:18 AM   #27
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: 7,676
Karma: 5433388
Join Date: Nov 2009
Device: many
Hi,

You misunderstand me. These are only default settings for new users. You (and even new users) will be able to use both named and numeric entities by changing the Preserve Entities preferences. It is just that new empty documents in Sigil 0.9 will default to the xA0 char instead of nbsp so that it is generating technically correct code for both epub2 and epub3 type ebooks.

I was just trying to explain that html5 has moved away from non-xml named entities since they are an attack vector (previously you could create your own named entities that are in fact malicious by having them expand to yet another named entity to recursively use up memory). So as an ebook author getting to know some common numeric entities might prove useful for generating ebooks that must pass through epub3 validation (and it seems even epub2 validation for some ebook stores).

Hope I explained things better this time.

KevinH

Quote:
Originally Posted by Notjohn View Post
It is to weep! Are there really people who can remember what those numeric entities MEAN?

Whenever I do a search for an entity, I always specify "named" in the Google line.

I hope you will alert us when this change goes into effect, so I can stop updating the software! I'm still using WordStar 7d (more recent than Lynx, tee hee), so I'm comfortable wearing old clothes.

Last edited by KevinH; 08-28-2015 at 09:52 AM.
KevinH is offline   Reply With Quote
Old 08-28-2015, 09:40 AM   #28
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: 29,880
Karma: 55267620
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 Notjohn View Post
It is to weep! Are there really people who can remember what those numeric entities MEAN?

Whenever I do a search for an entity, I always specify "named" in the Google line.

I hope you will alert us when this change goes into effect, so I can stop updating the software! I'm still using WordStar 7d (more recent than Lynx, tee hee), so I'm comfortable wearing old clothes.
I used to remember a few ASCII codes that I used frequently (CHR$(27) ).
That was a FEW out of 127 (the standard set). For the rest, a cheat sheet

For Unicode, it is a cheat BINDER
What were they thinking

Add in the subtle differences of various dashes, quotes... (they can be brutal to pick out stand alone from separate cheat sheet pages. endash, minus easy peasy )
theducks is offline   Reply With Quote
Old 08-28-2015, 02:46 PM   #29
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,463
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by theducks View Post
I used to remember a few ASCII codes that I used frequently (CHR$(27) ).
That was a FEW out of 127 (the standard set). For the rest, a cheat sheet

For Unicode, it is a cheat BINDER
What were they thinking

Add in the subtle differences of various dashes, quotes... (they can be brutal to pick out stand alone from separate cheat sheet pages. endash, minus easy peasy )
Hell, I'm still trying to convince Joomla's editor that an EMDASH really exists, rather than -- . It's pretty annoying.

(Yes, it's somewhat offtopic, but...)

Hitch
Hitch is offline   Reply With Quote
Old 08-28-2015, 04:17 PM   #30
MickiTee
Guru
MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.MickiTee ought to be getting tired of karma fortunes by now.
 
MickiTee's Avatar
 
Posts: 839
Karma: 3976266
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
Quote:
Originally Posted by KevinH View Post
Hi,
I was just trying to explain that html5 has moved away from non-xml named entities since they are an attack vector (previously you could create your own named entities that are in fact malicious by having them expand to yet another named entity to recursively use up memory). So as an ebook author getting to know some common numeric entities might prove useful for generating ebooks that must pass through epub3 validation (and it seems even epub2 validation for some ebook stores).

KevinH
Will you be updating the Insert Character functionality to replace the existing entities with HEX unicode values in V0.9?
MickiTee is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
  instead of   Alt68er Sigil 16 01-02-2014 08:02 PM
iBooks does NOT LIKE   Erin Apple Devices 0 09-13-2011 11:17 AM


All times are GMT -4. The time now is 07:40 PM.


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