`paper.tex` loads `ffcode` and `stroke` from local `/code/ctan` paths, so `latexmk` fails on master

クローズ
#80 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

関連するプルリクエストがすでにマージされています。

  • #81 @yegor256 による — マージ済み

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
github-actions, latex
領域
documentation

調査の方向性

The failing lines are the two \usepackage calls in the preamble of paper.tex (around lines 7-8), and the \stroke calls in sections/features.tex need renaming if the package changes. DEPENDS.txt controls what latexmk-action installs. Pull request #81 is already open against this issue, so review or build on it before starting. Done means the latexmk workflow builds the PDF on master and a pull request.

索引モデルが issue の本文から書いたものです。

説明

bug

The preamble of paper.tex:7 and paper.tex:8 loads two packages by absolute paths that exist only on one development machine, so the latexmk workflow fails on every push to master and on every pull request with ! LaTeX Error: File '/code/ctan/ffcode/ffcode.sty' not found, and the gh-pages PDF is never refreshed.

\usepackage[noframes,nonumbers,nobars,samepage]{/code/ctan/ffcode/ffcode}
\usepackage{/code/ctan/stroke/stroke}

Both lines came from commits d173b24 and cb7136a, which were apparently made while the two packages were still being developed locally. Since then both have been published: ffcode 0.13.0 on CTAN provides the \ffcolumnbreak macro that sections/features.tex:131 relies on, and the stroke package was released on CTAN under the name handstroke, where the command is \handstroke rather than \stroke.

\usepackage[noframes,nonumbers,nobars,samepage]{ffcode}
\usepackage{handstroke}

Replacing the two paths with the package names, renaming the four \stroke{...} calls in sections/features.tex to \handstroke{...}, and adding hard handstroke to DEPENDS.txt so that latexmk-action installs it is enough to make the workflow pass again.

主要言語
TeX
スター
15
フォーク
6
平均マージ
2日 11時間
マージ済み PR(30日)
5

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

objectionary/reducing-programs-to-objects のほかの issue

objectionary/reducing-programs-to-objects の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。