Skip to content

A Stanford University profile; shared front-page helpers - #2

Merged
bsamadi merged 1 commit into
mainfrom
stanford
Oct 3, 2026
Merged

bsamadi merged 1 commit into
mainfrom
stanford

Conversation

@bsamadi

@bsamadi bsamadi commented Oct 3, 2026

Copy link
Copy Markdown
Member

Stanford publishes format rules, not a template. pixi run stanford builds
the reference document from pandoc's own and those rules: letter paper, 1.5 in
inner margin and 1 in elsewhere, page numbers centred half an inch from the
edge, Times New Roman 12 in black (pandoc's headings are blue), main text
double-spaced (or 1.5 with -- 1.5), footnotes, quotations, tables and
captions single. universities/stanford/front-pages.lua writes the title page
as Stanford's specimen pages lay it out (uppercase, centred, not bold, each
line within 2 pt of the specimen), then the abstract from iv, since Axess adds
the copyright page ii and signature page iii itself, the optional pages, the
table of contents, the lists of tables and illustrations, and chapters from 1.

universities/common.lua now holds what both universities share (section and
page breaks, fields, optional pages, contents and lists); Concordia's output
is unchanged but for two placeholder words that fields replace. CI builds the
Stanford profile on all three systems and checks its sections and margin.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01AmzgbBq9swiYXP9W9tgbS2

Stanford publishes format rules, not a template. `pixi run stanford` builds
the reference document from pandoc's own and those rules: letter paper, 1.5 in
inner margin and 1 in elsewhere, page numbers centred half an inch from the
edge, Times New Roman 12 in black (pandoc's headings are blue), main text
double-spaced (or 1.5 with `-- 1.5`), footnotes, quotations, tables and
captions single. universities/stanford/front-pages.lua writes the title page
as Stanford's specimen pages lay it out (uppercase, centred, not bold, each
line within 2 pt of the specimen), then the abstract from iv, since Axess adds
the copyright page ii and signature page iii itself, the optional pages, the
table of contents, the lists of tables and illustrations, and chapters from 1.

universities/common.lua now holds what both universities share (section and
page breaks, fields, optional pages, contents and lists); Concordia's output
is unchanged but for two placeholder words that fields replace. CI builds the
Stanford profile on all three systems and checks its sections and margin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmzgbBq9swiYXP9W9tgbS2
@bsamadi
bsamadi merged commit 8078382 into main Oct 3, 2026
10 checks passed
@bsamadi
bsamadi deleted the stanford branch October 3, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant