Compile the Huawei E template with tabularx and math vocabulary
This commit is contained in:
1 parent
07a4dcdda1
commit
0864536d6d
6 files changed
+49
-10
No files matched your search
@@ -2044,7 +2044,7 @@ impl Parser {
|
||||
self.flush_paragraph();
|
||||
self.finish_list();
|
||||
}
|
||||
(true, "tabular") | (true, "tabular*") | (true, "longtable") => {
|
||||
(true, "tabular") | (true, "tabular*") | (true, "tabularx") | (true, "longtable") => {
|
||||
self.flush_paragraph();
|
||||
self.finish_list();
|
||||
self.table = Some(TableBuilder {
|
||||
@@ -2056,7 +2056,10 @@ impl Parser {
|
||||
self.current_reference = self.table_number.to_string();
|
||||
}
|
||||
}
|
||||
(false, "tabular") | (false, "tabular*") | (false, "longtable") => self.finish_table(),
|
||||
(false, "tabular")
|
||||
| (false, "tabular*")
|
||||
| (false, "tabularx")
|
||||
| (false, "longtable") => self.finish_table(),
|
||||
(true, "figure") => {
|
||||
self.flush_paragraph();
|
||||
self.float_placement = String::new();
|
||||
|
||||
Reference in new issue
Block a user