texlive[67958] Master/texmf-dist: expex-glossonly (17aug23)
commits+karl at tug.org
commits+karl at tug.org
Thu Aug 17 22:25:47 CEST 2023
Revision: 67958
http://tug.org/svn/texlive?view=revision&revision=67958
Author: karl
Date: 2023-08-17 22:25:47 +0200 (Thu, 17 Aug 2023)
Log Message:
-----------
expex-glossonly (17aug23)
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/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
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf
trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex
Modified: trunk/Master/texmf-dist/doc/latex/expex-glossonly/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/README.md 2023-08-17 20:25:28 UTC (rev 67957)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/README.md 2023-08-17 20:25:47 UTC (rev 67958)
@@ -1,9 +1,10 @@
# The `expex-glossonly` package
-`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.
+## Version 0.7 2023/08/17
+`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.
+
Copyright 2016-2023 by Alan Munn
This package may be distributed and/or modified under the
@@ -19,7 +20,7 @@
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.
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-08-17 20:25:28 UTC (rev 67957)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/expex-glossonly.tex 2023-08-17 20:25:47 UTC (rev 67958)
@@ -1,22 +1,17 @@
-% !TEX TS-program = pdflatexmk
-\def\EPGLversion{0.6}
-\def\EPGLdate{August 15, 2023}
+% !TEX TS-program = lualatexmk
+\def\EPGLversion{0.7}
+\def\EPGLdate{August 17, 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}}}
\date{Version \EPGLversion\\\EPGLdate}
-\usepackage[T1]{fontenc}
\usepackage[margin=1in,includefoot]{geometry}
\usepackage{titling}
-\usepackage[utf8]{inputenc}
\usepackage{array, booktabs, multicol, fancyhdr, xspace,tabularx}
\usepackage{enumitem}
\usepackage{fancyvrb,listings,url}
\usepackage[sf,compact]{titlesec}
-\usepackage[]{he-she}
-\usepackage{gb4e}
\usepackage[colorlinks=true]{hyperref}
-\noautomath
\DefineShortVerb{\|}
@@ -44,6 +39,7 @@
breakindent=1em,
xrightmargin=2.5em,
captionpos=t,
+ frame=tl,
language=TeX,
}
@@ -68,33 +64,132 @@
\maketitle
\thispagestyle{empty}
\renewcommand{\abstractname}{\sffamily Abstract}
-\abstract{\noindent\begin{quote}This is an experimental package which is designed to let \pkg{gb4e} and \pkg{linguex} package users use the advanced glossing capabilities of the very powerful ExPex package.\end{quote}}
+\abstract{\noindent\begin{quote}This is an experimental package which is designed to let \pkg{gb4e}, \pkg{linguex} and \pkg{covington} package users use the advanced glossing capabilities of the very powerful ExPex package.\end{quote}}
\section{Introduction}
-The ExPex package by John Frampton provides very fine-grained control over glossing and example formatting, including unlimited gloss lines and various ways of formatting multiline glosses. By contrast the \pkg{cgloss4e} glossing macros provided with both \pkg{gb4e} and \pkg{linguex}, although very capable at basic glossing, lack the degree of customization that is sometimes needed for more complex glossing.
+The ExPex package by John Frampton provides very fine-grained control over glossing and example formatting, including unlimited gloss lines and various ways of formatting multiline glosses. By contrast the \pkg{cgloss4e} glossing macros provided with both \pkg{gb4e} and \pkg{linguex}, and to some extent, the glossing macros of \pkg{covington} although very capable at basic glossing, lack the degree of customization that is sometimes needed for more complex glossing.
-On the other hand, for those users who have heavily invested in using either \pkg{gb4e} or \pkg{linguex}, shifting to ExPex can be quite daunting and burdensome, especially since the basic syntax of the examples is quite different.
+On the other hand, for those users who have heavily invested in using \pkg{gb4e}, \pkg{linguex}, or \pkg{covington}, shifting to ExPex can be quite daunting and burdensome, especially since the basic syntax of the examples is quite different.
-This package is an attempt to have the best of both worlds: it allows \pkg{gb4e} and \pkg{linguex} users to keep using those packages for basic example numbering and formatting, but also allows them to use the glossing macros that ExPex provides.
+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, and then load your favourite example numbering package. The \pkg{expex-glossonly} package must be loaded first.
+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 |{...}|.
-\begin{multicols}{2}
+\begin{table}
+\centering
+\caption{Package loading options}
+\begin{tabular}{l}
+\toprule
+\begin{lstlisting}[frame=none]
+\usepackage[gb4e]{expex-glossonly}
+\end{lstlisting}\\
+\begin{lstlisting}[frame=none]
+\usepackage[linguex]{expex-glossonly}
+\end{lstlisting}\\
+\begin{lstlisting}[frame=none]
+\usepackage[covington={<covington package options>}]{expex-glossonly}
+\end{lstlisting}\\
+\begin{lstlisting}[frame=none]
+\usepackage[gb4e-emulate]{expex-glossonly}
+\end{lstlisting}\\
+\bottomrule
+\end{tabular}
+\end{table}
+
+The package checks for which example numbering package you have loaded and then patches the main glossing macro in ExPex to adjust to the horizontal spacing parameters of the particular example package you loaded.
+
+It disables some incompatible commands from ExPex (specifically any commands that would introduce a numbered or lettered example, such as |\ex|, |\pex|, |\xe|) so you should not use them. Since it it is assumed that you will not be using ExPex for numbering, only for glosses, and parts of the ExPex code that deal with example numbering should be assumed not to work.
+
+The package does \emph{not} change the existing glossing macros of the base numbering package. This means that using the package does \emph{not} require you to use ExPex glossing macros for all your glossing. You can continue to use the glossing macros provided by the base numbering package. What this package does is \emph{extend} the capabilities of the base numbering package to allow you to use ExPex glosses as well as the regularly provided glossing facilities of the base package.
+\section{Examples}
+Here are some sample documents using the supported packages:
+
+\subsection{\pkg{gb4e}}
+\begin{quote}
\begin{lstlisting}
-\usepackage{expex-glossonly}
-\usepackage{gb4e}
+\documentclass{article}
+\usepackage[gb4e]{expex-glossonly}
+\usepackage{cgloss}
+\begin{document}
+
+\begin{exe}
+\ex
+\begin{xlist}
+\ex[*]{ This is a regular example.}
+\ex[]{\label{foo}
+ \begingl
+ \gla\rightcomment{(Hungarian)}János háza//
+ \glb John house.his//
+ \glft `John's house'//
+ \endgl
+}
+\ex[]{\gll János háza\\
+ John house\\\hfill(Hungarian)
+ \glt `John's house'
+ }
+\end{xlist}
+\end{exe}
+
+\end{document}
\end{lstlisting}
+\end{quote}
+\clearpage
+\subsection{\pkg{linguex}}
+\begin{quote}
\begin{lstlisting}
-\usepackage{expex-glossonly}
-\usepackage{linguex}
+\documentclass{article}
+
+\usepackage[linguex]{expex-glossonly}
+
+\begin{document}
+
+\ex.
+\a.
+ \begingl
+ \gla\rightcomment{(Hungarian)}János háza//
+ \glb John house.his//
+ \glft `John's house'//
+ \endgl
+\bg. János háza\\
+ John house.his\\
+ \glt `John's house'
+
+\end{document}
\end{lstlisting}
-\end{multicols}
+\end{quote}
+\subsection{\pkg{covington}}
+\begin{quote}
+\begin{lstlisting}
+\documentclass{article}
+\usepackage[covington]{expex-glossonly}
-The package checks for which example numbering package you have loaded (either \pkg{gb4e} or \pkg{linguex}) and then patches the main glossing macro in ExPex to adjust to the horizontal spacing parameters of the particular example package you loaded.
+\begin{document}
-It does nothing explicitly to disable incompatible commands from ExPex (specifically any commands that would introduce a numbered or lettered example, such as |\ex|, |\pex|, |\a|, etc.) so you should not use them. Some, such as |\ex| are redefined by \pkg{gb4e} and therefore the ExPex version of it will fail to work. For this reason, you need to make sure to load the \pkg{expex-glossonly} package \emph{before} you load \pkg{gb4e} or \pkg{linguex}
-\section{Bugs}
-This is \emph{experimental} and has not been extensively tested. Use at your own risk. You're welcome to contact me with problems as they arise, however.
+\begin{examples}
+\item An example
+\item Another example
+\end{examples}
+\begin{subexamples}
+\item
+ \begingl
+ \gla\rightcomment{(Hungarian)}János háza//
+ \glb John house.his//
+ \glft `John's house'//
+ \endgl
+\item \digloss{János háza}[(Hungarian)]
+ {John house.his}
+ {`John's house}
+\end{subexamples}
+\end{document}
+\end{lstlisting}
+\end{quote}
+
+\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}.
+\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
Added: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf 2023-08-17 20:25:28 UTC (rev 67957)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf 2023-08-17 20:25:47 UTC (rev 67958)
Property changes on: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex 2023-08-17 20:25:47 UTC (rev 67958)
@@ -0,0 +1,20 @@
+\documentclass{article}
+\usepackage[covington]{expex-glossonly}
+
+\begin{document}
+
+\begin{examples}
+\item An example
+\item Another example
+\end{examples}
+\begin{subexamples}
+\item \begingl
+ \gla\rightcomment{(Hungarian)}János háza//
+ \glb John house.his//
+ \glft `John's house'//
+ \endgl
+\item \digloss{János háza}[(Hungarian)]
+ {John house.his}
+ {`John's house}
+\end{subexamples}
+\end{document}
Property changes on: trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/covington-expex.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
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-08-17 20:25:28 UTC (rev 67957)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/gb4e-expex.tex 2023-08-17 20:25:47 UTC (rev 67958)
@@ -1,48 +1,24 @@
\documentclass[12pt,letterpaper]{article}
-
-\usepackage{expex-glossonly}
-\usepackage{amssymb}
-\usepackage{gb4e}
-%\usepackage{cgloss}
-
-
-\lingset{everygla={\leftmargin=2in}, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex} % gloss formatting
-
-
+\usepackage[gb4e]{expex-glossonly}
+\usepackage{cgloss}
\begin{document}
\begin{exe}
+\ex
+\begin{xlist}
\ex[*]{ This is a regular example.}
-\ex[*]{\label{foo}
+\ex[]{\label{foo}
\begingl
- \glpreamble This is a preamble sentence.//
- \gla\rightcomment{\small\checkmark X}J\'anos h\'aza//
- \glb\rightcomment{\small\checkmark X}John house.his//
+ \gla\rightcomment{(Hungarian)}János háza//
+ \glb John house.his//
\glft `John's house'//
\endgl
}
-\ex This is another example.
+\ex[]{\gll János háza\\
+ John house\\\hfill(Hungarian)
+ \glt `John's house'
+ }
+\end{xlist}
\end{exe}
-\begin{exe}
-\ex\label{bar}
-\begin{xlist}
-\ex \begingl
- \gla\rightcomment{\small\checkmark X}J\'anos h\'aza//
- \glb\rightcomment{\small\checkmark X}John house.his//
- \glft `John's house'//
- \endgl
-\ex \begingl
- \gla\rightcomment{\small\checkmark X}J\'anos h\'aza//
- \glb\rightcomment{\small\checkmark X}John house.his//
- \glft `John's house'//
- \endgl
-\end{xlist}
-\ex
-\begin{xlist}
-\ex An example\setcounter{xnumi}{0}
-\ex Another example.
-\end{xlist}
-\end{exe}
-
\end{document}
\ No newline at end of file
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-08-17 20:25:28 UTC (rev 67957)
+++ trunk/Master/texmf-dist/doc/latex/expex-glossonly/testfiles/linguex-expex.tex 2023-08-17 20:25:47 UTC (rev 67958)
@@ -1,33 +1,18 @@
\documentclass[12pt,letterpaper]{article}
-\usepackage{expex-glossonly}
-\usepackage{amssymb}
-\usepackage{linguex}
-\usepackage{cgloss}
+\usepackage[linguex]{expex-glossonly}
-\lingset{everygla={\leftmargin=2in}, belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex} % gloss formatting
-\makeatletter
-
\begin{document}
-\ex. \ag. The boy didn't kiss the girl \\
-D boy AUX.NEG kiss D girl \\ \hfill {\small\checkmark X}
-\trans `The boy did not kiss the girl'. \hfill {\small\checkmark X}
-
\ex.
\a.
\begingl
- \gla\rightcomment{\small\checkmark X}J\'anos h\'aza//
- \glb\rightcomment{\small\checkmark X}John house.his//
+ \gla\rightcomment{(Hungarian)}J\'anos h\'aza//
+ \glb John house.his//
\glft `John's house'//
\endgl
-\b. This is another example.
+\bg. János háza\\
+ John house.his\\
+ \glt `John's house'
-\ex.\begingl
- \gla\rightcomment{\small\checkmark X}J\'anos h\'aza//
- \glb\rightcomment{\small\checkmark X}John house.his//
- \glft `John's house'//
- \endgl
-
-
\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-08-17 20:25:28 UTC (rev 67957)
+++ trunk/Master/texmf-dist/tex/latex/expex-glossonly/expex-glossonly.sty 2023-08-17 20:25:47 UTC (rev 67958)
@@ -1,10 +1,10 @@
-\def\EPGL at version{0.6}
-\def\EPGL at date{2023/08/15}
+\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.
%
-% Copyright 2016 by Alan Munn
+% Copyright 2016-2023 by Alan Munn
%
% This package may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -23,13 +23,15 @@
%
% This package is currently experimental. Use at your own risk.
%
-\ProvidesPackage{expex-glossonly}[\EPGL at date\ Compatibility package for using ExPex glosses with gb4e and linguex v. \EPGL at version ]
-\DeclareOption*{\PackageWarning{expex-glossonly}{Unknown option `\CurrentOption`}}
-\ProcessOptions
+\ProvidesPackage{expex-glossonly}[\EPGL at date\ Compatibility package for using ExPex glosses with other example packages v. \EPGL at version ]
\RequirePackage{calc}
\RequirePackage{expex}
-% First define a command to patch the ExPex main gloss command
-% Need to find out if other gloss commands need to be patched.
+\newif\ifEPGL at examplesloaded
+\@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.
+\newcommand\EPGL at setglossmargin{\setlength{\leftskip}{\@totalleftmargin}}
\def\EPGL at patchexpexgloss{%
\let\xe\relax
\let\pex\relax
@@ -64,34 +66,48 @@
\let\everylist=\empty
\let\colorlist=\empty
}}
-% First check to see whether we are loaded first
-% Since there is some overlap in commands, gb4e and linguex must be loaded second
-\@ifpackageloaded{linguex}{\PackageError{expex-glossonly}{Please load expex-glossonly BEFORE linguex}{Please load expex-glossonly BEFORE linguex}}{}
-\@ifpackageloaded{gb4e}{\PackageError{expex-glossonly}{Please load expex-glossonly BEFORE gb4e}{Please load expex-glossonly BEFORE gb4e}}{}
-% Now only patch the command if the packages have been loaded
-% This means that the package will do no harm if loaded by itself
-\AtBeginDocument{%
-\@ifpackageloaded{linguex}{
- \def\EPGL at setglossmargin{%
- \ifnum\theExDepth=1%
- \setlength{\leftskip}{\Exindent+\Exlabelsep+\Exlabelwidth+.5em}
- \else
- \setlength{\leftskip}{\Exindent+\Exlabelsep+\Exlabelwidth+\SubExleftmargin+.5em}
- \fi}
- \EPGL at patchexpexgloss
- \PackageInfo{expex-glossonly}{Patching ExPex for use with linguex}
- \typeout{Patching ExPex for use with linguex}
+\DeclareKeys[expex-glossonly]
+{
+gb4e.code = {
+ \RequirePackage{gb4e}
+ \EPGL at examplesloadedtrue
+ \EPGL at patchexpexgloss
+ \lingset{belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex,everygla=\eachwordone}
+ \PackageInfo{expex-glossonly}{Patching ExPex for use with gb4e}
+ \typeout{Patching ExPex for use with gb4e}
+ },
+gb4e-emulate.code = {
+ \RequirePackage{gb4e-emulate}
+ \EPGL at examplesloadedtrue
+ \EPGL at patchexpexgloss
+ \lingset{belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex,everygla=\eachwordone}
+ \PackageInfo{expex-glossonly}{Patching ExPex for use with gb4e}
+ \typeout{Patching ExPex for use with gb4e}
+},
+linguex.code = {
+ \RequirePackage{linguex}
+ \EPGL at examplesloadedtrue
+ \EPGL at patchexpexgloss
+ \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}
+},
+covington.code = {
+ \PassOptionsToPackage{covington}{#1}
+ \let\ex\relax
+ \RequirePackage{covington}
+ \EPGL at examplesloadedtrue
+ \EPGL at patchexpexgloss
+ \newcommand*{\EPGL at glosslineone}{%
+ \@ifundefined{glosslineone at global}{\glosslineone}{\glosslineone at global}}
+ \lingset{belowglpreambleskip=-0.5ex, aboveglftskip=-0.5ex,everygla=\EPGL at glosslineone}
+ \PackageInfo{expex-glossonly}{Patching ExPex for use with covington}
+ \typeout{Patching ExPex for use with covington}
}
-{\@ifpackageloaded{gb4e}{
- \def\EPGL at setglossmargin{%
- \ifnum\@xnumdepth=1%
- \setlength{\leftskip}{\leftmargin+\widthof{\@exwidth}+1em}
- \else
- \setlength{\leftskip}{\leftmargin+\labelwidth+\labelsep+1.5em}
- \fi}
- \EPGL at patchexpexgloss
- \PackageInfo{expex-glossonly}{Patching ExPex for use with gb4e}
- \typeout{Patching ExPex for use with gb4e}
-}{}}
}
+\DeclareUnknownKeyHandler[expex-glossonly]{\PackageError{expex-glossonly}{Please specify which example package you are using as a package option!}{Please specify which example package you are using as a package option!}}
+
+\ProcessKeyOptions[expex-glossonly]
+\ifEPGL at examplesloaded\else\PackageWarning{expex-glossonly}{No example package specified! Assuming ExPex}\fi
+
\endinput
\ No newline at end of file
More information about the tex-live-commits
mailing list.