diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/teubner/teubner.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/teubner/teubner.dtx | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/latex/teubner/teubner.dtx b/Master/texmf-dist/source/latex/teubner/teubner.dtx index 265b663cefe..67e2aad5854 100644 --- a/Master/texmf-dist/source/latex/teubner/teubner.dtx +++ b/Master/texmf-dist/source/latex/teubner/teubner.dtx @@ -17,17 +17,15 @@ See the end of the file. IMPORTANT NOTICE: -You are not allowed to change this file. - You are allowed to distribute this file under the conditions that are 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. +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 \postamble It may be distributed and/or modified under the @@ -70,13 +68,11 @@ etc. %</driver> %<package>\ProvidesPackage{teubner}[% %<tbtx>\ProvidesPackage{teubnertx}[% -%<defs>\ProvidesFile{LGRaccents-glyphs}[% -%<*driver,package,defs,tbtx> -2013/12/13 v.4.1 +%<*driver,package,tbtx> +2013/12/31 v.4.2 %<package>Extensions for Greek philology] -%<defs>Definitions of accents and glyphs for LGR encoded Greek fonts] -%<tbtx>Access to the LGR encoded Greek fonts when TX fonts are used] -%</driver,package,defs,tbtx> +%<tbtx>Access to the LGR encoded Greek fonts that match the TX fonts] +%</driver,package,tbtx> %<*driver> ] %</driver> @@ -88,9 +84,9 @@ etc. \thanks{This file has version number \fileversion, last revised on \filedate.}} - \author{Claudio Beccari\\\texttt{claudio dot beccari at gmail dot com}} + \author{Claudio Beccari\thanks{claudio dot beccari at gmail dot com}} \date{} - \providecommand\babel{\textsf{babel}} + \providecommand\babel{\pack{babel}} \newcommand\lbr{\char123\relax}\newcommand\rbr{\char125\relax} \newenvironment{sintassi}{% \begin{quote}\parskip0pt\hfuzz10pt\ttfamily\obeylines @@ -110,7 +106,7 @@ etc. %</driver> % \fi % -% \CheckSum{4293} +% \CheckSum{4298} % \begin{multicols}{2}\tableofcontents\end{multicols} % % @@ -403,14 +399,19 @@ etc. % in facts, the black leader that joins the curved extremities appeared a little too % fat and did not join exactly the left mark. Recently, apparently, the fonts have % been corrected and this trick is not necessary any more. Nevertheless we define -% a new boolean that copes with the fact that since 2007 the \TeX\ engine is -% \textsf{pdftex} even when DVI output is sought: +% a new boolean that copes with the fact that at least since 2007 the \TeX\ engine is +% \textsf{pdftex} even when DVI output is sought; the package \pack{iftex} creates +% three |\if|s that allow to diagnose if the typesetting engine is \textsf{pdftex} +% in PDF mode, XeTeX or Luatex; since at the moment this package \pack{teubner} is +% compatible only with \textsf{pdftex} in PDF mode, we equate the |\ifPDF| switch +% (defined in previous versions of \pack{teubner}) with the switch defined by +% package \pack{iftex}: %\iffalse %<*package> %\fi % \begin{macrocode} -\newif\ifPDF \PDFfalse -\@ifundefined{pdfoutput}{}{\ifnum\pdfoutput>\z@\PDFtrue\fi} +\RequirePackage{iftex} +\let\ifPDF\ifPDFTeX % \end{macrocode} % When \texttt{teubner.sty} is input the language Greek must have been already % defined; otherwise an error message is issued and processing is terminated. @@ -433,7 +434,9 @@ Type X <return> to exit.}% % version 2002/07/18 v.1.0d this has been eliminated; the option remains for % compatibility with older versions, but the only legal command is now % \texttt{\string\oR}.}; |\oR| is a little exception since all the other -% accent-vowel macros contain only lowercase letters. The point is that accent vowel +% accent-vowel macros contain only lowercase letters; |og| is another exception, +% and the accent macros have to be used; |\og| collided with the Frenc command +% for inserting the opening guillemets (see below). The point is that accent vowel % sequences that directly access the accented glyph are made up as such: % \begin{sintassi} % \bslash \meta{base character}\meta{first diacritic}\meta{second diacritic}\meta{third diacritic} @@ -1394,6 +1397,12 @@ Type X <return> to exit.}% % rough macron \DeclareTextCommand{\Rm}{\GRencoding@name}[1]% {\Lift@accent{60}{\lift@accent{31}{#1}}} +% smooth breve +\DeclareTextCommand{\Sb}{\GRencoding@name}[1]% + {\LIFT@accent{62}{-0.15ex}{\lift@accent{30}{#1}}} +% rough breve +\DeclareTextCommand{\Rb}{\GRencoding@name}[1]% + {\LIFT@accent{60}{-0.15ex}{\lift@accent{30}{#1}}} % breve and dieresis \DeclareTextCommand{\bd}{\GRencoding@name}[1]% {\LIFT@accent{30}{-.1ex}{\lift@accent{34v}{#1}}} |