summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/babel-turkish
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-06 22:23:47 +0000
committerKarl Berry <karl@freefriends.org>2013-05-06 22:23:47 +0000
commit35048b6768253a239c8e00a385f4789ea4538a09 (patch)
tree1b2c293b3a710af8a065fe142129533ecee2075a /Master/texmf-dist/source/generic/babel-turkish
parent4f0c25c84e1d92a970395dc4e7da25717e1cc011 (diff)
babel-$ll (for 3.9a)
git-svn-id: svn://tug.org/texlive/trunk@30297 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/babel-turkish')
-rw-r--r--Master/texmf-dist/source/generic/babel-turkish/turkish.dtx309
-rw-r--r--Master/texmf-dist/source/generic/babel-turkish/turkish.ins148
2 files changed, 457 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/generic/babel-turkish/turkish.dtx b/Master/texmf-dist/source/generic/babel-turkish/turkish.dtx
new file mode 100644
index 00000000000..2ec69bc6bee
--- /dev/null
+++ b/Master/texmf-dist/source/generic/babel-turkish/turkish.dtx
@@ -0,0 +1,309 @@
+% \iffalse meta-comment
+%
+% Copyright 1989-2005 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{179}
+% \iffalse
+% Tell the \LaTeX\ system who we are and write an entry on the
+% transcript.
+%<*dtx>
+\ProvidesFile{turkish.dtx}
+%</dtx>
+%<code>\ProvidesLanguage{turkish}
+%\fi
+%\ProvidesFile{turkish.dtx}
+ [2005/03/31 v1.2m Turkish support from the babel system]
+%\iffalse
+%% File `turkish.dtx'
+%% Babel package for LaTeX version 2e
+%% Copyright (C) 1989 - 2005
+%% by Johannes Braams, TeXniek
+%
+%% Please report errors to: J.L. Braams
+%% babel at braams.cistron.nl
+%
+%% Turkish Language Definition File
+%% Copyright (C) 1994 - 2005
+%% by Mustafa Burc
+%% rz6001@rziris01.rrz.uni-hamburg.de
+%% (40) 2503476
+%
+% This file is part of the babel system, it provides the source
+% code for the Turkish language definition file.
+%<*filedriver>
+\documentclass{ltxdoc}
+\newcommand*\TeXhax{\TeX hax}
+\newcommand*\babel{\textsf{babel}}
+\newcommand*\langvar{$\langle \it lang \rangle$}
+\newcommand*\note[1]{}
+\newcommand*\Lopt[1]{\textsf{#1}}
+\newcommand*\file[1]{\texttt{#1}}
+\begin{document}
+ \DocInput{turkish.dtx}
+\end{document}
+%</filedriver>
+%\fi
+% \GetFileInfo{turkish.dtx}
+%
+% \changes{turkish-1.2}{1994/02/27}{Update for \LaTeXe}
+% \changes{turkish-1.2c}{1994/06/26}{Removed the use of \cs{filedate}
+% and moved identification after the loading of \file{babel.def}}
+% \changes{turkish-1.2h}{1996/07/13}{Replaced \cs{undefined} with
+% \cs{@undefined} and \cs{empty} with \cs{@empty} for consistency
+% with \LaTeX}
+% \changes{turkish-1.2i}{1996/10/10}{Moved the definition of
+% \cs{atcatcode} right to the beginning.}
+%
+% \section{The Turkish 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
+% Turkish language\footnote{Mustafa Burc,
+% \texttt{z6001@rziris01.rrz.uni-hamburg.de} provided the code for
+% this file. It is based on the work by Pierre Mackay; Turgut Uyar,
+% \texttt{uyar@cs.itu.edu.tr} supplied additional translations in
+% version 1.2j and later}.
+%
+% Turkish typographic rules specify that a little `white space'
+% should be added before the characters `\texttt{:}', `\texttt{!}'
+% and `\texttt{=}'. In order to insert this white space
+% automatically these characters are made `active'. Also
+% |\frenhspacing| is set.
+%
+% \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.
+% \changes{turkish-1.2i}{1996/11/03}{ow use \cs{LdfInit} to perform
+% initial checks}
+% \begin{macrocode}
+%<*code>
+\LdfInit{turkish}\captionsturkish
+% \end{macrocode}
+%
+% When this file is read as an option, i.e. by the |\usepackage|
+% command, \texttt{turkish} could be an `unknown' language in which
+% case we have to make it known. So we check for the existence of
+% |\l@turkish| to see whether we have to do something here.
+%
+% \changes{turkish-1.2c}{1994/06/26}{Now use \cs{@nopatterns} to
+% produce the warning}
+% \begin{macrocode}
+\ifx\l@turkish\@undefined
+ \@nopatterns{Turkish}
+ \adddialect\l@turkish0\fi
+% \end{macrocode}
+%
+% The next step consists of defining commands to switch to (and
+% from) the Turkish language.
+%
+% \begin{macro}{\captionsturkish}
+% The macro |\captionsturkish| defines all strings used in the four
+% standard documentclasses provided with \LaTeX.
+% \changes{turkish-1.1}{1993/07/15}{\cs{headpagename} should be
+% \cs{pagename}}
+% \changes{turkish-1.2b}{1994/06/04}{Added braces behind \cs{i} in
+% strings}
+% \changes{turkish-1.2f}{1995/07/04}{Added \cs{proofname} for
+% AMS-\LaTeX}
+% \changes{turkish-1.2j}{1997/09/29}{Added and modified translations}
+% \changes{turkish-1.2k}{1999/04/18}{Incorporated some more
+% corrections}
+% \changes{turkish-1.2m}{2000/09/20}{Added \cs{glossaryname}}
+% \begin{macrocode}
+\addto\captionsturkish{%
+ \def\prefacename{\"Ons\"oz}%
+ \def\refname{Kaynaklar}%
+ \def\abstractname{\"Ozet}%
+ \def\bibname{Kaynak\c ca}%
+ \def\chaptername{B\"ol\"um}%
+ \def\appendixname{Ek}%
+ \def\contentsname{\.I\c cindekiler}%
+ \def\listfigurename{\c Sekil Listesi}%
+ \def\listtablename{Tablo Listesi}%
+ \def\indexname{Dizin}%
+ \def\figurename{\c Sekil}%
+ \def\tablename{Tablo}%
+ \def\partname{K\i s\i m}%
+ \def\enclname{\.Ili\c sik}%
+ \def\ccname{Di\u ger Al\i c\i lar}%
+ \def\headtoname{Al\i c\i}%
+ \def\pagename{Sayfa}%
+ \def\subjectname{\.Ilgili}%
+ \def\seename{bkz.}%
+ \def\alsoname{ayr\i ca bkz.}%
+ \def\proofname{Kan\i t}%
+ \def\glossaryname{Glossary}% <-- Needs translation
+}%
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\dateturkish}
+% The macro |\dateturkish| redefines the command |\today| to
+% produce Turkish dates.
+% \changes{turkish-1.2b}{1994/06/04}{Added braces behind \cs{i} in
+% strings}
+% \changes{turkish-1.2d}{1995/01/31}{removed extra closing brace,
+% \cs{mont} should be \cs{month}}
+% \changes{turkish-1.2j}{1997/10/01}{Use \cs{edef} to define
+% \cs{today} to save memory}
+% \changes{turkish-1.2j}{1998/03/28}{use \cs{def} instead of
+% \cs{edef}}
+% \changes{turkish-1.2l}{1999/05/17}{removed dot from the date format}
+% \begin{macrocode}
+\def\dateturkish{%
+ \def\today{\number\day~\ifcase\month\or
+ Ocak\or \c Subat\or Mart\or Nisan\or May\i{}s\or Haziran\or
+ Temmuz\or A\u gustos\or Eyl\"ul\or Ekim\or Kas\i{}m\or
+ Aral\i{}k\fi
+ \space\number\year}}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\extrasturkish}
+% \changes{turkish-1.2e}{1995/05/15}{Completely rewrote macro}
+% \begin{macro}{\noextrasturkish}
+% The macro |\extrasturkish| will perform all the extra definitions
+% needed for the Turkish language. The macro |\noextrasturkish| is
+% used to cancel the actions of |\extrasturkish|.
+%
+% Turkish typographic rules specify that a little `white space'
+% should be added before the characters `\texttt{:}', `\texttt{!}'
+% and `\texttt{=}'. In order to insert this white space
+% automatically these characters are made |\active|, so they have
+% to be treated in a special way.
+% \begin{macrocode}
+\initiate@active@char{:}
+\initiate@active@char{!}
+\initiate@active@char{=}
+% \end{macrocode}
+% We specify that the turkish group of shorthands should be used.
+% \begin{macrocode}
+\addto\extrasturkish{\languageshorthands{turkish}}
+% \end{macrocode}
+% These characters are `turned on' once, later their definition may
+% vary.
+% \begin{macrocode}
+\addto\extrasturkish{%
+ \bbl@activate{:}\bbl@activate{!}\bbl@activate{=}}
+% \end{macrocode}
+%
+% For Turkish texts |\frenchspacing| should be in effect. We
+% make sure this is the case and reset it if necessary.
+% \changes{turkish-1.2e}{1995/05/15}{now use \cs{bbl@frenchspacing}
+% and \cs{bbl@nonfrenchspacing}}
+% \begin{macrocode}
+\addto\extrasturkish{\bbl@frenchspacing}
+\addto\noextrasturkish{\bbl@nonfrenchspacing}
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\turkish@sh@!@}
+% \begin{macro}{\turkish@sh@=@}
+% \begin{macro}{\turkish@sh@:@}
+% The definitions for the three active characters were made using
+% intermediate macros. These are defined now. The insertion of
+% extra `white space' should only happen outside math mode, hence
+% the check |\ifmmode| in the macros.
+% \changes{turkish-1.2d}{1995/01/31}{Added missing \cs{def}}
+% \changes{turkish-1.2e}{1995/05/15}{Use the new mechanism of
+% \cs{declare@shorthand}}
+%%^^A JLB:: this code breaks during \begin{document}
+%%^^A JLB: Needs fixing!!
+% \begin{macrocode}
+\declare@shorthand{turkish}{:}{%
+ \ifmmode
+ \string:%
+ \else\relax
+ \ifhmode
+ \ifdim\lastskip>\z@
+ \unskip\penalty\@M\thinspace
+ \fi
+ \fi
+ \string:%
+ \fi}
+\declare@shorthand{turkish}{!}{%
+ \ifmmode
+ \string!%
+ \else\relax
+ \ifhmode
+ \ifdim\lastskip>\z@
+ \unskip\penalty\@M\thinspace
+ \fi
+ \fi
+ \string!%
+ \fi}
+\declare@shorthand{turkish}{=}{%
+ \ifmmode
+ \string=%
+ \else\relax
+ \ifhmode
+ \ifdim\lastskip>\z@
+ \unskip\kern\fontdimen2\font
+ \kern-1.4\fontdimen3\font
+ \fi
+ \fi
+ \string=%
+ \fi}
+% \end{macrocode}
+% \end{macro}
+% \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.
+% \changes{turkish-1.2i}{1996/11/03}{Now use \cs{ldf@finish} to wrap
+% up}
+% \begin{macrocode}
+\ldf@finish{turkish}
+%</code>
+% \end{macrocode}
+%
+% \Finale
+%%
+%% \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
diff --git a/Master/texmf-dist/source/generic/babel-turkish/turkish.ins b/Master/texmf-dist/source/generic/babel-turkish/turkish.ins
new file mode 100644
index 00000000000..9e7af81a31a
--- /dev/null
+++ b/Master/texmf-dist/source/generic/babel-turkish/turkish.ins
@@ -0,0 +1,148 @@
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the doc files in this package when run through
+%% LaTeX or TeX.
+%%
+%% Copyright 1989-2005 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 LaTeX base distribution 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.
+%%
+%% --------------- start of docstrip commands ------------------
+%%
+\def\filedate{1999/04/11}
+\def\batchfile{turkish.ins}
+\input docstrip.tex
+
+{\ifx\generate\undefined
+\Msg{**********************************************}
+\Msg{*}
+\Msg{* This installation requires docstrip}
+\Msg{* version 2.3c or later.}
+\Msg{*}
+\Msg{* An older version of docstrip has been input}
+\Msg{*}
+\Msg{**********************************************}
+\errhelp{Move or rename old docstrip.tex.}
+\errmessage{Old docstrip in input path}
+\batchmode
+\csname @@end\endcsname
+\fi}
+
+\declarepreamble\mainpreamble
+This is a generated file.
+
+Copyright 1989-2005 Johannes L. Braams and any individual authors
+listed elsewhere in this file. All rights reserved.
+
+This file was generated from file(s) 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.
+
+This file may only be distributed together with a copy of the Babel
+system. You may however distribute the Babel system without
+such generated files.
+
+The list of all files belonging to the Babel distribution 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.
+\endpreamble
+
+\declarepreamble\fdpreamble
+This is a generated file.
+
+Copyright 1989-2005 Johannes L. Braams and any individual authors
+listed elsewhere in this file. All rights reserved.
+
+This file was generated from file(s) 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.
+
+This file may only be distributed together with a copy of the Babel
+system. You may however distribute the Babel system without
+such generated files.
+
+The list of all files belonging to the Babel distribution is
+given in the file `manifest.bbl'. See also `legal.bbl for additional
+information.
+
+In particular, permission is granted to customize the declarations in
+this file to serve the needs of your installation.
+
+However, NO PERMISSION is granted to distribute a modified version
+of this file under its original name.
+
+\endpreamble
+
+\keepsilent
+
+\usedir{tex/generic/babel}
+
+\usepreamble\mainpreamble
+\generate{\file{turkish.ldf}{\from{turkish.dtx}{code}}
+ }
+\usepreamble\fdpreamble
+
+\ifToplevel{
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space All *.def, *.fd, *.ldf, *.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the files ending with}
+\Msg{* '.dtx' and `.fdd' through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing}
+\Msg{***********************************************************}
+}
+
+\endinput