diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-24 20:39:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-24 20:39:56 +0000 |
commit | 044a16fa1e3ace15f8b9b8df0515a3f780f94978 (patch) | |
tree | 71c8f17dbb24082f0a9b92fcd2ca48808dcdb694 /Master/texmf-dist/tex/lualatex/luaquotes | |
parent | b020be45a1707a13bbd46e48edc392e60d96dcb8 (diff) |
luaquotes (24nov22)
git-svn-id: svn://tug.org/texlive/trunk@65098 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luaquotes')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty b/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty index 4889a3786b0..f26758b9092 100644 --- a/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty +++ b/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty @@ -1,6 +1,6 @@ -\def\luaquotesversionnumber{1.2.0} +\def\luaquotesversionnumber{1.2.1} \ProvidesPackage{luaquotes} - [2022/10/25\luaquotesversionnumber smart quotes with lua] + [2022/11/23\luaquotesversionnumber smart quotes with lua] % !TeX program = lualatex % !TeX encoding = utf8 % This work may be distributed and/or modified under the @@ -94,10 +94,10 @@ function doublequotes ( s ) -\luaexec{ -function abbrevsingle ( s ) - return ( s:gsub ( " '(..-) " , " ’\%1 " ) ) - end} +% \luaexec{ +% function abbrevsingle ( s ) +% return ( s:gsub ( " '(..-) " , " ’\%1 " ) ) +% end} \luaexec{function singlequotes ( s ) return ( s:gsub ( " '"," ‘" ) ) @@ -114,13 +114,13 @@ function abbrevsingle ( s ) \newcommand\doublequotesoff{\directlua{luatexbase.remove_from_callback ( "process_input_buffer" , "doublequotes" )}} -\newcommand\abbrevsingleon{\directlua{luatexbase.add_to_callback ( - "process_input_buffer" , - abbrevsingle , - "abbrevsingle" )}} -\newcommand\abbrevsingleoff{\directlua{luatexbase.remove_from_callback ( - "process_input_buffer" , - "abbrevsingle" )}} +% \newcommand\abbrevsingleon{\directlua{luatexbase.add_to_callback ( +% "process_input_buffer" , +% abbrevsingle , +% "abbrevsingle" )}} +% \newcommand\abbrevsingleoff{\directlua{luatexbase.remove_from_callback ( +% "process_input_buffer" , +% "abbrevsingle" )}} \newcommand\singlequotelinestarton{\directlua{ luatexbase.add_to_callback ( @@ -144,11 +144,11 @@ luatexbase.add_to_callback ( \newcommand{\smartquotes}{% \doublequoteson% \singlequotelinestarton% -\abbrevsingleon% +% \abbrevsingleon% \singlequoteson} \newcommand{\dumbquotes}{ \doublequotesoff -\abbrevsingleoff +% \abbrevsingleoff \singlequotelinestartoff \singlequotesoff} |