* Text formatting in V7

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.
Post Reply
avatar
TMG_refugee
Diamond
Posts: 97
Joined: 14 Nov 2015 15:44
Family Historian: V7

Text formatting in V7

Post by TMG_refugee » 09 Dec 2020 00:18

I just installed V7 and I have succeeded in formatting text in a note field for a fact. The resulting sentence does not show the formatting and an rtf file also does not show the formatting.

V7 is very new so I did not find the answer in the forum. What am I doing wrong?

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

Re: Text formatting in V7

Post by tatewise » 09 Dec 2020 09:54

You are doing nothing wrong.
The ability to include a {note} with rich text into a Sentence Template is not currently supported and the Note becomes plain text in the Narrative report.
Conversely, in ISR and Family Group Sheet that rich text Note is faithfully reproduced.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
TMG_refugee
Diamond
Posts: 97
Joined: 14 Nov 2015 15:44
Family Historian: V7

Re: Text formatting in V7

Post by TMG_refugee » 09 Dec 2020 12:52

Thanks Mike,

Since I put a lot of my data into notes is there no way to format these fields or will I need to wait until creating an rtf file and edit that?

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

Re: Text formatting in V7

Post by tatewise » 09 Dec 2020 13:47

Report the problem to CP in the usual way. It may just be an oversight.

It is early days. Hold tight for a while and such omissions may get fixed.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Text formatting in V7

Post by Jane » 09 Dec 2020 13:57

BTW In narrative reports if you don't have {note} in the sentence it will appear at the end as a new sentence(s)
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

avatar
TMG_refugee
Diamond
Posts: 97
Joined: 14 Nov 2015 15:44
Family Historian: V7

Re: Text formatting in V7

Post by TMG_refugee » 10 Dec 2020 19:49

Mike, I reported the problem to CP and their explanation is:

"Have you changed the sentence template for any of your fact definitions to include the {note} code (see Fact Types on the Tools menu)? This is special code (called a sentence template code) that allows the note associated with a fact to be inserted into generated sentences in narrative reports. However, if you do it that way, the note is converted to plain text (bold and italics etc are removed). In general, for this reason, we recommend that you don't do it that way. The alternative is to remove the {code} field from your sentence templates and instead tick the option "Inc. Event/Attr Notes" in report options. If you do it that way, the note will be inserted as 'rich text'."

I had used the {note} in the sentence template. Once that was removed the formatting works as advertised. However with the way I use FH this leaves me with a problem.

If I include the {note} in the sentence template then the note is included within the footnote. If I let FH include the note then that comes outside the footnote. Not exactly what I want but the formatting works within these parameters.

Jane - I have let FH include the notes but see comment above about the footnotes.

My initial impression of V7 is good

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

Re: Text formatting in V7

Post by tatewise » 10 Dec 2020 20:05

By 'footnotes' do you mean the citation superscript numbers?

Whether the option of Inc. Event/Attr Notes works satisfactorily depends on where the Note text was intended to appear.
If it was worded to fit into the middle of the sentence construction then that option won't be so good and the Note will need to be adjusted to exist as an appendage to the sentence.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
TMG_refugee
Diamond
Posts: 97
Joined: 14 Nov 2015 15:44
Family Historian: V7

Re: Text formatting in V7

Post by TMG_refugee » 10 Dec 2020 20:15

Yes.

I use notes to include actual genealogical data that apply to a particular fact/event. That info should be within the footnote or citation numbering so that someone can see that the data has sources. I always want to use notes at the end of a fact as perhaps some note about the fact such as a proof statement or some question that I may have regarding the information or my personal thoughts on an event. As such they I don't think that they need to be cited or sources.

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

Re: Text formatting in V7

Post by tatewise » 10 Dec 2020 20:28

The Notes that need a 'footnote' superscript can have their own.
It is a slightly hidden feature (which was more visible in FH v6.2) because Note Citations have been withdrawn from GEDCOM 5.5.1 but FH still supports them for backward compatibility.

On the All tab expand the details to reveal the fact Note, then right-click it and choose Add Source.
To add any Citation fields continue to use right-click options.
The Source Citation does not appear in the yellow Sources For pane as it did in FH v6.2.
However, the Note in the Report gets its own 'footnote' superscript.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

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

Re: Text formatting in V7

Post by AdrianBruce » 10 Dec 2020 21:25

