diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-07 22:26:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-07 22:26:04 +0000 |
commit | 6953d3f313105939fb304b84eb198555da3d0561 (patch) | |
tree | 0c9ef356bf5d344e75dbf4d1880cee2c72342d0a /Master/texmf-dist/tex/latex/babel-lithuanian | |
parent | 4694c41d247cd22c40af769f132c8242b7f199a2 (diff) |
babel-lithuanian (7mar23) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66452 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/babel-lithuanian')
-rw-r--r-- | Master/texmf-dist/tex/latex/babel-lithuanian/lithuanian.ldf | 190 |
1 files changed, 190 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/babel-lithuanian/lithuanian.ldf b/Master/texmf-dist/tex/latex/babel-lithuanian/lithuanian.ldf new file mode 100644 index 00000000000..44069f2f391 --- /dev/null +++ b/Master/texmf-dist/tex/latex/babel-lithuanian/lithuanian.ldf @@ -0,0 +1,190 @@ +%% +%% This is file `lithuanian.ldf', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% babel-lithuanian.dtx (with options: `code') +%% This is a generated file. +%% +%% Copyright 2023 Sigitas Tolušis and any individual authors +%% listed elsewhere in this file. All rights reserved. +%% +%% This file is intended to be used with the Babel system. +%% ------------------------------------------------------ +%% +%% It 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 version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Sigitas Tolušis. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. + +\ProvidesLanguage{lithuanian} + [2023/03/07 v1.0 Lithuanian support from the babel system] +\LdfInit{lithuanian}\captionslithuanian +\ifx\undefined\l@lithuanian + \@nopatterns{Lithuanian} + \adddialect\l@lithuanian0 +\fi + +\providehyphenmins{lithuanian}{\tw@\tw@} + +\StartBabelCommands*{lithuanian}{captions} + [unicode, charset=utf8, fontenc=TU EU1 EU2] + + \SetString\prefacename{Pratarmė} + \SetString\refname{Literatūra} + \SetString\abstractname{Santrauka} + \SetString\bibname{Literatūra} + \SetString\chaptername{skyrius} + \SetString\appendixname{Priedas} + \SetString\contentsname{Turinys} + \SetString\listfigurename{Iliustracijų sąrašas} + \SetString\listtablename{Lentelių sąrašas} + \SetString\indexname{Rodyklė} + \SetString\figurename{pav.} + \SetString\tablename{lentelė} + \SetString\partname{Dalis} + \SetString\enclname{Įdėta} + \SetString\ccname{Kopijos} + \SetString\headtoname{Kam} + \SetString\pagename{puslapis} + \SetString\seename{žiūrėk}%% žr. + \SetString\alsoname{taip pat}%% ten pat, tas pat + \SetString\proofname{Įrodymas} + \SetString\glossaryname{Terminų žodynas} + +\StartBabelCommands*{lithuanian}{captions} + + \SetString\prefacename{Pratarm\.e} + \SetString\refname{Literat\=ura} + \SetString\abstractname{Santrauka} + \SetString\bibname{Literat\=ura} + \SetString\chaptername{skyrius} + \SetString\appendixname{Priedas} + \SetString\contentsname{Turinys} + \SetString\listfigurename{Iliustracij\k{u} s\k{a}ra\v{s}as} + \SetString\listtablename{Lenteli\k{u} s\k{a}ra\v{s}as} + \SetString\indexname{Rodykl\.e} + \SetString\figurename{pav.} + \SetString\tablename{lentel\.e} + \SetString\partname{Dalis} + \SetString\enclname{\k{I}d\.eta} + \SetString\ccname{Kopijos} + \SetString\headtoname{Kam} + \SetString\pagename{puslapis} + \SetString\seename{\v{z}i\=ur\.ek}%% \v{z}.r. + \SetString\alsoname{taip pat}%% ten pat, tas pat + \SetString\proofname{\k{I}rodymas} + \SetString\glossaryname{Termin\k{u} \v{z}odynas}% + +\StartBabelCommands*{lithuanian}{date} + [unicode, charset=utf8, fontenc=TU EU1 EU2] + + \SetStringLoop{month#1lithuanian}{% + sausio,vasario,kovo,balandžio,gegužės,birželio,% + liepos,rugpjūčio,rugsėjo,spalio,lapkričio,gruodžio% + } + +\StartBabelCommands*{lithuanian}{date} + + \SetStringLoop{month#1lithuanian}{% + sausio,vasario,kovo,baland\v{z}io,gegu\v{z}\.es,bir\v{z}elio,% + liepos,rugpj\=u\v{c}io,rugs\.ejo,spalio,lapkri\v{c}io,gruod\v{z}io% + } + +\SetString\today{% + \number\year~m.% + ~\csname month\romannumeral\month lithuanian\endcsname + ~\number\day~d.% + } + +\StartBabelCommands{lithuanian}{}[l7xenc, fontenc=L7x] + + \SetCase{% + \uccode"E0="C0\relax % ąĄ + \uccode"E8="C8\relax % čČ + \uccode"E6="C6\relax % ęĘ + \uccode"EB="CB\relax % ėĖ + \uccode"E1="C1\relax % įĮ + \uccode"F0="D0\relax % šŠ + \uccode"F8="D8\relax % ųŲ + \uccode"FB="DB\relax % ūŪ + \uccode"FE="DE\relax % žŽ + }{% + \lccode"C0="E0\relax % Ąą + \lccode"C8="E8\relax % Čč + \lccode"C6="E6\relax % Ęę + \lccode"CB="EB\relax % Ėė + \lccode"C1="E1\relax % Įį + \lccode"D0="F0\relax % Šš + \lccode"D8="F8\relax % Ųų + \lccode"DB="FB\relax % Ūū + \lccode"DE="FE\relax % Žž + } + +\StartBabelCommands{lithuanian}{}[unicode, fontenc=TU EU1 EU2, charset=utf8] + + \SetCase{% + \uccode`ą=`Ą\relax + \uccode`č=`Č\relax + \uccode`ę=`Ę\relax + \uccode`ė=`Ė\relax + \uccode`į=`Į\relax + \uccode`š=`Š\relax + \uccode`ų=`Ų\relax + \uccode`ū=`Ū\relax + \uccode`ž=`Ž\relax + }{% + \lccode`Ą=`ą\relax + \lccode`Č=`č\relax + \lccode`Ę=`ę\relax + \lccode`Ė=`ė\relax + \lccode`Į=`į\relax + \lccode`Š=`š\relax + \lccode`Ų=`ų\relax + \lccode`Ū=`ū\relax + \lccode`Ž=`ž\relax + } + +\EndBabelCommands + +\addto\extraslithuanian{% + \babel@save\fnum@figure + \def\fnum@figure{\thefigure\nobreakspace\figurename}% + \babel@save\fnum@table + \def\fnum@table{\thetable\nobreakspace\tablename}% + } +\addto\noextraslithuanian{} + +\ldf@finish{lithuanian} + +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput +%% +%% End of file `lithuanian.ldf'. |