[−][src]Struct tectonic::engines::tex::TexEngine
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]
&mut self,
io: &mut IoStack<'_>,
events: &mut dyn IoEventBackend,
status: &mut dyn StatusBackend,
format_file_name: &str,
input_file_name: &str
) -> Result<TexResult>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TexEngine
impl Send for TexEngine
impl Sync for TexEngine
impl Unpin for TexEngine
impl UnwindSafe for TexEngine
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,