texlive[65098] Master/texmf-dist: luaquotes (24nov22)

commits+karl at tug.org commits+karl at tug.org
Thu Nov 24 21:39:56 CET 2022


Revision: 65098
          http://tug.org/svn/texlive?view=revision&revision=65098
Author:   karl
Date:     2022-11-24 21:39:56 +0100 (Thu, 24 Nov 2022)
Log Message:
-----------
luaquotes (24nov22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/luaquotes/README
    trunk/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.pdf
    trunk/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex
    trunk/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty

Modified: trunk/Master/texmf-dist/doc/lualatex/luaquotes/README
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luaquotes/README	2022-11-24 20:39:43 UTC (rev 65097)
+++ trunk/Master/texmf-dist/doc/lualatex/luaquotes/README	2022-11-24 20:39:56 UTC (rev 65098)
@@ -1,11 +1,11 @@
 luaquotes - smart quotes with lua
 
-version: 1.1.0
+version: 1.2.1
 
 This package automatically creates smart quotes using lua filters and provides auxiliary commands for typesetting specific lua punctuation
 
 This work may be distributed and/or modified under the conditions of the
-LaTeX Project Public License (LPPL), version 1.3 or later. 
+LaTeX Project Public License (LPPL), version 1.3c or later. 
 
 
 For suggestions, feature requests, and bug reports, please use the project's
@@ -12,6 +12,7 @@
 GitHub site:  https://github.com/ezgranet/luaquotes
 
 Version history: 
+23/11/2022-walking back automatic elision for now
 25/10/2022—support for elision
 30/08/2022—resolving bug with language versions
 28/08/2022—resolving bug with language versions

Modified: trunk/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex	2022-11-24 20:39:43 UTC (rev 65097)
+++ trunk/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex	2022-11-24 20:39:56 UTC (rev 65098)
@@ -93,9 +93,6 @@
 Single Quotes& \LARGE\texttt{'Hello!'}%
 &  \LARGE 'Hello' \\
 Contractions & \LARGE \texttt{Don't} & \LARGE Don't\\
-Elision & \LARGE\texttt{'ello} & \LARGE 'ello  \\
-
-
 \end{tabular}
 \end{center}
 
@@ -509,9 +506,9 @@
 {lua}
 
  
-function abbrevsingle ( s )
-           return ( s:gsub ( " '(..-) " , " ’\%1 " ) )
-         end
+%function abbrevsingle ( s )
+%           return ( s:gsub ( " '(..-) " , " ’\%1 " ) )
+%         end
          \end{minted}
     \begin{minted}[
 frame=lines,
@@ -632,7 +629,7 @@
 ]
 {latex}
 }}
-\newcommand\abbrevsingleon{\directlua{
+%\newcommand\abbrevsingleon{\directlua{
    \end{minted} 
     \begin{minted}[
 frame=lines,
@@ -646,11 +643,11 @@
 ]
 {lua}
 
-
-luatexbase.add_to_callback (
-   "process_input_buffer" , 
-   abbrevsingle , 
-   "abbrevsingle" )
+%
+%luatexbase.add_to_callback (
+%   "process_input_buffer" , 
+%   abbrevsingle , 
+%   "abbrevsingle" )
      \end{minted}
   \begin{minted}[
 frame=lines,
@@ -665,8 +662,8 @@
 {latex}
 
    
-   }}
-\newcommand\abbrevsingleoff{\directlua{
+%   }}
+%\newcommand\abbrevsingleoff{\directlua{
    \end{minted} 
     \begin{minted}[
 frame=lines,
@@ -680,9 +677,9 @@
 ]
 {lua}
 
-luatexbase.remove_from_callback (
-   "process_input_buffer" , 
-   "abbrevsingle" )
+%luatexbase.remove_from_callback (
+%   "process_input_buffer" , 
+%   "abbrevsingle" )
      \end{minted}
   \begin{minted}[
 frame=lines,
@@ -696,7 +693,7 @@
 ]
 {latex}
 
-   }}
+%   }}
 
 
 
@@ -806,11 +803,11 @@
    \newcommand{\smartquotes}{%
 \doublequoteson%
 \singlequotelinestarton%
-\abbrevsingleon%
+%\abbrevsingleon%
 \singlequoteson}
    \newcommand{\dumbquotes}{
    \doublequotesoff
-\abbrevsingleoff
+%\abbrevsingleoff
    \singlequotelinestartoff
    \singlequotesoff}
     \end{minted} 
@@ -1505,6 +1502,8 @@
 
 \end{minted}
 \section{Version History}
+\subsection{\normalfont\texttt{1.2.1}}
+\ttfamily Suspended automatic elision support due to implementation issues
 
 \subsection{\normalfont\texttt{1.1.0}}
 \ttfamily 25 October 2022: Added support for elision

Modified: trunk/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty	2022-11-24 20:39:43 UTC (rev 65097)
+++ trunk/Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty	2022-11-24 20:39:56 UTC (rev 65098)
@@ -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 @@
          
 
  
-\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 @@
 \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 @@
    \newcommand{\smartquotes}{%
 \doublequoteson%
 \singlequotelinestarton%
-\abbrevsingleon%
+% \abbrevsingleon%
 \singlequoteson}
    \newcommand{\dumbquotes}{
    \doublequotesoff
-\abbrevsingleoff
+% \abbrevsingleoff
    \singlequotelinestartoff
    \singlequotesoff}
    



More information about the tex-live-commits mailing list.