Class: Pandoku::Formats::LaTeX

Inherits:
Pandoku::Format show all
Includes:
InputFormat, OutputFormat
Defined in:
lib/pandoku/formats/latex.rb

Overview

LaTeX format. www.latex-project.org/

Available Options

:standalone

Produce output with an appropriate header and footer.

:parse_raw

Parse untranslatable LaTeX environments as raw LaTeX, instead of ignoring them.

:number_sections

Number section headings in LaTeX output. (Default is not to number them.)

:no_wrap

Disable text wrapping in output. (Default is to wrap text.)

:toc

Include an instruction to create table of contents.

Instance Attribute Summary

Attributes inherited from Pandoku::Format

#options

Class Method Summary collapse

Methods included from InputFormat

#parse

Methods included from OutputFormat

#compile

Methods inherited from Pandoku::Format

#cliopts, inherited, #initialize

Constructor Details

This class inherits a constructor from Pandoku::Format

Class Method Details

.default_optionsObject



23
24
25
26
# File 'lib/pandoku/formats/latex.rb', line 23

def self.default_options
  { :standalone => false, :parse_raw => false, :number_sections => false,
    :no_wrap => false, :toc => false }
end

.nameObject



19
20
21
# File 'lib/pandoku/formats/latex.rb', line 19

def self.name
  :latex
end