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 08-11-2018, 07:19 PM   #91
Turtle91
A Hairy Wizard
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: 1,647
Karma: 11766398
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
We were having this difficulty when developing Marvin - when transitioning between portrait/landscape the current position would be lost and you'd have to swipe backward/forward to get back to where you started from. One of the solutions that was suggested was similar to what Kevin mentioned, but instead of remembering the tag, it was to remember a section of text (which wouldn't be changed with a M&P) and then "search" for that text to reposition.
Turtle91 is offline   Reply With Quote
Old 08-11-2018, 09:02 PM   #92
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,025
Karma: 1931746
Join Date: Nov 2009
Device: many
Sigil could search for a text phrase or selection but uniqueness of any text fragment can not be guaranteed. Hopefully the enclosing tag will be possible.
KevinH is offline   Reply With Quote
Old 08-12-2018, 04:38 AM   #93
BobC
Fanatic
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: 566
Karma: 1156144
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Quote:
Originally Posted by BetterRed View Post
Baby-boomer Brits might remember the old UK currency, not only did it have two separators (spaces, slashes, or less often periods), the units weren't decimal and it had fractions too!

So - £2.11.8¼ x 3 = £7.14.4¾ (I think)

BR
Not quite right -

3 x 1/4d = ¾d
3 x 8d = 24d = 2s
3 x 11s = £1 13s
3 x £2 = £6

In total £7 15 0¾ you are eightpence short.

BobC
BobC is offline   Reply With Quote
Old 08-12-2018, 11:43 AM   #94
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 3,025
Karma: 1931746
Join Date: Nov 2009
Device: many
Okay I just pushed a "fix" to master to handle this case a bit better. If and only if the contents of a file are changed by Mend or Mend and Prettify, the cursor will now be positioned to the start of the tag that enclosed the previous cursor position instead of being moved to the very end of the document. Otherwise the cursor position is untouched.

That said, if M or M & P need to "fix" things by inserting or changing tags in the html tag hierarchy, the position may end up higher up the html tree or in the wrong place.

Hope this helps.


Quote:
Originally Posted by KevinH View Post
No promises but I might be able to get the tag path to the block element that contains your current position and then try to get back at least to the block tag (assuming mend does not remove that tag and does not insert any new tags between the html tag and it) within the updated html file.
KevinH is offline   Reply With Quote
Old 08-12-2018, 02:12 PM   #95
RbnJrg
Guru
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: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
Okay I just pushed a "fix" to master to handle this case a bit better. If and only if the contents of a file are changed by Mend or Mend and Prettify, the cursor will now be positioned to the start of the tag that enclosed the previous cursor position instead of being moved to the very end of the document. Otherwise the cursor position is untouched.

That said, if M or M & P need to "fix" things by inserting or changing tags in the html tag hierarchy, the position may end up higher up the html tree or in the wrong place.

Hope this helps.
Many thanks! I use M&P mainly to prettify the code so your fix will help a lot.
RbnJrg is offline   Reply With Quote
Old 08-15-2018, 09:20 AM   #96
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,649
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
I think I found the cause of the issue. I had already installed the lasted C++ VS 2015 runtime library. When I installed Sigil 0.9.10, I don't know why, it installed again the Visual C++ Redistributable para Visual Studio 2015. And with that distribution, Sigil didn't run. Then I did the following:

1. I uninstalled Sigil 0.9.10
2. I unistalled MS Visual C++ 2015 Redistributale (x64)
3. I installed again vc_redist.x64.exe
4. I installed again Sigil 0.9.10 and when Sigil wanted to install the C++ runtime library, I aborted the installation and this time, Sigil worked.

It seems that Sigil want to install MS Visual C++ 2015 Redistributale (x64) even when this package is present and updated.
I'm doing some testing to find the best solution for this, and I still can't, for the life of me, figure out why the Sigil installer would try to install its included version of the VC++ 2015 Runtime over top of a newer version you have have installed. The only thing I can come up with is that your Spanish version of the runtime must appear to be an older version than the one included with the Sigil installer (or it doesn't use the standard registry locations where Sigil looks to check if the 14.X.XXXXetc runtime is installed (and what version it is).

Could you please tell me: 1) what version of Windows you're using, and 2) what the exact version of the runtime you have installed is?

As for the latter, look at the list of the installed applications in Add/Remove, Apps & Features (whathaveyou) and see what the version string is for the "Microsoft Visual C++ 2015 Redistributable"? You may need to click on the entry to see the exact details.

I'd appreciate it. Adding an option to skip the VC++ runtime install in the Sigil installer is trivial enough (and it will be in the next release), but I'd still like to know what's going on. Those who don't know enough about these things shouldn't have to worry about Sigil potentially breaking their existing runtime installations in the first place.
DiapDealer is offline   Reply With Quote
Old 08-15-2018, 08:08 PM   #97
RbnJrg
Guru
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: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post

Could you please tell me: 1) what version of Windows you're using, and 2) what the exact version of the runtime you have installed is?

