Skip to content

Commit

Permalink
Upgrade to 5.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jung committed Jan 5, 2024
1 parent 6d8d11d commit 5ab1da2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions build_transtype-reveal_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@
</condition>
<echo level="info">* args.reveal.previewlinks = ${args.reveal.previewlinks}</echo>

<condition property="args.reveal.scrollprogress" value="auto">
<not>
<isset property="args.reveal.scrollprogress"/>
</not>
</condition>
<echo if:set="args.reveal.scrollprogress">* args.reveal.scrollprogress = ${args.reveal.scrollprogress}</echo>

<condition property="args.reveal.transition" value="default">
Expand All @@ -208,6 +213,13 @@
</condition>
<echo level="info">* args.reveal.backgroundtransition = ${args.reveal.backgroundtransition}</echo>

<!-- See allowed values at https://github.com/hakimel/reveal.js/blob/master/js/config.js -->
<condition property="args.reveal.view" value="null">
<not>
<isset property="args.reveal.view"/>
</not>
</condition>
<echo level="info">* args.reveal.view = ${args.reveal.view}</echo>
<echo if:set="args.reveal.view" level="info">* args.reveal.view = ${args.reveal.view}</echo>

<condition property="args.reveal.viewdistance" value="3">
Expand Down
2 changes: 1 addition & 1 deletion samples/topics/01_title.dita
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="title">
<title/>
<title>First slide title</title>
<body>
<p>First slide</p>
</body>
Expand Down
2 changes: 1 addition & 1 deletion xsl/reveal.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
"/>
<xsl:value-of select="
if ($args.reveal.scrollprogress)
then 'scrollProgress: ''' || $args.reveal.scrollprogress || ''', ' || $newline
then 'scrollProgress: ' || $args.reveal.scrollprogress || ', ' || $newline
else ''
"/>
<xsl:value-of select="
Expand Down

0 comments on commit 5ab1da2

Please sign in to comment.