View Single Post
Old 06-10-2012, 03:30 AM   #43
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by roger64 View Post
Indeed libqt4-dev installs about the whole world.

So I produced a deb amd64 package using checkinstall. It's working and installed on /usr/local/bin/sigil.
Great.

Quote:
Originally Posted by roger64 View Post
- I opened the user guide epub. The cover image is not displayed. The same for another epub of mine with a svg container. Looks like it does like svg containers. Both svg are correctly displayed using current version.
Note: libqt4-svg is installed.
SGC images are not displayed in Book View - as mentioned in my first post this is a known issue, but not solved yet.


Quote:
Originally Posted by roger64 View Post

- Opening an ebook of mine, the dropcaps are badly displayed. They are OK with current version (and ADE). This book.
https://www.mobileread.com/forums/sho...41#post2109041

I do not know if these display problems are coming from my building from source.
Quote:
Originally Posted by roger64 View Post
EDIT Found the reason: On beta version, I left Tidy on. Tidy does not like my dropcaps and decided to put their code in order... On current version, Tidy is off. Sorry for this...
Even if the issue wasn't caused by Tidy, as DiapDealer said, Book View is only an approximation of what your book will look like. It will never be exactly the same as every ereader.

When starting Sigil for the first time you must set the Edit->Clean Source Tidy options to what you want then exit and restart Sigil.


Quote:
Originally Posted by roger64 View Post

- Opening the chapters of the guide, I found inline sgc styles. Current version does not have these sgc styles. See joint images:
Quote:
Originally Posted by roger64 View Post
However, the creation of the unwanted inline styles shown above is not due to a Tidy'mischievous action because they stay put even when Tidy is turned off.
Quote:
Originally Posted by roger64 View Post
sent MP
For those wondering, the PM was about   entries in the Guide. Both the sgc and   in the current version of the Guide are there because I made some quick edits in Book View before posting without doing a full check of the code again. Obviously these aren't really an issue for readers but in editor mode they are annoying. I'll correct them in the next version of the Guide, but it's useful for you to know why they're there.

If you edit in Book View to change a word or character and use spacing, sometimes Book View will insert an &nbsp; character, especially if its near a tag. In fact it does this quite a lot, as well as putting <p>&nbsp;</p> at the end of documents you edit. If this bothers you, don't edit in Book View after you do your final check for extra code...

The sgc inline styles are put there because Tidy was turned on while I did some edits. (Happens a lot while testing removing the .ini file to test initial startup). Once the inline styles are there, they do not get removed automatically - you have to manually convert them. They don't have to be removed, but I prefer not to have them.
meme is offline