summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-12 20:34:57 +0000
committerKarl Berry <karl@freefriends.org>2022-03-12 20:34:57 +0000
commit59ff8f4e94052fa74de0630c02c6f72099e9f60b (patch)
treeab4cf2aea3187d5b6007d6d30380efdd025bf586 /Master/texmf-dist/tex/latex/projlib/projlib-language.sty
parent3b77cea124ec726fae82ebc0edaffbc909bae368 (diff)
projlib (12mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62662 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/projlib/projlib-language.sty')
-rw-r--r--Master/texmf-dist/tex/latex/projlib/projlib-language.sty27
1 files changed, 19 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/projlib/projlib-language.sty b/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
index 4a67c6a018e..df1df41fd72 100644
--- a/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
+++ b/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
@@ -1,8 +1,25 @@
+%%
+%% This is file `projlib-language.sty',
+%% generated with the docstrip utility.
+
+%% Copyright (C) 2021-2022 by Jinwen XU
+%%
+%% This is part of the ProjLib Toolkit.
+%%
+%% This work may be distributed and/or modified under the conditions of the
+%% LaTeX Project Public License, either version 1.3c of this license or (at
+%% your option) any later version. The latest version of this license is in
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3c or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
\NeedsTeXFormat{LaTeX2e}[2020-10-01]
\RequirePackage{l3keys2e}
\ProvidesExplPackage
{projlib-language}
- {2022/03/09} {}
+ {2022/03/11} {}
{Multi-language configuration}
\clist_const:Nn \c__projlib_language_supported_clist
@@ -126,7 +143,6 @@
}
}
-
\cs_new:Nn \projlib_language_str_to_languagename:n
{
\str_case_e:nnF { \str_foldcase:n { #1 } }
@@ -220,7 +236,6 @@
\PassOptionsToPackage { italian, brazilian, spanish, ngerman, french, english } { cleveref }
\RequirePackage { babel }
-
\bool_if:NT \g__projlib_language_enabled_french_bool
{
\frenchsetup { PartNameFull = false }
@@ -248,7 +263,6 @@
\babelprovide { schinese }
\babelprovide { tchinese }
-
\NewCommandCopy \projlib_language_backup_today:n \today
\tl_new:N \g_projlib_language_settings_common_tl
@@ -356,7 +370,7 @@
\NewDocumentCommand \AddLanguageSetting { O{} m }
{
- \IfNoValueTF { #1 }
+ \tl_if_empty:nTF { #1 }
{
\tl_gput_right:Nn \g_projlib_language_settings_common_tl { #2 }
}
@@ -365,7 +379,6 @@
}
}
-
\RequirePackage { setspace }
\tl_new:N \g_projlib_language_linespacing_latin_tl
@@ -446,7 +459,6 @@
\use:c { projlib_language_set_ #1 _ #2 :n } { #3 }
}
-
\cs_new:Nn \projlib_language_use_language_pure:n
{
\tl_use:c { g_projlib_language_settings_ \projlib_language_str_to_languagename:n { #1 } _tl }
@@ -478,7 +490,6 @@
\UseLanguage { \g__projlib_language_main_str }
-
\cs_new:Nn \projlib_langauge_define_multilingual_text:Nn
{ % #1 = command name (with backslash)
% #2 = key-value name configuration