Struct tectonic::driver::ProcessingSession[][src]

pub struct ProcessingSession { /* fields omitted */ }
Expand description

The ProcessingSession struct runs the whole show when we’re actually processing a file. It understands, for example, the need to re-run the TeX engine if the .aux file changed.

Implementations

Runs the session, generating the desired outputs.

What this does depends on which PassSetting you asked for. The most common choice is PassSetting::Default, in which case this method does the following:

  • if a .fmt file does not yet exist, generate one and cache it
  • run the TeX engine once
  • run BibTeX, if it seems to be required
  • repeat the last two steps as often as needed
  • write the output files to disk, including a Makefile if it was requested.

Get what was printed to standard output, if anything.

Consume this session and return the current set of files in memory.

This convenience function tries to help with the annoyances of getting access to the in-memory file data after the engine has been run.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.