* Adding a blank line after a note field in Narrative Reports?

Questions about the various ways of sharing your research with others
Post Reply
avatar
wellera
Diamond
Posts: 51
Joined: 07 Mar 2011 09:09
Family Historian: V7
Location: Bristol, UK

Adding a blank line after a note field in Narrative Reports?

Post by wellera »

Apologies is this is a simple question, but it has stumped me.

I'm generating Narrative reports with the "Inc. Event/Attr Notes" option selected.

I would like a blank line after each note (ie so it is separate from the following text), but can't find a way to do this (apart from adding a carriage return to every note, which is impractical with large numbers of existing notes)

I can see how a blank line can be added with <br> in Fact Sentence Templates, and was looking for something similar for Notes. Does it exist?

Thanks in advance.
User avatar
tatewise
Megastar
Posts: 28486
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Adding a blank line after a note field in Narrative Reports?

Post by tatewise »

I suggest you use the ability to include local Notes in the Sentence Template.
Use either the {note} code or less likely the {inline-note} code followed by the <br> code.
Then you only have to modify the Fact Types that need local Notes appended.

Bear in mind that the Report Inc. Event/Attr Notes option is smart and only includes the same Note once.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
avatar
wellera
Diamond
Posts: 51
Joined: 07 Mar 2011 09:09
Family Historian: V7
Location: Bristol, UK

Re: Adding a blank line after a note field in Narrative Reports?

Post by wellera »

Great solution Mike - much appreciated!
I'd not realised I could add the {note} field into the sentence template.

Thanks
User avatar
AdrianBruce
Megastar
Posts: 2115
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Adding a blank line after a note field in Narrative Reports?

Post by AdrianBruce »

What am I missing? I get a gap in my narrative reports automatically.
Screenshot 2024-02-06 215226.jpg
Screenshot 2024-02-06 215226.jpg (42.76 KiB) Viewed 366 times
The text starting "George retired..." is the note to the occupation fact for his occupation 1881-1918. You can see that there is a blank line before the March 1891 residence fact. I have "Inc. Event/Attr Notes" set - I don't have {note} and definitely not {inline-note} in the narrative sentence template.

Update: What I was missing in that most of my narrative sentences start with <para>. That's why the newline appears. Of course, the fact type that I checked didn't have <para> at the start of its sentence for perfectly good reasons...

Sorry :( I'll leave this here in case anyone's seen it.
Adrian
Post Reply