texlive[68860] Master/texmf-dist: expex-glossonly (15nov23)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 15 22:08:26 CET 2023


Revision: 68860
          https://tug.org/svn/texlive?view=revision&revision=68860
Author:   karl
Date:     2023-11-15 22:08:26 +0100 (Wed, 15 Nov 2023)
Log Message:
-----------
expex-glossonly (15nov23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/README.md
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/expex-glossonly.pdf
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/expex-glossonly.tex
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.pdf
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.tex
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/linguex-expex.pdf
    trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/linguex-expex.tex
    trunk/Master/texmf-dist/tex/latex/expex-glossonly/expex-glossonly.sty

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/README.md	2023-11-15 21:07:21 UTC (rev 68859)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/README.md	2023-11-15 21:08:26 UTC (rev 68860)
@@ -1,6 +1,6 @@
 # The `expex-glossonly` package
 
-## Version 0.7 2023/08/17
+## Version 0.8 2023/11/15
 
 `expex-glossonly` is a package which allows users of other popular example numbering package (`gb4e`, `linguex`, and `covington`) to use the glossing macros
 of the ExPex package, while still using the standard example and subexample numbering macros of those respective packages.

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/expex-glossonly.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/expex-glossonly.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/expex-glossonly.tex	2023-11-15 21:07:21 UTC (rev 68859)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/expex-glossonly.tex	2023-11-15 21:08:26 UTC (rev 68860)
@@ -1,11 +1,13 @@
 % !TEX TS-program = lualatexmk
-\def\EPGLversion{0.7}
-\def\EPGLdate{August 17, 2023}
+\def\EPGLversion{0.8}
+\def\EPGLdate{November 15, 2023}
 \documentclass[11pt]{article}
 \title{\textbf{The \textsf{expex-glossonly} package}}
-\author{\textbf{Alan Munn}\\Department of Linguistics and Languages\\Michigan State University\\\texttt{\href{mailto:amunn at msu.edu}{amunn at msu.edu}}}
+\author{\textbf{Alan Munn}\\Department of Linguistics, Languages, and Cultures\\Michigan State University\\\texttt{\href{mailto:amunn at msu.edu}{amunn at msu.edu}}}
 \date{Version \EPGLversion\\\EPGLdate}
 \usepackage[margin=1in,includefoot]{geometry}
+\usepackage{fontspec}
+\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
 \usepackage{titling}
 \usepackage{array, booktabs, multicol, fancyhdr, xspace,tabularx}
 \usepackage{enumitem}
@@ -17,21 +19,11 @@
 \DefineShortVerb{\|}
 \newcommand*\bs{\textbackslash}
 
-\IfFileExists{luximono.sty}%
-{%
-  \usepackage[scaled]{luximono}%
-}
-{%
-  \IfFileExists{beramono.sty}%
-  {%
-    \usepackage[scaled]{beramono}%
-  }{}
-}
-
   
 \lstset{%
     basicstyle=\ttfamily\small,
     commentstyle=\itshape\ttfamily\small,
+    keywordstyle={},
     showspaces=false,
     showstringspaces=false,
     breaklines=true,
@@ -73,7 +65,7 @@
 This package is an attempt to have the best of both worlds: it allows \pkg{gb4e}, \pkg{linguex}, or \pkg{covington} users to keep using those packages for basic example numbering and formatting, but also allows them to use the glossing macros that ExPex provides.
 
 \section{Package usage}
-Usage of the package is simple: simply load it instead of your usual example numbering package, and specify as a package option which numbering package you're using. So for example. Four example numbering packages are currently supported: \pkg{gb4e}, \pkg{linguex}, \pkg{covington}, and \pkg{gb4e-emulate}. The latter is an experimental reimplementation of \pkg{gb4e} using \pkg{enumitem} and is not currently released to CTAN, but available on GitHub.  Package options for loading \pkg{covington} can be given by adding them to the |covington| package option. Since they are an argument of the |covington| key, the set of options must be enclosed in |{...}|.
+Usage of the package is simple: simply load it instead of your usual example numbering package, and specify as a package option which numbering package you're using. So for example. Four example numbering packages are currently supported: \pkg{gb4e}, \pkg{linguex}, \pkg{covington}, and \pkg{gb4e-emulate}. The latter is an experimental reimplementation of \pkg{gb4e} using \pkg{enumitem} and is not currently released to CTAN, but available on \href{https://github.com/amunn/gb4e-emulate}{GitHub}.  Package options for loading \pkg{covington} can be given by adding them to the |covington| package option. Since they are an argument of the |covington| key, the set of options must be enclosed in |{...}|.
 
 \begin{table}
 \centering
@@ -152,7 +144,7 @@
     \endgl
 \bg. János háza\\
      John house.his\\
-     \glt `John's house'
+    `John's house'
 
 \end{document}
 \end{lstlisting}
@@ -189,7 +181,7 @@
 \section{Bugs and support}
 This is \emph{experimental} and has not been extensively tested. Use at your own risk. You're welcome to raise issues at the \href{https://github.com/amunn/expex-glossonly}{GitHub repository}, however.
 \section{Version history}
-The initial version of the package (0.6) supported only \pkg{linguex} and \pkg{gb4e}. Version 0.7 changed the loading interface to provide support for \pkg{covington} and added support for \pkg{gb4e-emulate}.
+The initial version of the package (0.6) supported only \pkg{linguex} and \pkg{gb4e}. Version 0.7 changed the loading interface to provide support for \pkg{covington} and added support for \pkg{gb4e-emulate}. Version 0.8 fixed fixed a spacing bug with grammaticality judgements in \pkg{linguex}.
 \section{Acknowledgements}
 As always, thanks to the members of the LaTeX development team and other users who are always happy to answer questions in the \href{https://tex.stackexchange.com}{TeX.se} chat room. Thanks especially to Ulrike Fischer who told me of the magical |\@totalleftmargin| length.  Thanks also to Jürgen Spitzmüller for discussion of the \pkg{covington} support.
 \end{document}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex	2023-11-15 21:07:21 UTC (rev 68859)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex	2023-11-15 21:08:26 UTC (rev 68860)
@@ -1,8 +1,9 @@
+% !TEX TS-program = LuaLaTeX
 \documentclass{article}
 \usepackage[covington]{expex-glossonly}
 
 \begin{document}
-
+% Examples here show a mixture of ExPex and covington glosses in the same example set.
 \begin{examples}
 \item An example
 \item Another example

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.tex	2023-11-15 21:07:21 UTC (rev 68859)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.tex	2023-11-15 21:08:26 UTC (rev 68860)
@@ -1,8 +1,10 @@
+% !TEX TS-program = LuaLaTeX
+
 \documentclass[12pt,letterpaper]{article}
 \usepackage[gb4e]{expex-glossonly}
 \usepackage{cgloss}
 \begin{document}
-
+% Examples here show a mixture of ExPex and gb4e glosses in the same example set.
 \begin{exe}
 \ex
 \begin{xlist}

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/linguex-expex.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/linguex-expex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/linguex-expex.tex	2023-11-15 21:07:21 UTC (rev 68859)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/linguex-expex.tex	2023-11-15 21:08:26 UTC (rev 68860)
@@ -1,18 +1,40 @@
+% !TEX TS-program = LuaLaTeX
+
 \documentclass[12pt,letterpaper]{article}
-
 \usepackage[linguex]{expex-glossonly}
 
 \begin{document}
+% Examples here show with and without grammaticality judgements.
+% Also a mixture of ExPex and linguex glossing in the same example set.
 
 \ex.
-\a.
+\a. *
 	\begingl
+    \gla J\'anos h\'aza//
+    \glb John house.his//
+    \glft `John's house'//
+    \endgl
+\bg. János háza\\
+     John house.his\\
+    `John's house'
+     
+\ex. ?*
+	\begingl
     \gla\rightcomment{(Hungarian)}J\'anos h\'aza//
     \glb John house.his//
     \glft `John's house'//
     \endgl
+
+\ex.
+\a. 
+	\begingl
+    \gla J\'anos h\'aza//
+    \glb John house.his//
+    \glft `John's house'//
+    \endgl
 \bg. János háza\\
      John house.his\\
-     \glt `John's house'
+      `John's house'
 
+
 \end{document}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/expex-glossonly/expex-glossonly.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/expex-glossonly/expex-glossonly.sty	2023-11-15 21:07:21 UTC (rev 68859)
+++ trunk/Master/texmf-dist/tex/latex/expex-glossonly/expex-glossonly.sty	2023-11-15 21:08:26 UTC (rev 68860)
@@ -1,8 +1,8 @@
-\def\EPGL at version{0.7}
-\def\EPGL at date{2023/08/17}
-% expex-glossonly is a package which allows gb4e and linguex users to use the glossing macros
-% of the ExPex package, while still using the standard example and subexample numbering macros of
-% those respective packages.
+\def\EPGL at version{0.8}
+\def\EPGL at date{2023/11/15}
+% expex-glossonly is a package which allows gb4e and linguex and covington users to use
+% the glossing macros  of the ExPex package, while still using the standard example and
+% subexample numbering macros of those respective packages.
 %
 % Copyright 2016-2023 by Alan Munn
 %
@@ -19,7 +19,8 @@
 % The Current Maintainer of this package is Alan Munn.
 %
 % This package consists of the file expex-glossonly.sty and documentation files
-% expex-glossonly.tex and expex-glossonly.pdf plus two test files: gb4e-expex.tex and linguex-expex.tex
+% expex-glossonly.tex and expex-glossonly.pdf plus three test files:
+% gb4e-expex.tex, linguex-expex.tex, and covington-expex.tex
 %
 % This package is currently experimental. Use at your own risk.
 %
@@ -30,7 +31,7 @@
 \@ifpackageloaded{linguex}{\PackageError{expex-glossonly}{Please load linguex using the package option!}{Please load linguex using the package option!}}{}
 \@ifpackageloaded{gb4e}{\PackageError{expex-glossonly}{Please load gb4e using the package option!}{Please load gb4e using the package option!}}{}
 \@ifpackageloaded{covington}{\PackageError{expex-glossonly}{Please load covington using the package option!}{Please load covington using the package option!}}{}
-% for now this is a separate macro in case it needs to be changed per package.
+% This is a separate macro because it needs to be changed per package.
 \newcommand\EPGL at setglossmargin{\setlength{\leftskip}{\@totalleftmargin}}
 \def\EPGL at patchexpexgloss{%
   \let\xe\relax
@@ -88,6 +89,7 @@
 	\RequirePackage{linguex}
 	\EPGL at examplesloadedtrue
     \EPGL at patchexpexgloss
+    \def\printGramm{\makebox[0pt][r]{\normalfont\the\CollectTokens}\renewcommand\EPGL at setglossmargin{\setlength{\leftskip}{0pt}}\ignorespaces}
     \lingset{belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex,everygla=\eachwordone}
     \PackageInfo{expex-glossonly}{Patching ExPex for use with linguex}
     \typeout{Patching ExPex for use with linguex}



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