From eee0486028e19b1d58793de8ee749af0e2a981bd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 19 Feb 2018 23:40:59 +0000 Subject: babel-latvian (19feb18) git-svn-id: svn://tug.org/texlive/trunk@46681 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/babel-latvian/README | 17 --------- .../texmf-dist/doc/generic/babel-latvian/README.md | 21 +++++++++++ .../doc/generic/babel-latvian/latvian.pdf | Bin 244868 -> 267036 bytes .../source/generic/babel-latvian/latvian.dtx | 41 ++++++++++++--------- .../tex/generic/babel-latvian/latvian.ldf | 9 +---- 5 files changed, 47 insertions(+), 41 deletions(-) delete mode 100644 Master/texmf-dist/doc/generic/babel-latvian/README create mode 100644 Master/texmf-dist/doc/generic/babel-latvian/README.md diff --git a/Master/texmf-dist/doc/generic/babel-latvian/README b/Master/texmf-dist/doc/generic/babel-latvian/README deleted file mode 100644 index 774c66a355e..00000000000 --- a/Master/texmf-dist/doc/generic/babel-latvian/README +++ /dev/null @@ -1,17 +0,0 @@ -Latvian 2.0 ------------- - -This is the babel style for Latvian. It bears the version number 2.0 -because there were a 1.x, by Andris Lasis. Version 2.0 is heavily -based on the latter. - -Changes 2.0 ------------ -* UTF-8 encoded strings for XeTeX and LuaTeX -* Modififier t1composite, which redefines some T1 'composite commands' - related to the cedilla. -* The manual describes how to deal with the ligature fi and - how to disable the = shorthand. - ----------- -2014-06-23 \ No newline at end of file diff --git a/Master/texmf-dist/doc/generic/babel-latvian/README.md b/Master/texmf-dist/doc/generic/babel-latvian/README.md new file mode 100644 index 00000000000..dc9d7d99e91 --- /dev/null +++ b/Master/texmf-dist/doc/generic/babel-latvian/README.md @@ -0,0 +1,21 @@ +## Latvian 2.0b + +This is the babel style for Latvian. It bears the version number 2.0 +because there were a 1.x, by Andris Lasis. Version 2.0 is heavily +based on the latter. + +### Changes 2.0b + +``` +* Fix - Extra space was inserted by \extraslatvian +``` + +### Changes 2.0a + +``` +* UTF-8 encoded strings for XeTeX and LuaTeX +* Modififier t1composite, which redefines some T1 'composite commands' + related to the cedilla. +``` + +2018-02-19 \ No newline at end of file diff --git a/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf b/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf index 54ee1ddd4fd..fce2fa13956 100644 Binary files a/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf and b/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf differ diff --git a/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx b/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx index 5fb085db0fd..82c44e2980b 100644 --- a/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx +++ b/Master/texmf-dist/source/generic/babel-latvian/latvian.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1999 - 2000 Andris Lasis, 2014 Javier Bezos and any +% Copyright 1999 - 2000 Andris Lasis, 2014-2018 Javier Bezos and any % individual authors listed elsewhere in this file. All rights % reserved. % @@ -38,7 +38,7 @@ %\ProvidesLanguage{latvian} % \fi % \ProvidesLanguage{latvian} - [2014/06/23 v2.0a Latvian support from the babel system] + [2018/02/19 v2.0b Latvian support from the babel system] % \iffalse %<*filedriver> \documentclass{ltxdoc} @@ -58,7 +58,7 @@ % \section{The Latvian Language} % % The file \textsf{latvian.ldf}\footnote{The file described in this -% section has version number 2.0a and was last revised on 2014/06/23.} +% section has version number 2.0a and was last revised on 2018/02/19.} % defines the language definition macros for the Latvian language. It % is heavily based on the work by Andris Lasis, and this file just % cleans the code up and adapts it to babel 3.9. @@ -72,14 +72,26 @@ % % Actually, you can use the |T1| encoding, but hyphenation will not be % correct, and oddly it doesn't work with \textsf{inputenc} and |utf8| -% (future releases will fix this issue). If |T1| is used, you must -% load \textsf{fontenc} before \textsf{babel} and set the modifier +% (future releases will fix this issue), except if you request the +% |L7x| encoding before |T1| (this is, of course, just a trick, which +% may not work; note some fonts render macron-i with the dot, because +% |l7xenc.def| defines it as |\=i|). If |T1| is used, you must load +% \textsf{fontenc} before \textsf{babel} and set the modifier % |t1composite| (because it redefines some `composite commands' which -% may affect other languages): -% \begin{verbatim} -% \usepackage[T1]{fontenc} -% \usepackage[latvian.t1composite]{babel} -% \end{verbatim} +% may affect other languages). A complete example is: +%\begin{verbatim} +%\documentclass{article} +%\usepackage[utf8]{inputenc} +%\usepackage[L7x,T1]{fontenc} +%\usepackage{combelow} % Optional, see below +%\usepackage[latvian.t1composite]{babel} +%\usepackage{fourier} +% +%\begin{document} +%Aa, Āā, Bb, Cc, Čč, Dd, Ee, Ēē, Ff, Gg, Ģģ, Hh, Ii, Īī, Jj, Kk, Ķķ, +%Ll, Ļļ, Mm, Nn, Ņņ, Oo, Pp, Rr, Ss, Šš, Tt, Uu, Ūū, Vv, Zz, Žž +%\end{document} +%\end{verbatim} % By loading also the package \textsf{combelow} you get much better % results (it is detected automatically), but you should use |T1| only % as a last resort and only for small chuncks of Latvian text. |OT1| @@ -328,7 +340,7 @@ \def\@alph#1{% \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or m\or n\or o\or p\or r\or s\or t\or u\or v\or - z\else\@ctrerr\fi} + z\else\@ctrerr\fi}% \babel@save\@Alph \def\@Alph#1{% \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or K\or @@ -444,9 +456,4 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -%% - -%% Local Variables: -%% mode: doctex -%% coding: utf-8 -%% End: +%% diff --git a/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf b/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf index 7040470b916..9f516acf0e1 100644 --- a/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf +++ b/Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf @@ -37,7 +37,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesLanguage{latvian} - [2014/06/23 v2.0a Latvian support from the babel system] + [2018/02/19 v2.0b Latvian support from the babel system] \LdfInit{latvian}\captionslatvian \ifx\l@latvian\@undefined \@nopatterns{Latvian} @@ -217,7 +217,7 @@ \def\@alph#1{% \ifcase#1\or a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or m\or n\or o\or p\or r\or s\or t\or u\or v\or - z\else\@ctrerr\fi} + z\else\@ctrerr\fi}% \babel@save\@Alph \def\@Alph#1{% \ifcase#1\or A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or K\or @@ -324,11 +324,6 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% - -%% Local Variables: -%% mode: doctex -%% coding: utf-8 -%% End: \endinput %% %% End of file `latvian.ldf'. -- cgit v1.2.3