AEM Native PDF: List of Tables Showing Extra Tables at Beginning | Community
Skip to main content
New Participant
June 4, 2024
Solved

AEM Native PDF: List of Tables Showing Extra Tables at Beginning

  • June 4, 2024
  • 1 reply
  • 1406 views

Hello!

 

I'm working on a bookmap template in Native PDF. Here is the page layout order I'm using:

When I publish, this is what the List of Tables shows:

I'm assuming these tables in the red rectangle are pulling from frontmatter content. How can I make the list of tables start with page one, as illustrated above?

 

Thanks!

Josh

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Surbhi_Maheshwari

Hi Josh,

 

If you know how may entries you want to remove from the beginning in list of tables then you can hide them like below: Here I am hiding first two entries:

.lot-body a:nth-child(-n+2){ display: none; }

The downside is that whenever a new table is added to front matter, you will need to update this number in CSS.

Let me know if it works for you.

 

Thanks and Regards,
Surbhi Maheshwari

1 reply

Surbhi_MaheshwariAccepted solution
Employee
June 5, 2024

Hi Josh,

 

If you know how may entries you want to remove from the beginning in list of tables then you can hide them like below: Here I am hiding first two entries:

.lot-body a:nth-child(-n+2){ display: none; }

The downside is that whenever a new table is added to front matter, you will need to update this number in CSS.

Let me know if it works for you.

 

Thanks and Regards,
Surbhi Maheshwari

New Participant
June 13, 2024

Thanks, Surbhi! As always, I really appreciate your help!