aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-04-07 18:49:52 +0900
committernsfisis <nsfisis@gmail.com>2024-04-07 18:49:52 +0900
commit4a27cc7b5c57e92e8639a89f231461c708c6bc4f (patch)
tree90bc39ee8e7051f5bb9e5b527b0eb1c8910c3b0d
parente1f6b7d80631c171c7f902c6beac778b9783f539 (diff)
downloadphpcon-odawara-2024-slides-4a27cc7b5c57e92e8639a89f231461c708c6bc4f.tar.gz
phpcon-odawara-2024-slides-4a27cc7b5c57e92e8639a89f231461c708c6bc4f.tar.zst
phpcon-odawara-2024-slides-4a27cc7b5c57e92e8639a89f231461c708c6bc4f.zip
init
-rw-r--r--.gitignore2
-rw-r--r--Dockerfile14
-rw-r--r--Makefile35
-rw-r--r--assets/me.jpegbin0 -> 10890 bytes
-rw-r--r--slide.saty55
5 files changed, 106 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..905ae0a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/slide.satysfi-aux
+/slide.pdf
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0cbb1ff
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,14 @@
+FROM amutake/satysfi
+
+RUN opam update && \
+ opam install satysfi-base
+
+RUN opam install satysfi-class-slydifi && \
+ opam install satysfi-code-printer && \
+ opam install satysfi-fonts-noto-sans && \
+ opam install satysfi-fonts-noto-sans-cjk-jp
+
+RUN eval $(opam env) && \
+ satyrographos install
+
+WORKDIR /work
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0a2d6b9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,35 @@
+.PHONY: all
+all: build
+
+# Build slide PDF.
+.PHONY: build
+build: slide.pdf
+
+slide.pdf: slide.saty
+ docker run \
+ --rm \
+ --name satysfi \
+ --mount type=bind,src=$$(pwd),dst=/work \
+ satysfi \
+ satysfi slide.saty
+
+# Enter Docker shell.
+.PHONY: shell
+shell:
+ docker run \
+ -it \
+ --rm \
+ --name satysfi \
+ --mount type=bind,src=$$(pwd),dst=/work \
+ satysfi \
+ sh
+
+# Build Docker container.
+.PHONY: docker
+docker:
+ docker build --tag satysfi .
+
+# Clean all artifacts.
+.PHONY: clean
+clean:
+ rm -f *.pdf *.satysfi-aux
diff --git a/assets/me.jpeg b/assets/me.jpeg
new file mode 100644
index 0000000..4e01020
--- /dev/null
+++ b/assets/me.jpeg
Binary files differ
diff --git a/slide.saty b/slide.saty
new file mode 100644
index 0000000..81ed0a3
--- /dev/null
+++ b/slide.saty
@@ -0,0 +1,55 @@
+@require: option
+@require: class-slydifi/theme/akasaka
+@require: figbox/figbox
+
+let ex-big-textbox ?:size-opt it =
+ let size = Option.from 48pt size-opt in
+ FigBox.textbox?:(set-font-size size) it
+
+let big-textbox ?:size-opt it =
+ let size = Option.from 32pt size-opt in
+ FigBox.textbox?:(set-font-size size) it
+
+let mid-textbox ?:size-opt it =
+ let size = Option.from 24pt size-opt in
+ FigBox.textbox?:(set-font-size size) it
+
+open FigBox
+in
+
+document '<
+ +set-config(|
+ SlydifiThemeAkasaka.default-config with
+ color-emph = Color.black;
+ |);
+
+ +make-title(|
+ title = {
+ |来る新 JIT エンジンについて
+ |知った気になる
+ |};
+ author = {|nsfisis (いまむら)|};
+ date = {|PHPカンファレンス小田原 2024|};
+ |);
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ +frame{自己紹介}<
+ +fig-center(vconcat [
+ gap 75pt;
+ hconcat [
+ big-textbox{nsfisis (いまむら)};
+ gap 20pt;
+ include-image 50pt `assets/me.jpeg`;
+ ];
+ gap 20pt;
+ big-textbox{\@ デジタルサーカス株式会社};
+ ]);
+ >
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ +section{|TODO|}<
+ >
+
+>