Repository navigation
Write papers to PDF with Paper Fabric's pandoc pipeline - #2
Merged
Merged
Conversation
From h0ffmann/closed-source (6b3aae5): - format/: the pandoc LaTeX template and pandoc-crossref settings - flake.nix/flake.lock: picasso's paper lab (pandoc, crossref, XeLaTeX, Gleam) and the md shell (markdownlint-cli2, Vale, lychee) - tools/: refs-check and ste-check (Gleam), trimmed to those commands - .vale/, .vale.ini, .markdownlint-cli2.jsonc, scripts/md-quality.sh - .github/workflows/pdf.yml: build and check papers on each PR Also: just paper / paper-check / fabric-test / md-quality / shell, a starter paper (papers/contextual-bandits) with a reference log, docs/paper-fabric.md, and AGENTS.md/README sections. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0193yhp2qg7dLSiHGdDsbAVo
- pdf.yml runs only on workflow_dispatch; its original triggers stay in a comment - AGENTS.md: hard rule that CI is off, no automatic triggers, run the checks locally and say which ones in the PR Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0193yhp2qg7dLSiHGdDsbAVo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal: a paper in dogma is one directory and one command,
just paper, with Paper Fabric's checks from h0ffmann/closed-source.What comes from closed-source (commit
6b3aae5)format/tex/template.tex,format/crossref.yamlflake.nix,flake.lockpaperlab: pandoc, pandoc-crossref, XeLaTeX, Gleam/Erlang; plus themdshell (markdownlint-cli2, Vale, lychee). Same pinned revision; the unusedgleam-websiteinput is removedtools/refs-checkandste-check(Gleam), with their tests. Other commands there (site, Zenodo, timeline, arXiv) are specific to that repo, so the entry point is trimmed (seetools/README.md).vale/,.vale.ini,.markdownlint-cli2.jsonc,scripts/md-quality.sh.github/workflows/pdf.ymljust fabric-testandjust paper-check, PDFs as an artifact. Manual only (workflow_dispatch) while the repo is privateNew here
justfile:paper [slugs],paper-check,fabric-test,md-quality,shell,clean.papers/contextual-bandits/: a starter paper with two fetched references and itsREFERENCES.mdlog.docs/paper-fabric.md: how to start a paper, the citation and cross-reference syntax, the checks.build/are git-ignored.How it was checked
pdfworkflow ran once on580e2a5, before it was switched to manual.just fabric-testandjust paper-checkpassed with the pinned Nix toolchain, so the PDF built with crossref, citeproc and the reference-log check.just --listparses the recipes (just 1.21).Not included
.mdworkflow.just md-qualityworks locally.tools/is AGPL-3.0-only andformat/is MIT, while dogma is MPL-2.0. The owner should decide how to mark them here.