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 06-26-2013, 02:39 PM   #1
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 800
Karma: 3218924
Join Date: Jan 2013
Location: Itasca, Illinois
Device: none
can sigil convert html entities to regular punctuation?

I've been looking for an easy way to compose a novel and then seamlessly transfer it to Sigil for the end processing. The best thing I've come up so far is Libre Office (File-->New-->HTML document) and then taking the .html to Sigil. But in Sigil a lot of the punctuation marks show up as html entities. (Which is difficult for me to deal with.) Is there any way that once I'm in Sigil I can convert those html entities (see screenshot) back into regular punctuation marks? Thanks.
Attached Thumbnails
Click image for larger version

Name:	sigil.PNG
Views:	100
Size:	89.4 KB
ID:	107374  
Gregg Bell is offline   Reply With Quote
Old 06-26-2013, 03:19 PM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,859
Karma: 2623257
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Not that I know of. Sometimes you can see them as characters (I believe when you edit in Bookview), but it gets transferred back to entities later.
I actually like that, it makes a lot of things easier to see, but I can imagine that is not for everyone.
Toxaris is online now   Reply With Quote
 
Enthusiast
Old 06-26-2013, 03:23 PM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,501
Karma: 4597184
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by Gregg Bell View Post
I've been looking for an easy way to compose a novel and then seamlessly transfer it to Sigil for the end processing. The best thing I've come up so far is Libre Office (File-->New-->HTML document) and then taking the .html to Sigil. But in Sigil a lot of the punctuation marks show up as html entities. (Which is difficult for me to deal with.) Is there any way that once I'm in Sigil I can convert those html entities (see screenshot) back into regular punctuation marks? Thanks.
In code view you can do a search and replace.

Dale
DaleDe is offline   Reply With Quote
Old 06-26-2013, 09:50 PM   #4
phossler
Addict
phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!phossler is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 259
Karma: 50154
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: kindle
Might be a little tedious to set up, but you could add more 'Saved Searches' with the entities that you find you need to replace often.

Sigil comes with a number already built in

You'd also have to run a possibly large number of Saved Searches one at a time, but it's still easier than manually changing them


Paul
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	60
Size:	94.9 KB
ID:	107379  
phossler is offline   Reply With Quote
Old 06-26-2013, 11:12 PM   #5
Turtle91
Guru
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: 669
Karma: 3807234
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
Quote:
Originally Posted by phossler View Post
Might be a little tedious to set up, but you could add more 'Saved Searches' with the entities that you find you need to replace often.

Sigil comes with a number already built in

You'd also have to run a possibly large number of Saved Searches one at a time, but it's still easier than manually changing them


Paul
Sigil does come with a bunch of them saved...you can definitely add more like I did:

You can also run the entire group of Searches by selecting the group name and then "Replace All".

Cheers!
Attached Thumbnails
Click image for larger version

Name:	Screenshot (45).png
Views:	54
Size:	61.0 KB
ID:	107382  
Turtle91 is offline   Reply With Quote
Old 06-27-2013, 12:06 AM   #6
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 800
Karma: 3218924
Join Date: Jan 2013
Location: Itasca, Illinois
Device: none
Thanks guys. I really appreciate you getting back to me.
Gregg Bell is offline   Reply With Quote
Old 06-27-2013, 12:22 AM   #7
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,596
Karma: 1065018
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Sony T2, Kindle Fire HDX 8.9 , Kindle for PC
is there not a toggle in Libre Office to control whether HTML entities are used, or not? I know that MS office has one
cybmole is offline   Reply With Quote
Old 06-27-2013, 02:48 AM   #8
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,859
Karma: 2623257
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Although you can replace them, in essence they are the same. In fact, I seem to recall that sometimes the characters are converted to their entities.
Toxaris is online now   Reply With Quote
Old 06-27-2013, 05:07 AM   #9
exaltedwombat
Evangelist
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: 433
Karma: 1703930
Join Date: Nov 2011
Device: none
Are they just 'difficult' because they're unfamiliar? They'll soon become familiar as you use Sigil more. No need to give yourself extra work.
exaltedwombat is offline   Reply With Quote
Old 06-27-2013, 10:55 AM   #10
Turtle91
Guru
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: 669
Karma: 3807234
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
I can certainly use the entities, but it is much more natural to use the actual character. My brain doesn't have to do the interpretation, and I'm all about doing things the lazy...errr...I mean...efficient way!

AFAIK, there is no need to use the entity...except of course for the "&". And I also remember someone mentioning that ePub3 doesn't allow the use of named entities, only the numerical code...

The saved search I have is just a click away and it transforms all of the entities. That....efficient...use of time is something I am willing to do!
Turtle91 is offline   Reply With Quote
Old 06-27-2013, 11:30 AM   #11
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,501
Karma: 4597184
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Quote:
Originally Posted by Toxaris View Post
Although you can replace them, in essence they are the same. In fact, I seem to recall that sometimes the characters are converted to their entities.
I think there are only a few of these and it was done in order to make them visible. nbsp and shy spring to mind. All of the visible characters are kept as they are by Sigil I believe.

Dale
DaleDe is offline   Reply With Quote
Old 06-27-2013, 12:15 PM   #12
Gregg Bell
Gregg Bell
Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.Gregg Bell ought to be getting tired of karma fortunes by now.
 
Gregg Bell's Avatar
 
Posts: 800
Karma: 3218924
Join Date: Jan 2013
Location: Itasca, Illinois
Device: none
thanks everybody

Quote:
Originally Posted by cybmole View Post
is there not a toggle in Libre Office to control whether HTML entities are used, or not? I know that MS office has one
I didn't see anything like that. And I only have MS Office Word 2003 and didn't see anything there either. (I wish there was!)

Quote:
Originally Posted by exaltedwombat View Post
Are they just 'difficult' because they're unfamiliar? They'll soon become familiar as you use Sigil more. No need to give yourself extra work.
I tried to get used to them, wombat. Just couldn't do it.

Quote:
Originally Posted by phossler View Post
Might be a little tedious to set up, but you could add more 'Saved Searches' with the entities that you find you need to replace often.

Sigil comes with a number already built in

You'd also have to run a possibly large number of Saved Searches one at a time, but it's still easier than manually changing them

Paul
I was wondering why you said I'd need to replace "often" and run "a possibly large number" of saved searches. Wouldn't it be just a one time deal? Open the html doc in Sigil. Run the saved search. Then all is changed over. Right?

Quote:
Originally Posted by Turtle91 View Post
I can certainly use the entities, but it is much more natural to use the actual character. My brain doesn't have to do the interpretation, and I'm all about doing things the lazy...errr...I mean...efficient way!

The saved search I have is just a click away and it transforms all of the entities. That....efficient...use of time is something I am willing to do!
I think I'm going to have to get more familiar with saved searches, Turtle. I never used them before. (It seems like a pretty painless solution. Better than starting with a MS Word doc and having to clean up all that crap.)
Gregg Bell is offline   Reply With Quote
Old 06-27-2013, 02:39 PM   #13
BobC
Addict
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 327
Karma: 245756
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, Various Android Apps
Instead of going from a LibreOffice doc to HTML to open in Sigil you could try adding the writer2xhtml extension to LO which allows directly exporting to EPUB. One of the options there is to use or not use html entities.

That way you create a file without any entities in it and you don't have to worry about converting them.

BobC
BobC is offline   Reply With Quote
Old 06-27-2013, 08:04 PM   #14
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 437
Karma: 299856
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Gregg Bell View Post
...Is there any way that once I'm in Sigil I can convert those html entities (see screenshot) back into regular punctuation marks? Thanks.
In Sigil you can't do it (except with find & replace) but you can do something BEFORE importing the .html files in Sigil.

What you must do is to use the following inline converter:

http://www.convertstring.com/EncodeDecode/HtmlDecode

Just copy ALL the html source code in the respective window, press the buttom "Html Decode!" and in the "decoded text window" of the site, you'll have the .html code ready to paste it in Sigil (of course, you also can paste that code in your original .html file, save it, and then import it in Sigi).

Hopefully this can be of help.

Regards
Rubén
RbnJrg is offline   Reply With Quote
Old 06-28-2013, 12:11 AM   #15
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,596
Karma: 1065018
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Sony T2, Kindle Fire HDX 8.9 , Kindle for PC
Quote:
Originally Posted by Gregg Bell View Post
I didn't see anything like that. And I only have MS Office Word 2003 and didn't see anything there either. (I wish there was!)
i was thinking of this setting, but maybe it is not relevant:

you see this settings in "Word options" under office button on the top left corner of the word, then select "Advanced" and keep scrolling down to the area until you see "Show document content" and turn off the setting named:- "Show field codes instead of their values"
cybmole 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
Search & Replace issue with html entities Aleyst Sigil 2 09-27-2011 07:49 AM
HTML entities being changed to actual glyphs GrannyGrump Sigil 4 09-10-2011 01:16 AM
Question about using Sigil to convert HTML ficbot Sigil 9 03-06-2011 08:12 AM
Why do html entities get replaced upon import? kentmatt Calibre 1 12-08-2010 12:21 PM
Sigil 024 and regular expressions on "all HTML files" WS64 Sigil 4 08-13-2010 07:33 PM


All times are GMT -4. The time now is 01:19 AM.


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