![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
I've read the recent threads about that; the highlighted button is the < > one.
|
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,594
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's definitely Code View. But I've never had anyone report the issues you're having.
If I type an entity in Book View, I get the exact results you're describing whenever I switch to Code View. |
![]() |
![]() |
![]() |
#18 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Quote:
When I add both "& amp ;" and "& # 38 ;" to the preserve entities list then when I open the file that has "& # 38 ;" in it it gets changed to &#38;amp;#38;#38; Last edited by lumpynose; 05-19-2019 at 06:45 PM. |
|
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Addendum to the above, the only preferences I've changed is to uncheck both mend xhtml boxes for open and save.
|
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
I also tried uninstalling sigil, deleted the C:\Users\MyName\AppData\Local\sigil-ebook directory, and reinstalled it but no joy. Just for grins I tried both the 32 and 64 bit versions.
|
![]() |
![]() |
![]() |
#21 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Another addendum to the one above; after I save the file I close sigil before I open the file, usually by double-clicking on it.
|
![]() |
![]() |
![]() |
#22 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,594
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Adding & to the Preserve Entities list is neither necessary, nor recommended, by the way. Last edited by DiapDealer; 05-19-2019 at 07:12 PM. |
|
![]() |
![]() |
![]() |
#23 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Quote:
Normally I have them both on but when I noticed this I tried turning them off. With them both off it still changes the numeric & entity to & when the file is opened. Why is it not recommended to add & ? I started with adding the entities for endash and emdash because I couldn't tell which was which with them replaced. Similarly the copyright symbol was tiny and and hard to make out so I decided to be consistent and use entities everywhere. |
|
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
If I understand you correctly, I'm rather dismayed that you're forcing entity replacements. A lot of these things are hard to see, for example when I did "⊗ or ⊕" they're just little undecipherable blobs of pixels on my screen. Changing the CSS / Code View font size to 12 helps a tiny bit, as does changing the font to Consolas.
|
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,594
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Depends on if you're trying to open invalid xhtml or not.
It can (see above). But I doubt that it's relevant to your specific problem. It's just that most newcomers to Sigil will be better served by leaving those options checked until after they become more familiar with EPUB and Sigil in general. Quote:
Because there's no need for it. It's one of several entities that are always allowed/preserved. And because it's never occurred to the devs to experiment with Sigil with & added to the entities list. I'd definitely remove it if you have it in there. EDIT: after further testing ... this is definitely the problem. Remove & from your Preserve Entities list. Rather than trying to preserve ALL entities (consistency in this regard isn't relevant - Sigil doesn't care if you preserve a handful, none, or all), why not check the appearance preferences and increase the font size (or font-family) for special characters? You don't have to have tiny copyright symbols (entity or characters). |
|
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,594
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
& and < and > are entities that are always allowed due to coding specifications. They don't need preserving. They're always "legal" and need no special treatment. Adding them to the Preserve Entities list is causing them to be treated differently than they would otherwise would be. Just remove & from your Preserve Entities list and your problem will go away. Last edited by DiapDealer; 05-19-2019 at 08:08 PM. |
|
![]() |
![]() |
![]() |
#27 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,594
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
We'll make sure that & is ignored in future versions of Sigil if it's in the Preserve Entities list.
|
![]() |
![]() |
![]() |
#28 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Ah, ok, I finally get it. Sorry for being obtuse. It was all due to my having & (or its numeric version) in the preserve entities list.
|
![]() |
![]() |
![]() |
#29 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
So now that I've calmed down and can go back to using numeric entities as per epub 3, can you think about my idea of adding a comment column to the Preserve Entities list? Assuming you don't axe it.
|
![]() |
![]() |
![]() |
#30 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,594
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting Google Translate Html -> Epub Can Make Calibre Go Haywire | MarjaE | Conversion | 1 | 05-09-2016 02:59 AM |
Readers go haywire when new? | susaz | General Discussions | 19 | 11-13-2013 07:48 AM |
Find and replace entity | roger64 | Sigil | 3 | 10-12-2012 10:13 AM |
The entity name must immediately follow the '&' in the entity reference | digireads | Calibre | 3 | 06-08-2010 10:31 PM |
ToC going haywire | JaneFancher | Calibre | 2 | 04-09-2010 10:03 PM |