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
25ef5409
Commit
25ef5409
authored
Dec 04, 2020
by
Philipp Zschumme
Browse files
Merge branch 'fix_unmatched' into 'master'
Fix unmatched text or elements and empty sections in PDF See merge request
!5
parents
fa836b49
bbaafb7c
Pipeline
#1651
passed with stages
in 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/html/toolcompendiumHTML.xsl
View file @
25ef5409
...
...
@@ -528,4 +528,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template
match=
"*"
/>
<xsl:template
match=
"text()"
mode=
"toc"
/>
</xsl:transform>
src/pdf/toolcompendiumLatex.xsl
View file @
25ef5409
...
...
@@ -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>
...
...
@@ -628,4 +628,6 @@
</xsl:choose>
</xsl:template>
<xsl:template
match=
"*"
/>
<xsl:template
match=
"text()"
mode=
"toc"
/>
</xsl:stylesheet>
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