You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, one of the two references to the local Slidy2 directory included in the generated presentation HTML file is "Slidy2/scripts/slidy.js.gz". It turns out, that at least Chrome will not accept a local zipped JavaScript file. Slidy also provides an unzipped JavaScript file, and, indeed, manually editing that URL in the generated HTML file to point to "Slidy2/scripts/slidy.js" makes the whole offline slidy presentation work.
So: i suggest that pandoc needs an additional variable "slidy-zipped-js" that by default should be true but can be set to false if used together with slidy-url to point to a local unpacked slidy installation, i.e. "-s -t slidy -V slidy-url:Slidy2 -V slidy-zipped-js:false" will result in a link to "Slidy2/scripts/slidy.js" being added to the generated HTML file (instead of the "Slidy2/scripts/slidy.js.gz" if slidy-zipped-js is true).
The text was updated successfully, but these errors were encountered:
I need to create a completely stand-alone slidy presentation, i.e. one that does not reference remote URLs.
Using "-s -t slidy" retains references to http://www.w3.org/Talks/Tools/Slidy2 (as documented). As documented, this remote URL can successfully be overwritten with the option "-V slidy-url:Slidy2", where Slidy2 is a local directory unpacked from http://www.w3.org/Talks/Tools/Slidy2/slidy.zip .
However, one of the two references to the local Slidy2 directory included in the generated presentation HTML file is "Slidy2/scripts/slidy.js.gz". It turns out, that at least Chrome will not accept a local zipped JavaScript file. Slidy also provides an unzipped JavaScript file, and, indeed, manually editing that URL in the generated HTML file to point to "Slidy2/scripts/slidy.js" makes the whole offline slidy presentation work.
So: i suggest that pandoc needs an additional variable "slidy-zipped-js" that by default should be true but can be set to false if used together with slidy-url to point to a local unpacked slidy installation, i.e. "-s -t slidy -V slidy-url:Slidy2 -V slidy-zipped-js:false" will result in a link to "Slidy2/scripts/slidy.js" being added to the generated HTML file (instead of the "Slidy2/scripts/slidy.js.gz" if slidy-zipped-js is true).
The text was updated successfully, but these errors were encountered: