diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-31 21:14:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-31 21:14:32 +0000 |
commit | 1d444b81d53d885a68ef7096605fc3bf3dba5fe8 (patch) | |
tree | 58b20743c108bbbfc2926dc50623fed565aa65fc /Master/texmf-dist/tex/lualatex/autopuncitems/autopuncitems.sty | |
parent | 90e73850033e421c88fbb193007a39dad5b4b759 (diff) |
autopuncitems (31jan22)
git-svn-id: svn://tug.org/texlive/trunk@61825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/autopuncitems/autopuncitems.sty')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/autopuncitems/autopuncitems.sty | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/lualatex/autopuncitems/autopuncitems.sty b/Master/texmf-dist/tex/lualatex/autopuncitems/autopuncitems.sty index 81c3f2dd6c3..11a4c66f69e 100644 --- a/Master/texmf-dist/tex/lualatex/autopuncitems/autopuncitems.sty +++ b/Master/texmf-dist/tex/lualatex/autopuncitems/autopuncitems.sty @@ -1,5 +1,5 @@ % Kale Ewasiuk (kalekje@gmail.com) -% 2022-01-18 +% 2022-01-30 % Copyright (C) 2021-2022 Kale Ewasiuk % % Permission is hereby granted, free of charge, to any person obtaining a copy @@ -23,7 +23,7 @@ % OR OTHER DEALINGS IN THE SOFTWARE. -\ProvidesPackage{autopuncitems}[2022-01-18] +\ProvidesPackage{autopuncitems}[2022-01-30] \RequirePackage{luacode} \RequirePackage{etoolbox} @@ -40,6 +40,8 @@ \newcommand{\disableAPautopassnest}{\luadirect{autopuncitems.autopassnested = false}} \newcommand{\enableAPautopassnest}{\luadirect{autopuncitems.autopassnested = true}} +\newcommand{\disableAPprotectnest}{\luadirect{autopuncitems.skipnextprot = true}} +\newcommand{\enableAPprotectnest}{\luadirect{autopuncitems.skipnextprot = false}} \NewDocumentCommand{\setAPeach}{m m m}{\setAPdef{#1}\setAPseclast{#2}\setAPlast{#3}} % set each one, default, second last, last \NewDocumentCommand{\setAPall}{m}{\setAPdef{#1}\setAPseclast{#1}\setAPlast{#1}} % set all the same |