Skip to content

auto-pi-lot/autopilot-paper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaundersWehr-Autopilot2019

Manuscript for Autopilot: https://www.biorxiv.org/content/10.1101/807693v1

Building

The document is written with tectonic. From the autopilot directory or any of its subdirectories, to build the document, run

tectonic -X build 

The built document will then be located in autopilot/build/autopilot_v2/autopilot_v2.pdf.

Safety Note: To highlight the code, examples, we use minted, which requires the shell_escape option (specified in Tectonic.toml), which has the potential to run arbitrary code on your computer (we didn't purposely bundle any malware in the document).

See the blog post "A Halfway Decent LaTeX Writing Setup" for further details and some nice QoL ideas for writing with LaTeX.

Requirements

To compile the document, you will need

The fonts used in the document are mostly embedded within the .pdfs when relevant, and the open source fonts have been included in the repository, but to modify any of the source materials, you will need these fonts:

Document Structure

autopilot/

The built document is in autopilot/build, and the document source is in autopilot/src. The Tectonic.toml file configures the build.

The main document text is written with:

  • _preamble.tex - header material that defines styles, loads packages, etc.
  • autopilot.tex - Index file that uses \input to combine the sections
  • sections/ - Each section is split up into multiple files within subfolders that correspond to the chapters of the paper:
    • introduction
    • design
    • structure - Program AStructure
    • tests
    • conclusion - Limitations and Future Directions, Glossary
  • _postamble.tex - Document conclusion stuff.

The remaining files and folders in src:

  • autopilot.bib - Bibliography for the paper exported from Zotero with Better BibTeX
  • version.tex - A version hash that is included in the title page of the document, generated from a git hook (.git/hooks/post-commit).
  • figures: The figures for the paper. Most are vectors stored as editable .pdf files with the flag to retain Illustrator editing features. All figures, including many not included in the first version and removed in the second version, are there. Figures containing data were mostly generated in R using ggplot2 and then styled (without changing the data itself) in Illustrator.
  • fira and garamond: Fonts described above
  • styles: The document style is a modified version of tufte-latex. The source is admittedly extremely messy, I sort of hate LaTeX.
  • todo: a separate todo document used in preparation of v2, kept for the sake of provenance.

code/

The code that analyzed the data and generated the figures. Code for running the tests can be found in the autopilot paper plugin (wiki, repo).

data/