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

Chiusa
#80 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Una pull request collegata è già stata integrata.

  • #81 di @yegor256 — integrata

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
github-actions, latex
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TeX
Stelle
15
Fork
6
Merge medio
4g 1h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di objectionary/reducing-programs-to-objects

Tutte le issue di objectionary/reducing-programs-to-objects

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.