summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-17 22:15:18 +0000
committerKarl Berry <karl@freefriends.org>2024-05-17 22:15:18 +0000
commite2d16eed9c3d75bef7c4276387472c03512e3565 (patch)
tree3224368a8a8f563896d63a922fc2b1c6df7bae1b /Master/texmf-dist/doc/latex
parent0ab6316f3c9ffb5bfbe36c367287e657e7aa72d2 (diff)
latex2pydata (18may24)
git-svn-id: svn://tug.org/texlive/trunk@71283 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/latex2pydata/CHANGELOG.md39
-rw-r--r--Master/texmf-dist/doc/latex/latex2pydata/README13
-rw-r--r--Master/texmf-dist/doc/latex/latex2pydata/latex2pydata.pdfbin292477 -> 296929 bytes
3 files changed, 46 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/latex2pydata/CHANGELOG.md b/Master/texmf-dist/doc/latex/latex2pydata/CHANGELOG.md
new file mode 100644
index 00000000000..f079e3c167c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex2pydata/CHANGELOG.md
@@ -0,0 +1,39 @@
+# Changelog — latex2pydata LaTeX package
+
+
+## v0.2.0 (2024-05-16)
+
+* Operations on file handles, file names, and buffers are now global.
+ This prevents errors due to groups.
+
+* `\pydatasetfilehandle`, `\pydatareleasefilehandle`, `\pydatasetfilename`,
+ and `\pydataclosefilename` are redesigned to deal with cases where the same
+ file is opened, written, closed, and then later reopened and overwritten.
+ `\pydatasetfilename` now reuses file handles when the same file is
+ opened and closed multiple times. `\pydataclosefilename` no longer
+ attempts to close files `\AtEndDocument`, since that can interfere with
+ files that need to remain open as long as possible.
+
+* Added new commands `\pydatawritekeyedefvalue` and
+ `\pydatabufferkeyedefvalue`. These `\edef` the value before interpreting
+ it as verbatim text.
+
+* Simplified implementation of `pydatabuffermlvalue` environment, based on
+ latest `fvextra`.
+
+* Added error messages for unknown file handles and file names.
+
+* Added additional state and data checks in `\pydatawritebuffer`.
+
+* Added documentation for `\pydatawritemlvaluestart`,
+ `\pydatawritemlvalueline`, `\pydatawritemlvalueend`,
+ `\pydatabuffermlvaluestart`, `\pydatabuffermlvalueline`,
+ `\pydatabuffermlvalueend`.
+
+* Updated `tcblisting` usage in docs for compatibility with the latest
+ `tcolorbox`.
+
+
+## v0.1.0 (2023-11-19)
+
+* Initial release.
diff --git a/Master/texmf-dist/doc/latex/latex2pydata/README b/Master/texmf-dist/doc/latex/latex2pydata/README
index 678217ebc7e..4f7751d62ba 100644
--- a/Master/texmf-dist/doc/latex/latex2pydata/README
+++ b/Master/texmf-dist/doc/latex/latex2pydata/README
@@ -2,14 +2,15 @@ latex2pydata - write data to file in Python literal format
Author: Geoffrey M. Poore
License: LPPL v1.3c or later
-Development: https://github.com/gpoore/latex2pydata_tex
+Development: https://github.com/gpoore/latex2pydata/tree/main/latex
latex2pydata is a LaTeX package for writing data to file using Python literal
syntax (https://docs.python.org/3/reference/lexical_analysis.html#literals).
The data may be loaded safely in Python using the ast.literal_eval() function
(https://docs.python.org/3/library/ast.html#ast.literal_eval) or the
-latex2pydata Python package https://github.com/gpoore/latex2pydata_py).
+latex2pydata Python package
+https://github.com/gpoore/latex2pydata/tree/main/python).
The top-level data structure can be configured as either a Python dict or a
list of dicts. Within dicts, all keys and values are written to file as
@@ -20,10 +21,10 @@ data types such as dicts, lists, sets, bools, and numbers.
The data is suitable for direct loading in Python with ast.literal_eval().
It is also possible to load data using the latex2pydata Python package
-(https://github.com/gpoore/latex2pydata_py). This functions as a wrapper for
-ast.literal_eval(). The package requires all keys to match the regex
-"[A-Za-z_][0-9A-Za-z_]*". Periods in keys are interpreted as key paths and
-indicate sub-dicts. For example, the key path "main.sub" represents a key
+(https://github.com/gpoore/latex2pydata/tree/main/python). This functions as
+a wrapper for ast.literal_eval(). The package requires all keys to match the
+regex "[A-Za-z_][0-9A-Za-z_]*". Periods in keys are interpreted as key paths
+and indicate sub-dicts. For example, the key path "main.sub" represents a key
"main" in the main dict that maps to a sub-dict containing a key "sub". The
Python package supports the schema features provided by the LaTeX package, so
that data types other than dicts of strings are possible.
diff --git a/Master/texmf-dist/doc/latex/latex2pydata/latex2pydata.pdf b/Master/texmf-dist/doc/latex/latex2pydata/latex2pydata.pdf
index 96eca7e89d0..815d40d7be3 100644
--- a/Master/texmf-dist/doc/latex/latex2pydata/latex2pydata.pdf
+++ b/Master/texmf-dist/doc/latex/latex2pydata/latex2pydata.pdf
Binary files differ