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 --- .../source/generic/babel-latvian/latvian.dtx | 41 +++++++++++++--------- 1 file changed, 24 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/source') 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: +%% -- cgit v1.2.3