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

 MobileRead Forums Sigil-0.9.10 Released
 User Name Remember Me? Password

08-09-2018, 12:44 AM   #76
Tex2002ans
Wizard

Posts: 1,107
Karma: 6099999
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
 Originally Posted by BetterRed 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)
Also written as £2 11s. 8¼d.

£sd = pound + sterling + pence

(I was just talking about this with an acquaintance when digitizing the latest round of books.)

Seems like most currencies were decimalized during the 1800s-1970s:

https://en.wikipedia.org/wiki/Decimalization

with the British £sd converted to decimalization in 1971:

https://en.wikipedia.org/wiki/Decimal_Day

Last edited by Tex2002ans; 08-09-2018 at 12:46 AM.

08-09-2018, 01:17 AM   #77
BetterRed
null operator

Posts: 11,547
Karma: 10584684
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
 Originally Posted by Tex2002ans Seems like most currencies were decimalized during the 1800s-1970s: https://en.wikipedia.org/wiki/Decimalization
That claims Russia was the first country to convert its money to decimal units, but interestingly there's no mention of China.

China's money has had decimal units for thousands years - 1 yuan = 10 jiao = 10 fen

When the UK converted, my mother rescued an old mechanical desktop £sd comptometer from the scrap heap. After she died we donated it to a now defunct local museum, I was told it subsequently went to Bletchley Park.

BR

 08-09-2018, 01:17 PM #78 Notjohn mostly an observer   Posts: 1,211 Karma: 500084 Join Date: Dec 2012 Device: Kindle My favorite Brit unit of currency (there was no note, but men's clothing and I believe real estate prices were often measured in it) was the guinea. In 1955 it was almost exactly \$3 USD. The ha'penny was still a common coin at that time, but the farthing (1/4 penny) had been withdrawn from circulation. Someone once showed me a farthing, the only one I ever saw. The same was true of a five-pound note, which was a handkerchief-sized note that as I recall was white): I only ever saw the one. I rather liked British currency, though the coins did wear out my pockets and I had to have them replaced. The replacement pockets felt more like canvas than cloth. When I left England in June to hitchhike through the Continent, there were strict export restrictions. I believe the limit was £10 though it may have been £20. Even at my then standard of living, that wouldn't have last, so I got 80 one-pound notes, put them in a little sack, and tied the sack at the bottom of my sleeping bag. The dollar value was \$240. That lasted me three months before I had to beat it back to London again, where I had left a suitcase and some traveler's checks in Left Luggage. It was a great time to be an American in Europe.
 08-09-2018, 07:24 PM #79 BetterRed null operator   Posts: 11,547 Karma: 10584684 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 07:27 PM.
08-09-2018, 10:39 PM   #80
Thasaidon
Hedge Wizard

Posts: 380
Karma: 3547136
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
Quote:
 Originally Posted by Tex2002ans 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.

 08-10-2018, 08:41 AM #81 exaltedwombat Guru   Posts: 665 Karma: 1771606 Join Date: Nov 2011 Device: none And that's why British people can do maths, while Americans can only do math.
08-10-2018, 12:10 PM   #82
Tex2002ans
Wizard

Posts: 1,107
Karma: 6099999
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Thasaidon
Quote:
 Originally Posted by Tex2002ans 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

 08-10-2018, 05:50 PM #83 RbnJrg Guru   Posts: 901 Karma: 3273787 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT 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.
08-10-2018, 06:20 PM   #84
DiapDealer
Grand Sorcerer

Posts: 19,361
Karma: 99455064
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
 Originally Posted by RbnJrg 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.

 08-10-2018, 07:29 PM #85 KevinH Wizard   Posts: 3,110 Karma: 1931746 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 07:34 PM.
 08-10-2018, 07:54 PM #86 DiapDealer Grand Sorcerer     Posts: 19,361 Karma: 99455064 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 07:57 PM.
08-11-2018, 09:45 AM   #87
RbnJrg
Guru

Posts: 901
Karma: 3273787
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
 Originally Posted by DiapDealer 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.

 08-11-2018, 09:54 AM #88 DiapDealer Grand Sorcerer     Posts: 19,361 Karma: 99455064 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.
 08-11-2018, 10:45 AM #89 KevinH Wizard   Posts: 3,110 Karma: 1931746 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.
08-11-2018, 11:13 AM   #90
RbnJrg
Guru

Posts: 901
Karma: 3273787
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
 Originally Posted by KevinH 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!