diff options
author | Karl Berry <karl@freefriends.org> | 2023-01-09 20:54:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-01-09 20:54:34 +0000 |
commit | 6765573f62c535e246af27267f48930d18213488 (patch) | |
tree | dc8bfd79dc4b1240fe1581f3f6ae9503b90bd18c /Master/texmf-dist/tex | |
parent | 83070525e62cd21cef534ac382c246a3d78a9e90 (diff) |
langnames (9jan23)
git-svn-id: svn://tug.org/texlive/trunk@65502 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/langnames/langnames.sty | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/langnames/langnames.sty b/Master/texmf-dist/tex/latex/langnames/langnames.sty index d3027ffe262..7d13928e444 100644 --- a/Master/texmf-dist/tex/latex/langnames/langnames.sty +++ b/Master/texmf-dist/tex/latex/langnames/langnames.sty @@ -6,7 +6,7 @@ %% %% langnames.dtx (with options: `package') %% This is a generated file. -%% Copyright (C) 2022 by Alejandro García Matarredona +%% Copyright (C) 2022, 2023 Alejandro García Matarredona, निरंजन %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3 of this license or (at your option) any later @@ -15,28 +15,25 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. \ProvidesPackage{langnames} - [2022/09/05 v2.0 langnames package for naming and classification of languages] -\usepackage{expkv-opt,expkv-def} -\ekvdefinekeys{langnames}{% - noval glottolog = {% - \def\langnames@cs@prefix{glottolog}% - \input{ln_langs_glot.tex}% - \input{ln_fams_glot.tex}% - },% - noval wals = {% - \def\langnames@cs@prefix{wals}% - \input{ln_langs_wals.tex}% - \input{ln_fams_wals.tex}% - },% - noval none = {% - \def\langnames@cs@prefix{none}% - },% - noval native = {% - \input{ln_langs_wals_native.tex}% - \input{ln_langs_glot_native.tex}% - }% + [2023/01/04 v2.1 langnames package for naming and classification of languages] +\DeclareOption{glottolog}{% + \def\langnames@cs@prefix{glottolog}% + \input{ln_langs_glot.tex}% + \input{ln_fams_glot.tex}% +} +\DeclareOption{wals}{% + \def\langnames@cs@prefix{wals}% + \input{ln_langs_wals.tex}% + \input{ln_fams_wals.tex}% +} +\DeclareOption{none}{% + \def\langnames@cs@prefix{none}% +} +\DeclareOption{native}{% + \input{ln_langs_wals_native.tex}% + \input{ln_langs_glot_native.tex}% } -\ekvoProcessLocalOptions{langnames} +\ProcessOptions\relax \newcommand*{\lname}[1]{% {% \csname langnames@langs@\langnames@cs@prefix @#1\endcsname |