quick fix for tables

Build branch master (78e06ed) from kesslermaximilian/LatexPackages
This commit is contained in:
Maximilian Keßler 2022-02-09 23:27:32 +00:00
parent db67a001f5
commit b95bb33ade
2 changed files with 12 additions and 7 deletions

View file

@ -1,8 +1,8 @@
{ {
"build_time": "", "build_time": "",
"source files": { "source files": {
"version": "v2.9-1-g778f529", "version": "v2.9-2-g78e06ed",
"commit": "778f5297d1c4a221f7a0ea7ed3426c7ed5cd5904", "commit": "78e06ed17dd5ebf120a0ee3059acff80a88bb436",
"dirty": false "dirty": false
}, },
"pytex": { "pytex": {
@ -36,12 +36,12 @@
{ {
"name": "wip/code/mkessler-code.sty", "name": "wip/code/mkessler-code.sty",
"source file": "wip/code/code.pysty", "source file": "wip/code/code.pysty",
"build time": "2022/02/09 23:08", "build time": "2022/02/09 23:27",
"source version": "v2.9-1-g778f529", "source version": "v2.9-2-g78e06ed",
"source commit hash": "778f5297d1c4a221f7a0ea7ed3426c7ed5cd5904", "source commit hash": "78e06ed17dd5ebf120a0ee3059acff80a88bb436",
"pytex version": "v1.2.0-31-gc9bb0e8", "pytex version": "v1.2.0-31-gc9bb0e8",
"pytex commit hash": "c9bb0e87c91beae3e17a829603e4459cf804ec51", "pytex commit hash": "c9bb0e87c91beae3e17a829603e4459cf804ec51",
"md5sum": "f0de3a01d64c7077a85d4de19a8b84cd", "md5sum": "da4ba08d654053fb97e00862282c32ae",
"dirty": false "dirty": false
}, },
{ {

View file

@ -31,7 +31,7 @@
% %
% Build details: % Build details:
% PyTeX version: v1.2.0-31-gc9bb0e8 (commit c9bb0e8) % PyTeX version: v1.2.0-31-gc9bb0e8 (commit c9bb0e8)
% Source code version: v2.9-1-g778f529 (commit 778f529) % Source code version: v2.9-2-g78e06ed (commit 78e06ed)
% %
% This LaTeX package is free software and is dual-licensed % This LaTeX package is free software and is dual-licensed
% under the LPPLv1.3c and the GPLv3 licenses. % under the LPPLv1.3c and the GPLv3 licenses.
@ -51,6 +51,7 @@
\catcode`_=13 \catcode`_=13
\let_\_ \let_\_
\catcode`_=8 \catcode`_=8
@ -76,3 +77,7 @@
\ttfamily \ttfamily
\fi \fi
} }
% Quick fix for tables
\AddToHook{env/tabular/begin}[code]{\catcode`|=13}
\AddToHook{env/tabular/end}[code]{\catcode`|=8}