As for the latter, look at the list of the installed applications in Add/Remove, Apps & Features (whathaveyou) and see what the version string is for the "Microsoft Visual C++ 2015 Redistributable"? You may need to click on the entry to see the exact details.
Of course! I'm using Windows 7 Ultimate x64 service Pack 1 and my installed version of the runtime (x64) is 14.0.23026, that is the last spanish version you can download from https://www.microsoft.com/es-ES/down....aspx?id=52685
RbnJrg is offline   Reply With Quote
Old 08-15-2018, 09:02 PM   #98
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,649
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That explains why the Sigil installer wants to install its own version. That may represent the newest Spanish version, but overall, that's a fairly old version of the 2015 redistributable in general. In fact, it's the oldest version there is (not counting release candidates). Sigil ships with 14.0.24210 (soon to be 14.0.24215). I'm not sure why the sigil version fails to update your existing older one, but I can assure you that the only thing Spanish about your version are the UI options when installing/uninstalling it. Other than that, there is no functional difference between spanish 14.0.23026 and english 14.0.23026.

I would honestly uninstall yours and let Sigil install its newer version. I would be very, very surprised if doing so changed anything at all. All six versions of the 2015 redistributable (seven if you count VS2017's 14.10.25017) are binary compatible. Sigil and anything else that requires the VS2015 runtime should work with any of them.

Your call, of course. As I said, the next version of Sigil will allow you to skip the runtime installer check altogether.
DiapDealer is offline   Reply With Quote
Old 08-16-2018, 08:47 AM   #99
RbnJrg
Guru
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: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
I would honestly uninstall yours and let Sigil install its newer version.
I did that experiment. I uninstalled my previous runtime, I uninstalled Sigil 0.9.10 and I installed it again but allowing that installs its runtime. It worked. So, it seems that the issue was due to the update of the runtime in my Windows. With a clean system, it didn't have problems.

Quote:
As I said, the next version of Sigil will allow you to skip the runtime installer check altogether.
Maybe the next version could inform that detected a previous version (and its number), that Sigil has a newer version and then to ask the user if s/he wants to be installed.
RbnJrg is offline   Reply With Quote
Old 08-16-2018, 10:39 AM   #100
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,649
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
Maybe the next version could inform that detected a previous version (and its number), that Sigil has a newer version and then to ask the user if s/he wants to be installed.
I don't really want to overly complicate the installer with lots of user options when most people never run into trouble. Especially when many people won't really know how to answer the question in the first place. Many might see language like "Visual Studio C++ Runtime Update" and panic a bit.

But I'll do some experimenting and decide how to best proceed. I'm really leaning toward bailing on the runtime redistributable install altogether if any binary compatible version of the runtime is detected as being installed already. The knowledgeable users can then decide if they ever want to manually update their runtime versions or not.
DiapDealer is offline   Reply With Quote
Old 08-16-2018, 07:05 PM   #101
Turtle91
A Hairy Wizard
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: 1,647
Karma: 11766398
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
Isn't that the difference between a "Standard Install" or an "Advanced Options"??
Turtle91 is offline   Reply With Quote
Old 08-16-2018, 07:48 PM   #102
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,649
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Turtle91 View Post
Isn't that the difference between a "Standard Install" or an "Advanced Options"??
Yes. Except that Sigil's installer never really had any "Advanced Options" (other than clicking the box to associate .epubs with Sigil). And I'd sort of like to keep it that way.

So in the very near future, I believe Sigil's Windows installer roadmap is going to be something like:

1) check for a minimum of Windows 7SP1
(Sorry Vista users--myself included. The legacy version will still serve us adequately, though).
2) install Sigil
3) if no version of the VC++ 2015 runtime is installed; install one. If one is; don't.
4) The end.

It simplifies the process immensely at zero cost functionally (other than the loss of Vista - which was happening regardless of the Runtime issue). There's so much extra Inno Setup Pascal scripting going on to check for OS/SP-levels and registry queries to retrieve/compare redistributable versions that it's getting a bit silly. This will be a clean start.

I've never run into any scenario where a SIgil bug was tracked down to a specific version of the runtime. So I'm not entirely certain why we ever got into the business of updating runtimes on Windows in the first place (more than likely it was a much more ignorant past Me to blame--truth be told). Sigil will run equally well (in all my testing) with version 14.0.23026 - 14.15.xxxxx of the redistributable runtime. And if there DOES turn out to be any issues, we tell a user to uninstall their existing runtime and to reinstall Sigil which will then install the latest version of the runtime. Badabing.

Last edited by DiapDealer; 08-16-2018 at 07:57 PM.
DiapDealer is offline   Reply With Quote
Old 08-16-2018, 08:07 PM   #103
Turtle91
A Hairy Wizard
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: 1,647
Karma: 11766398
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
Could there be an entry under "Help" for "Check for updates" and update the selected items if the user wants to be on the bleeding edge??
Turtle91 is offline   Reply With Quote
Old 08-16-2018, 08:36 PM   #104
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,649
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There could ... but there probably won't be.

I'm pretty committed to not updating redistributables with the installer any more. There's no real need to do so, and updating them has really always been beyond Sigil's purview. If there's one installed that it can use, it should use it. If not, it should install one it can use. Simple. Doing anything else is over-complicating the process and introducing a potential failure point (as RbnJrg can attest to) for no real gain.

Last edited by DiapDealer; 08-16-2018 at 08:42 PM.
DiapDealer 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
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil 0.8.5 Released user_none Sigil 12 03-30-2015 11:28 AM
Sigil 0.7.2 Released user_none Sigil 40 06-24-2013 11:35 PM
Sigil 0.7.0 Released user_none Sigil 75 03-03-2013 12:41 PM


All times are GMT -4. The time now is 08:52 PM.


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