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
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Thanks, Surbhi! As always, I really appreciate your help!
Views
Replies
Total Likes
I just had a thought - would it be possible to hide any table that don't have a table title tag? I noticed all the extra tables that are coming over don't have titles like every other table in the bookmap. Would this be possible?
Thanks again!
Josh
Views
Replies
Total Likes
Hi Josh,
Right now it is not possible, the logic is hardcoded. But your point is valid, we will take it up as an enhancement to not show the entry if the table doesn't have caption.
Thanks,
Vivek
Thanks, Vivek! I appreciate your help!
Views
Replies
Total Likes