Fix type casting problem when inputting the metadata from the command line.
Announce stable status in the project classifiers.
Support multiple references in the same ref command, such as \cref{fig1,fig2,fig3}.
Fix a severe numbering logic bug in the previous version. Now the numbering system should work as expected.
Rewrite the low-level numbering system (switch to a OOP design). Now we support:
- Full-featured formatting for the numbering system
- OOP designed API for the numbering system, which is much easier to extend
For people who are using 1.1.x version, there are some deprecations and removals:
The following metadata keys are now deprecated, and you are recommended to use the new keys instead (the old keys are still supported until v1.3.0):
- metadata keys
section-format-source-i
andsection-format-ref-i
for the i-the level section numbering formatting are now deprecated. You should use the newsection-src-format-i
andsection-cref-format-i
keys instead. For backward compatibility, the old keys are still supported until the next major release (1.3.0).
The following features are now removed, and you should use the new API instead:
- metadata keys
subfigure-format
is now removed considering its ambiguity. You should use the new unified metadata keyssubfigure-src-format
andsubfigure-cref-format
instead. - fields
num
andsym
insubfigure-format
are (of course) now removed. The new fieldssubfig_id
andsubfig_sym
should be used instead.
Fix #7: support compatibility with python >=3.8
Use the correct style name (style id) for list of figures and tables.
Custom list of figures and tables supporting *short captions and custom titles.
Add OXML base support for future docx development.
Fix import error in the pandoc_tex_numbering/__init__.py
file.
Update the README file to include the installation guide and the usage of the project.
After several bug fixes and improvements, I released the first stable version of the project.
For people who are using the beta version, there are some minor changes:
- It is recommended to install the project via pip now.
- You're now NOT required to put the files under the same directory of your project: after installing the project via pip, you can use the command like
pandoc -o test.docx -F pandoc-tex-numbering test.tex
(with no suffix.py
). - The old
non-arabic-number
metadata is now deprecated. It is now turned on at any time. - For people who want to use the
org
format, you still need to download theorg_helper.lua
file manually and put it under the same directory of your project (It is now located atsrc/org_helper.lua
).