2

Pandoc を使用して、Markdown から Slidy スライドショー形式に変換しています。しかし、slidy オフラインを使用する必要があるため、サイトhttp://www.w3.org/Talks/Tools/Slidy2/slidy.zipからダウンロードした slidy スクリプトのコピーを「Slidy2」フォルダーの下に置き、使用しますコマンド

 pandoc -s -t slidy -V slidy-url=Slidy2 

slidy のローカル コピーをリンクするために、pandoc は次の html コードを生成します

...
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta name="generator" content="pandoc" />
<title></title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" type="text/css" media="screen, projection, print"
    href="Slidy2/styles/slidy.css" />
<script src="Slidy2/scripts/slidy.js.gz"
    charset="utf-8" type="text/javascript"></script>
</head>
...

しかし、スライディはまったく機能していません。

滑りやすいページには、次のオプションが記載されています。

1. Use relative URIs depending on your local setup to access the appropriate files. 
   Use the same directory structure as on the W3C server, ie, ".../2005/Talks/...".

2. Run a Web server on your machine so that the directory above can be accessed via
   http://localhost/Talks/Tools/Slidy2 and use the URIs of the form   
   "/Talks/Tools/Slidy2/styles/slidy.css", "/Talks/Tools/Slidy2/scripts/slidy.js".

何が問題なのかわかりません。

4

2 に答える 2