* FH7 Paragraphs missing in reports

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

FH7 Paragraphs missing in reports

Post by dewilkinson » 09 Dec 2020 07:58

Did a test report this morning and the new paragraph instructions in the sentence templates seem to have been ignored.

Does anyone know if there is anything I can change to make them work.

Capture.jpg
Capture.jpg (158.02 KiB) Viewed 6593 times
Capture2.JPG
Capture2.JPG (46.31 KiB) Viewed 6593 times
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

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: FH7 Paragraphs missing in reports

Post by ColeValleyGirl » 09 Dec 2020 08:01

In FH7 leading white space in Sentence Templates are discarded.

User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

Re: FH7 Paragraphs missing in reports

Post by dewilkinson » 09 Dec 2020 08:20

That is a major retrograde step. What then is the point of having formatting options in sentence templates? I have just tested that and the new paragraph instruction is there.
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

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by NickWalker » 09 Dec 2020 08:54

It's not a major retrograde step. It's a minor bug that probably no one found during testing and I'm sure can be easily resolved in an update.
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

Re: FH7 Paragraphs missing in reports

Post by dewilkinson » 09 Dec 2020 09:00

Nick,

You are probably right, but I interpreted the previous reply as it was a design decision. Hence my remark.

I like some aspects, particularly the spell checker ()but I can't seem to add place names etc to a custom dictionary) but I dislike the new Citation window, FH6 version was much more convenient use, the floating window is irritating.
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

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: FH7 Paragraphs missing in reports

Post by ColeValleyGirl » 09 Dec 2020 09:06

I don't make design decision for CP, Dewi! -- I was just confirming what you'd observed, and that there's nothing you can do to make them work.

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by NickWalker » 09 Dec 2020 09:06

Understood, we're not all going to like all the changes. Some we'll get used to, some we'll have to put up with and others perhaps Calico Pie may change in a future update based on user feedback.

My guess is that they remove spaces because sometimes people add them by accident but they hadn't considered the possibility of someone deliberately adding a paragraph marker at the start. As a developer myself I know how easy it is to just not think about those kinds of 'edge cases' - they are rarely done deliberately and are easily fixed. Of course I could be wrong and it might be a deliberate decision to ignore your paragraph markers! :evil:
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: FH7 Paragraphs missing in reports

Post by ColeValleyGirl » 09 Dec 2020 09:16

I'll add that a lot of software products automatically remove leading and trailing white space because it's usually an accident when it's created... Whatever I'm coding, I strip it out as a matter of course.

However, putting a <para> or <br> in doesn't usually happen by accident, so I'd guess removing them is a side effect of 'tidying up'.

It does avoid the situation when you end up with <para>{note}<para> for example, which looks dreadful if your note happens to be blank.

User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

Re: FH7 Paragraphs missing in reports

Post by dewilkinson » 09 Dec 2020 09:42

Removing unnecessary leading and trailing white space is normal practice as you say, but <para><br> etc are put there deliberately.

I have opened a ticket with support on this matter.
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

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by tatewise » 09 Dec 2020 10:33

You will discover that it is not just <para> and <br> but any leading white space characters that get removed.
It is a signifcant 'change' from FH V6.

Won't <<para>{note}<para>> get around the blank Note case?

The spell-check and custom dictionary only works for single words.
So any place names involving multiple words are not handled, unless you enter each word separately.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
Shiriki
Diamond
Posts: 70
Joined: 27 Sep 2014 10:09
Family Historian: V7
Location: Dartford, Kent, UK

Re: FH7 Paragraphs missing in reports

Post by Shiriki » 09 Dec 2020 12:06

I have yet to purchase version 7, but would add my comments to this thread as follows:

I have customised many of my sentence templates for use in narrative reports and a lot have <br> (or in some instances <para>) at the beginning to force a new line.

Nothing looks worse in a report than a mass of text in one large paragraph without such formatting.
Based upon dewilkinsons comments it seems that the <br> and <para> codes/commands should still be available for users to invoke but are unfortunately stripped out. Hopefully this situation can be remedied quickly by Calico Pie with a (‘bug’?) fix.
I’m somewhat surprised that this apparent oversight wasn’t picked up during beta testing (or if it was has not been actioned prior to release of V7) and that it took less than a day for an end user to discover the issue.

