* ver 7.0.17.1 - spurious full stops
- dewilkinson
- Superstar
- Posts: 280
- Joined: 04 Nov 2016 19:05
- Family Historian: V7
- Location: Oundle, Northamptonshire, England
- Contact:
ver 7.0.17.1 - spurious full stops
Before I report this to Calicoe Pie I was just wondering if other people are seeing something similar. I am now getting full stops inserted after the age field in sentence templates. See attached example which shows no full stop in the template.
I am thinking there is an error in the enhancement regarding full stops at the end of sentences.
I am thinking there is an error in the enhancement regarding full stops at the end of sentences.
David Wilkinson researching Bowtle, Butcher, Edwards, Gillingham, Overett, Ransome, Simpson, and Wilkinson in East Anglia
Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them
Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them
- tatewise
- Megastar
- Posts: 27074
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: ver 7.0.17.1 - spurious full stops
Check the https://www.family-historian.co.uk/v7-updates for Reports and Books regarding the old {note} and new {inline-note} codes. In your case, the Note text is a short phrase that needs the {inline-note} code.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- dewilkinson
- Superstar
- Posts: 280
- Joined: 04 Nov 2016 19:05
- Family Historian: V7
- Location: Oundle, Northamptonshire, England
- Contact:
Re: ver 7.0.17.1 - spurious full stops
Many thanks I hadn't twigged that and it works. Whilst it doesn't take long to update the sentence templates I guess the only way people can update the actual senteces is using Find and Replace {note} with {inline-note}
David Wilkinson researching Bowtle, Butcher, Edwards, Gillingham, Overett, Ransome, Simpson, and Wilkinson in East Anglia
Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them
Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them
- tatewise
- Megastar
- Posts: 27074
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: ver 7.0.17.1 - spurious full stops
Yes, but it gets more complex if the same Fact Type sometimes has Note text that is a short phrase needing {inline-note} and others have long multi-line text needing {note}. i.e. The code required depends on the format of the Note text.
I am sure that FH V6 handled both long and short Note text with just the {note} code.
So I don't fully understand why FH V7 has complicated things.
I am sure that FH V6 handled both long and short Note text with just the {note} code.
So I don't fully understand why FH V7 has complicated things.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- dewilkinson
- Superstar
- Posts: 280
- Joined: 04 Nov 2016 19:05
- Family Historian: V7
- Location: Oundle, Northamptonshire, England
- Contact:
Re: ver 7.0.17.1 - spurious full stops
I agree, I think it is an unneccesary complication. I wonder if Calico Pie consulted any users over this? (rhetorical question)
David Wilkinson researching Bowtle, Butcher, Edwards, Gillingham, Overett, Ransome, Simpson, and Wilkinson in East Anglia
Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them
Deterioration is contagious, and places are destroyed or renovated by the spirit of the people who go to them
- ColeValleyGirl
- Megastar
- Posts: 4852
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
Well, we did have a topic a while back about unnecessary full stops when a {note} was placed inline and (I suggested) FH was clearly expecting a {note} to be a full sentence, rather than a sentence fragment. And now we have
An {inline-note} doesn't seem to have any length restriction in my experimentation...
so perhaps they have reacted to that topic (which I can't now find).There is a new template code, {inline-note}, which can be used in sentence templates, if you want to insert a note into a sentence, without treating the note as the start of a new sentence.
An {inline-note} doesn't seem to have any length restriction in my experimentation...
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- Mark1834
- Megastar
- Posts: 2145
- Joined: 27 Oct 2017 19:33
- Family Historian: V7
- Location: South Cheshire, UK
Re: ver 7.0.17.1 - spurious full stops
I must admit, I never use FH to compose prose text, but my instinct is that changes such as this should be backwards-compatible and not force users to change their data to continue doing what they did before.
There would have been at least two intermediate versions that never made the light of day (7.0.16 and 7.0.17) but would have been sent to invited users for testing, but it looks like nobody picked this up.
There would have been at least two intermediate versions that never made the light of day (7.0.16 and 7.0.17) but would have been sent to invited users for testing, but it looks like nobody picked this up.
Mark Draper
- ColeValleyGirl
- Megastar
- Posts: 4852
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
I would agree, but it's hard to see how that would work in this instance when the status quo was problematical. Some people will have been using {note} for one or more complete sentences; some people will have been using {note} for sentence fragments (and complaining about extra full stops). Which set of users do you force to change?Mark1834 wrote: ↑05 Nov 2022 15:05I must admit, I never use FH to compose prose text, but my instinct is that changes such as this should be backwards-compatible and not force users to change their data to continue doing what they did before.
There would have been at least two intermediate versions that never made the light of day (7.0.16 and 7.0.17) but would have been sent to invited users for testing, but it looks like nobody picked this up.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- tatewise
- Megastar
- Posts: 27074
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: ver 7.0.17.1 - spurious full stops
I haven't done any exhaustive tests, but I think {inline-note} now does what {note} used to do in all earlier FH versions.
FH V7 introduced an undocumented full-stop strategy to {note} code entries that were not backwards compatible.
It is that change that has resulted in the current complications.
IMO the best option is to simply revert to what {note} always used to do, i.e. as {inline-note} now does.
If some users have to insert an explicit full-stop then that makes more sense than having some undocumented automatic insertion of full-stops.
The related improvement where %FACT.NOTE2% inhibits enabled Note options in Report should be retained.
It is not clear whether %FACT.NOTE2% is equivalent to {note} or {inline-note}.
FH V7 introduced an undocumented full-stop strategy to {note} code entries that were not backwards compatible.
It is that change that has resulted in the current complications.
IMO the best option is to simply revert to what {note} always used to do, i.e. as {inline-note} now does.
If some users have to insert an explicit full-stop then that makes more sense than having some undocumented automatic insertion of full-stops.
The related improvement where %FACT.NOTE2% inhibits enabled Note options in Report should be retained.
It is not clear whether %FACT.NOTE2% is equivalent to {note} or {inline-note}.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- Mark1834
- Megastar
- Posts: 2145
- Joined: 27 Oct 2017 19:33
- Family Historian: V7
- Location: South Cheshire, UK
Re: ver 7.0.17.1 - spurious full stops
Neither - I'd make it so both legacy approaches still worked, but the logic deleted any multiple full stops at the ends of sentences. But I fully recognise that's me speaking off the cuff without knowing in detail (or being particularly interested in) how such templates are set up, so it may not be a viable option.
Mark Draper
- ColeValleyGirl
- Megastar
- Posts: 4852
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
Only if the need for that extra full stop doesn't depend on the content of the note.
Disclaimer, like Mark, I don't have a dog in this hunt -- I don't use sentence templates -- if I want decent narrative, I'll write it myself.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- tatewise
- Megastar
- Posts: 27074
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: ver 7.0.17.1 - spurious full stops
How does anyone except CP know what the full-stop rules are? They are NOT DOCUMENTED anywhere!
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- ColeValleyGirl
- Megastar
- Posts: 4852
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
No need to shout, Mike. You've said it several times, and nobody has disagreed with you.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- ColeValleyGirl
- Megastar
- Posts: 4852
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
Especially when they'll vary from language to language...?
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- tatewise
- Megastar
- Posts: 27074
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: ver 7.0.17.1 - spurious full stops
I felt it needed emphasising as several strategic solutions for applying full-stops were being proposed when nobody knows the rules of the game, so it appeared that the lack of documentation point was being ignored.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- ColeValleyGirl
- Megastar
- Posts: 4852
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
I must have missed the proposed solutions -- I'm only seeing questions/discussion, not answers in this thread.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
- AdrianBruce
- Megastar
- Posts: 1961
- Joined: 09 Aug 2003 21:02
- Family Historian: V7
- Location: South Cheshire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
I would agree with Helen's identification of the reason for the creation of {inline-note} - someone was using {note} in the middle of a sentence and it wasn't coming out properly.
In my personal view, the solution that CP have adopted seems the cleanest - actually make the distinction between notes that form fragments of sentences (the inline notes), and notes that form sentences of their own. Bear in mind that there must be a ton of punctuation related logic trying to put notes into narratives. My use of {note} in narrative sentences is a third option, by the way - I don't put the thing in the narrative template at all but press the button to add the note and the end of the narrative.
I think back to the problems that I ran into with extra spacing because I was using spaces inside < and > to control the spacing of a narrative sentence. But I was told that I was working against the software logic and I'd do better not trying to second guess the logic. And so it proved. This indicates to me that there is a ton of formatting logic that (in my case, certainly) was tottering - better by far to provide a clean base. Or so say I.
In my personal view, the solution that CP have adopted seems the cleanest - actually make the distinction between notes that form fragments of sentences (the inline notes), and notes that form sentences of their own. Bear in mind that there must be a ton of punctuation related logic trying to put notes into narratives. My use of {note} in narrative sentences is a third option, by the way - I don't put the thing in the narrative template at all but press the button to add the note and the end of the narrative.
I think back to the problems that I ran into with extra spacing because I was using spaces inside < and > to control the spacing of a narrative sentence. But I was told that I was working against the software logic and I'd do better not trying to second guess the logic. And so it proved. This indicates to me that there is a ton of formatting logic that (in my case, certainly) was tottering - better by far to provide a clean base. Or so say I.
Adrian
- ColeValleyGirl
- Megastar
- Posts: 4852
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: ver 7.0.17.1 - spurious full stops
A brief experiment with {note} and {inline-note}, and various punctuation/spacing reveals the following behaviour around sentences:
- In all cases, FH capitalises the first word of a sentence if it is not already capitalised and adds a trailing full stop if one isn't already present (unchanged from FH6).
- In all cases, FH leaves the contents (including punctuation and spacing) of {note} or {inline-note} untouched -- it makes no changes whatsoever (unchanged from FH6).
- In all cases, FH removes duplicate spaces in a sentence outside {note}/{inline-note} (unchanged from FH6).
- If using {note}, FH ensures it is preceded by a full stop and a single space by adding them if necessary, i.e., treats it as if {note} starts a new sentence (new in FH7).
- If using {inline-note}, FH does not make any changes to the text immediately preceding it -- it does not add a full stop/single space, i.e. it doesn't treat {inline-note} as the start of a new sentence (same behaviour as {note} in FH6)
This is consistent with the help file that says:There is a new template code, {inline-note}, which can be used in sentence templates, if you want to insert a note into a sentence, without treating the note as the start of a new sentence.
Note (long)
Code: {note}
Inserts the note, if any, associated with the relevant fact. Is most suitable for long notes, such as notes which contain one or more whole sentences. The {note} code is normally the last code in the sentence template. If you want the note to appear within its own separate paragraph, you can use <para> formatting codes before and after it, within angle brackets - like this: <<para>{note}<para>>(see How to Add a Prefix or Suffix to any Sentence Template Code below).
Note (inline)
Code: {inline-note}
Inserts the note, if any, associated with the relevant fact. Is most suitable for notes which are short, and typically less than a full sentence. The {inline-note} code is typically used for notes which are intended to be inserted as a clause within a sentence.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history