Skip to content

Commit 88af19a

Browse files
committed
fix #7
1 parent 7a5d832 commit 88af19a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.1.2 (2025-01-08)
2+
3+
Fix #7: support compatibility with python >=3.8
4+
15
# 1.1.1 (2025-01-07)
26

37
Use the correct style name (style id) for list of figures and tables.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages = ["src/pandoc_tex_numbering"]
77

88
[project]
99
name = "pandoc-tex-numbering"
10-
version = "1.1.1"
10+
version = "1.1.2"
1111
dependencies = ["pylatexenc", "panflute"]
1212
requires-python = ">=3.8"
1313
authors = [{ name = "Chao Kong", email = "kongchao1998@gmail.com" }]

src/pandoc_tex_numbering/oxml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def set_style(self,style_name):
153153
style = self.get_or_create_child("w:pStyle")
154154
style.set_attrs({"w:val":style_name})
155155

156-
def set_tabs(self,tabs:list[TabStop]):
156+
def set_tabs(self,tabs:list):
157157
self.remove_child("w:tabs")
158158
tabs_elem = ElementProxy("w:tabs")
159159
for tab in tabs:

0 commit comments

Comments
 (0)