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-08-2018, 11:44 PM   #76
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: 1,055
Karma: 6000097
Join Date: Jul 2012
Device: Nook
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)
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-08-2018 at 11:46 PM.
Tex2002ans is offline   Reply With Quote
Old 08-09-2018, 12:17 AM   #77
BetterRed
null operator
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: 11,079
Karma: 10563148
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Tex2002ans View Post
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
BetterRed is offline   Reply With Quote
Old 08-09-2018, 12:17 PM   #78
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,195
Karma: 500000
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.
Notjohn is offline   Reply With Quote
Old 08-09-2018, 06:24 PM   #79
BetterRed
null operator
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: 11,079
Karma: 10563148
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   #80
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: 369
Karma: 3344932
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
Old 08-10-2018, 07:41 AM   #81
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: 656
Karma: 1771606
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   #82
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: 1,055
Karma: 6000097
Join Date: Jul 2012
Device: 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   #83
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: 891
Karma: 3273787
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
Old 08-10-2018, 05:20 PM   #84
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: 19,005
Karma: 97915638
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   #85
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,073
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 06:34 PM.
KevinH is offline   Reply With Quote
Old 08-10-2018, 06:54 PM   #86
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: 19,005
Karma: 97915638
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   #87
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: 891
Karma: 3273787
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   #88
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: 19,005
Karma: 97915638
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   #89
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,073
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.
KevinH is offline   Reply With Quote
Old 08-11-2018, 10:13 AM   #90
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: 891
Karma: 3273787
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
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 12:45 AM.


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