package catala

  1. Overview
  2. Docs
Low-level language for tax code specification

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.0.tar.gz
md5=4c6f725ef4d21c5ff91f60d74b454ef7
sha512=98806e03daa6f33740b80a0f78a37320fb70ebea8cb927ea8fed022673459189c32e2389ccba0fa25d93f754b0fa0128a5ee28e1bb9abefa330deb4be8cc7d95

doc/catala.literate/Literate/Latex/index.html

Module Literate.LatexSource

This modules weaves the source code and the legislative text together into a document that law professionals can understand.

Sourcemodule Pos = Utils.Pos
Sourcemodule Cli = Utils.Cli
Sourcemodule Errors = Utils.Errors
Sourcemodule R = Re.Pcre
Sourcemodule C = Cli

Helpers

Sourceval pre_latexify : string -> string

Espaces various LaTeX-sensitive characters

Sourceval wrap_latex : string list -> string option -> C.backend_lang -> Format.formatter -> (Format.formatter -> unit) -> unit

Usage: wrap_latex source_files custom_pygments language fmt wrapped

Prints an LaTeX complete documùent structure around the wrapped content.

Sourceval math_syms_replace : string -> string

Replaces math operators by their nice unicode counterparts

Weaving

Sourceval law_article_item_to_latex : C.backend_lang -> Format.formatter -> A.law_article_item -> unit
Sourceval law_structure_to_latex : C.backend_lang -> Format.formatter -> A.law_structure -> unit
Sourceval program_item_to_latex : C.backend_lang -> Format.formatter -> A.program_item -> unit

API

Sourceval ast_to_latex : C.backend_lang -> Format.formatter -> A.program -> unit
OCaml

Innovation. Community. Security.