summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-24 20:39:56 +0000
committerKarl Berry <karl@freefriends.org>2022-11-24 20:39:56 +0000
commit044a16fa1e3ace15f8b9b8df0515a3f780f94978 (patch)
tree71c8f17dbb24082f0a9b92fcd2ca48808dcdb694 /Master
parentb020be45a1707a13bbd46e48edc392e60d96dcb8 (diff)
luaquotes (24nov22)
git-svn-id: svn://tug.org/texlive/trunk@65098 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/lualatex/luaquotes/README5
-rw-r--r--Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.pdfbin110367 -> 111052 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex39
-rw-r--r--Master/texmf-dist/tex/lualatex/luaquotes/luaquotes.sty30
4 files changed, 37 insertions, 37 deletions
diff --git a/Master/texmf-dist/doc/lualatex/luaquotes/README b/Master/texmf-dist/doc/lualatex/luaquotes/README
index 162a742f068..b4095e8a56c 100644
--- a/Master/texmf-dist/doc/lualatex/luaquotes/README
+++ b/Master/texmf-dist/doc/lualatex/luaquotes/README
@@ -1,17 +1,18 @@
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
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
diff --git a/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.pdf b/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.pdf
index 339ea92bb59..4d5e961eace 100644
--- a/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.pdf
+++ b/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex b/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex
index d5bf6ed5ef9..3a92f1df05e 100644
--- a/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex
+++ b/Master/texmf-dist/doc/lualatex/luaquotes/luaquotes-documentation.tex
@@ -93,9 +93,6 @@ The English features are designed to smartly recognise English punctuation:
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 @@ firstnumber=last
{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 @@ firstnumber=last
]
{latex}
}}
-\newcommand\abbrevsingleon{\directlua{
+%\newcommand\abbrevsingleon{\directlua{
\end{minted}
\begin{minted}[
frame=lines,
@@ -646,11 +643,11 @@ firstnumber=last
]
{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 @@ firstnumber=last
{latex}
- }}
-\newcommand\abbrevsingleoff{\directlua{
+% }}
+%\newcommand\abbrevsingleoff{\directlua{
\end{minted}
\begin{minted}[
frame=lines,
@@ -680,9 +677,9 @@ firstnumber=last
]
{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 @@ firstnumber=last
]
{latex}
- }}
+% }}
@@ -806,11 +803,11 @@ firstnumber=last
\newcommand{\smartquotes}{%
\doublequoteson%
\singlequotelinestarton%
-\abbrevsingleon%
+%\abbrevsingleon%
\singlequoteson}
\newcommand{\dumbquotes}{
\doublequotesoff
-\abbrevsingleoff
+%\abbrevsingleoff
\singlequotelinestartoff
\singlequotesoff}
\end{minted}
@@ -1505,6 +1502,8 @@ firstnumber=last
\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
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}