Page 1 of 1

Adding list of Figures to PDF

Posted: Mon Apr 29, 2019 7:59 pm
by Carl
Hi Radu. I was trying to follow your instructions in this post to add a List of Figures to my PDF:

post25300.html?hilit=list%20of%20figures#p25300

I opened my Book Map file and added "<figurelist/> to the <booklists> section as you directed:

Code: Select all

 <frontmatter>
		<keydef keys="product-vars"
			href="../_common_source/_Variables/Product_Vars/Main_Product_Vars/con_Product-Vars.xml"/>
		<keydef keys="role-vars"
			href="../_common_source/_Variables/Role_Vars/PHEMI_Central/con_Role_Vars.xml"/>
		<keydef keys="corp-vars" href="../_common_source/_Variables/Corp_Vars/con_corp-vars.xml"/>
		<keydef keys="doc-set" href="../_common_source/_Variables/Doc_Set_Vars/con_Doc_Set_Vars.xml"/>
		<keydef keys="os-vars"
			href="../_common_source/_Variables/Product_Vars/OS/RHEL/con_os-vars.xml"/>
		<keydef keys="glossary" href="../_common_source/_glossary/con_glossary.xml"/>
		<booklists>
			<toc/>
			<figurelist/>
		</booklists>
	</frontmatter>
	
But when I generate the PDF, the figure list does not show. I've used the "fig" element for all my figures. Is there some specific attribute for "fig" that I must use to get it to show up in the figure list?

Re: Adding list of Figures to PDF

Posted: Tue Apr 30, 2019 11:37 am
by Radu
Hi,

What version of Oxygen are you using?
Are you generating the PDF using our CSS-based engine or using the classic XSL-FO approach?

Regards,
Radu

Re: Adding list of Figures to PDF

Posted: Thu May 02, 2019 12:17 am
by Carl
Hey Radu. I discovered the answer shortly after I posted (how do you retract a post awaiting moderation? Is it even possible?)

Turns out you need a figure title for it to show. I added the Title element and it works fine now.

Re: Adding list of Figures to PDF

Posted: Thu May 02, 2019 5:35 am
by Radu
Hi Carl,

Great, thanks for updating the thread.

Regards,
Radu