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,644
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,021
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,021
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: 884
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 Today, 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,605
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 online now   Reply With Quote
Old Today, 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: 884
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 Today, 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,605
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 online now   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 10:15 PM.


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