Skip to main content

Jinja-style templating for LaTeX documents by Curvenote

Project description

Curvenote Template is a command line tool (cli) for jinja-style templating of LaTeX documents. This means you can build templates in LaTeX and then quickly or semi-automatically create new latex documents with different content by running the tool. The templating syntax has been chosen specifically to not collide with LaTeX markup.

We built this package while developing our template based PDF export for Curvenote and some examples of templates that this package can process are available on the Curvenote Community Template Repo.

You can use this tool free-form with any template layout, and document model that you like but it is opinionated, it does certain things the Curvenote way.

If you are contributing a new template to the Curvenote Community Template Repo this is definitely the tool you need for development and testing.

Quick Start

Template Syntax 101

Free Form Rendering

Rendering with a Curvenote Template

CLI

Technical Details

Jinja

Base Configuration

Packages

By default Curvenote templates make available the following base packages, which are defined in package-base.def

Package Options

Curvenote templates use the \PassOptionsToPackage macro in order to forward options to packages without generating options warnings. Base options are defined in passopts-base.def

  • normalem: ulem

  • inputenc: utf8

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

curvenote_template-0.1.5.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

curvenote_template-0.1.5-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

Details for the file curvenote_template-0.1.5.tar.gz.

File metadata

  • Download URL: curvenote_template-0.1.5.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.6

File hashes

Hashes for curvenote_template-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7e251258b8a475158cb389e448b9f2c773317c33b1cf4f6c97c8895694d77246
MD5 357c30cef73704d9717249fb7c0542cf
BLAKE2b-256 e264270981b8b6434edc8c7169a14e667392c2d97c79bfe30ce7fd6c1591f678

See more details on using hashes here.

File details

Details for the file curvenote_template-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: curvenote_template-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 41.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.6

File hashes

Hashes for curvenote_template-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb5b68ebcd8e2ae3d8172b7af8316081866d51de4542b479479f65ca92a3e53
MD5 89b0bc97940ab79bcf950c0c7af10c24
BLAKE2b-256 f6797bd2a5c77435d227e9c6242f8509c5ca9aeb3db9321b8514d39ef25ec3d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page