Skip to content

Commit

Permalink
Refactoring and adding tons of new parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-jung committed Jan 10, 2024
1 parent b459d93 commit f0bb998
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
<val default="true">default</val>
<val>none</val>
<val>fade</val>
<val>linear</val>
<val>slide</val>
<val>convex</val>
<val>concave</val>
Expand Down
7 changes: 7 additions & 0 deletions samples/backgrounds/backgrounds.ditamap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<topicref href="slide01.dita"/>
<topicref href="slide02.dita"/>
<topicref href="slide03.dita"/>
</map>
9 changes: 9 additions & 0 deletions samples/backgrounds/slide01.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:jung:dita:rng:slide.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="urn:jung:dita:rng:slide.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<slide id="slide01" data-background="#00ffff">
<slide-title/>
<slide-body>
<slide-h2>data-background: #00ffff</slide-h2>
</slide-body>
</slide>
9 changes: 9 additions & 0 deletions samples/backgrounds/slide02.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:jung:dita:rng:slide.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="urn:jung:dita:rng:slide.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<slide id="slide02" data-background="#bb00bb">
<slide-title/>
<slide-body>
<slide-h2>data-background: #bb00bb</slide-h2>
</slide-body>
</slide>
9 changes: 9 additions & 0 deletions samples/backgrounds/slide03.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="urn:jung:dita:rng:slide.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="urn:jung:dita:rng:slide.rng" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<slide id="slide03" data-background="lightblue">
<slide-title/>
<slide-body>
<slide-h2>data-background: lightblue</slide-h2>
</slide-body>
</slide>
12 changes: 12 additions & 0 deletions samples/sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@
<param name="reveal.center" value="true"/>
</publication>
</deliverable>

<deliverable name="Reveal Auto Backgrounds" id="backgrounds">
<context name="Reveal Auto Backgrounds" id="backgrounds_context">
<input href="backgrounds/backgrounds.ditamap"/>
</context>
<output href="./backgrounds"/>
<publication transtype="reveal">
<param name="reveal.theme" value="black"/>
<param name="reveal.transition" value="linear"/>
<param name="reveal.center" value="true"/>
</publication>
</deliverable>

<deliverable name="Reveal Presentation - With progress bar" id="progress-bar">
<context idref="reveal_context"/>
Expand Down

0 comments on commit f0bb998

Please sign in to comment.