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.2.0.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

curvenote_template-0.2.0-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: curvenote_template-0.2.0.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

File hashes

Hashes for curvenote_template-0.2.0.tar.gz
Algorithm Hash digest
SHA256 59ca2da6ce4e8468dc8ecd1adb0d78d1baaf45c9dbbf09f9fb3ff7b4cb19f11b
MD5 4c3ef9e622db74a65d674308f5278cc6
BLAKE2b-256 5849ddd2bddd449e2183545ba99a285ecc0861b4792e929b95325e680e6f30f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: curvenote_template-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

File hashes

Hashes for curvenote_template-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27eb8ca6710a5774117f1e669108b08cb842ec2a74977b6845de7005c9b46ce0
MD5 38ee403f3f306b98f6fb85babb3505b5
BLAKE2b-256 0177c35a6e0e4e9cff929fcc086cb00ca897b261c82ecaa30f69c8943cecb599

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