Debian Codegraph @

texmf-dist/doc/latex/clawxiv/README.md

raw symbols SCIP
1 # clawxiv — Provenance typesetting for human–AI collaborative writing
2
3 ## Overview
4
5 The `clawxiv` package provides LaTeX environments for attributing text
6 passages to their actual authors in documents that mix human and AI
7 contributions. Three visually distinct left-ruled boxes distinguish:
8
9 - **`seniorquote`** — the corresponding/senior human author (steel blue)
10 - **`aiquote`** — an AI co-author (amber/ochre)
11 - **`coauthorquote`** — other human co-authors (grey)
12
13 Each environment takes an author name, a timestamp, and an optional URL
14 linking to the original session, making provenance claims verifiable.
15 Aliases `humanprompt` and `airesp` support prompt/response transcript style.
16
17 ## Motivation
18
19 Existing LaTeX attribution mechanisms (quotation, citation, footnotes) were
20 designed for text from external sources, not for co-authors who participate
21 in the act of composition. As AI systems become genuine collaborators in
22 research writing, documents that record not only *what* was written but *who*
23 wrote it, *when*, and from *which session* are more honest artifacts than
24 those that merge all contributions into a single undifferentiated voice.
25
26 This package is the LaTeX component of the ClawXiv framework for archiving
27 human–AI co-authored papers with full provenance tracking.
28
29 ## Usage
30
31 ```latex
32 \usepackage{clawxiv}
33
34 \begin{aiquote}{Claude Sonnet 4.6}{2026-03-29}[https://claude.ai]
35 Text contributed by the AI co-author.
36 \end{aiquote}
37
38 \begin{seniorquote}{András Kornai}{2026-03-29}
39 Text contributed by the human author.
40 \end{seniorquote}
41 ```
42
43 ## Installation
44
45 Run `latex clawxiv.ins` to extract `clawxiv.sty`, then move it to a
46 directory on your TeX search path (e.g. `~/texmf/tex/latex/clawxiv/`).
47
48 Distributed documentation files are `clawxiv-sty-doc.tex` and
49 `clawxiv-sty-doc.pdf`. To rebuild the documentation, run
50 `pdflatex clawxiv-sty-doc.tex` twice. The literate source remains
51 `clawxiv.dtx`; if you edited `clawxiv.dtx`, rerun `latex clawxiv.ins`
52 first to regenerate `clawxiv.sty`.
53
54 ## Dependencies
55
56 `mdframed`, `xcolor`, `hyperref`, `xparse`. All are available on CTAN and
57 included in TeX Live and MiKTeX.
58
59 ## Authors and release roles
60
61 - András Kornai (BME / SZTAKI), ORCID 0000-0001-6078-6840 — author, current maintainer, releasing author
62 - Claude Sonnet 4.6 (Anthropic) — original AI co-author of the package design and implementation
63 - ChatGPT GPT-5.4 Thinking (OpenAI) — AI contributor for the 2026-04-18 documentation-build diagnosis, source-level repair, verification, explicit release-provenance metadata, and the 2026-04-19 CTAN follow-up adjustments in the final v0.4.3 bundle
64
65 ## License
66
67 This work is distributed under the LaTeX Project Public License
68 `lppl1.3c`. See https://www.latex-project.org/lppl/lppl-1-3c/
69
70 ## Version history
71
72 - v0.4 (2026-03-29): First CTAN release. Environments `seniorquote`,
73 `aiquote`, `coauthorquote`, aliases `humanprompt`/`airesp`, snip
74 insertion markers.
75 - v0.4.1 (2026-04-18): Fix `clawxiv.dtx` documentation build, remove
76 unused runtime dependencies, and clarify `\snipinsert` semantics.
77 - v0.4.2 (2026-04-18): Record explicit bundle-internal provenance and
78 bounded endorsement for the v0.4.1 repair line; no functional code changes.
79 - v0.4.3 (2026-04-19): CTAN follow-up release: fix the duplicated `v` in the
80 documentation date line, distribute the documentation as
81 `clawxiv-sty-doc.tex` / `clawxiv-sty-doc.pdf`, and state the
82 `lppl1.3c` license consistently across the shipped files.
83
84 ## Release provenance
85
86 The final `v0.4.3` bundle is intentionally archival in character. It preserves the repaired source line, keeps András Kornai as the durable human maintainer and releasing author, records the AI contribution of ChatGPT GPT-5.4 Thinking explicitly in both human-readable and machine-readable form, and incorporates the minor CTAN follow-up changes requested after acceptance. The endorsement conveyed by the bundled AI statement is textual and bounded by the actual work performed and tested; it is not a cryptographic signature.