Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit f741c9d

Browse files
committed
講義資料のログへのリンクを画像と差し替え.記述の間違いの修正.
1 parent 9ce8a0d commit f741c9d

31 files changed

+948
-178
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,14 @@ docs/slide/%.html: $(HTML_DEP) slide/%.md
3535
@pandoc slide/slide.yaml $(md) \
3636
--include-in-header=slide/slide.header \
3737
--to=revealjs --slide-level=2 \
38+
--template=lib/default.revealjs \
3839
--standalone \
3940
--output=$(html1) \
41+
-V history=false \
4042
-V revealjs-url=/lecture/lib/reveal.js-3.5.0 \
4143
-V theme=serif \
4244
-V slideNumber=true \
45+
-V width=1280 -V height=1024 \
4346
--mathjax \
4447
--smart
4548

@@ -56,7 +59,7 @@ docs/note/%.html: note/%.md
5659
$(eval html := $(addprefix docs/note/, $(addsuffix .html, $(note))))
5760

5861
@echo "pandoc: $(note) => $(html)"
59-
@pandoc note/note.yaml $(md) \
62+
@pandoc note/note.yaml lib/header.md $(md) lib/footer.md \
6063
--include-in-header=note/note.header \
6164
--standalone --to=html --output=$(html) \
6265
--smart

docs/image/lx02/test-a.png

147 KB
Loading

docs/image/lx02/test-b.png

148 KB
Loading

docs/image/lx02/test-c.png

162 KB
Loading

docs/image/lx02/test-d.png

224 KB
Loading

docs/image/lx02/test-e.png

224 KB
Loading

docs/image/lx02/test-f.png

180 KB
Loading

docs/image/lx02/test-g.png

241 KB
Loading

docs/image/lx02/test-h.png

197 KB
Loading

docs/image/lx02/test-i.png

314 KB
Loading

docs/image/lx02/test-j.png

263 KB
Loading

docs/image/lx02/test-k.png

216 KB
Loading

docs/lib/kw.css

+27-11
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,45 @@ td {
3535

3636
code, pre {
3737
font-family: "Source Code Pro";
38+
font-weight: bold;
39+
color: #555;
3840
}
3941

40-
.src .sourceCode {
42+
/*
43+
pre {
44+
background-color: #fff;
45+
}
46+
*/
47+
48+
pre.log, table.src tr {
49+
background-color: #e0ffe0;
50+
//-webkit-box-shadow: 0px 0px 6px 3px #888;
51+
}
52+
53+
pre.src, table.src tr {
4154
background-color: #ffe0e0;
42-
padding: 1em;
55+
//-webkit-box-shadow: 3px 3px 3px #888;
4356
}
4457

45-
.test .sourceCode {
58+
pre.test {
4659
background-color: #e0e0ff;
47-
padding: 1em;
60+
//-webkit-box-shadow: 0px 0px 6px 3px #888;
4861
}
4962

50-
pre.log {
51-
background-color: #e0ffe0;
52-
padding: 1em;
63+
table.test, table.test tr {
64+
background-color: #e0e0ff;
5365
}
5466

55-
.log .info {
56-
color: #0a0;
67+
/*
68+
div.sourceCode {
69+
-webkit-box-shadow: 0px 0px 6px 3px #888;
5770
}
71+
*/
5872

59-
.log .error {
60-
color: #a00;
73+
.reveal section img {
74+
background: transparent;
75+
border: none;
76+
box-shadow: 1px 1px 5px #888;
6177
}
6278

6379
underline {

docs/note/index.html

+9-5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
code > span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
4545
code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
4646
</style>
47+
<script src="//use.edgefonts.net/source-code-pro.js"></script>
4748
<script type="text/javascript" src="/lecture/lib/reveal.js-3.5.0/plugin/highlight/highlight.js"></script>
4849
<script>hljs.initHighlightingOnLoad();</script>
4950
<link rel="stylesheet" type="text/css" href="/lecture/lib/reveal.js-3.5.0/css/theme/solarized.css">
@@ -54,10 +55,12 @@
5455
<h1 class="title">プログラミング第一</h1>
5556
<h2 class="author">Ken Wakita (<a href="https://is-prg1b.github.io/lecture/" class="uri">https://is-prg1b.github.io/lecture/</a>)</h2>
5657
</div>
58+
<p><a href="/lecture/note/">トップページへ</a></p>
59+
<hr />
5760
<h1 id="講義資料等">講義資料等</h1>
5861
<ul>
59-
<li><p>9月26日 — <a href="https://github.com/is-prg1b/lecture/raw/master/slide/day01.pdf">講義資料</a> / <a href="https://github.com/is-prg1b/lx01">サンプルコード</a> / <strong>次回小テスト</strong></p></li>
60-
<li><p>9月29日 — <a href="/lecture/slide/lx02.html">講義資料</a> / <a href="https://github.com/is-prg1b/lecture/">サンプルコード</a> (<code>lx02a</code> - <code>lx02k</code> projects)</p></li>
62+
<li><p>9月26日 — <a href="https://github.com/is-prg1b/lecture/raw/master/slide/day01.pdf">講義資料</a> / サンプルコード (sbt project: <code>lx01</code>) / <a href="/lecture/note/lx01-makefile.html">makeとMakefile</a> / <strong>次回小テスト</strong></p></li>
63+
<li><p>9月29日 — <a href="/lecture/slide/lx02.html">講義資料</a> / サンプルコード (sbt projects: <code>lx02a</code><code>lx02k</code>) / <a href="/lecture/note/lx02-tests.html">テスト実行のログ</a> / <a href="/lecture/quiz/quiz01.html">小テスト</a></p></li>
6164
</ul>
6265
<h1 id="講義内容についての質問など">講義内容についての質問など</h1>
6366
<p><a href="https://github.com/is-prg1b/lecture/issues/new">質問,疑問等の受け付け先</a>.受け付けた質問は教員,TA,履修生で共有されます.これ以外の人々には公開されません.</p>
@@ -78,10 +81,11 @@ <h1 id="講義内容についての質問など">講義内容についての質
7881
</dd>
7982
</dl>
8083
<h1 id="gitリポジトリの初期化">Gitリポジトリの初期化</h1>
81-
<p>以下のような要領で<code>git</code>コマンドを実行するとGitHub上のリポジトリを複製できます.</p>
82-
<div class="sourceCode"><pre class="sourceCode bash"><code class="sourceCode bash"><span class="fu">git</span> clone git@github.com:is-prg1b/lecture
83-
<span class="fu">git</span> clone git@github.com:is-prg1b/lx01</code></pre></div>
84+
<p>以下の要領で<code>git</code>コマンドを実行するとGitHub上のリポジトリを複製できます.</p>
85+
<div class="sourceCode"><pre class="sourceCode bash src"><code class="sourceCode bash"><span class="fu">git</span> clone git@github.com:is-prg1b/lecture</code></pre></div>
8486
<p>GitHubのデータが更新された場合は,適宜 <code>git pull</code> して下さい.最新版に更新できます.</p>
8587
<p>GitHubから複製したデータを直接変更すると <code>git pull</code> のときにエラーが出ます.</p>
88+
<hr />
89+
<p><a href="/lecture/note/">トップページへ</a></p>
8690
</body>
8791
</html>

0 commit comments

Comments
 (0)