forked from paulrouget/dzslides
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Joseph Reagle
committed
Jun 25, 2012
1 parent
0a33a68
commit f2f1248
Showing
3 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
|
||
This fork of dzslides includes a default `template.html` with a much wider range of slides types (e.g., traditional, Takahashi black and white; images with shadowed overlay, centered, floated left and right, etc.) | ||
|
||
Furthermore, this template is trivially generated from a markdown file (`template.md`) using pandoc and *its* template `class.dzslides`. (**WARNING**: You must remove empty H1s (`<h1></h1>`) until this is fixed upstream; this is easy to do with `sed`.) | ||
The [pandoc](http://johnmacfarlane.net/pandoc/README.html) markdown file (`template.md`) and pandoc template (`class.dzslides`) can be used to generate a [dzslides](http://paulrouget.com/dzslides/) deck (`template.html`). This generated deck includes a wider range of slides types than the default dzslides `template.html` (e.g., traditional, [Takahashi](http://en.wikipedia.org/wiki/Takahashi_method) black and white; images with shadowed overlay, centered, and floated left and right). | ||
|
||
~~~~ | ||
pandoc --template=class.dzslides -t dzslides template.md \ | ||
| sed '/<h1><\/h1>/d' > template.html | ||
~~~~ | ||
|
||
pandoc --template=class.dzslides -t dzslides template.md | sed '/<h1><\/h1>/d' > template.html | ||
## Issues | ||
|
||
~~~~ | ||
This is not so much a fork of dzslides, but a fork of pandoc's built-in dzslides. This means: | ||
|
||
1. Newer functionality of dzslides (such as overview mode) doesn't work until pandoc's `$dzslides-core$` is updated to include it. | ||
2. You must remove empty H1s (`<h1></h1>`) until this is fixed in pandoc; this is easy to do with `sed`, as above. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters