Print Content of Submenu Topics, H2, H3 in HTML Output

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
shoria
Propeller Head
Posts: 13
Joined: Mon Jun 17, 2019 2:45 pm

Print Content of Submenu Topics, H2, H3 in HTML Output

Post by shoria »

Hi Everyone,

I'm creating a help site based on a user manual with H1, H2, H3 topics. Each former chapter is now a Menu heading, with the H2's as submenus and so forth. In my output, I want to be able to print an entire "chapter", not just the page being displayed.

For example, I have a chapter on sandwiches.
Webpage 1 = H1 = Sandwich
Webpage 2 = H2a = Condiments, H3a = Mustard, H3b = Mayo
Webpage 3 = H2b = Meats, H3b = Ham

I want to be able to print my entire chapter on sandwiches as one item and not have the user be forced to print pages individually. I understand that the "print" button or browser function won't suffice, so I'm looking for any workaround or tip to do it within Flare. Someone suggested still creating a PDF output and linking to the PDF within the Flare Topic, but I don't want to link to the entire PDF, just the relevant chapter.
I have each of my "Chapters" as folders of topics in my project for easy organization. Is there any way to tell Flare to create a PDF of just those topics in that folder for that chapter? Example, on each page in the sandwich chapter, the link prints a PDF of that whole chapter.
SKamprowski
Sr. Propeller Head
Posts: 277
Joined: Fri Feb 13, 2015 8:25 am
Location: Germany

Re: Print Content of Submenu Topics, H2, H3 in HTML Output

Post by SKamprowski »

Hi,

I would create a pdf in the Flare Project which contains only those parts that you want, then create a link in all chapters that should show this pdf. Maybe a masterpage for Sandwiches could make it easier.
I am not sure whether there is a simplier solution, since I am still not completely familiar with Flare.
Kind regards,
Sabine Kamprowski
DocToHelp MVP (by ComponentOne)
ChoccieMuffin
Senior Propellus Maximus
Posts: 2632
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Print Content of Submenu Topics, H2, H3 in HTML Output

Post by ChoccieMuffin »

If you have an entire book on, say, lunchtime foods, you could try creating a TOC for each chapter, and nest those chapter TOCs in your main TOC:

Lunchtime foods (Main TOC)
___Sandwiches (Separate TOC)
______Ham
______Egg
___Pasta (Separate TOC)
______Spag bol
______Lasagne
___Noodles (Separate TOC)
______Chow Mein
______Singapore noodles

Targets:
Main help, uses Lunchtime foods TOC.
Sandwiches PDF, uses Sandwiches TOC.
Pasta PDF, uses Pasta TOC.
Noodles PDF, uses Noodles TOC.

In the Sandwiches, Pasta and Noodles topics include a link to the relevant PDFs, wherever they're going to appear in your folder structure when it's built.

In your master TOC you may need to select the "When merging, replace node with merged TOC" on each nested TOC.

Would that do the trick for you?
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Post Reply