pub struct Synctex {
pub option: Option<i32>,
pub files: Vec<Vec<u8>>,
pub dir: Option<PathBuf>,
/* private fields */
}Expand description
The SyncTeX state of a run.
Fields§
§option: Option<i32>The -synctex value given on the command line: 0 forbids SyncTeX,
a negative value asks for an uncompressed file.
files: Vec<Vec<u8>>The Input: names of the files read, by tag minus one.
dir: Option<PathBuf>The directory the file goes to (the PDF’s), if not the output directory.
Implementations§
Source§impl Synctex
impl Synctex
Sourcepub fn box_open(
&mut self,
hlist: bool,
f: Fields,
h: i32,
v: i32,
size: [i32; 3],
)
pub fn box_open( &mut self, hlist: bool, f: Fields, h: i32, v: i32, size: [i32; 3], )
A box with contents opens at (h, v): its reference point for
an hbox, its top left corner for a vbox.
Sourcepub fn box_close(&mut self, hlist: bool, f: Fields, h: i32, v: i32)
pub fn box_close(&mut self, hlist: bool, f: Fields, h: i32, v: i32)
The box opened last closes; (h, v) is where its contents end:
the end of the baseline of an hbox, the bottom left corner of a
vbox.
Sourcepub fn void_box(
&mut self,
hlist: bool,
f: Fields,
h: i32,
v: i32,
size: [i32; 3],
)
pub fn void_box( &mut self, hlist: bool, f: Fields, h: i32, v: i32, size: [i32; 3], )
An empty box.
Sourcepub fn rule(&mut self, f: Fields, h: i32, v: i32, size: [i32; 3])
pub fn rule(&mut self, f: Fields, h: i32, v: i32, size: [i32; 3])
A rule ending at h, with its dimensions as stored.
Sourcepub fn kern(&mut self, f: Fields, w: i32)
pub fn kern(&mut self, f: Fields, w: i32)
A kern of width w.
Observed: kerns without fields (those TeX makes; copies get the
current ones) are not recorded. Another kern is recorded, at the
position recorded last (not where the kern is), if something was
recorded in its box before and its fields differ from those of the
last record; it is then preceded by the last kern not recorded, if
no other record came in between. A kern not recorded waits: a
following empty box, or math node with other fields, writes it too;
glue, rules and boxes drop it. Either way, the kern’s fields become
the context of the following x records.