Support longtable environments and common class declarations
This commit is contained in:
1 parent
3eb4e81956
commit
682604ae44
3 files changed
+9
-4
No files matched your search
@@ -2044,7 +2044,7 @@ impl Parser {
|
||||
self.flush_paragraph();
|
||||
self.finish_list();
|
||||
}
|
||||
(true, "tabular") => {
|
||||
(true, "tabular") | (true, "longtable") => {
|
||||
self.flush_paragraph();
|
||||
self.finish_list();
|
||||
self.table = Some(TableBuilder {
|
||||
@@ -2056,7 +2056,7 @@ impl Parser {
|
||||
self.current_reference = self.table_number.to_string();
|
||||
}
|
||||
}
|
||||
(false, "tabular") => self.finish_table(),
|
||||
(false, "tabular") | (false, "longtable") => self.finish_table(),
|
||||
(true, "figure") => {
|
||||
self.flush_paragraph();
|
||||
self.float_placement = String::new();
|
||||
|
||||
Reference in new issue
Block a user