make pip an option
Build branch master (394ecc3) from kesslermaximilian/LatexPackages
This commit is contained in:
parent
b95bb33ade
commit
89e7d8c669
2 changed files with 23 additions and 19 deletions
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"build_time": "",
|
||||
"source files": {
|
||||
"version": "v2.9-2-g78e06ed",
|
||||
"commit": "78e06ed17dd5ebf120a0ee3059acff80a88bb436",
|
||||
"version": "v2.9-3-g394ecc3",
|
||||
"commit": "394ecc310cf67afd6630fae6d9321e9ea2e2da8c",
|
||||
"dirty": false
|
||||
},
|
||||
"pytex": {
|
||||
|
@ -36,12 +36,12 @@
|
|||
{
|
||||
"name": "wip/code/mkessler-code.sty",
|
||||
"source file": "wip/code/code.pysty",
|
||||
"build time": "2022/02/09 23:27",
|
||||
"source version": "v2.9-2-g78e06ed",
|
||||
"source commit hash": "78e06ed17dd5ebf120a0ee3059acff80a88bb436",
|
||||
"build time": "2022/02/09 23:40",
|
||||
"source version": "v2.9-3-g394ecc3",
|
||||
"source commit hash": "394ecc310cf67afd6630fae6d9321e9ea2e2da8c",
|
||||
"pytex version": "v1.2.0-31-gc9bb0e8",
|
||||
"pytex commit hash": "c9bb0e87c91beae3e17a829603e4459cf804ec51",
|
||||
"md5sum": "da4ba08d654053fb97e00862282c32ae",
|
||||
"md5sum": "c7e63292c9f515f645da21352bb6785e",
|
||||
"dirty": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
%
|
||||
% Build details:
|
||||
% PyTeX version: v1.2.0-31-gc9bb0e8 (commit c9bb0e8)
|
||||
% Source code version: v2.9-2-g78e06ed (commit 78e06ed)
|
||||
% Source code version: v2.9-3-g394ecc3 (commit 394ecc3)
|
||||
%
|
||||
% This LaTeX package is free software and is dual-licensed
|
||||
% under the LPPLv1.3c and the GPLv3 licenses.
|
||||
|
@ -51,6 +51,9 @@
|
|||
|
||||
|
||||
|
||||
\newif\ifmkessler@code@pipe\mkessler@code@pipefalse
|
||||
\DeclareOption{pipe}{\mkessler@code@pipetrue}
|
||||
\ProcessOptions
|
||||
|
||||
\catcode`_=13
|
||||
\let_\_
|
||||
|
@ -66,18 +69,19 @@
|
|||
}
|
||||
|
||||
\newif\ifactive\activefalse
|
||||
\catcode`|=\active
|
||||
\def|{
|
||||
\ifactive
|
||||
\endgroup
|
||||
\activefalse
|
||||
\else
|
||||
\begingroup
|
||||
\catcode`_=13
|
||||
\ttfamily
|
||||
\fi
|
||||
}
|
||||
|
||||
\ifmkessler@code@pipe
|
||||
\catcode`|=\active
|
||||
\def|{
|
||||
\ifactive
|
||||
\endgroup
|
||||
\activefalse
|
||||
\else
|
||||
\begingroup
|
||||
\catcode`_=13
|
||||
\ttfamily
|
||||
\fi
|
||||
}
|
||||
% Quick fix for tables
|
||||
\AddToHook{env/tabular/begin}[code]{\catcode`|=13}
|
||||
\AddToHook{env/tabular/end}[code]{\catcode`|=8}
|
||||
\fi
|
||||
|
|
Loading…
Reference in a new issue