Skip to content

Commit

Permalink
fix #7
Browse files Browse the repository at this point in the history
  • Loading branch information
fncokg committed Jan 8, 2025
1 parent 7a5d832 commit 88af19a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.1.2 (2025-01-08)

Fix #7: support compatibility with python >=3.8

# 1.1.1 (2025-01-07)

Use the correct style name (style id) for list of figures and tables.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages = ["src/pandoc_tex_numbering"]

[project]
name = "pandoc-tex-numbering"
version = "1.1.1"
version = "1.1.2"
dependencies = ["pylatexenc", "panflute"]
requires-python = ">=3.8"
authors = [{ name = "Chao Kong", email = "[email protected]" }]
Expand Down
2 changes: 1 addition & 1 deletion src/pandoc_tex_numbering/oxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def set_style(self,style_name):
style = self.get_or_create_child("w:pStyle")
style.set_attrs({"w:val":style_name})

def set_tabs(self,tabs:list[TabStop]):
def set_tabs(self,tabs:list):
self.remove_child("w:tabs")
tabs_elem = ElementProxy("w:tabs")
for tab in tabs:
Expand Down

0 comments on commit 88af19a

Please sign in to comment.