I wonder if the problem relating to books and indexes which I reported both here on this forum (9th July 2017)and to Calico Pie (12th July 2017) has been looked into? (See thread entitled 'Books & Index). I didn't receive any indication after raising a ticket as to whether this needed to be addressed by Calico Pie or was a deliberate action as to how the index algorithm worked in compiling the index.

Regards to all

Shiriki

User avatar
ColeValleyGirl
Megastar
Posts: 4853
Joined: 28 Dec 2005 22:02
Family Historian: V7
Location: Cirencester, Gloucestershire
Contact:

Re: FH7 Paragraphs missing in reports

Post by ColeValleyGirl » 09 Dec 2020 12:16

Beta testers can't talk about what was found/not found during Beta testing.

avatar
Shiriki
Diamond
Posts: 70
Joined: 27 Sep 2014 10:09
Family Historian: V7
Location: Dartford, Kent, UK

Re: FH7 Paragraphs missing in reports

Post by Shiriki » 09 Dec 2020 13:02

Hi

I understand about about the confidentially agreement between Beta testers and the publisher, but with reference to my comment previously in parenthesis (or if it was has not been actioned prior to release of V7) it is still surprising it seems to have slipped the net by the publisher and as such not a reflection on any Beta tester(s).
Anyhow, hopefully it will be actioned by Calico Pie.

Best Regards

Shiriki

User avatar
dewilkinson
Superstar
Posts: 280
Joined: 04 Nov 2016 19:05
Family Historian: V7
Location: Oundle, Northamptonshire, England
Contact:

Re: FH7 Paragraphs missing in reports

Post by dewilkinson » 09 Dec 2020 13:04

I have had a reply from Calicoe Pie and the issue has been passed to the developers.
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

User avatar
Andy63
Gold
Posts: 19
Joined: 23 Nov 2020 04:46
Family Historian: V7
Location: Québec, Canada

Re: FH7 Paragraphs missing in reports

Post by Andy63 » 09 Dec 2020 13:10

Try to replace the space you need by the HTML code non-breaking space:

Code: Select all

&nbsp;
It is standard in programming to remove whitespaces from both sides of a string.

Andy

User avatar
jimlad68
Megastar
Posts: 911
Joined: 18 May 2014 21:01
Family Historian: V7
Location: Sheffield, Yorkshire, UK (but from Lancashire)
Contact:

Re: FH7 Paragraphs missing in reports

Post by jimlad68 » 09 Dec 2020 13:32

would an actual "non-breaking space" be better, or if you are using it in a list say a - or _ or >.
Jim Orrell - researching: see - but probably out of date https://gw.geneanet.org/jimlad68

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by tatewise » 09 Dec 2020 13:53

You are missing the point guys. It is not a space character that is being removed but <para> and <cr> line breaks used to start Narrative report sentences on a new line. Whereas now all the sentences run together in one large paragraph. That was why <para> and <cr> were introduced in the first place. But now they only work at the end or in the middle of a sentence.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Andy63
Gold
Posts: 19
Joined: 23 Nov 2020 04:46
Family Historian: V7
Location: Québec, Canada

Re: FH7 Paragraphs missing in reports

Post by Andy63 » 09 Dec 2020 14:10

tatewise wrote:
09 Dec 2020 13:53
You are missing the point guys. It is not a space character that is being removed but <para> and <cr> line breaks used to start Narrative report sentences on a new line. Whereas now all the sentences run together in one large paragraph. That was why <para> and <cr> were introduced in the first place. But now they only work at the end or in the middle of a sentence.
I don't know how the text is generated in this context by FH. Could try replacing <cr> with \r\n. I would be surprised if this works since it is not working in this text.

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by NickWalker » 09 Dec 2020 14:11

I assumed the point of the suggestions were that by putting a different kind of 'space' character at the start (before the <para>) that didn't get removed it would mean that the <para> would remain too. But I have no idea whether those suggestions would work.
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by tatewise » 09 Dec 2020 14:51

In a leading position like that no-break-space is not even retained in the Sentence Template the same as any other leading white space character. That is the same as in FH V6 and is the reason why <para> and <cr> were introduced.
Also HTML codes are not supported in Sentence Templates.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
NickWalker
Megastar
Posts: 2401
Joined: 02 Jan 2004 17:39
Family Historian: V7
Location: Lancashire, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by NickWalker » 09 Dec 2020 14:53

I realise it's not a great solution, but would putting a full stop before the <para> be a stop-gap until this issue is resolved?
Nick Walker
Ancestral Sources Developer

https://fhug.org.uk/kb/kb-article/ancestral-sources/

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by tatewise » 09 Dec 2020 15:00

I like the use of 'stop-gap' sic.
Yes, it works if you don't mind dot space dot at the end of the preceding sentence.

However, that reveals another problem in Narrative reports...
In the indented section for children that is usually in italics, any <para> or <br> line breaks upset the indent and reduces it by one tab stop. That does not happen in FH V6.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Fairperson
Gold
Posts: 10
Joined: 22 Dec 2016 07:21
Family Historian: V7
Location: Australia

Re: FH7 Paragraphs missing in reports

Post by Fairperson » 12 Dec 2020 13:50

Hello all,

I would just like to say that I too do not understand why the <br> and <para> codes do not seem to work in V7. In my humble view the removal(?) of these two codes has made the narrative reports look very messy compared to v6.

I have not yet found a workaround, adding a period does give a line break, but of course you get a double period at the end of the previous line. .

Lets hope Calico Pie do a quick fix for us.

Thanks to all the experts in this User Group for their insights and advice, it's greatly appreciated!

David

avatar
E Wilcock
Megastar
Posts: 1181
Joined: 11 Oct 2014 07:59
Family Historian: V7
Location: London
Contact:

Re: FH7 Paragraphs missing in reports

Post by E Wilcock » 12 Dec 2020 14:14

In TMG a work round was to use undated and unnamed events.
My TMG import of one tree much edited in TMG to provide a complete text biography of my mother in law shows in fh many unlabelled and in many cases undated event fields.
These "facts" were used only to impose a carriage return within the text notes field.
I either started using TMG before one could format a carriage return or line break into notes or I didnt understand codes. The import to TMG was via Gedcom from Generations.

User avatar
tatewise
Megastar
Posts: 27082
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: FH7 Paragraphs missing in reports

Post by tatewise » 12 Dec 2020 14:19

If you wish you can add your weight to the fix via http://www.calico-pie.com/osticket/open.php.

As has been said before, all leading white space characters (space, tab, newline) are removed from each sentence.
Whether it comes from <para> or <br> or characters in Note boxes does not matter. It all gets removed.

The only alternative workaround is to move the <para> or <br> codes to the end of Sentence Templates.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply