split-proposal

command module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2026 License: MIT Imports: 10 Imported by: 0

README

split-proposal

CI

Split an NSF proposal into submission documents for summary, project description, and references. Keeps bookmarks (table of contents in your PDF viewer) in the description.

Running

Add \pdfbookmark commands to demarcate your project description section to make this reliable. You'll need:

  • \pdfbookmark[0]{Project Description}{Project Description} before the project description
  • \pdfbookmark[0]{References cited}{References cited} before references
  • (optional) \pdfbookmark[0]{Data management plan}{Data management plan}
  • (optional) \pdfbookmark[0]{Mentoring plan}{Mentoring plan}

See sample/main.tex for a complete working example.

If you don't have bookmarks, it is assumed your summary is 1 page, description is 15 pages, and the rest of the document is references.

To split the combined proposal file run:

go run github.com/tchajed/split-proposal@latest -file main.pdf

wasm build

There is a work-in-progress wasm build:

GOOS=js GOARCH=wasm go build -o split-proposal.wasm

Why?

Because automation. Preserving bookmarks while splitting is surprisingly difficult without using a PDF library.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL