From 6c1d55d86cd79dc40f66222e8dcb23a12ae00200 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 15 Jan 2014 00:30:25 +0000 Subject: babel-turkish (14jan14) git-svn-id: svn://tug.org/texlive/trunk@32676 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/generic/babel-turkish/turkish.ldf | 112 +++++++++++++++++---- 1 file changed, 95 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/generic/babel-turkish/turkish.ldf b/Master/texmf-dist/tex/generic/babel-turkish/turkish.ldf index 0750a5a53ee..93399cced29 100644 --- a/Master/texmf-dist/tex/generic/babel-turkish/turkish.ldf +++ b/Master/texmf-dist/tex/generic/babel-turkish/turkish.ldf @@ -23,7 +23,7 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainer of this work is Johannes Braams. +%% The Current Maintainer of this work is Javier Bezos. %% %% This file may only be distributed together with a copy of the Babel %% system. You may however distribute the Babel system without @@ -37,13 +37,8 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. \ProvidesLanguage{turkish} - [2005/03/31 v1.2m Turkish support from the babel system] + [2014/01/14 v1.3a Turkish support from the babel system] %% 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 @@ -75,24 +70,106 @@ \def\seename{bkz.}% \def\alsoname{ayr\i ca bkz.}% \def\proofname{Kan\i t}% - \def\glossaryname{Glossary}% <-- Needs translation + \def\glossaryname{L\"ugat\c ce}% <-- Tentative }% \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 + 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}} +\ifx\SetHyphenMap\@undefined\else +\ifx\@iforloop\@undefined\else +\StartBabelCommands*{turkish}{captions} + [unicode, charset=utf8, fontenc=EU1 EU2] + \SetString\prefacename{Önsöz} + \SetString\refname{Kaynaklar} + \SetString\abstractname{Özet} + \SetString\bibname{Kaynakça} + \SetString\chaptername{Bölüm} + \SetString\appendixname{Ek} + \SetString\contentsname{İçindekiler} + \SetString\listfigurename{Şekil Listesi} + \SetString\listtablename{Tablo Listesi} + \SetString\indexname{Dizin} + \SetString\figurename{Şekil} + \SetString\tablename{Tablo} + \SetString\partname{Kısım} + \SetString\enclname{İlişik} + \SetString\ccname{Diğer Alıcılar} + \SetString\headtoname{Alıcı} + \SetString\pagename{Sayfa} + \SetString\subjectname{İlgili} + \SetString\seename{bkz.} + \SetString\alsoname{ayrıca bkz.} + \SetString\proofname{Kanıt} + \SetString\glossaryname{Lügatçe}% <-- Tentative + \SetCase + {\uccode`i=`İ\relax + \uccode`ı=`I\relax} + {\lccode`İ=`i\relax + \lccode`I=`ı\relax} + \SetHyphenMap{% + \BabelLower{`İ}{`i}% + \BabelLower{`I}{`ı}} +\StartBabelCommands*{turkish}{date} + [unicode, charset=utf8, fontenc=EU1 EU2] + \SetStringLoop{month#1name}{% + Ocak,Şubat,Mart,Nisan,Mayıs,Haziran,% + Temmuz,Ağustos,Eylül,Ekim,Kasım,Aralık} +\StartBabelCommands{turkish}{}[ot1enc, fontenc=OT1] + \SetCase + {\uccode"10=`I\relax} + {\lccode`I="10\relax} +\StartBabelCommands*{turkish}{captions} + \SetString\prefacename{\"Ons\"oz} + \SetString\refname{Kaynaklar} + \SetString\abstractname{\"Ozet} + \SetString\bibname{Kaynak\c ca} + \SetString\chaptername{B\"ol\"um} + \SetString\appendixname{Ek} + \SetString\contentsname{\.I\c cindekiler} + \SetString\listfigurename{\c Sekil Listesi} + \SetString\listtablename{Tablo Listesi} + \SetString\indexname{Dizin} + \SetString\figurename{\c Sekil} + \SetString\tablename{Tablo} + \SetString\partname{K\i s\i m} + \SetString\enclname{\.Ili\c sik} + \SetString\ccname{Di\u ger Al\i c\i lar} + \SetString\headtoname{Al\i c\i} + \SetString\pagename{Sayfa} + \SetString\subjectname{\.Ilgili} + \SetString\seename{bkz.} + \SetString\alsoname{ayr\i ca bkz.} + \SetString\proofname{Kan\i t} + \SetString\glossaryname{L\"ugat\c ce}% <-- Tentative + \SetCase + {\uccode`i="9D\relax + \uccode"19=`I\relax} + {\lccode"9D=`i\relax + \lccode`I="19\relax} + \SetHyphenMap{% + \BabelLower{"9D}{`i}% + \BabelLower{`I}{"19}} +\StartBabelCommands*{turkish}{date} + \SetStringLoop{month#1name}{% + Ocak,\c Subat,Mart,Nisan,May\i s,Haziran,% + Temmuz,A\u gustos,Eyl\"ul,Ekim,Kas\i m,Aral\i k} + \SetString\today{% + \number\day~\@nameuse{month\romannumeral\month name}% + \space\number\year} +\EndBabelCommands +\fi\fi \initiate@active@char{:} \initiate@active@char{!} -\initiate@active@char{=} -\addto\extrasturkish{\languageshorthands{turkish}} \addto\extrasturkish{% - \bbl@activate{:}\bbl@activate{!}\bbl@activate{=}} -\addto\extrasturkish{\bbl@frenchspacing} + \languageshorthands{turkish}% + \bbl@activate{:}% + \bbl@activate{!}% + \bbl@activate{=}% + \bbl@frenchspacing} \addto\noextrasturkish{\bbl@nonfrenchspacing} -%%^^A JLB:: this code breaks during \begin{document} -%%^^A JLB: Needs fixing!! \declare@shorthand{turkish}{:}{% \ifmmode \string:% @@ -115,6 +192,7 @@ \fi \string!% \fi} +\initiate@active@char{=} \declare@shorthand{turkish}{=}{% \ifmmode \string=% -- cgit v1.2.3