Use a Unicode default with project-level LaTeX compatibility
This commit is contained in:
1 parent
38a2a4a958
commit
81ac3ae321
11 files changed
+741
-126
No files matched your search
@@ -87,8 +87,13 @@ impl PreviewCache {
|
||||
)
|
||||
})
|
||||
.collect();
|
||||
let filename = match staged.options.input_profile {
|
||||
super::InputProfile::TeX8Bit => format!("{id}.preview"),
|
||||
super::InputProfile::UnicodeScalar => format!("{id}.unicode-scalar.preview"),
|
||||
super::InputProfile::XeTeX => format!("{id}.unicode.preview"),
|
||||
};
|
||||
Some(Self(Arc::new(CacheEntry {
|
||||
path: runs.join(".cached-previews").join(format!("{id}.preview")),
|
||||
path: runs.join(".cached-previews").join(filename),
|
||||
key: key.finalize().into(),
|
||||
originals,
|
||||
})))
|
||||
|
||||
Reference in new issue
Block a user