summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-01-18 21:03:09 +0000
committerKarl Berry <karl@freefriends.org>2025-01-18 21:03:09 +0000
commit00b23bca2fea140541959a40a8075a0c4175d27b (patch)
tree22aa42692a5d8b7eaaa749e067d152aee2d11d46 /Master/texmf-dist/tex
parentb04e7bd976cfb4739cd328cfa285e96c14da2909 (diff)
piton (18jan25)
git-svn-id: svn://tug.org/texlive/trunk@73498 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/lualatex/piton/piton.lua9
-rw-r--r--Master/texmf-dist/tex/lualatex/piton/piton.sty6
2 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/lualatex/piton/piton.lua b/Master/texmf-dist/tex/lualatex/piton/piton.lua
index 2d1c70bbdf8..d8af42a7ada 100644
--- a/Master/texmf-dist/tex/lualatex/piton/piton.lua
+++ b/Master/texmf-dist/tex/lualatex/piton/piton.lua
@@ -6,7 +6,7 @@
--
-- piton.dtx (with options: `LUA')
-- ---------------------------------------------
--- Copyright (C) 2022-2024 by F. Pantigny
+-- Copyright (C) 2022-2025 by F. Pantigny
--
-- This file may be distributed and/or modified under the
-- conditions of the LaTeX Project Public License, either
@@ -20,7 +20,7 @@
-- -------------------------------------------
--
-- This file is part of the LuaLaTeX package 'piton'.
-piton_version = "4.2a" -- 2024/12/06
+piton_version = "4.2b" -- 2025/01/18
@@ -255,7 +255,8 @@ local CommentMath =
P "$" * K ( 'Comment.Math' , ( 1 - S "$\r" ) ^ 1 ) * P "$" -- $
local PromptHastyDetection =
( # ( P ">>>" + "..." ) * Lc [[ \__piton_prompt: ]] ) ^ -1
-local Prompt = K ( 'Prompt' , ( ( P ">>>" + "..." ) * P " " ^ -1 ) ) ^ -1
+local Prompt =
+ K ( 'Prompt' , ( ( P ">>>" + "..." ) * P " " ^ -1 + P ( true ) ) ) ^ -1
local EOL =
P "\r"
*
@@ -1124,7 +1125,7 @@ do
local TableField =
K ( 'Name.Table' , identifier )
* Q "."
- * K ( 'Name.Field' , identifier )
+ * ( K ( 'Name.Field' , identifier ) ) ^ 0
local OneField =
(
diff --git a/Master/texmf-dist/tex/lualatex/piton/piton.sty b/Master/texmf-dist/tex/lualatex/piton/piton.sty
index a9e7882e452..9a36759a729 100644
--- a/Master/texmf-dist/tex/lualatex/piton/piton.sty
+++ b/Master/texmf-dist/tex/lualatex/piton/piton.sty
@@ -6,7 +6,7 @@
%%
%% piton.dtx (with options: `STY')
%% -------------------------------------------
-%% Copyright (C) 2022-2024 by F. Pantigny
+%% Copyright (C) 2022-2025 by F. Pantigny
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -19,8 +19,8 @@
%% LaTeX version 2005/12/01 or later.
%% -------------------------------------------
%%
-\def\PitonFileVersion{4.2a}
-\def\PitonFileDate{2024/12/06}
+\def\PitonFileVersion{4.2b}
+\def\PitonFileDate{2025/01/18}