summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/luaquotes
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-08-29 03:03:22 +0000
committerNorbert Preining <norbert@preining.info>2022-08-29 03:03:22 +0000
commit7608bc5b1a3303bcbcbc8f677d3562d6da3a9674 (patch)
tree04fad0d685ea6e04508a3f8ef63e6202f3002a53 /macros/luatex/latex/luaquotes
parentf54e9b3848627e535e145072d7461612bb183c0d (diff)
CTAN sync 202208290303
Diffstat (limited to 'macros/luatex/latex/luaquotes')
-rw-r--r--macros/luatex/latex/luaquotes/README6
-rw-r--r--macros/luatex/latex/luaquotes/luaquotes-documentation.pdfbin106000 -> 106072 bytes
-rw-r--r--macros/luatex/latex/luaquotes/luaquotes-documentation.tex37
-rw-r--r--macros/luatex/latex/luaquotes/luaquotes.sty12
4 files changed, 26 insertions, 29 deletions
diff --git a/macros/luatex/latex/luaquotes/README b/macros/luatex/latex/luaquotes/README
index b4e06d6d0c..d63430075b 100644
--- a/macros/luatex/latex/luaquotes/README
+++ b/macros/luatex/latex/luaquotes/README
@@ -1,6 +1,6 @@
luaquotes - smart quotes with lua
-version: 1.0.0
+version: 1.0.1
This package automatically creates smart quotes using lua filters and provides auxiliary commands for typesetting specific lua punctuation
@@ -11,4 +11,6 @@ LaTeX Project Public License (LPPL), version 1.3 or later.
For suggestions, feature requests, and bug reports, please use the project's
GitHub site: https://github.com/ezgranet/luaquotes
-Version history: 24/08/2022 —package creation
+Version history:
+28/08/2022—resolving bug with language versions
+24/08/2022 —package creation
diff --git a/macros/luatex/latex/luaquotes/luaquotes-documentation.pdf b/macros/luatex/latex/luaquotes/luaquotes-documentation.pdf
index 6383205e0a..cd0dbc092b 100644
--- a/macros/luatex/latex/luaquotes/luaquotes-documentation.pdf
+++ b/macros/luatex/latex/luaquotes/luaquotes-documentation.pdf
Binary files differ
diff --git a/macros/luatex/latex/luaquotes/luaquotes-documentation.tex b/macros/luatex/latex/luaquotes/luaquotes-documentation.tex
index f6cbf32a17..f06a12e25c 100644
--- a/macros/luatex/latex/luaquotes/luaquotes-documentation.tex
+++ b/macros/luatex/latex/luaquotes/luaquotes-documentation.tex
@@ -255,7 +255,7 @@ breaklines,
firstnumber=last
]
{latex}
-\def\luaquotesversionnumber{1.0.0}
+\def\luaquotesversionnumber{1.0.1}
\ProvidesPackage{luaquotes}
[2022/08/01\luaquotesversionnumber smart quotes with lua]
% !TeX program = lualatex
@@ -703,12 +703,15 @@ firstnumber=last
]
{latex}
- \DeclareOption{en}{
-
-\AtBeginDocument{\smartquotes}
-\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}}\dumbquotes #1}}
-
+ \DeclareOption{en}{
+\AtBeginDocument{
+\frsmartquotes
+\frdumbquotes
+\desmartquotes
+\dedumbquotes\smartquotes}
+\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}} #1}}
}
+
\end{minted}
\subsection{Auxiliary punctuation}
\begin{minted}[
@@ -1057,18 +1060,13 @@ firstnumber=last
}}
\newcommand{\desmartquotes}{\dedoublequoteson
\desinglequotelinestarton
-\desinglequoteson
\desinglequotescloseon}
\newcommand{\dedumbquotes}{\dedoublequotesoff
\desinglequotelinestartoff
-\desinglequotesoff
\desinglequotescloseoff}
\DeclareOption{de}{
-
\AtBeginDocument{\desmartquotes}
-\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}}\dedumbquotes #1}}
-
-
+\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}} #1}}
}
\end{minted}
\subsection{The French option}
@@ -1344,16 +1342,14 @@ firstnumber=last
]
{latex}
}}
- \newcommand{\frsmartquotes}{\frdoublequoteson
\frsinglequotelinestarton
\frsinglequotescloseon}
\newcommand{\frdumbquotes}{\frdoublequotesoff
\frsinglequotelinestartoff
-\frsinglequotescloseoff} \DeclareOption{fr}{
-
-\AtBeginDocument{\frsmartquotes}
-\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}}\frdumbquotes #1}}
-
+\frsinglequotescloseoff}
+ \DeclareOption{fr}{
+\AtBeginDocument{\desmartquotes\dedumbquotes\smartquotes\dumbquotes\frsmartquotes}
+\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}} #1}}
}
\end{minted}
@@ -1380,6 +1376,11 @@ firstnumber=last
\end{minted}
\section{Version History}
+\subsection{\texttt{1.0.1}}
+
+\ttfamily 28 August 2022: Change bug preventing non-English usage
+
+
\subsection{\texttt{1.0.0}}
\ttfamily 21 August 2022: Package creation
diff --git a/macros/luatex/latex/luaquotes/luaquotes.sty b/macros/luatex/latex/luaquotes/luaquotes.sty
index f753df8183..954891af13 100644
--- a/macros/luatex/latex/luaquotes/luaquotes.sty
+++ b/macros/luatex/latex/luaquotes/luaquotes.sty
@@ -1,4 +1,4 @@
-\def\luaquotesversionnumber{1.0.0}
+\def\luaquotesversionnumber{1.0.1}
\ProvidesPackage{luaquotes}
[2022/08/01\luaquotesversionnumber smart quotes with lua]
% !TeX program = lualatex
@@ -136,7 +136,7 @@ luatexbase.add_to_callback (
\singlequotesoff}
\DeclareOption{en}{
-\AtBeginDocument{\smartquotes}
+\AtBeginDocument{\frsmartquotes\frdumbquotes\desmartquotes\dedumbquotes\smartquotes}
\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}} #1}}
}
@@ -240,18 +240,13 @@ return ( s:gsub ( " '(..-)'", " ‚\%1`" ) )
"process_input_buffer" , "desinglequotesclose" )}}
\newcommand{\desmartquotes}{\dedoublequoteson
\desinglequotelinestarton
-\desinglequoteson
\desinglequotescloseon}
\newcommand{\dedumbquotes}{\dedoublequotesoff
\desinglequotelinestartoff
-\desinglequotesoff
\desinglequotescloseoff}
\DeclareOption{de}{
-
\AtBeginDocument{\desmartquotes}
\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}} #1}}
-
-
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -291,8 +286,7 @@ return ( s:gsub ( " '(..-)'", " ‹\\,\%1\\,›" ) )
\frsinglequotelinestartoff
\frsinglequotescloseoff}
\DeclareOption{fr}{
-
-\AtBeginDocument{\frsmartquotes}
+\AtBeginDocument{\desmartquotes\dedumbquotes\smartquotes\dumbquotes\frsmartquotes}
\renewcommand{\texttt}[1]{{\ttfamily\addfontfeature{RawFeature={+qtbye,-tlig}} #1}}