Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-09-2018, 06:24 PM   #76
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,650
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@NotJohn - England still prices horses in guineas (not sure about rest of UK or Ireland), and maybe some high value bespoke items such as Savile Row suits, Purdey guns, etc.

Another historical idiosyncrasy of UK money relates to the units in which Gilts (Bonds) were priced. Today it's a £100.00, but until fairly recently (i.e. last 50 years or so) the unit price was a weird amount that escapes my memory - something like £133.33'.

BR

Errata - my mother rescued that comptometer from being sent to the scrap heap.

Last edited by BetterRed; 08-09-2018 at 06:27 PM.
BetterRed is offline   Reply With Quote
Old 08-09-2018, 09:39 PM   #77
Thasaidon
Hedge Wizard
Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.Thasaidon ought to be getting tired of karma fortunes by now.
 
Thasaidon's Avatar
 
Posts: 801
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Quote:
Originally Posted by Tex2002ans View Post
Also written as £2 11s. 8¼d.

£sd = pound + sterling + pence

.......

with the British £sd converted to decimalization in 1971:

https://en.wikipedia.org/wiki/Decimal_Day
Not quite right it was:-

£2 11s. 8¼d. = £sd = pounds+ shillings + pence

I have on my wall a set of UK pre decimal coins and also have an old £1 and a ten shilling note. For me it is pure nostalgia as I was 22 years old when British currency went decimal. I can even remember being sent to the shop to buy a certain kind of loaf of bread which was so many pence and one farthing.
Thasaidon is offline   Reply With Quote
Advert
Old 08-10-2018, 07:41 AM   #78
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
And that's why British people can do maths, while Americans can only do math.
exaltedwombat is offline   Reply With Quote
Old 08-10-2018, 11:10 AM   #79
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Thasaidon View Post
Quote:
Originally Posted by Tex2002ans View Post
Also written as £2 11s. 8¼d.

£sd = pound + sterling + pence
Not quite right it was:-

£2 11s. 8¼d. = £sd = pounds + shillings + pence
One of those brain farts where your brain thinks one word and writes another one. I wasn't too far off! What's the difference between a few dollars/cents sterlings/shillings? :P
Tex2002ans is offline   Reply With Quote
Old 08-10-2018, 04:50 PM   #80
RbnJrg
Wizard
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: 1,566
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Question Bug?

When I apply the command "Mend and Prettify Code" the cursor goes to the end of the file where I'm working; that is, it doesn't remain in the same place previous to "Mend and Prettify Code". That behaviour was not present in the previous version of Sigil.
RbnJrg is offline   Reply With Quote
Advert
Old 08-10-2018, 05:20 PM   #81
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: 27,586
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
When I apply the command "Mend and Prettify Code" the cursor goes to the end of the file where I'm working; that is, it doesn't remain in the same place previous to "Mend and Prettify Code". That behaviour was not present in the previous version of Sigil.
He's right. The cursor stayed put in 0.9.9. But even though the view stays relatively the same after M&P in 0.9.10, the cursor will move to the very end of the file.

The recent commit (after 0.9.10) to address another cursor issue, does not alleviate this.
DiapDealer is offline   Reply With Quote
Old 08-10-2018, 06:29 PM   #82
KevinH
Sigil Developer
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: 7,713
Karma: 5444398
Join Date: Nov 2009
Device: many
Yes, anytime an underlying file is overwritten that CodeView is currently showing in its QTextEdit widget, the cursor will move to the end of the file unless saved and restored somehow.

Given M and P can and does make wholesale changes to whitespace in the file, a cursor offset into the previous version (before M and P) can and will be pretty meaningless. M and P is not an editing command inside CodeView. M& P is taking the current contents of the file out of the QTextEdit Widget and passing it through gumbo with some extra smarts and then reloading it back in behind the scenes. So yes the cursor position from before is pretty meaningless.

Last edited by KevinH; 08-10-2018 at 06:34 PM.
KevinH is offline   Reply With Quote
Old 08-10-2018, 06:54 PM   #83
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: 27,586
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I see what you're saying. The cursor has always moved to the end of the file whenever M&P has made changes--even in previous versions. I just happened to test a file/epub in Sigil v0.9.9 where M&P had nothing to do. Only when there's nothing for M&P to do does the cursor retain its position.

Just tried it with Sigil v0.9.9 and the cursor moved right to the end. Repeated the M&P and the cursor remained. Same with v0.9.7. There is no new behavior here.

Last edited by DiapDealer; 08-10-2018 at 06:57 PM.
DiapDealer is offline   Reply With Quote
Old 08-11-2018, 08:45 AM   #84
RbnJrg
Wizard
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: 1,566
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
I see what you're saying. The cursor has always moved to the end of the file whenever M&P has made changes--even in previous versions. I just happened to test a file/epub in Sigil v0.9.9 where M&P had nothing to do. Only when there's nothing for M&P to do does the cursor retain its position.

Just tried it with Sigil v0.9.9 and the cursor moved right to the end. Repeated the M&P and the cursor remained. Same with v0.9.7. There is no new behavior here.
Then, would it be possible for Sigil to remember -before M&P- the line of the file where it is and after M&P goes to that very line? Now I do that manually so I think it could be possible by design.
RbnJrg is offline   Reply With Quote
Old 08-11-2018, 08:54 AM   #85
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: 27,586
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Kevin explained fairly well why retaining the cursor position from before an M&P cleanup would be meaningless after the M&P cleanup. We have no way of predicting (or tracking) what the cursor-position differential from before, to after, might be. We can't know what we can't know.

All we could do is retain the cursor position of a document that no longer exists. Restoring it in the new document wouldn't put you where you want to be.

Something that's simple to do manually is often difficult (or impossible) to do programmatically.
DiapDealer is offline   Reply With Quote
Old 08-11-2018, 09:45 AM   #86
KevinH
Sigil Developer
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: 7,713
Karma: 5444398
Join Date: Nov 2009
Device: many
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-11-2018, 10:13 AM   #87
RbnJrg
Wizard
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: 1,566
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
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.
That would be great!
RbnJrg is offline   Reply With Quote
Old 08-11-2018, 07:19 PM   #88
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: 3,117
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
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   #89
KevinH
Sigil Developer
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: 7,713
Karma: 5444398
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   #90
BobC
Guru
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: 691
Karma: 3026110
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
Reply


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:36 PM.


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