omd2tex.objects.quote module#
- class omd2tex.objects.quote.Quote(quotelines: List[str], filename: str = '', parrentdir='', filedepth=0, quotedepth=0)[source]#
Bases:
BaseClass- to_latex() str[source]#
Convert the quote and its elements to LaTeX.
- Parameters:
None
- Returns:
LaTeX string for the quote environment with proper indentation.
- classmethod create(quotelines: List[str], filename: str = '', parrentdir='', filedepth=0, quotedepth=0) BaseClass[source]#
Factory to create and process quote content in one step.
- Parameters:
quotelines – Raw quote lines including leading markers.
filename – Source filename for context.
parrentdir – Parent directory path for nested includes.
filedepth – Current file recursion depth.
quotedepth – Current quote recursion depth.
- Returns:
Processed element resulting from quote interpretation.