Add float placement and page headers/footers

This commit is contained in:
gloamxun committed 2026-10-19 13:41:29 +08:00
1 parent 1da46c61d6
commit ed1da06685
16 files changed
+974 -90

No files matched your search

+3 -1
View File
@@ -33,7 +33,7 @@ use document::{
MathDelimiterSettings, MathExpr, MathFontFamilies, MathFontSelection, MathFontStyle,
MathFractionDelimiters, MathFractionStyle, MathInfixFractionKind, MathLimitMode,
MathLineBreakPenalties, MathMuGlue, MathPhantomKind, MathRowSpacing, MathSpacingSettings,
RuleBox, Run,
PAGE_NUMBER_MARKER, PageDecoration, PageDecorationPosition, PageStyleKind, RuleBox, Run,
};
use parser::parse_dimension;
@@ -444,6 +444,7 @@ fn render_html_document(
caption,
alignments,
rules,
..
} => {
html.push_str(&format!(
"<table class=\"texrra-table\"{source_attributes}>"
@@ -482,6 +483,7 @@ fn render_html_document(
path,
options,
caption,
..
} => {
let image_path = PathBuf::from(&path);
let image_path = if image_path.is_absolute() {