summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/teubner
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-04 17:58:12 +0000
committerKarl Berry <karl@freefriends.org>2010-11-04 17:58:12 +0000
commit5e4feaa39348e9095e158de011945a9508f46f85 (patch)
treeb7d69c75efff0cfb84776682611784ffb81d90b3 /Master/texmf-dist/source/latex/teubner
parent2386b4cd9d557885e26b93e493d98917c8642c8b (diff)
teubner 3.1 (3nov10)
git-svn-id: svn://tug.org/texlive/trunk@20309 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/teubner')
-rw-r--r--Master/texmf-dist/source/latex/teubner/teubner.dtx134
-rw-r--r--Master/texmf-dist/source/latex/teubner/teubner.ins75
2 files changed, 127 insertions, 82 deletions
diff --git a/Master/texmf-dist/source/latex/teubner/teubner.dtx b/Master/texmf-dist/source/latex/teubner/teubner.dtx
index 7339840996a..20aac63e5c4 100644
--- a/Master/texmf-dist/source/latex/teubner/teubner.dtx
+++ b/Master/texmf-dist/source/latex/teubner/teubner.dtx
@@ -1,5 +1,44 @@
% \iffalse meta comment
-% File: teubner.dtx Copyright (C) 2001-2004 Claudio Beccari
+%<*internal>
+\begingroup
+\input docstrip.tex
+\keepsilent
+\preamble
+Copyright 2001--2010 Claudio Beccari All rights reserved.
+
+ This system is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+This file is distributed under the LPPL licence, version 1.3c
+dated 2008-05-04 or later as it appears in
+CTAN/macros/latex/base/lppl.tex.
+
+IMPORTANT NOTICE:
+
+You are not allowed to change this file.
+
+You are allowed to distribute this file under the condition that it is
+specified in the source file teubner.dtx.
+
+If you receive only some of these files from someone, complain!
+
+You are NOT ALLOWED to distribute this file alone. You are NOT
+ALLOWED to take money for the distribution or use of either this
+file or a changed version, except for a nominal charge for copying
+etc.
+\endpreamble
+\askforoverwritetrue
+
+\generateFile{teubner.sty}{t}{\from{teubner.dtx}{package}}
+\generateFile{LGRaccents-glyphs.def}{t}{\from{teubner.dtx}{defs}}
+\generateFile{teubnertx.sty}{t}{\from{teubner.dtx}{tbtx}}
+
+\def\tmpa{plain}
+\ifx\tmpa\fmtname\endgroup\expandafter\bye\fi
+\endgroup
+%</internal>
+% File: teubner.dtx Copyright (C) 2001-2010 Claudio Beccari
%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -26,7 +65,7 @@
%% Right brace \} Tilde \~}
% \iffalse
%<*dtx>
-\ProvidesFile{teubner.dtx}[2010/05/08 v.3.0k extensions for Greek philology]
+\ProvidesFile{teubner.dtx}[2010/11/02 v.3.1 extensions for Greek philology]
%</dtx>
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{teubner}[2010/05/08 v.3.0k extensions for Greek philology]
@@ -57,7 +96,7 @@
%</driver>
% \fi
%
-% \CheckSum{4957}
+% \CheckSum{5003}
% \begin{multicols}{2}\tableofcontents\end{multicols}
%
%
@@ -526,7 +565,7 @@ Type X <return> to exit.}%
% \end{macrocode}
%\end{macro}
%
-% \subsection{Compatibility with Latin fonts}
+% \subsection{Compatibility with Latin fonts}\label{ssec:LatinFontComp}
%\begin{macro}{\previouslanguage}
%\begin{macro}{\previousencoding}
% The ``default'' language is defined as the
@@ -684,8 +723,7 @@ Type X <return> to exit.}%
\AtBeginDocument{%
\@ifpackageloaded{txfonts}{\typeout{Times fonts loaded}%
-\Lipsiantrue\ifFamily{txr}{cmr}\Lipsianfalse
-\ifFamily{txss}{cmss}\ifFamily{txtt}{cmtt}}{}}
+\RequirePackage{teubnertx}}{}}
\AtBeginDocument{%
\edef\previouslanguage{\languagename}%
@@ -3377,10 +3415,10 @@ Illegal value (\number#1) for \string\ActicNumeral\space}}
% \end{macrocode}
%\end{macro}
%\end{macro}
-% \begin{macrocode}
%</package>
%
%<*defs>
+% \begin{macrocode}
\ProvidesFile{LGRaccents-glyphs.def}%
[2010/05/08 v.2.0a Definitions of accents and glyphs for LGR encoded Greek fonts]
% \end{macrocode}
@@ -3696,5 +3734,87 @@ Illegal value (\number#1) for \string\ActicNumeral\space}}
\DeclareTextCompositeCommand{\<}{\GRencoding@name}{W}{<W}
%</defs>
% \end{macrocode}
+%<*tbtx>
+%\section{Accessing the CBgreek fonts when the TX fonts are selected}
+% During the year 2010 this package \textsf{teubner.sty} was upgraded in order to allow
+% using the CBgreek fonts eve when other Latin font, different from the ``standard'' CM
+% and LM ones are selected for typesetting text with the Latin script.
+
+% At the same time Antonis Tsolomitis uploaded a new package in order to let Greek users
+% use some Greek fonts that match the Times eXtended ones. In order to use the de facto
+% default encoding LGR for Greek fonts, he produced the necessary |lgrtxr.fd|, |lgrtxss.fd|,
+% |lgrtxtt.fd|, font definition files that allow the font switching implied by the |greek|
+% option to the \textsf{babel} package. These files take precedence over the mechanism
+% outlined in section~\ref{ssec:LatinFontComp}, because command |\substitutefontfamily|
+% first tests the existence of |lgrtxr.fd|, and, if this is not available, it may generate
+% a specific one suitable for working smoothly with \textsf{teubner.sty}.
+%
+% Now it Tsolomitis' files are available on the main system tree, these take precedence
+% and the \textsf{teubner} compatible files are not generated. Unfortunately Tsolomitis'
+% fonts, although better suited to match the TX fonts, are well adapted to typeset common
+% Greek text, but they are not adapted to typeset philological texts.
+%
+% We therefore avoid this clash by creating a \textsf{teubnertx.sty} file. This extension
+% defines the families and shapes available with the familiar fond definition files, but
+% the information gets input by \textsf{teubner.sty} at the ``begin document'' time,
+% without resorting to any |.fd| file. May be more information is loaded than is strictly
+% necessary, but it better to do this way than to clash with other packages.
+% \begin{macrocode}
+\ProvidesPackage{teubnertx}%
+ [2010/11/02 v.1.0 Access to the LGR encoded Greek fonts when TX fonts are used]
+ \DeclareFontFamily{LGR}{txr}{}
+ \DeclareFontShape{LGR}{txr}{m}{n}{<->ssub * cmr/m/n}{}
+ \DeclareFontShape{LGR}{txr}{m}{it}{<->ssub * cmr/m/it}{}
+ \DeclareFontShape{LGR}{txr}{m}{sl}{<->ssub * cmr/m/sl}{}
+ \DeclareFontShape{LGR}{txr}{m}{sc}{<->ssub * cmr/m/sc}{}
+ \DeclareFontShape{LGR}{txr}{b}{n}{<->ssub * cmr/bx/n}{}
+ \DeclareFontShape{LGR}{txr}{b}{it}{<->ssub * cmr/bx/it}{}
+ \DeclareFontShape{LGR}{txr}{b}{sl}{<->ssub * cmr/bx/sl}{}
+ \DeclareFontShape{LGR}{txr}{b}{sc}{<->ssub * cmr/bx/sc}{}
+ \DeclareFontShape{LGR}{txr}{bx}{n}{<->ssub * cmr/bx/n}{}
+ \DeclareFontShape{LGR}{txr}{bx}{it}{<->ssub * cmr/bx/it}{}
+ \DeclareFontShape{LGR}{txr}{bx}{sl}{<->ssub * cmr/bx/sl}{}
+ \DeclareFontShape{LGR}{txr}{bx}{sc}{<->ssub * cmr/bx/sc}{}
+
+ \DeclareFontShape{LGR}{txr}{m}{li}{<->ssub * cmr/m/li}{}
+ \DeclareFontShape{LGR}{txr}{b}{li}{<->ssub * cmr/b/li}{}
+ \DeclareFontShape{LGR}{txr}{bx}{li}{<->ssub * cmr/bx/li}{}
+ \DeclareFontShape{LGR}{txr}{m}{ui}{<->ssub * cmr/m/ui}{}
+ \DeclareFontShape{LGR}{txr}{b}{ui}{<->ssub * cmr/m/ui}{}
+ \DeclareFontShape{LGR}{txr}{bx}{ui}{<->ssub * cmr/bx/ui}{}
+ \DeclareFontShape{LGR}{txr}{m}{rs}{<->ssub * cmr/m/rs}{}
+ \DeclareFontShape{LGR}{txr}{b}{rs}{<->ssub * cmr/m/rs}{}
+ \DeclareFontShape{LGR}{txr}{bx}{rs}{<->ssub * cmr/bx/rs}{}
+
+ \DeclareFontFamily{LGR}{txss}{}
+ \DeclareFontShape{LGR}{txss}{m}{n}{<->ssub * cmss/m/n}{}
+ \DeclareFontShape{LGR}{txss}{m}{it}{<->ssub * cmss/m/it}{}
+ \DeclareFontShape{LGR}{txss}{m}{sl}{<->ssub * cmss/m/sl}{}
+ \DeclareFontShape{LGR}{txss}{m}{sc}{<->ssub * cmss/m/sc}{}
+ \DeclareFontShape{LGR}{txss}{b}{n}{<->ssub * cmss/bx/n}{}
+ \DeclareFontShape{LGR}{txss}{b}{it}{<->ssub * cmss/bx/it}{}
+ \DeclareFontShape{LGR}{txss}{b}{sl}{<->ssub * cmss/bx/sl}{}
+ \DeclareFontShape{LGR}{txss}{b}{sc}{<->ssub * cmss/bx/sc}{}
+ \DeclareFontShape{LGR}{txss}{bx}{n}{<->ssub * cmss/bx/n}{}
+ \DeclareFontShape{LGR}{txss}{bx}{it}{<->ssub * cmss/bx/it}{}
+ \DeclareFontShape{LGR}{txss}{bx}{sl}{<->ssub * cmss/bx/sl}{}
+ \DeclareFontShape{LGR}{txss}{bx}{sc}{<->ssub * cmss/bx/sc}{}
+
+ \DeclareFontFamily{LGR}{txtt}{\hyphenchar=-1}
+ \DeclareFontShape{LGR}{txtt}{m}{n}{<->ssub * cmtt/m/n}{}
+ \DeclareFontShape{LGR}{txtt}{m}{it}{<->ssub * cmtt/m/it}{}
+ \DeclareFontShape{LGR}{txtt}{m}{sl}{<->ssub * cmtt/m/sl}{}
+ \DeclareFontShape{LGR}{txtt}{m}{sc}{<->ssub * cmtt/m/sc}{}
+ \DeclareFontShape{LGR}{txtt}{b}{n}{<->ssub * cmtt/bx/n}{}
+ \DeclareFontShape{LGR}{txtt}{b}{it}{<->ssub * cmtt/bx/it}{}
+ \DeclareFontShape{LGR}{txtt}{b}{sl}{<->ssub * cmtt/bx/sl}{}
+ \DeclareFontShape{LGR}{txtt}{b}{sc}{<->ssub * cmtt/bx/sc}{}
+ \DeclareFontShape{LGR}{txtt}{bx}{n}{<->ssub * cmtt/bx/n}{}
+ \DeclareFontShape{LGR}{txtt}{bx}{it}{<->ssub * cmtt/bx/it}{}
+ \DeclareFontShape{LGR}{txtt}{bx}{sl}{<->ssub * cmtt/bx/sl}{}
+ \DeclareFontShape{LGR}{txtt}{bx}{sc}{<->ssub * cmtt/bx/sc}{}
+
+% \end{macrocode}
+%</tbtx>
% \Finale
\endinput
diff --git a/Master/texmf-dist/source/latex/teubner/teubner.ins b/Master/texmf-dist/source/latex/teubner/teubner.ins
deleted file mode 100644
index b693b2d9e81..00000000000
--- a/Master/texmf-dist/source/latex/teubner/teubner.ins
+++ /dev/null
@@ -1,75 +0,0 @@
-%%
-%% This file generates file teubner.sty from file teubner.dtx by means
-%% of the LaTeX program docstrip. This program eliminates almost all
-%% commented lines thus speeding up the loading of the code. Documentation
-%% may be obtained by running LaTeX on the source file teubner.dtx.
-%%
-%%
-%% ----------------------------------------
-%%
-%% This system is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%%
-%% IMPORTANT NOTICE:
-%%
-%% Copyright 2001-2010 Claudio Beccari
-%% All rights reserved.
-%%
-%% Permission is granted to distribute verbatim copies of this file
-%% together with teubner.dtx.
-%%
-%% No other permissions to copy or distribute this file in any form
-%% are granted and in particular no permission to modify its contents.
-%%
-%% --------------- start of docstrip commands ------------------
-%%
-\def\batchfile{teubner.ins}
-\input docstrip.tex
-\preamble
-
-Copyright 2001--2010 Claudio Beccari All rights reserved.
-
- This system is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-This file is distributed under the LPPL licence, version 1.3c
-dated 2008-05-04 or later as it appears in
-CTAN/macros/latex/base/lppl.tex.
-
-IMPORTANT NOTICE:
-
-You are not allowed to change this file.
-
-You are allowed to distribute this file under the condition that it is
-specified in the source file teubner.dtx.
-
-If you receive only some of these files from someone, complain!
-
-You are NOT ALLOWED to distribute this file alone. You are NOT
-ALLOWED to take money for the distribution or use of either this
-file or a changed version, except for a nominal charge for copying
-etc.
-\endpreamble
-\def\batchfile{teubner.dst} % ignored in distribution
-\input docstrip.tex % ignored in distribution
-
-\keepsilent
-
-\Msg{*** Generating the extension package teubner.sty ***}
-\Msg{*** Generating the accent and glyph definition file ***}
-
-\generateFile{teubner.sty}{t}{\from{teubner.dtx}{package}}
-\generateFile{LGRaccents-glyphs.def}{t}{\from{teubner.dtx}{defs}}
-\ifToplevel{
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* Now move teubner.sty where LaTeX can find it }
-\Msg{* Now move LGRaccents-glyphs.def where LaTeX can find it }
-\Msg{*}
-\Msg{* Happy TeXing!}
-\Msg{***********************************************************}
-}
-
-\endinput