Initial texrra engine
Rename the crate, binary, core crate, font families, env vars, and internal commands from texcraft/tex-engine to texrra. Serve the separately versioned texrra-web frontend from TEXRRA_WEB_DIR, ../web, or ./web instead of embedding index.html. Add starred section heading support and an arXiv template conformance fixture.
This commit is contained in:
commit
bb1d9e0561
147 files changed
+66719
No files matched your search
@@ -0,0 +1,16 @@
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// Where a TeX source location originated.
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
pub enum SourceOrigin {
|
||||
File(PathBuf),
|
||||
Terminal,
|
||||
}
|
||||
|
||||
/// A one-based source position owned independently of a runtime adapter.
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
pub struct SourceLocation {
|
||||
pub origin: SourceOrigin,
|
||||
pub line: usize,
|
||||
pub column: usize,
|
||||
}
|
||||
Reference in new issue
Block a user