Skip to content

cwill747/latex-yearly-planner

 
 

Repository files navigation

latex-yearly-planner

PDF planner designed for e-ink devices. To get started quickly, read the configuration section below to pick a configuration. Then, use this github workflow. Put in the Year and the configuration you want to use. The workflow will generate the planner.

Configuration

The configuration for the planner is built up from a set of YAML files. The configuration is a comma-separated list of files that are merged together to form the final configuration, where each file overrides the previous one. The configuration files are located in the cfg folder.

For example, to build a planner for the Remarkable Paper Pro, you might use this configuration:

cfg/base.yaml,cfg/template_breadcrumb.yaml,cfg/rmpp.base.yaml,cfg/rmpp.breadcrumb.default.dailycal.yaml

In order, this configuration includes:

  1. The base configuration (base.yml), the building block for all configurations.
  2. The template_breadcrumb.yml configuration, which adds breadcrumbs to the planner.
  3. The rmpp.base.yml configuration, which adds the base configuration for the Remarkable Paper Pro.
  4. The rmpp.breadcrumb.default.dailycal.yml configuration, which adds the default daily calendar configuration for the Remarkable Paper Pro.

My personal configurations:

  1. Remarkable Paper Pro: cfg/base.yaml,cfg/template_breadcrumb.yaml,cfg/rmpp.base.yaml,cfg/rmpp.breadcrumb.default.dailycal.yaml
  2. Remarkable 2: cfg/base.yaml,cfg/template_breadcrumb.yaml,cfg/rm2.base.yaml,cfg/rm2.breadcrumb.default.dailycal.yaml

Local Development

Install Dependencies

  1. Go Language

  2. LaTex & PDFLaTeX

    1. For macs, the easiest option (but largest) is to do brew install --cask mactex
  3. From the project directory, run the following command after updating 'PLANNER_YEAR' below. This should generate the PDF in the 'out' directory. PLANNER_YEAR=2022
    PASSES=1
    CFG="cfg/base.yaml,cfg/template_breadcrumb.yaml,cfg/sn_a5x.breadcrumb.default.yaml"
    NAME="sn_a5x.breadcrumb.default"
    ./single.sh

  4. Check the "out" directory for the 'pdf' planner. To move it to your device , follow the manufacturer's instructions on how to load a PDF on your device.

If you encounter any problems related to '.sty' files you likely need to install some Latex related dependencies. Copying the error and search using your favorite search engine should get you on track to resolving the dependency issues. All the best!

Preview examples

About

Digital planner for Supernote and ReMarkable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 49.2%
  • Smarty 31.3%
  • Shell 8.7%
  • Python 8.2%
  • Nix 2.6%