Skip to content

Single pass TOC help #572

Answered by pgundlach
Cicorione asked this question in Q&A
Apr 3, 2024 · 9 comments · 12 replies
Discussion options

You must be logged in to vote
<ForAll select="section">
                    <Tr>
                        <Td>
                            <Paragraph fontfamily="subtitle">
                                <Value select="concat('Name: ', @secname), ' — ', {sd:pagenumber(@secname)}" />
                            </Paragraph>
                        </Td>
                    </Tr>
                </ForAll>

should work in the page type. (The focus is in the element <section> because of the ForAll, therefore you can access the attributes with @.)

Replies: 9 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@Cicorione
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Cicorione
Comment options

Comment options

You must be logged in to vote
3 replies
@Cicorione
Comment options

@pgundlach
Comment options

@Cicorione
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@Cicorione
Comment options

@pgundlach
Comment options

@Cicorione
Comment options

@pgundlach
Comment options

Answer selected by Cicorione
@Cicorione
Comment options

@pgundlach
Comment options

@Cicorione
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants