Adding list of Figures to PDF

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Carl
Posts: 50
Joined: Fri Oct 19, 2018 2:19 am

Adding list of Figures to PDF

Post by Carl » Mon Apr 29, 2019 7:59 pm

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?

Radu
Posts: 6435
Joined: Fri Jul 09, 2004 5:18 pm

Re: Adding list of Figures to PDF

Post by Radu » Tue Apr 30, 2019 11:37 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Carl
Posts: 50
Joined: Fri Oct 19, 2018 2:19 am

Re: Adding list of Figures to PDF

Post by Carl » Thu May 02, 2019 12:17 am

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.

Radu
Posts: 6435
Joined: Fri Jul 09, 2004 5:18 pm

Re: Adding list of Figures to PDF

Post by Radu » Thu May 02, 2019 5:35 am

Hi Carl,

Great, thanks for updating the thread.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply