texlive[75060] Master: langsci-avm (29apr25)

commits+karl at tug.org commits+karl at tug.org
Tue Apr 29 21:50:41 CEST 2025


Revision: 75060
          https://tug.org/svn/texlive?view=revision&revision=75060
Author:   karl
Date:     2025-04-29 21:50:41 +0200 (Tue, 29 Apr 2025)
Log Message:
-----------
langsci-avm (29apr25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/langsci-avm/README
    trunk/Master/texmf-dist/doc/latex/langsci-avm/langsci-avm.pdf
    trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.dtx
    trunk/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty
    trunk/Master/tlpkg/libexec/ctan2tds

Removed Paths:
-------------
    trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.ins

Modified: trunk/Master/texmf-dist/doc/latex/langsci-avm/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/langsci-avm/README	2025-04-29 19:47:32 UTC (rev 75059)
+++ trunk/Master/texmf-dist/doc/latex/langsci-avm/README	2025-04-29 19:50:41 UTC (rev 75060)
@@ -6,7 +6,7 @@
 graphs and tree structures. The package serves the same purpose as, Christopher 
 Manning’s avm package, but shares no code base with that package.
 
-Copyright (C) 2023 by Felix Kopecky, Language Science Press
+Copyright (C) 2023-2025 Language Science Press
 
 This work consists of the file langsci-avm.dtx 
           and the derived file langsci-avm.pdf.
@@ -17,7 +17,7 @@
 of this license is at <http://www.latex-project.org/lppl.txt>.
 
 This work is ``maintained'' (per LPPL maintenance status) by
-Felix Kopecky <felix.kopecky at langsci-press.org>.
+Language Science Press <support at langsci-press.org>.
 
 The development version can be found at
 

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

Modified: trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.dtx	2025-04-29 19:47:32 UTC (rev 75059)
+++ trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.dtx	2025-04-29 19:50:41 UTC (rev 75060)
@@ -19,7 +19,7 @@
 graphs and tree structures. The package serves the same purpose as, Christopher 
 Manning’s avm package, but shares no code base with that package.
 
-Copyright (C) 2023 by Felix Kopecky, Language Science Press
+Copyright (C) 2023-2025 Language Science Press
 
 This work consists of the file langsci-avm.dtx 
           and the derived file langsci-avm.pdf.
@@ -30,7 +30,7 @@
 of this license is at <http://www.latex-project.org/lppl.txt>.
 
 This work is ``maintained'' (per LPPL maintenance status) by
-Felix Kopecky <felix.kopecky at langsci-press.org>.
+Language Science Press <support at langsci-press.org>.
 
 The development version can be found at
 
@@ -76,11 +76,11 @@
 %</driver>
 % \fi
 % \title{\pkg{langsci-avm}}
-% \author{Felix Kopecky\thanks{\protect\url{mailto:felix.kopecky at langsci-press.org}. 
+% \author{Felix Kopecky\thanks{%
 % 		Please submit bug reports and feature requests to
 % 		\protect\url{https://github.com/langsci/langsci-avm/issues}.
 % 	}}
-% \date{Version 0.3.0 -- \today}
+% \date{Version 0.4.0 -- \today}
 % \maketitle
 % \frenchspacing
 % \begin{documentation}
@@ -300,7 +300,7 @@
 % 
 % \section{AVM layout}\label{sec:options}
 % 
-% \subsection{Defining styles}
+% \subsection{Customisation and style definitions}
 % 
 % You can customise many aspects of how an AVM is printed, including the fonts or spacing between delimiters and content. You can apply them locally via the \oarg{options} of \cs{avm} or globally by using \cs{avmsetup}. And you can also define your own styles and use them via the \oarg{style = } option in \cs{avm}. 
 % 
@@ -356,6 +356,42 @@
 %   \item[|switch =| \meta{token} \hfill (initially |!|)] Define the escape token. Change this if you need to use ``!'' as a text glyph.
 %   \item[|customise = | \meta{settings} \hfill (initially empty)] An interface to input custom commands to be run at the beginning of every \cs{avm}.
 %   \end{description}
+%
+% \subsection{Local settings}
+% Settings can be applied locally by using the \env{scope} environment. Local settings will take effect for the next beginning structure.
+%
+% \begin{function}[added=2024-01-30]{scope}
+%   \begin{syntax}
+%     \cs{begin}\{scope\} \marg{options} \meta{...} \cs{end}\{scope\}
+%   \end{syntax}
+%   \marg{options} is a comma-separated list of |key=value| settings. See the list above for all user-configurable options.
+% \end{function}
+%
+%    The settings will take effect for all structures that \emph{begin} within a \env{scope} environment. That means that the behaviour of the currently active structure can not be changed with
+%    this environment.\bigskip\\
+% \noindent\begin{minipage}{.5\linewidth}
+% \begin{verbatim}
+% \avm{
+%   [
+%     [Hello & World]\\
+%     \begin{scope}{values=\bfseries}
+%       [Hello & World]
+%     \end{scope}
+%   ]
+% }
+% \end{verbatim}
+% \end{minipage}\begin{minipage}{.5\linewidth}
+% \centering
+% \avm{
+%   [
+%     [Hello & World]\\
+%     \begin{scope}{values=\bfseries}
+%       [Hello & World]
+%     \end{scope}
+%   ]
+% }
+% \end{minipage}
+%
 % 
 % \subsection{Drawing edges between AVM contents}
 % It is possible to make AVM contents available to \pkg{tikz}, so that they can be referenced in a \cmd{tikzpicture}. To enable this feature, \pkg{langsci-avm} has to be loaded with the option |[tikz]|:
@@ -671,7 +707,7 @@
 %
 %    \begin{macrocode}
 \ProvidesExplPackage {langsci-avm} 
-  {2023-02-20} {0.3.0}
+  {2025-04-29} {0.4.0}
   {AVMs and feature structures}
   
 \msg_new:nnnn {avm} {lfgoptionmissing}
@@ -1229,6 +1265,15 @@
             }  
         \coffin_typeset:Nnnnn \l_tmpb_coffin {l}{vc}{0pt}{0pt}
       }
+    \DeclareDocumentEnvironment{scope}{ +m }
+      {
+        \group_begin:
+        \keys_set:nn { avm } { ##1 }
+        \ignorespaces
+      }
+      {
+        \group_end:
+      }
 %    \end{macrocode}
 % The last of the bunch is only loaded if Ti\emph{k}Z is loaded as well:
 %    \begin{macrocode}

Deleted: trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.ins	2025-04-29 19:47:32 UTC (rev 75059)
+++ trunk/Master/texmf-dist/source/latex/langsci-avm/langsci-avm.ins	2025-04-29 19:50:41 UTC (rev 75060)
@@ -1,60 +0,0 @@
-%%
-%% This is file `langsci-avm.ins',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% langsci-avm.dtx  (with options: `install')
-%% 
-\input{l3docstrip.tex}
-\keepsilent
-\askforoverwritefalse
-\preamble
-------------------------------------------------------------------------------
-
-A package for typesetting feature structures, also known as attribute-value
-matrices (AVMs), for use in linguistics.
-
-The package provides a minimal and easy to read syntax. It depends only on the
-array package and can be placed almost everywhere, in particular in footnotes or
-graphs and tree structures. The package serves the same purpose as, Christopher
-Manning’s avm package, but shares no code base with that package.
-
-Copyright (C) 2023 by Felix Kopecky, Language Science Press
-
-This work consists of the file langsci-avm.dtx
-          and the derived file langsci-avm.pdf.
-
-It may be distributed and/or modified under the conditions of the
-LaTeX Project Public License (LPPL), either version 1.3c of this
-license or (at your option) any later version. The latest version
-of this license is at <http://www.latex-project.org/lppl.txt>.
-
-This work is ``maintained'' (per LPPL maintenance status) by
-Felix Kopecky <felix.kopecky at langsci-press.org>.
-
-The development version can be found at
-
-   https://github.com/langsci/langsci-avm
-
-for those people who are interested. Pull requests are welcome.
-
-Please report any bugs or feature requests to
-
-   https://github.com/langsci/langsci-avm/issues
-
-------------------------------------------------------------------------------
-\endpreamble
-\declarepreamble\minimalpreamble
-\endpreamble
-\postamble
-\endpostamble
-\usedir{tex/latex/langsci-avm}
-\generate{
-  \file{\jobname.sty}{\from{\jobname.dtx}{package}}
-}
-\endbatchfile
-
-%% 
-%%
-%% End of file `langsci-avm.ins'.

Modified: trunk/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty	2025-04-29 19:47:32 UTC (rev 75059)
+++ trunk/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty	2025-04-29 19:50:41 UTC (rev 75060)
@@ -15,7 +15,7 @@
 %% graphs and tree structures. The package serves the same purpose as, Christopher
 %% Manning’s avm package, but shares no code base with that package.
 %% 
-%% Copyright (C) 2023 by Felix Kopecky, Language Science Press
+%% Copyright (C) 2023-2025 Language Science Press
 %% 
 %% This work consists of the file langsci-avm.dtx
 %%           and the derived file langsci-avm.pdf.
@@ -26,7 +26,7 @@
 %% of this license is at <http://www.latex-project.org/lppl.txt>.
 %% 
 %% This work is ``maintained'' (per LPPL maintenance status) by
-%% Felix Kopecky <felix.kopecky at langsci-press.org>.
+%% Language Science Press <support at langsci-press.org>.
 %% 
 %% The development version can be found at
 %% 
@@ -42,7 +42,7 @@
 \RequirePackage{xparse}[2022/03/26]
 \RequirePackage{array}
 \ProvidesExplPackage {langsci-avm}
-  {2023-02-20} {0.3.0}
+  {2025-04-29} {0.4.0}
   {AVMs and feature structures}
 
 \msg_new:nnnn {avm} {lfgoptionmissing}
@@ -522,6 +522,15 @@
             }
         \coffin_typeset:Nnnnn \l_tmpb_coffin {l}{vc}{0pt}{0pt}
       }
+    \DeclareDocumentEnvironment{scope}{ +m }
+      {
+        \group_begin:
+        \keys_set:nn { avm } { ##1 }
+        \ignorespaces
+      }
+      {
+        \group_end:
+      }
     \bool_if:NT \l__avm_tikz_bool
       {
         \tl_if_eq:VnTF \l__avm_picture_name_tl {automatic}

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2025-04-29 19:47:32 UTC (rev 75059)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2025-04-29 19:50:41 UTC (rev 75060)
@@ -3423,6 +3423,7 @@
  'kvoptions'	=> 'etex',
  'kvsetkeys'	=> 'etex',
  'labelcas'     => 'latex',  # requires interaction
+ 'langsci-avm'	=> 'pdflatex-preserve-pdf --engine xelatex',
  'lastpage'     => 'tex',
  'latex-veryshortguide' => 'latex',  # requires interaction
  'lcd'          => 'latex -translate-file=empty.tcx',   # no 8-bit



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