Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
IAM CMS
toolcompendium
Commits
bbaafb7c
Verified
Commit
bbaafb7c
authored
Dec 04, 2020
by
Philipp Zschumme
Browse files
Excludes empty sections from pdf
parent
2ff7e081
Pipeline
#1650
passed with stages
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/pdf/toolcompendiumLatex.xsl
View file @
bbaafb7c
...
...
@@ -57,7 +57,7 @@
<xsl:text>
}
</xsl:text>
</xsl:template>
<xsl:template
match=
"section"
>
<xsl:template
match=
"section
[program|section|struct-ref]
"
>
<xsl:choose>
<xsl:when
test=
"count(ancestor::section) = 0"
>
<xsl:text>
\section{
</xsl:text>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment