split-proposal

command module
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Web frontend

There is a web interface in web/ that uses this code via WebAssembly. See the README in that directory.

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