Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 10-08-2012, 07:02 AM   #136
paulhypno
Junior Member
paulhypno began at the beginning.
 
paulhypno's Avatar
 
Posts: 9
Karma: 10
Join Date: Apr 2012
Location: Oxford, England
Device: Kindle
Working in Book View I can't make the 'Undo' command work. Have I missed something?
paulhypno is offline  
Old 10-08-2012, 07:37 AM   #137
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Quote:
Originally Posted by paulhypno View Post
Working in Book View I can't make the 'Undo' command work. Have I missed something?
No, it doesn't work in previous versions either (for certain actions). It is a limitation of using Qt Webkit, because some actions like applying a heading style have to be done in javascript behind the scenes and there is no "undo" for operations like that. You can paste/type code and undo that, but other things you cannot.

There are also some actions in Code View which you can't undo either, where it results in the entire html being replaced (like Replace All or splitting). And of course once you switch views you also lose your undo history from Book View.

It is an immensely complex problem to try to solve, which we haven't attempted in the slightest to sort out in lieu of other priorities. We haven't made the behaviour worse than it was previously, put it that way
kiwidude is offline  
 
Enthusiast
Old 10-08-2012, 08:14 AM   #138
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 1,997
Karma: 1405001
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
If/when auto save is developed in future, it could just save changes in the documents, instead of the whole documents. It would not allow you to pull documents out of Sigil, but the resulting files could be a lot smaller.
mrmikel is offline  
Old 10-08-2012, 08:23 AM   #139
paulhypno
Junior Member
paulhypno began at the beginning.
 
paulhypno's Avatar
 
Posts: 9
Karma: 10
Join Date: Apr 2012
Location: Oxford, England
Device: Kindle
Thank you kiwidude. Whatever, it's a price worth paying for the excellent development of this indispensable program
paulhypno is offline  
Old 10-08-2012, 11:56 AM   #140
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
Posts: 299
Karma: 56788
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by kiwidude View Post
Ummm, the shortcut for Count All is Alt+C (Ctrl+A would conflict with built in behaviour of controls to select all the content).

There is an inconsistency in the 905/906 beta when it comes to button/menus/shortcuts enabled around F&R when you are in Book View/Preview View. In that the options on the Search menu (and hence the keyboard shortcuts) are disabled, but you can click on the buttons (which does the "right" thing of switching to Code View so it can do the action),. I have already fixed this for the next release.
Sorry, I meant "Alt+A", but it looks like you've got this one under control! In that case, how's about this one: window resizing. Sigil seems to forget size and position of its windowed mode from one session to the next if it was maximized (ie not windowed) when you last closed it, instead centering it and resizing it to more-or-less a perfect square. This is totally granular and nitpicky, but given the frequency with which i open & close Sigil, I thought I'd throw it out there.
ElMiko is offline  
Old 10-08-2012, 12:03 PM   #141
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Quote:
Originally Posted by ElMiko View Post
Sorry, I meant "Alt+A", but it looks like you've got this one under control! In that case, how's about this one: window resizing. Sigil seems to forget size and position of its windowed mode from one session to the next if it was maximized (ie not windowed) when you last closed it, instead centering it and resizing it to more-or-less a perfect square. This is totally granular and nitpicky, but given the frequency with which i open & close Sigil, I thought I'd throw it out there.
Ahh, another "always done that" behaviour

That is how the Qt framework works when it comes to saving positions. If you have multiple screens and maximise the window on a non primary screen, you will also notice it reopens maximised on your primary screen. Maximising Sigil is not something I do on my screens so it hasn't bugged me before now

I think in theory it would be possible to work around it. I'll put it on the rainy day wish list.
kiwidude is offline  
Old 10-08-2012, 01:38 PM   #142
ElMiko
Addict
ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.ElMiko actually enjoys Vogon poetry.
 
ElMiko's Avatar
 
Posts: 299
Karma: 56788
Join Date: Jun 2011
Device: Kindle
I'm fairly certain that previous versions of sigil remember the location and dimensions of a windowed screen... but maybe i'm losing my mind. For me, my workflow is mostly in a windowed mode so I can have Sigil open on one side of the screen and the reference pdf on the other. But when it comes time to run through spellcheck, I maximized the window (just to cut down, however marginally, on Page Dn presses). Unless I remember to re-window it after i finished spellchecking, the next time I go to open Sigil, it will be in maximized mode (which is only logical, since that's how it was closed), but when I go to window it, it will have forgotten dimensions and location of the last windowed mode (ie, on the right hand half the screen, fully extended top-to-bottom).

Remembering to window it after spellchecking (but before closing) is not by any stretch a gigantic inconvenience. And, really, neither is re-positioning the windowed view in the event i forget to un-maximize. Just thought I'd put it out there... heaven knows I've been trying to come up with a substantial bug/fix request, but you guys have apparently done too good a job. Curses!
ElMiko is offline  
Old 10-08-2012, 01:52 PM   #143
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 252
Karma: 69784
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by ElMiko View Post
Remembering to window it after spellchecking (but before closing) is not by any stretch a gigantic inconvenience. And, really, neither is re-positioning the windowed view in the event i forget to un-maximize.
Just a general tip (which you might be aware of): if you're on Win7 try Windows + Arrow keys on a Window which is in focus. It will maximise/minimize your window, and put it on either side of your screen. Something similar can be accomlished on KDE and Gnome with custom shortcuts.

It might not remember your position, but it makes it a matter of a keypress to reposition
Man Eating Duck is offline  
Old 10-08-2012, 02:28 PM   #144
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@ElMiko - sorry when I said "always done that" I meant always done that with Qt 4.8 which all the 0.5.9 betas have been based on. It believe this is the issue which theducks reported six months or so ago with the initial beta (though I never had the steps to reproduce it which I do now, thanks).
kiwidude is offline  
Old 10-08-2012, 05:30 PM   #145
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,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by ElMiko View Post
Would it be possible to have an option in the TOC builder that allows you to keep all the heading levels, but UN-nests them?
As kiwidude mentioned, this is the Manually Edit TOC feature which is unlikely to be in 0.6.0 The new version of Generate TOC allows you to change the heading level of the headings inside of Generate TOC - but it also changes the heading tags in the document directly. So if you move h2 to h1 in the TOC, the heading in your file will automatically be udpated from h2 to h1 tags. You can of course edit the title this way as well. Just remember to check your formatting afterwards

Quote:
Originally Posted by mrmikel View Post
If/when auto save is developed in future, it could just save changes in the documents, instead of the whole documents. It would not allow you to pull documents out of Sigil, but the resulting files could be a lot smaller.
I believe that would be the plan if it can be implemented.
meme is offline  
Old 10-08-2012, 05:32 PM   #146
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,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Just a heads up that the next version of the beta will change the way Saved Searches and Clips are saved - so you will need to manually copy your entries to a new file. This is necessary to remove a bit of clutter from the main sigil.ini config file and to make it easier to copy/move just clips or searches around. But mainly it started when we wanted to make sure that if you ran separate instances of Sigil that the Saved Searches and Clips where kept in sync: if you Save your searches/clips in one Sigil, the others will immediately reload the config files so all copies have the same entries and you don't accidentally overwrite (as long as you Save them after changing!).

As you may have noticed, many of the shortcuts have changed (the less used ones), and of course you had to re-assign them anyway with the beta. There are a couple more shortcut changes (to align left/right), so it would be a good idea to clear your shortcuts.

In fact, for the next beta - and we'll post a reminder when its released you should:
  • Copy the sigil.ini file to sigil-oldbeta.ini just in case
  • Edit sigil.ini and copy out the clip entries
  • Paste that data into a new file in the same directory called sigil_clips.ini
  • Edit sigil.ini and copy out the search entries
  • Paste that data into a new file in the same directory called sigil_searches.ini

Then:
  • After starting the new Sigil you should use Edit->Preferences->Keyboard Shortcuts->Reset All
  • OR just rename sigil.ini sigil-old.ini to get a clean start (dictionaries are not touched).

Don't worry - all this will be posted again for the beta, but just wanted to let you know it was coming.
meme is offline  
Old 10-08-2012, 08:31 PM   #147
theducks
Grand Sorcerer
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: 14,518
Karma: 5567081
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by ElMiko View Post
I'm fairly certain that previous versions of sigil remember the location and dimensions of a windowed screen... but maybe i'm losing my mind. For me, my workflow is mostly in a windowed mode so I can have Sigil open on one side of the screen and the reference pdf on the other. But when it comes time to run through spellcheck, I maximized the window (just to cut down, however marginally, on Page Dn presses). Unless I remember to re-window it after i finished spellchecking, the next time I go to open Sigil, it will be in maximized mode (which is only logical, since that's how it was closed), but when I go to window it, it will have forgotten dimensions and location of the last windowed mode (ie, on the right hand half the screen, fully extended top-to-bottom).

Remembering to window it after spellchecking (but before closing) is not by any stretch a gigantic inconvenience. And, really, neither is re-positioning the windowed view in the event i forget to un-maximize. Just thought I'd put it out there... heaven knows I've been trying to come up with a substantial bug/fix request, but you guys have apparently done too good a job. Curses!
I reported that a while back (I have a 3 Head system). And yes, previous (V5) versions remembered. What changed was the version of QT (user_none built me a test build with the old QT and it behaved the old way. There are desirable features that Sigil wants in the new QT so we just have to put up with the Window issue until QT gets fixed.

I see Kiwidude beat me again

Last edited by theducks; 10-08-2012 at 08:33 PM. Reason: note
theducks is offline  
Old 10-09-2012, 04:15 AM   #148
Araucaria
Bibliophile
Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.Araucaria ought to be getting tired of karma fortunes by now.
 
Araucaria's Avatar
 
Posts: 102
Karma: 848538
Join Date: Jul 2011
Location: Cantal in the French Auvergne
Device: Kindle 3
Quote:
Originally Posted by Perkin View Post
In BookView, try copying the required search text from one instance into clipboard and paste that into search box then do the replace (may be font used displaying as what you think is a single quote, whereas it should be single right/left quote).

Also as 'ducks says, try working in CodeView, they (both single quotes) may look together in BookView but may contain something in between them in CV, such as an invisible/empty link or anchor.
Then things will get slightly harder to sort it out.

Let us know if anything works, or if there is anything in CodeView which will make it more difficult to do a replace, As it just may need a copied sample of that CV text to fine tune a regex to do a global replace.
I think it was just a font problem, and that Sigil does work the way it's supposed to - my apologies for raising a non-issue.

I had started by cutting and pasting from the text in code view into the search/replace boxes. What I hadn't appreciated was that if you cut and paste two separate single quote marks from the code into the search box, when they appear in the search box, they look like a double quote instead. Seeing what appeared to be the wrong target in the search box made me replace it with single quotes with a space between: that made the box below and the text above look the same. Naturally it found nothing. Obviously (and only now do see I hadn't tried doing the obvious thing) I should have trusted the cut and paste method, which does smarten up the OCR results the way I wanted.

Thanks for your kind and helpful answers.

I'm afraid I don't yet understand how to do Regex operations so I don't do them. No doubt it would save me a lot of time, and I will get around to it soon.
Araucaria is offline  
Old 10-09-2012, 05:03 AM   #149
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@Arucaria - another way to prevent copy/paste errors is to simply just select the text in Code View / Book View / Preview View and hit Ctrl+F (for "Find"). That automatically puts the selection into the Find field for you, without you having to do anything else. Then just hit tab to move into the Replace field, type your replacement and you are good to go...
kiwidude is offline  
Old 10-09-2012, 06:39 AM   #150
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
Quote:
Originally Posted by theducks View Post
I reported that a while back (I have a 3 Head system). And yes, previous (V5) versions remembered. What changed was the version of QT (user_none built me a test build with the old QT and it behaved the old way. There are desirable features that Sigil wants in the new QT so we just have to put up with the Window issue until QT gets fixed.

I see Kiwidude beat me again


There are various bug reports on this in Qt such as this one. It still hasn't been fixed (I haven't tried Qt 5). I figured out a workaround (not that filthy one on that bug thread) which will be in the next Sigil build.
kiwidude is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Beta for BB? FF2 Amazon Kindle 2 05-28-2011 10:21 AM
Ίχνη Φαντασμάτων Μία υπόθεση του Μαξ Κίλλιαν - 99 cents! BearMountainBooks Self-Promotions by Authors and Publishers 5 08-24-2010 07:00 PM
Beta Beta Test of Major New Features Starson17 Calibre 45 05-17-2010 10:55 AM
0.6 out of beta? Nate the great Calibre 3 07-17-2009 02:45 AM


All times are GMT -4. The time now is 04:02 AM.


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