Struct tectonic::engines::tex::TexEngine [−][src]
pub struct TexEngine { /* fields omitted */ }
Methods
impl TexEngine
[src]
impl TexEngine
pub fn new() -> TexEngine
[src]
pub fn new() -> TexEngine
ⓘImportant traits for &'a mut Rpub fn halt_on_error_mode(&mut self, halt_on_error: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn halt_on_error_mode(&mut self, halt_on_error: bool) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn initex_mode(&mut self, initex: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn initex_mode(&mut self, initex: bool) -> &mut Self
Configure the engine to run in "initex" mode, in which it generates a "format" file that serializes the engine state rather than a PDF document.
ⓘImportant traits for &'a mut Rpub fn synctex(&mut self, synctex_enabled: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn synctex(&mut self, synctex_enabled: bool) -> &mut Self
Configure the engine to produce SyncTeX data.
ⓘImportant traits for &'a mut Rpub fn semantic_pagination(&mut self, enabled: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn semantic_pagination(&mut self, enabled: bool) -> &mut Self
Configure the engine to use “semantic pagination”.
In this mode, the TeX page builder is not run, and top-level boxes are output vertically as they are created. The output file format changes from XDV to SPX (which is admittedly quite similar). "Page breaks" can be inserted explicitly in the document, but they only have semantic (organizational) meaning, rather than affecting the document rendering.
This is an essential component of the HTML output process.
pub fn process(
&mut self,
io: &mut IoStack,
events: &mut IoEventBackend,
status: &mut StatusBackend,
format_file_name: &str,
input_file_name: &str
) -> Result<TexResult>
[src]
pub fn process(
&mut self,
io: &mut IoStack,
events: &mut IoEventBackend,
status: &mut StatusBackend,
format_file_name: &str,
input_file_name: &str
) -> Result<TexResult>
Trait Implementations
impl Debug for TexEngine
[src]
impl Debug for TexEngine
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for TexEngine
[src]
impl Default for TexEngine