package catala

  1. Overview
  2. Docs
On This Page
  1. Helpers
  2. API
Legend:
Library
Module
Module type
Parameter
Class
Class type

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

Helpers

val wrap_latex : string list -> Catala_utils.Cli.backend_lang -> Format.formatter -> (Format.formatter -> unit) -> unit

Usage: wrap_latex source_files language fmt wrapped

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

API

val ast_to_latex : Catala_utils.Cli.backend_lang -> print_only_law:bool -> Format.formatter -> Surface.Ast.program -> unit