Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions の環境で、LaTeX記法の日本語表示できるようにする #10

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-attach-pdf-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
corepack enable
yarn install --frozen-lockfile
yarn build
make pdf

# PDF が生成されたかどうかをチェックする
- name: Check if PDF exists
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-and-release-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
COVER_PSD_PATH: ./book/cover/*.psd

steps:

# リポジトリをチェックアウト
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -47,7 +46,8 @@ jobs:
run: |
corepack enable
yarn install --frozen-lockfile
yarn build

make pdf
if [ ! -f "${EBOOK_PDF_PATH}" ]; then
echo "エラー: 電子版 PDF の生成に失敗しました。"
exit 1
Expand Down
6 changes: 6 additions & 0 deletions book/manuscripts/sample_chapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ class: content

昔トーマス・エジソンは不意にこう言いました。「すべては、待っている間に頑張った人のもの」それによって私は啓発されました、 消費税 100% 増税は一体どんな存在なのかをきっちり分かるのがすべての問題の解くキーとなります。昔 A・シリトーはこう言ったことがある。「『運』ってやつは、たえず変わる」いま後頭部にがんと一撃くらわせたかと考えると、次の瞬間には砂糖をほおばらせてくれたりする。問題はただひとつ、へこたれてしまわないことだ」諸君にもこの言葉の意味をちゃんと味わわせよう。 消費税 100% 増税は、発生したら何が起こるのか、発生しなければ結果はどうなるのか。誰もご存知のとおり、意義さえあれば、消費税 100% 増税を慎重に考えざるを得ない。

CPU 使用率は、プログラムがどの程度の CPU 時間を使用しているかを示す指標です。利用する計測ツールでは取得できない場合もありますが、その場合は計算時間から計算します。

$$
{\rm CPU}使用率 = \frac{ユーザー時間 + システム時間}{経過時間}
$$
Comment on lines +28 to +30
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

サンプルで LaTeX 記法を確認するために追加した


<!-- 強制改ページ -->
<hr class="page-break"/>

Expand Down