Skip to content

Commit e5e852c

Browse files
committed
change docs, prepare for release v1.3.2
1 parent d6f3c13 commit e5e852c

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 1.3.2 (2025-07-26)
2+
Support specifying the multiple reference style in the metadata, so that you can get "equation 1, equation 2 and equation 3" instead of "equations 1, 2 and 3" in the multiple references.
3+
4+
Fix some bugs:
5+
- Fix the bug that files containing levels beyond `max_level` cause crash.
6+
- Fix the bug that the `\label` command outside the `\section` command is not processed correctly.
7+
18
# 1.3.1 (2025-04-12)
29
Support specifying the numbering offset of any type of numbering.
310

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ For more details, see the [List of Figures and Tables](#list-of-figures-and-tabl
203203
- `multiple-ref-separator`: The separator between the multiple references. Default is ", ". For example, if you set it to "; ", the multiple references will be shown as "equations 1; 2; 3 and 4".
204204
- `multiple-ref-last-separator`: The separator between the last two references. Default is " and ". For example, if you set it to " & ", the multiple references will be shown as "equations 1, 2, 3 & 4".
205205
- `multiple-ref-to`: The separator between suppressed multiple references. Default is "-". For example, if you set it to " to ", the multiple references will be shown as "equations 1 to 4".
206+
- `multiple-ref-style`: The style of the multiple references. Default is "simple". Possible values are "full" and "simple". If set to "full", the multiple references will be shown as "equation 1, equation 2, equation 3 and equation 4" instead of "equations 1, 2, 3 and 4" (simple style).
206207

207208
NOTE: in case of setting metadata in a yaml file, the spaces at the beginning and the end of the values are by default stripped. Therefore, if you want to keep the spaces in the yaml metadata file, **you should mannually escape those spaces via double slashes.** For example, if you want set `multiple-ref-last-separator` to `" and "` (spaces appear at the beginning and the end), you should set it as `"\\ and\\ "` in the yaml file. See pandoc's [issue #10539](https://github.com/jgm/pandoc/issues/10539) for more further discussions.
208209

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.3.1"
10+
version = "1.3.2"
1111
dependencies = ["pylatexenc", "panflute"]
1212
requires-python = ">=3.8"
1313
authors = [{ name = "Chao Kong", email = "kongchao1998@gmail.com" }]

0 commit comments

Comments
 (0)