Extension LaTeX


Extension Basics

Title
LaTeX
Name
ckanext-latex
Type
Public extension
Description
LaTeX syntax support for scheming form and display snippets
CKAN versions

~2.9, ~2.10, ~2.11

Show details
Download-Url (zip)
Download-Url commit date
2024-11-20
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

The latex extension adds LaTeX scheming display and form snippets to CKAN forms, enabling mathematical notation and LaTeX syntax rendering in dataset metadata fields. It provides specialized form and display snippets that can be used with ckanext-scheming to allow users to enter and display LaTeX-formatted content. This is particularly useful for scientific datasets that require mathematical formulas, equations, or other LaTeX-formatted notation in their metadata. Development dependencies include pytest-ckan, ckanext-toolbelt, and requests-mock.

Version
1.0.1
Version release date
2024-11-20
Contact name
DataShades
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Requirements: - CKAN 2.9 - ckanext-scheming (for using LaTeX snippets in schema definitions)

Installation: pip install ckanext-latex

Add to ckan.plugins: latex

Usage: The extension provides scheming snippets for LaTeX input and display. Use these snippets in your scheming schema definitions to enable LaTeX rendering in forms and displays.

Development installation: git clone https://github.com/mutantsan/ckanext-latex.git cd ckanext-latex python setup.py develop pip install -r dev-requirements.txt

Development dependencies: - pytest-ckan - ckanext-toolbelt - requests-mock

Testing: pytest –ckan-ini=test.ini

Use cases: - Scientific datasets with mathematical formulas - Equations in metadata descriptions - Mathematical notation in dataset fields - LaTeX-formatted technical documentation

Plugins to configure (ckan.ini)
latex
CKAN Settings (ckan.ini)
(not set)
DB migration to be executed
(not set)
<< back to Extensions