TMG_refugee wrote:
10 Dec 2020 19:49
...
"Have you changed the sentence template for any of your fact definitions to include the {note} code ... if you do it that way, the note is converted to plain text (bold and italics etc are removed). In general, for this reason, we recommend that you don't do it that way. The alternative is to remove the {code} field from your sentence templates and instead tick the option "Inc. Event/Attr Notes" in report options. If you do it that way, the note will be inserted as 'rich text'." ...
Oooh - thanks for that - although I've not bit the v7 bullet yet, that was one thing I was potentially frustrated about - using Rich Text in a Note and then losing it in a narrative. Almost by chance, my Sentences don't include the {note} code, so I'm in luck - I did once have the code in for reasons lost in the mist of time but found the global setting more useful. Once I'd found the global setting, that is...

Another reply to copy into OneNote in preparation for v7.
Adrian

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

Re: Text formatting in V7

Post by tatewise » 10 Dec 2020 23:13

it seems that the FH v7 Narrative report Inc. Event/Attr Notes is ticked by default.
That is the opposite of FH v6.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
TMG_refugee
Diamond
Posts: 97
Joined: 14 Nov 2015 15:44
Family Historian: V7

Re: Text formatting in V7

Post by TMG_refugee » 11 Dec 2020 00:02

Mike,

That is exactly what I am talking about but I wonder if this is the correct way to do this since 5.5.1 does not support it and FH may completely withdraw support at sometime because of GEDCOM.

One note using the {note} in the sentence only affects the sentences that use it. Therefore the formatting only goes to plain text where the {note} is actually used. I wondered if it was universal so that if I used the {note} once in a sentence then all the formatting for the entire project would be affected but I was glad to find that only the particular sentence is affected. I can make unique changes to the sentence for a particular instance of a fact to either include them inside or outside the footnote or citation.

I can work with this so all is good. Now on to the new table feature.

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

Re: Text formatting in V7

Post by tatewise » 11 Dec 2020 00:08

I cannot predict what FH may change in future but there are many 'extensions' to GEDCOM 5.5.1 in FH features.
If FH really wanted 100% GEDCOM 5.5.1 strictness it could simply use _SOUR tags instead of SOUR tags for Note Citations.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
NickiP
Famous
Posts: 192
Joined: 26 Feb 2013 12:36
Family Historian: V7
Location: UK

Re: Text formatting in V7

Post by NickiP » 12 Dec 2020 02:25

I read the above reply from Calico Pie that as long as you didn't have {note} in the sentence template, then any bolding should appear in the narrative reports. However, I now suspect I may not have understood this correctly.

I have the following sentence template, I accept that {_place} is included as they way I use places means I prefer "at" most of the time and not "in". I formatted some names as bold in the Note section to be picked up in the sentence. The sentence template is:

{individual} witnessed the marriage of {=GetLabelledText(%FACT.NOTE2%,"Couple:")} {date} at {_place}, <along with {=GetLabelledText(%FACT.NOTE2%,"Witness:")}>

However, the bolding does not appear in the narrative reports at all.

Is this because {_place} is included please? Or for another reason?

I do not use ISR or Family Group Sheets, only the Narrative Reports and I'd really hoped that I could format some of the text in the reports with V7 otherwise to be honest the new word processing functionality isn't providing me with anything new I can make use of as far as I can see. :(

I have upgraded rather than use the trial and so far from my limited use I do like the floating source window. :D Annoyingly though when upgrading it stripped out all my report options. From memory I think the upgrade did from v5 to v6 too but can't remember for definite.

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

Re: Text formatting in V7

Post by tatewise » 12 Dec 2020 09:11

Calico Pie were being economic with the truth. Sentence Templates do not support rich text formatting by whatever method you try and incorporate Notes, whether via the {note} code or via the %FACT.NOTE2% data reference, etc.

The only way to get such Note formatting into a Narrative Report is via the Inc. Event/Attr Notes option that is enabled by default but is overridden by any Sentence Template that incorporates the Note by one of the methods above.
So in your case, the labelled & formatted Note would appear after the sentence.
If you are not happy with that then report it via http://www.calico-pie.com/osticket/open.php.

Some users find the rich text formatting in Text From Source very useful.

Please start another thread for custom Report options. There may be a workaround or maybe needs reporting to Calico Pie.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply