[][src]Struct tectonic::engines::tex::TexEngine

pub struct TexEngine { /* fields omitted */ }

Implementations

impl TexEngine[src]

pub fn new() -> TexEngine[src]

pub fn halt_on_error_mode(&mut self, halt_on_error: bool) -> &mut Self[src]

pub fn initex_mode(&mut self, initex: bool) -> &mut Self[src]

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.

pub fn synctex(&mut self, synctex_enabled: bool) -> &mut Self[src]

Configure the engine to produce SyncTeX data.

pub fn semantic_pagination(&mut self, enabled: bool) -> &mut Self[src]

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 build_date(&mut self, date: SystemTime) -> &mut Self[src]

Sets the date and time used by the TeX engine. This affects things like LaTeX's \today command. When expecting reproducible builds, this should be set to a static value, like its default value UNIX_EPOCH.

pub fn process(
    &mut self,
    io: &mut IoStack<'_>,
    events: &mut dyn IoEventBackend,
    status: &mut dyn StatusBackend,
    format_file_name: &str,
    input_file_name: &str
) -> Result<TexResult>
[src]

Trait Implementations

impl Debug for TexEngine[src]

impl Default for TexEngine[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,