Module packages.bibtex.csl.style
Reader for CSL 1.0.2 locale files
Info:
- Copyright: License: MIT (c) 2024 Omikhleia
Public API: - (static method) CslStyle.parse(doc) -> CslStyle - (static method) CslStyle.read(filename) -> CslStyle
Functions
CslStyle.parse(doc) | Parse a CSL style document (static method). |
CslStyle.read(filename) | Read a CSL style file (static method). |
Functions
- CslStyle.parse(doc)
-
Parse a CSL style document (static method).
Parameters:
- doc string The CSL style document
Returns:
-
Csl
The parsed CSL style object (or nil, error message on failure)
- CslStyle.read(filename)
-
Read a CSL style file (static method).
Parameters:
- filename string The resolved filename of the CSL style file
Returns:
-
Csl
The parsed CSL style object (or nil, error message on failure)