* Publish - Book Errors

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
User avatar
trevithick
Silver
Posts: 9
Joined: 31 Jul 2022 21:43
Family Historian: V7
Location: Florida Panhandle

Publish - Book Errors

Post by trevithick » 12 Oct 2022 02:19

Yesterday I "Published" a Book for the first time using FH 7.0.15, and was amazed at the detail of the results, and that it was 281 pages in length.

I then started perusing it and noticed that it is leaving HTML code in places. For example <<b>>Mark<</b>>, and for italics and tabs.

I used the default settings when publishing other than changing the font to Times New Roman.

ColeValleyGirl has posted a How To in the Forum, and I will go back and read it (thank you for your colossal efforts) , but it doesn't appear to deal with issues, and only publishing options. :?:

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

Re: Publish - Book Errors

Post by tatewise » 12 Oct 2022 10:34

Can you please explain exactly where those HTML codes are appearing?
Are they within Narrative Sentences produced by Sentence Templates, or in text derived from Rich Text Notes, or what?
If you Publish the same standalone Report as you have added to the Book does it exhibit the same issues?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

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

Re: Publish - Book Errors

Post by ColeValleyGirl » 12 Oct 2022 10:45

I wonder if it's relevant that the project may have originated in Legacy? Did Legacy allow embedded html in text?

User avatar
trevithick
Silver
Posts: 9
Joined: 31 Jul 2022 21:43
Family Historian: V7
Location: Florida Panhandle

Re: Publish - Book Errors

Post by trevithick » 16 Oct 2022 05:49

Mike,

What appears as HTML is in the body of the book text. I attempted to attach snippets of them in my original post, but all I get is Image. I see no way to attach a file, but here is a small sample of the errors.

They appear first on page 4 of my Ancestry section as follows:

John Arthur (Art) Trevithick
«i»November 12, 1926 – July 8, 2013
«/i»
«b»Mark's «/b»
«b»
Father's Day Card 2013:
«/b»

The first error is parsed from the Birth and Death Dates and is not a text string. I have checked both FH and Legacy and neither have HTML.


ColeValleyGirl,

Yes, Legacy allows embedded HTML, so I checked the profiles of the persons, John Arthur (Art) Trevithick, specifically to see if that was the source of the problem. It is not.

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

Re: Publish - Book Errors

Post by tatewise » 16 Oct 2022 11:26

To post a screenshot see FHUG KB Forum Usage Tips under Attachments and Taking Screenshots.
A screenshot of the problem including its full context such as what type of Report you are using will be helpful.

Codes such as «i» and «b» are not HTML but do look like Legacy text formatting codes.

In FH please use Edit > Find... and Search For: those codes that I suspect are in text imported from Legacy.

As asked before, if you produce a standalone Report similar to the one you embed in the Book do you get the same problem?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
trevithick
Silver
Posts: 9
Joined: 31 Jul 2022 21:43
Family Historian: V7
Location: Florida Panhandle

Re: Publish - Book Errors

Post by trevithick » 16 Oct 2022 17:08

Thank you Mike,

You are absolutely correct, the errors are not HTML, but formatting codes.

Snippets are attached of the error(s) in question, and of the Family Historian Search, as well as a similar search in Legacy. Neither <<b>>, nor <<i>> are found in either file.

The Book I created was generated by Publish / Books & Booklets, and then creating a Book name, and using the default settings.

Regards,
Mark

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

Re: Publish - Book Errors

Post by tatewise » 16 Oct 2022 17:20

Your text searches are incorrect. You must search for «i» and «b» which are very different from <<b>> and <<i>>

«i» and «b» are only three characters each, whereas <<b>> and <<i>> are five characters each.

Copy the three characters from the line above here that are not bold.

Alternatively, search for November 12, 1926 – July 8, 2013 which you should find surrounded by the codes.

I assure you it is nothing to do with the Book Report.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
trevithick
Silver
Posts: 9
Joined: 31 Jul 2022 21:43
Family Historian: V7
Location: Florida Panhandle

Re: Publish - Book Errors

Post by trevithick » 17 Oct 2022 03:30

Thank you again Mike,

Searching for the correct text that you pointed out, did the trick. They do in fact exist in FH, and I will check Legacy tomorrow.

I'm guessing that there are Ascii Codes for those characters? Regardless, I have some work to do to clean the files before attempting to create a book again.

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

Re: Publish - Book Errors

Post by tatewise » 17 Oct 2022 11:10

Those characters do not have ASCII codes because they are not one of the basic A-Z 0-9 a-z or symbols of the 128 ASCII set.
They are one of the thousands of Unicode UTF-8 characters supported by FH and most modern programs.
That Unicode set includes all the foreign language characters with accents, Asian languages, and a vast array of symbols of which « and » are just two. See FHUG Knowledge Base How to Enter Accented and Other Special Characters.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

Post Reply