summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-13 22:33:12 +0000
committerKarl Berry <karl@freefriends.org>2012-04-13 22:33:12 +0000
commit8caa587276d90d4b13a7ce24f6d6f0bb8aee98fc (patch)
tree373094f3801c51367d0dce7ecc1b1f76e6081156 /Master
parent623c812ad9f18e80cd3ca0032ec3ec4187202593 (diff)
new babel-contrib package romansh (13apr12)
git-svn-id: svn://tug.org/texlive/trunk@25956 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/romansh/romansh.pdfbin0 -> 111436 bytes
-rw-r--r--Master/texmf-dist/source/latex/romansh/romansh.dtx206
-rw-r--r--Master/texmf-dist/tex/latex/romansh/romansh.ldf48
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check4
-rw-r--r--Master/tlpkg/tlpsrc/collection-langother.tlpsrc8
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/romansh.tlpsrc0
7 files changed, 261 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/romansh/romansh.pdf b/Master/texmf-dist/doc/latex/romansh/romansh.pdf
new file mode 100644
index 00000000000..e0abff810c7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/romansh/romansh.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/romansh/romansh.dtx b/Master/texmf-dist/source/latex/romansh/romansh.dtx
new file mode 100644
index 00000000000..fa1843c1db3
--- /dev/null
+++ b/Master/texmf-dist/source/latex/romansh/romansh.dtx
@@ -0,0 +1,206 @@
+% \iffalse meta-comment
+%
+% Copyright 1989-2009 Johannes L. Braams and any individual authors
+% listed elsewhere in this file. All rights reserved.
+%
+% This file is part of 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 Johannes Braams.
+%
+% The list of all files belonging to the Babel system is
+% given in the file `manifest.bbl. See also `legal.bbl' for additional
+% information.
+%
+% 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.
+% \fi
+% \CheckSum{0}
+% \iffalse
+% Tell the \LaTeX\ system who we are and write an entry on the
+% transcript.
+%<*dtx>
+\ProvidesFile{romansh.dtx}
+%</dtx>
+%<code>\ProvidesLanguage{romansh}
+%\fi
+%\ProvidesFile{romansh.dtx}
+ [2012/01/13 v1.0 Romansh support from the babel system]
+%\iffalse
+%% Babel package for LaTeX version 2e
+%% Copyright (C) 1989 -- 2012
+%% by Johannes Braams, TeXniek
+%
+%% Please report errors to: J.L. Braams
+%% babel at braams.xs4all.nl
+% Claudio Beccari
+% claudio dot beccari at gmail.com
+%
+% This file is part of the babel system, it provides the source code for
+% the Romansh language definition file.
+%<*filedriver>
+\documentclass{ltxdoc}
+\newcommand*{\TeXhax}{\TeX hax}
+\newcommand*{\babel}{\textsf{babel}}
+\newcommand*{\langvar}{$\langle \mathit lang \rangle$}
+\newcommand*{\note}[1]{}
+\newcommand*{\Lopt}[1]{\textsf{#1}}
+\newcommand*{\file}[1]{\texttt{#1}}
+\begin{document}
+ \DocInput{romansh.dtx}
+\end{document}
+%</filedriver>
+%\fi
+% \GetFileInfo{romansh.dtx}
+% \section{The Romansh language}
+% The file \file{\filename}\footnote{The file described in this
+% section has version number \fileversion\ and was last revised on
+% \filedate.} defines all the language definition macros for the
+% Romansh language. Here the language name Romansh refers itself to
+% the official language Rumantsch Grischun used in Switzerland as
+% the formal language used by the Federal offices for its communications
+% with the Romansh speakers, mostly living in Chantun Grischun. Actually
+% the Romansh speakers us one of seven Romansh dialects, but they can
+% understand each other in spate of certain differences in wording and
+% spelling. The Official Rumantsch Grischun has been developed as a
+% unifying language, with no doubts in the written form, hopefully also
+% in the spoken one.
+%
+% \StopEventually{}
+%
+% The macro |\LdfInit| takes care of preventing that this file is
+% loaded more than once, checking the category code of the
+% \texttt{@} sign, etc.
+%<*code>
+% \begin{macrocode}
+\LdfInit{romansh}{captionsromansh}%
+% \end{macrocode}
+%
+% When this file is read as an option, i.e. by the |\usepackage|
+% command, \texttt{romansh} could be an `unknown' language in
+% which case we have to make it known. So we check for the
+% existence of |\l@romansh| to see whether we have to do
+% something here.
+%
+% \begin{macrocode}
+\ifx\l@romansh\@undefined
+ \@nopatterns{romansh}%
+ \ifx\l@italian\@undefined
+ \adddialect\l@romansh0\else
+ \adddialect\l@romansh\l@italian\fi\fi
+% \end{macrocode}
+% \begin{macro}{\romanshhyphenmins}
+% This macro is used to store the correct values of the hyphenation
+% parameters |\lefthyphenmin| and |\righthyphenmin|.
+% \begin{macrocode}
+\providehyphenmins{romansh}{\tw@\tw@}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\captionsromansh}
+% The macro |\captionsromansh| defines all strings used in the
+% four standard documentclasses provided with \LaTeX.
+% \begin{macrocode}
+\addto\captionsromansh{%
+ \def\prefacename{Prefaziun}%
+ \def\refname{Bibliografia}%
+ \def\abstractname{Recapitulaziun}%
+ \def\bibname{Index bibliografic}%
+ \def\chaptername{Chapitel}%
+ \def\appendixname{Appendix}%
+ \def\contentsname{Tavla dal cuntegn}%
+ \def\listfigurename{Tavla da las figuras}%
+ \def\listtablename{Tavla da las tabellas}%
+ \def\indexname{Register da materias}% Index?
+ \def\figurename{Figura}%
+ \def\tablename{Tabella}%
+ \def\partname{Part}%
+ \def\enclname{Agiunta(s)}%
+ \def\ccname{Copia a}%
+ \def\headtoname{A}%
+ \def\pagename{pagina}%
+ \def\seename{vesair }%
+ \def\alsoname{vesair era}%
+ \def\proofname{Demonstraziun}%
+ \def\glossaryname{Glossari}%
+ }%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\dateromansh}
+% The macro |\dateromansh| redefines the command |\today| to
+% produce Romansh dates.
+% \begin{macrocode}
+\def\dateromansh{%
+ \def\today{\ifcase\day\or 1.\else ils~\number\day\fi~da~%
+ \ifcase\month\or
+ schaner\or favrer\or mars\or avrigl\or matg\or zercladur\or
+ fanadur\or avust\or settember\or october\or november\or
+ december\fi\space \number\year}}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\extrasromansh}
+% \begin{macro}{\noextrasromansh}
+% The macro |\extrasromansh| will perform all the extra
+% definitions needed for the Romansh language. The macro
+% |\noextrasromansh| is used to cancel the actions of
+% |\extrasromansh|.
+%
+% \begin{macrocode}
+\addto\extrasromansh{%
+ \babel@savevariable\clubpenalty
+ \babel@savevariable\widowpenalty
+ \babel@savevariable\@clubpenalty
+ \clubpenalty3000\widowpenalty3000\@clubpenalty\clubpenalty}%
+\addto\extrasromansh{%
+ \babel@savevariable\finalhyphendemerits
+ \finalhyphendemerits50000000}%
+\addto\extrasromansh{%
+ \lccode`'=`' }%
+\addto\noextrasromansh{%
+ \lccode`'=0 }%
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% The macro |\ldf@finish| takes care of looking for a
+% configuration file, setting the main language to be switched on
+% at |\begin{document}| and resetting the category code of
+% \texttt{@} to its original value.
+% \begin{macrocode}
+\ldf@finish{romansh}
+\endinput
+%</code>
+% \end{macrocode}
+%
+% \Finale
+%\endinput
+%% \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 \~}
+%% \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/romansh/romansh.ldf b/Master/texmf-dist/tex/latex/romansh/romansh.ldf
new file mode 100644
index 00000000000..d015fcde266
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/romansh/romansh.ldf
@@ -0,0 +1,48 @@
+\LdfInit{romansh}{captionsromansh}%
+\ifx\l@romansh\@undefined
+ \@nopatterns{romansh}%
+ \adddialect\l@romansh\l@italian\fi
+\addto\captionsromansh{%
+ \def\prefacename{Prefaziun}%
+ \def\refname{Bibliografia}%
+ \def\abstractname{Recapitulaziun}%
+ \def\bibname{Index bibliografic}%
+ \def\chaptername{Chapitel}%
+ \def\appendixname{Appendix}%
+ \def\contentsname{Tavla dal cuntegn}%
+ \def\listfigurename{Tavla da las figuras}%
+ \def\listtablename{Tavla da las tabellas}%
+ \def\indexname{Register da materias}% Index?
+ \def\figurename{Figura}%
+ \def\tablename{Tabella}%
+ \def\partname{Part}%
+ \def\enclname{Agiunta(s)}%
+ \def\ccname{Copia a}%
+ \def\headtoname{A}%
+ \def\pagename{pagina}%
+ \def\seename{vesair }%
+ \def\alsoname{vesair era}%
+ \def\proofname{Demonstraziun}%
+ \def\glossaryname{Glossari}%
+ }%
+\def\dateromansh{%
+ \def\today{\ifcase\day\or il 1.\else ils~\number\day\fi~da~%
+ \ifcase\month\or
+ schaner\or favrer\or mars\or avrigl\or matg\or zercladur\or
+ fanadur\or avust\or settember\or october\or november\or
+ december\fi\space \number\year}}%
+\providehyphenmins{\CurrentOption}{\tw@\tw@}
+\addto\extrasromansh{%
+ \babel@savevariable\clubpenalty
+ \babel@savevariable\widowpenalty
+ \babel@savevariable\@clubpenalty
+ \clubpenalty3000\widowpenalty3000\@clubpenalty\clubpenalty}%
+\addto\extrasromansh{%
+ \babel@savevariable\finalhyphendemerits
+ \finalhyphendemerits50000000}%
+\addto\extrasromansh{%
+ \lccode`'=`' }%
+\addto\noextrasromansh{%
+ \lccode`'=0 }%
+\ldf@finish{romansh}%
+\endinput
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 6a7faff7b4e..b34cbe0da69 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -342,8 +342,8 @@ my @TLP_working = qw(
refcheck refman refstyle regcount register regstats
relenc relsize reotex repeatindex resumemac reverxii revtex
rjlparshap rlepsf rmpage
- robustcommand robustindex romanbar romande romanneg romannum rotating
- rotfloat rotpages
+ robustcommand robustindex romanbar romande romanneg romannum romansh
+ rotating rotfloat rotpages
roundbox rsc rsfs rsfso
rtkinenc rtklage russ rviewport rvwrite ryethesis
sageep sansmath sapthesis sasnrdisplay sauerj sauterfonts
diff --git a/Master/tlpkg/tlpsrc/collection-langother.tlpsrc b/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
index 04a63070936..e3b92ea20f4 100644
--- a/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-langother.tlpsrc
@@ -2,10 +2,10 @@ category Collection
shortdesc Other hyphenation patterns
longdesc Hyphenation patterns for languages without (much) other support.
#
-# coptic, serbian, maybe others actually do have extra packages
-# (cbcoptic, serbian-lig, and serbianc -- all in collection-latextra
-# now), but I just didn't want to split them off into tiny collections
-# of their own. Maybe another time. --karl
+# Some actually do have extra packages (cbcoptic, friulan, romansh,
+# serbian-lig, serbianc, maybe others -- all in collection-latextra at
+# present), but I just didn't want to split them off into tiny
+# collections of their own. Maybe another time. --karl
#
depend hyphen-afrikaans
depend hyphen-armenian
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 92d471b5fe6..141493f0e8d 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -609,6 +609,7 @@ depend robustindex
depend romanbar
depend romanneg
depend romannum
+depend romansh
depend rotfloat
depend rotpages
depend rtkinenc
diff --git a/Master/tlpkg/tlpsrc/romansh.tlpsrc b/Master/tlpkg/tlpsrc/romansh.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/romansh.tlpsrc