summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/generic/babel-latvian/README.md (renamed from Master/texmf-dist/doc/generic/babel-latvian/README)20
-rw-r--r--Master/texmf-dist/doc/generic/babel-latvian/latvian.pdfbin244868 -> 267036 bytes
-rw-r--r--Master/texmf-dist/source/generic/babel-latvian/latvian.dtx41
-rw-r--r--Master/texmf-dist/tex/generic/babel-latvian/latvian.ldf9
4 files changed, 38 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-latvian/README b/Master/texmf-dist/doc/generic/babel-latvian/README.md
index 774c66a355e..dc9d7d99e91 100644
--- a/Master/texmf-dist/doc/generic/babel-latvian/README
+++ b/Master/texmf-dist/doc/generic/babel-latvian/README.md
@@ -1,17 +1,21 @@
-Latvian 2.0
-------------
+## 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.0
------------
+### 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.
-* 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
+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
--- a/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf
+++ b/Master/texmf-dist/doc/generic/babel-latvian/latvian.pdf
Binary files 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 @@
%<code>\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'.