View Single Post
Old 08-02-2009, 02:19 PM   #43
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by mtravellerh View Post
1) It seems impossible to center covers. I know that this quite inconsequential for hardware readers (the covers are full screen anyway) but it looks rather awkward in software viewers (I tested FBreader, Calibre viewer and ADE) I think you should make that possible.
Hm. I just select the image in Book View and press "Align Centre". This is usually reserved for text, but until I get the right click menu with image options implemented it will have to do for a WYSIWYG approach. Works fine, as far as I can tell.

And with access to the Code View you should be able to centre that image in more than a few ways.

I don't see how it can be considered "impossible".

Quote:
Originally Posted by mtravellerh View Post
3) I adjusted the right margin of the ePub to 15 pt in code view (to allow the page numbers appearing in ADE and the hardware readers with the ADEPT engine to not be swallowed up by text). Apparently this was somehow forgotten when I saved the file. It seems that you have to save right away before switching the views to make changes in the code view last.
This sounds really weird. Architecturally, there are three buffers for the source code: the one the Book View uses, the one for the Code View, and the one "in the background" which represents the "real" state of the code. The other two are just temporary buffers that enable the views to display text.

Now, every time you press a button in whatever view, the change is stored in the background buffer. In fact, the entire view buffer is written to the background one. It is impossible to make a change in either view without it being directly recorded. So the background buffer is always in sync with any new changes.

When you switch to the other view, the first thing that happens before the View is shown, is that this View's buffer is replaced with the "background" one. Exporting a book always uses the background buffer (which is in sync), so your changes have to be recorded.

Then again, I could be going insane. You will have to provide a very detailed, step-by-step description that replicates this issue. Create it on the task tracker.

(For those wondering why three buffers and not just one, it's a Qt limitation. The Code View and Book View widgets require their own buffers.)

Quote:
Originally Posted by mtravellerh View Post
3) I would love for an easier way to edit the TOC. Like maybe letting me fix right away what header tags I want in that tag (like for example h2 for the first and h3 for the second grade) and ignore all other headers if I so choose.
I have no idea what you're trying to say here. Please elaborate in more detail.

Quote:
Originally Posted by mtravellerh View Post
Thanks again Valloric! I appreciate very much what you have done there and it worked very well while I was playing around with it, very stable and reliable!
Glad that you're enjoying it, but Sigil has a long way to go.

Quote:
Originally Posted by mtravellerh View Post
PS: I moved this thread to the frontpage!
Thanks!
Valloric is offline