Expose active insertion height to pdfTeX macros
This commit is contained in:
1 parent
2fa11fb971
commit
7707cd9b09
7 files changed
+70
-4
No files matched your search
@@ -52,6 +52,10 @@ fn scale(size: i64, factor: i64) -> i64 {
|
||||
}
|
||||
|
||||
impl PageInsertions {
|
||||
pub(super) fn height(&self, class: u8) -> Option<i64> {
|
||||
self.classes.get(&class).map(|entry| entry.size)
|
||||
}
|
||||
|
||||
pub(super) fn activity<'a>(
|
||||
&'a self,
|
||||
state: &'a State,
|
||||
|
||||
Reference in new issue
Block a user