diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-07 23:25:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-07 23:25:52 +0000 |
commit | facd5da6746c2e6834b9020905bc08b4dc708a67 (patch) | |
tree | 5c8caac9d3c57718af54dd12fc955e53c945c4e6 /Master | |
parent | 6f5b6c9a9a35731810a5390082a3e193456afce1 (diff) |
teubner 3.3 (7sep11)
git-svn-id: svn://tug.org/texlive/trunk@23854 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/teubner/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf | bin | 354605 -> 368867 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/teubner/teubner-doc.tex | 92 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/teubner/teubner.pdf | bin | 439110 -> 639672 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/teubner/teubner.txt | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/teubner/teubner.dtx | 136 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/teubner/LGRaccents-glyphs.def | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/teubner/teubner.sty | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/teubner/teubnertx.sty | 4 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 3 |
10 files changed, 146 insertions, 115 deletions
diff --git a/Master/texmf-dist/doc/latex/teubner/README b/Master/texmf-dist/doc/latex/teubner/README index fb5a626880b..c00eba87984 100644 --- a/Master/texmf-dist/doc/latex/teubner/README +++ b/Master/texmf-dist/doc/latex/teubner/README @@ -1,4 +1,4 @@ -This accompanies the teubner bundle version 3.1 dated September 2011. +This accompanies the teubner bundle version 3.3 dated September 2011. Copyright 2010-2011 Claudio Beccari diff --git a/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf b/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf Binary files differindex 07250484b00..cda258a0b8e 100644 --- a/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf +++ b/Master/texmf-dist/doc/latex/teubner/teubner-doc.pdf diff --git a/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex b/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex index 3020576dacf..f8a541a5ee8 100644 --- a/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex +++ b/Master/texmf-dist/doc/latex/teubner/teubner-doc.tex @@ -1,12 +1,15 @@ +% !TEX encoding = IsoLatin +% !TEX TS-program = pdflatex \documentclass[12pt,a4paper]{article} -%\usepackage[latin1]{inputenc} +\usepackage[latin1]{inputenc} +\usepackage[T1]{fontenc} %\usepackage{lmodern} \usepackage{txfonts} %\usepackage{pxfonts} \usepackage{mflogo} \usepackage[greek,english]{babel} -\def\workingdate{2010/05/08} -\usepackage[boldLipsian,10pt]% <-------- teubner options +\def\workingdate{2011/09/01}% see two lines ahead +\usepackage[boldLipsian,10pt,GlyphNames]% <-------- teubner options {teubner}[\workingdate]% <--- older versions don't work well \usepackage[scaled=0.90]{helvet} \ifFamily{phv}{cmss} @@ -41,8 +44,8 @@ \thanks{This paper documents \texttt{teubner.sty} version \fileversion\ of \filedate.}\\ An extension to the \textsf{greek} option\\ of the \babel\ package} \author{Claudio Beccari} -\date{Turin, August 2011}% <---- this is the date of the teubenr-doc document! -\def\comando#1{\texttt{\expandafter\string\noexpand#1}} +\date{Turin, September 2011}% <---- this is the date of the teubenr-doc document! +\def\comando#1{\expandafter\texttt\expandafter{\string#1}} \def\ARG#1{\texttt{\char123}$\langle$\textit{#1}$\rangle$\texttt{\char125}} \def\Arg#1{$\langle$\textit{#1}$\rangle$} \let\marg\ARG\let\meta\Arg @@ -109,7 +112,7 @@ The \texttt{teubner} extension is loaded in the usual way, but there are some si \end{quote} -Since \texttt{teubner} is an extension of the \texttt{babel} package, it must be loaded after the latter. If you load it before and/or if you load it after, but you invoked the \texttt{babel} package without specifying the \meta{greek} language and the \texttt{polutoniko} Greek language attribute, \texttt{teubner} refuses to be completely loaded and emits a message very clear on this subject, so that you know what you should do in order to use the facilities offered by its extensions. Some people like the Lipsian font shape and want to load it also for writing mathematics with it. No problem, but they shouldn't do this with \texttt{teubner}, unless they want also to typeset Greek text. For using an alphabet in mathematics there are more suitable ways that rely on the commands described in the \texttt{fntguide.pdf} distributed with every \TeX\ system in \texttt{\$TEXMFDIST"/doc"/latex"/base/}. +Since \texttt{teubner} is an extension of the \texttt{babel} package, it must be loaded after the latter. If you load it before and/or if you load it after, but you invoked the \texttt{babel} package without specifying the \meta{greek} language and the \texttt{polutoniko} Greek language attribute, \texttt{teubner} refuses to be completely loaded and emits a message very clear on this subject, so that you know what you should do in order to use the facilities offered by its extensions. Some people like the Lipsian font shape and want to load it also for writing mathematics with it. No problem, but they shouldn't do this with \texttt{teubner}, unless they want also to typeset Greek text. For using an alphabet in mathematics there are more suitable ways that rely on the commands described in the \texttt{fntguide.pdf} distributed with every \TeX\ system in \texttt{\$TEXMFDIST/doc/latex/base/}. \section{Package options} @@ -123,7 +126,8 @@ Option & Meaning\R \\\hline \i or\R & obsolete option kept for backwards compatibility\\ \i 10pt & for using only one real font size and geometrically enlarging or reducing the other sizes from the original single 10\,pt one\\ \i boldLipsian& to be selected in order to use a moderately blacker Lipsian font\\ -\i NoGlyphNames& to be selected in order to avoid the definition of accented glyphs\\[1ex] +\i NoGlyphNames& to be selected in order to avoid the definition of accented glyphs (default)\\ +\i GlyphNames & to be selected in order to have available also the set of macros that directly address the accented glyphs\\[1ex] \hline \end{tabular} \caption{Options for the \texttt{teubner} extension package}\label{t:opzioni} @@ -132,20 +136,20 @@ Option & Meaning\R \\\hline You should never need (and therefore never use) the \textit{or} option for two reasons: $(a)$ glyph name macros are not needed for the first letter of any word since there are no kerning problems with a preceding letter; $(b)$ glyph name macros are insensitive to uppercasing. -You might be forced to use the \textit{10pt} option because your Greek font collection is the minimal one. But if you are using \texttt{teubner}, you are likely to aim to the best possible typeset text; therefore you should download and install the full collection of the Greek CB fonts. +You might be forced to use the \textit{10pt} option because your Greek font collection is the minimal one. But if you are using \texttt{teubner}, you are likely to aim to the best possible typeset text; therefore you should download and install the full collection of the Greek CB fonts. This full collection is generally already available with any complete distribution of the \TeX\ system. -If you are using Latin fonts different from the CM or LM collections, you have to control what you get with or without the option \textit{boldLipsian}; generally speaking, this option is best used with darker normal fonts; I have tried the Times and the Palatino ones and actually this option is desirable. This might not be true with other vector fonts. +If you are using Latin fonts different from the CM or LM collections, you have to control what you get with or without the option \textit{boldLipsian}; generally speaking, this option is best used with darker normal fonts; I have tried the Times, the Palatino, and the Fourier ones, and actually this option is desirable. This might not be true with other vector fonts. -With the inclusion of the extended accent macros in the \texttt{teubner} package (see below), the named accented glyphs should not be needed anymore; for backwards compatibility these accented glyph name macros remain defined by default, but if you are using the extended accent macros, you should not need them any more and by specifying this option you avoid overloading the internal \TeX\ memory areas, thus leaving extra space for more useful extensions. Therefore I suggest you to use the \textit{NoGlyphNames} option and make use of the extended accent macros, should the need arise (see below). +With the inclusion of the extended accent macros in the \texttt{teubner} package (see below), the named accented glyphs should not be needed anymore; for backwards compatibility these accented glyph name macros are not defined by default, but are available if the \emph{GlyphNames} option is specified; if you are using the extended accent macros, you should not need them any more and, unless you specify this option, you avoid overloading the internal \TeX\ memory areas, thus leaving extra space for more useful extensions. Therefore I suggest you to let the \emph{default} option \textit{NoGlyphNames} act as its name implies, and make use of the extended accent macros, should the need arise (see below). -\section{The Greek CB fonts} -The CB fonts (full collection) come in all shapes, sizes and series as the extended European fonts that conform with the T1 encoding introduced after the Cork Conference of the \TeX\ Users Group Society in 1991\footnote{If you want to or you have to use the single 10pt zize fonts, you certainly produce smaller PDF files, at the expense of a slightly poorer typographical quality.}. The CB fonts conform +\section{The CB Greek fonts} +The CB Greek fonts (full collection) come in all shapes, sizes and series as the extended European fonts that conform with the T1 encoding introduced after the Cork Conference of the \TeX\ Users Group Society in 1991\footnote{If you want to or you have to use the single 10pt size fonts, you certainly produce smaller PDF files, at the expense of a slightly poorer typographical quality.}. The CB fonts conform to the encoding that is still being called LGR, since up to now there is no established encoding name for the Greek alphabet among the \TeX\ users, not yet, at least. The regular shape has capital letters with serifs that are in the -same style as the roman capital ones, while the lower case letters +same style as the Latin capital ones, while the lower case letters derive from the design by Didot and are very common in all texts. This shape comes also in boldface, together with the two corresponding oblique (or slanted) versions. The CB fonts contain @@ -174,7 +178,7 @@ than the corresponding CM and LM fonts usually used with \LaTeX; this is easily \textli{Baq'ulides}}. With the availability of the unslanted Olga font and the serifed lowercase alphabet, you can use also the \verb|\textui| and the \verb|\textrs| commands so as to obtain \foreignlanguage{greek}{\textui{Baq'ulides} \textlatin{and} \textrs{Baq'ulides}}; also in extended boldface: \foreignlanguage{greek}{\bfseries\textui{Baq'ulides} \textlatin{\mdseries and} \textrs{Baq'ulides}}. -But if you want to permanently change the "italic" Greek font shape to the Lipsian one, without keeping the alternative, then in your preamble add the following statements \emph{after} you have loaded the \texttt{teubner} package: +But if you really want to permanently change the ``italic'' Greek font shape to the Lipsian one, without keeping the alternative, then in your preamble add the following statements \emph{after} you have loaded the \texttt{teubner} package: \begin{verbatim} \addto\extrasgreek{\def\itdefault{li}}% \addto\noextrasgreek{\def\itdefault{it}}% @@ -205,7 +209,7 @@ All these technicalities are really too technical, but it's necessary to have so In this package I tried to forecast most situations, but I am not sure I coped with every font characteristics combination. In particular I hooked the language changing declarations with suitable default family names; for example, when using the Times or the Palatino eXtended TX or PX fonts, three new family description files are created so as to connect the LGR encoding and the names of the above scalable fonts to the corresponding CB -fonts\footnote{I chose the CM Greek families, instead of the LM ones, because only the former are described by means of macros that cope with the \emph{10pt} option to the \texttt{teubner} package; just in case\dots\ The actual used fonts are the same in any case, except possibly for the visual sizes; the CM fonts come in fixed sizes, while the LM fonts are continuously scalable by enlarging or reducing a smaller number of base visual sizes.}. If you use different scalable fonts you can specify yourself the font associations you want to use; simply, after loading a package that sets as the default other font family or families, open the the package file and take notice of the new family names; for each \meta{latin} family (serifed, sanserif, monospace) create a connection with the corresponding \meta{greek} family by means of the following command: +fonts\footnote{I chose the CM Greek families, instead of the LM ones, because only the former are described by means of macros that cope with the \emph{10pt} option to the \texttt{teubner} package; just in case\dots\ The actual used fonts are the same in any case, except possibly for the visual sizes; the CM fonts come in fixed sizes, while the LM fonts are continuously scalable by enlarging or reducing a smaller number of base visual sizes.}. If you use different scalable fonts you can specify yourself the font associations you want to use; simply, after loading a package that sets as the default other font family or families, open the the package file and take notice of the new family names; for each \meta{latin} family (serifed, sanserif, monospace) create a connection with the corresponding \meta{greek} family by means of the following command: \begin{quote} \texttt{\string\ifFamily}\marg{latin}\marg{greek} \end{quote} @@ -214,12 +218,12 @@ right after the \verb|\usepackage| command with which you call that package. Example: suppose you want to use the regular Fourier fonts to replace the default roman normal serifed fonts; then you should load the package \texttt{fourier} \emph{after} the \texttt{teubner} extension and specify: \begin{verbatim} \usepackage{fourier} -\Lipiandtrue +\Lipsiandtrue \ifFamily{futs}{cmr} \end{verbatim} -You can see that the family name \texttt{futs} corresponding to the regular Fourier font family has been matched to the CB Greek \texttt{cmr} font family; the name \texttt{cuts} has been deduced by reading the \texttt{fourier.sty} file from which one can see that the family declaration for the regular Fourier font family is \texttt{cuts}. This sort of coding does not take place with all fonts: if the Iwona fonts had to be chosen, for example, then the font family name would coincide with the font name, making it difficult to distinguish between the font name and the font family name. +You can see that the family name \texttt{futs}, corresponding to the regular Fourier font family, has been matched to the CB Greek \texttt{cmr} font family; the name \texttt{futs} has been deduced by reading the \texttt{fourier.sty} file from which one can see that the family declaration for the regular Fourier font family is \texttt{futs}. This sort of coding does not take place with all fonts: if the Iwona fonts had to be chosen, for example, then the font family name would coincide with the font name, making it difficult to distinguish between the \emph{font name} and the \emph{font family name}. -Notice the \verb|\Lipsiantrue| command before issuing the matching command \verb|\ifFamily}|. This command is optional and is used only if the composer wishes to use the Lipsian fonts; in this case the \texttt{li} shape is also defined, so that the \verb|\textli| and \verb|\lishape| commands do not issue any error message. +Notice the \verb|\Lipsiantrue| command before issuing the matching command \verb|\ifFamily}|. This command is optional and is used only if the composer wishes to use the Lipsian fonts; in this case the \texttt{li} shape is also defined, so that the \verb|\textli| and \verb|\lishape| commands do not issue any error message. At the end of the execution if the \verb|\ifFamily| command, the boolean switch is automatically reset to \verb|\Lipsianfalse|. A small caveat: when you issue for the first time the command \verb|\ifFamily| you might not see the expected result, and your Greek text might be typeset with the default ``Greek error font''. But the second time you typeset your document the expected result is obtained with the correct fonts. This is because with the very first run a new font description file is generated, and this file will be available in any subsequent typesetting run. @@ -239,14 +243,12 @@ $\langle$\textit{Greek text to be typeset with the Lipsian font}$\rangle$\\ \section{Font installation} In order to use the Greek CB fonts and the extensions provided with this -package, you need to install them, if they are not already installed by default when you install your preferred \TeX\ system distribution. You can freely download those fonts from -\textsc{ctan}, where you can find both the PostScript scalable ones and the - driver files for generating their bit- (pixel-) maps with \MF; since nowadays it's very unlikely that \LaTeX\ users limit themselves to a final DVI file, but typeset their documents in PDF or PS formats, the pixel files are very unlikely needed to produce their final documents; the \MF\ pixel files just allow the DVI previewer (should one be used) to run \MF\ in the background in order to produce the necessary pixel files so as to display on the screen the typeset documents\footnote{I mean documents that have been typeset with \textsf{latex}, not with \textsf{pdflatex}.}. These days there are other solutions to preview directly the typeset output file in PDF format and to use the previewer for direct and inverse search, so that the DVI format becomes really necessary only in very special and rare occasions. In the future it's very likely that the choice among such PDF previewers is much greater than today: at the beginning of 2010, there is the multi\-platform shell editor \textsf{TeXworks}, that incorporates a PDF previewer capable of direct and inverse search; for modern Windows platforms there is the \textsf{SumatraPDF} previewer that may be configured to work with various shell editors in order to perform approximately in the same way. For Mac platforms, besides the default shell editor and previewer TeXShop, and the multi-platform program TeXworks, one can proceed with Aquamacs as a shell editor and Skim as PDF previewer that work together so as to allow direct and inverse search. -There are also \textsf{TeXmaker} and \textsf{TeXstudio}, multi platform shell editors, that perform very well with their internal editors; they exhibit other useful features that may appeal to many users. Probably there are other such programs, but I know and have direct experience only with the above mentioned ones. +package, you need to install them, if they are not already installed by default when you install your preferred \TeX\ system complete distribution. You can freely download those fonts from \textsc{ctan}, where you can find both the PostScript scalable ones and the driver files for generating their bit- (pixel-) maps with \MF; since nowadays it's very unlikely that \LaTeX\ users limit themselves to a final DVI file, but typeset their documents in PDF or PS formats, the pixel files are very unlikely needed to produce their final documents; the \MF\ pixel files just allow the DVI previewer (should one be used) to run \MF\ in the background in order to produce the necessary pixel files so as to display on the screen the typeset documents\footnote{I mean documents that have been typeset with \textsf{latex}, not with \textsf{pdflatex}.}. These days there are other solutions to preview directly the typeset output file in PDF format and to use the previewer for direct and inverse search, so that the DVI format becomes really necessary only in very special and rare occasions. In the future it's very likely that the choice among such PDF previewers is much greater than today: at the beginning of 2010, there is the multi\-platform shell editor \textsf{TeXworks}, that incorporates a PDF previewer capable of direct and inverse search; for modern Windows platforms there is the \textsf{SumatraPDF} previewer that may be configured to work with various shell editors in order to perform approximately in the same way. For Mac platforms, besides the default shell editor and previewer TeXShop, and the multi-platform program TeXworks, one can proceed with Aquamacs as a shell editor and Skim as PDF previewer that work together so as to allow direct and inverse search. +There are also \textsf{TeXmaker} and \textsf{TeXstudio}, multi platform shell editors, that perform very well with their internal PDF readers; they exhibit other useful features that may appeal to many users. Probably there are other such programs, but I know and have direct experience only with the above mentioned ones. \section{\TeX\ font metric files} -The package \texttt{teubner} requires the updated \TeX\ font metric files \texttt{.tfm} for all sizes and series of the Lipsian fonts. With your file system explorer go to the folder \texttt{\$TEXMFDIST"/fonts"/tfm"/public"/cbfonts/} and read the date of, say, \texttt{grml1000.tfm}; if this date precedes the year 2010, then this \texttt{.tfm} file is ``old'' and must be replaced, and you should update your Greek CBfont collection. +The package \texttt{teubner} requires the updated \TeX\ font metric files \texttt{.tfm} for all sizes and series of the Lipsian fonts. With your file system explorer go to the folder \texttt{\$TEXMFDIST/fonts/tfm/public/cbfonts/} and read the date of, say, \texttt{grml1000.tfm}; if this date precedes the year 2010, then this \texttt{.tfm} file is ``old'' and must be replaced, and you should update your Greek CBfont collection (may be you should update your whole \TeX\ system installation). The updated \texttt{.tfm} files add some ligature and kerning information that is missing from the ``old'' ones. The Type~1 \texttt{pbf} font files have not been modified at all. @@ -313,7 +315,7 @@ any letter, due to the limitation of 256 glyphs per font; but they may be input by means of the standard \LaTeX\ commands \verb|\=| and \verb|\u| respectively in order to use them as accents. -Thanks to G�nter Milde, whom I thank very much and acknowledge his work, this package uses an extended set of macros that involve only the ``upper'' diacritics; they can be used in place of the combining diacritics described in table~\ref{t:accenti}; simply the accents are prefixed by a backslash and/or the accent sequence is prefixed with one backslash; therefore \textDidot{>'a|} +Thanks to G\"unter Milde, whom I thank very much and acknowledge his work, this package uses an extended set of macros that involve only the ``upper'' diacritics; they can be used in place of the combining diacritics described in table~\ref{t:accenti}; simply the accents are prefixed by a backslash and/or the accent sequence is prefixed with one backslash; therefore \textDidot{>'a|} may be obtained with \verb+>'a|+, or \verb+\>\'a|+, or \verb+\>'a|+. The last form is to be preferred with some shapes as discussed in the following paragraphs. @@ -356,13 +358,13 @@ Example & \multicolumn1c{Syntax} & Example & \multicolumn1c{Sy REMARKS\\[3pt]\footnotesize \ap{1}\quad The circumflex accent may be obtained with \comando\~\ only if attribute \textsf{polutoniko} was specified for the -Greek language with \babel\ v.3.7. At the same time it must be followed by its argument without using curly braces; if a Greek circumflex accent is desired over a vowel that ordinarily does not receive such an accent, or on any other symbol, then use \texttt{\string\GRcirc}\ARG{symbol} instead.\\ +Greek language with \babel\ v.3.7 or v.3.8. At the same time it must be followed by its argument without using curly braces; if a Greek circumflex accent is desired over a vowel that ordinarily does not receive such an accent, or on any other symbol, then use \texttt{\string\GRcirc}\ARG{symbol} instead.\\ \ap{2}\quad Most commands may be used also with latin letters.\\ \ap{3}\quad While typesetting in Greek within a \texttt{tabbing} environment, -both commands \comando\> and \comando\< play a different r�le as tab shifters; +both commands \comando\> and \comando\< play a different r\^ole as tab shifters; in this case either \comando\s\ and \comando\r\ are used for the spirit macros, or the standard ligature mechanism is used, especially if the spirit diacritics -fall on the very first vowel of a word. +fall on the very first vowel of a word. Suggestion; never use the \texttt{tabbing} environment; there are more effective ways to align chunks of text, for example the \texttt{tabular} environment. \bhrule \end{table} @@ -370,7 +372,7 @@ fall on the very first vowel of a word. It should be clear from the previous section that the ligature mechanism is the one that offers good results with most accented vowels, while speeding up the keying-in of the text to be typeset; nevertheless there are situations where you might be unsatisfied. -Fore example compare \l a>ut'os \ with \textLipsias{a\>ut\'os}. The small spacing difference between tau and the accented omicron is hardly noticeable, but the spacing difference between alpha and the marked upsilon is remarkable. Where does that difference come from? It comes from the fact that the smooth spirit marker inhibits kerning between the previous alpha and the resulting ligature from the spirit marker and the upsilon\footnote{The CB fonts may be used also with monotoniko spelling; in this case \textLipsias{A"ULOS} comes out well even with ligatures \texttt{A"ULOS}, because a special kludge has been devised; with the extended accent macros it would not be too boring to typeset \texttt{A\string\"ULOS} and do away with that kludge; without it and without such extended macros that word would be set as \textLipsias{Av"ULOS} with a much larger space between the capital alpha and the marked capital upsilon.}. +Fore example compare \textLipsias{a>ut'os} with \textLipsias{a\>ut\'os}. The small spacing difference between tau and the accented omicron is hardly noticeable, but the spacing difference between alpha and the marked upsilon is remarkable. Where does that difference come from? It comes from the fact that the smooth spirit marker inhibits kerning between the previous alpha and the resulting ligature from the spirit marker and the upsilon\footnote{The CB fonts may be used also with monotoniko spelling; in this case \textLipsias{A"ULOS} comes out well even with ligatures \texttt{A"ULOS}, because a special kludge has been devised; with the extended accent macros it would not be too boring to typeset \texttt{A\string\"ULOS} and do away with that kludge; without it and without such extended macros that word would be set as \textLipsias{Av"ULOS} with a much larger space between the capital alpha and the marked capital upsilon.}. In other words, by inputting \verb"a>ut'os", as it is suggested in the previous section, the spirit marker and the acute accent inhibit the kerning mechanism with the previous letter. In most instances the lack of such kerning is hardly noticeable, but in others it strikes your attention. @@ -382,7 +384,7 @@ For this reason two mechanisms are implemented in this package: The first solution has been described in the previous section and the extended accent macros are shown in table~\ref{t:accenti}. At the expense of one slash, these macros create a chain of commands that deeply exploit the \LaTeXe\ kernel commands and allow to fetch directly each accented character; notice that there is no need to treat the \verb+|+ sign this way, because its postfixed position does not break the kerning mechanism. The spirit macros \verb+\>+ and \verb+\<+ work also with the consonant `r' to produce \textLipsias{\>r, \<r}. The extended accent macros work correctly also with capital letters (where, in all caps, accents should not be typeset, except the dieresis, while in normal initial capitalizing the upper diacritics must be written at the left of the initial letter); for example\footnote{In the capitalized word the spirit and accent at the left of A imply a hiatus between the A and the \textDidot{u}; in the all caps word this hiatus is marked with the ``dialytika'' (dieresis) over the \textDidot{U}. This is an unusual example, but it shows also why the \texttt{\string\uppercase} and the \texttt{\string\MakeUppercase} require some attention in polutoniko Greek.} \textDidot{\>'Aulos, A\"ULOS} was typeset with \verb+\>'Aulos, A\"ULOS+. Notice also that the initial capital vowel has a spirit and possibly an accent, or is not preceded by anything, since the possible spirit with or without accent falls on the second element of a descending diphthong: \textDidot{a\>ut'os}, \textDidot{A\>ut'os}, and \textDidot{AUTOS}; \textDidot{e\>'inai}, \textDidot{E\>'inai}, \textDidot{EINAI}. If you really want to show an examle of how accents should \emph{not} be used in all caps words, you can type \textDidot{A\>UT\'OS} but you have to use the macros of table~\ref{t:accentmacros} as such: \verb+A\>UT\'OS+. -For the second solution a set of macros has been defined such that it is +Another solution is available if the \emph{GlyphNames} option is specified to the \texttt{tenbner} package: a set of macros has been defined such that it is possible to input the accented characters directly, without resorting to the ligature mechanism. Such macros have a common structure; they are formed with the letters that make up the @@ -394,7 +396,7 @@ up as such: \item the next optional character is the code for dieresis, smooth or rough spirit, with one of the letters d, s, r; \item the next character is the code for the circumflex, acute, or grave accent with one of the letters c, a, or g; \item the last optional character indicates iota subscript with the presence of an i; -\item there are no glyph names for upper case letters, since they should never be marked with diacritics, except for the diaeresis over \textDidot{I} and~\textDidot{U} for which glyph names are provided. +\item there are no glyph names for upper case letters, since they should never be marked with diacritics, except for the diaeresis over \textDidot{I} and~\textDidot{U} and for these glyphs adequate names are provided. \end{enumerate} This means that, for instance, \comando\asai\ stands for \textDidot{\asai}. For @@ -436,7 +438,7 @@ subscript may still be used also when the accent--vowel combinations are used.} \c\ea &\l\ea &\c\eg &\l\eg &\c\er &\l\er &\c\es &\l\es \\ \c\esa &\l\esa &\c\esg &\l\esg &\c\era &\l\era &\c\erg &\l\erg \\ \hline -\c\oa &\l\oa &\c\og\ap{1} &\l\og &\c\oR\ap{2}&\l\oR &\c\os &\l\os \\ +\c\oa &\l\oa &\c{\`o}\ap{1,3} &\l{\`o} &\c{\<o}\ap{2,3}&\l{\<o} &\c\os &\l\os & \V\\ \c\osa &\l\osa &\c\osg &\l\osg &\c\ora &\l\ora &\c\org &\l\org \\ \hline \c\rs &\l\rs &\c\rr &\l\rr &\D \\ @@ -446,31 +448,31 @@ subscript may still be used also when the accent--vowel combinations are used.} \caption{Glyph name macros}\label{t:compoundvowels} \bigskip REMARKS\\[3pt]\footnotesize -\ap{1}\quad Some users remarked that this \verb|\og| command may conflict the homonymous command available when typesetting French texts with the \texttt{french} option to \texttt{babel} in force; I have not experienced any inconvenience,at least with this version of of the \texttt{teubner} package.\par +\ap{1}\quad Some users remarked that this \verb|\og| command may conflict the homonymous command available when typesetting French texts with the \texttt{french} option to \texttt{babel} in force; For this reason it's necessary to use \verb|\`o| in its place, therefore using the extended accent macros.\par \leavevmode\ap{2}\quad As mentioned in the body of this text the command -\texttt{\char92or} is incompatible with the -primitive \TeX\ command with the same name. +\comando{\or} is incompatible with the primitive \TeX\ command with the same name, therefore it is necessary to use the extend accent macro \verb|\<o|.\par +\leavevmode\ap{3}\quad In both cases macros are unnecessary, specifically for \verb|\>o|, since an initial accented letter has no preceding letter which whom some kerning might be necessary; therefore at the start of a word always use \verb|'o| or \verb|<o|, and use \verb|\'o| only in a word internal position, should some kerning be necessary; actually the shape of the omicron seldom requires some kerning. \bhrule \end{table} What I suggest is to typeset your paper with the regular accent vowel ligatures and to substitute them in the final revision with -the extended accent macros or the glyph name macros only in those instances where the lack of kerning is disturbing. The extended accent macros should set forth less conflicts with other packages and should be the first choice when cleaning up the final revision. May be the glyph names will be eliminated in future releases of this package. Up to now these glyph name macros can be disabled if the option \emph{NoGlyphNames} is specified in the call statement to the \texttt{teubner.sty} package. +the extended accent macros or the glyph name macros only in those instances where the lack of kerning is disturbing. The extended accent macros should set forth less conflicts with other packages and should be the first choice when cleaning up the final revision. May be the glyph names will be eliminated in future releases of this package. Up to now these glyph name macros are disabled by default but, if the option \emph{GlyphNames} is specified in the call statement to the \texttt{teubner.sty} package, they are turned on and become available. \section{Upper case initials and capitalized text} As we have seen in the previous sections the ligature and kerning mechanisms are strictly connected and the extended accent macros may be useful in solving certain situations. The suggestion at the end of the previous section holds true, but some remarks must be underlined in order to use at its best the coexistence of both methods for using the accented glyphs. -The remarks concern the use of capital letters. As mentioned before in Greek typography words with capital initials starting with a vowel require their diacritics in front and at the left of the initial capital vowel (for example:\textLipsias{>Aristot'elhs}) provided the vowel is not the first element of a Greek diphthong; in the latter case the diacritics go on top of the diphthong lower case second element (for example: \textLipsias{A>isq'ulos}). On the opposite, all-caps words, such as in book titles or, with certain \LaTeX\ classes, in the headings, are typeset without any diacritic, except the dieresis. +The remarks concern the use of capital letters and, to a certain extent also the caps and small caps font shape. As mentioned before in Greek typography words with capital initials starting with a vowel require their diacritics in front and at the left of the initial capital vowel (for example:\textLipsias{>Aristot'elhs}) provided the vowel is not the first element of a Greek diphthong; in the latter case the diacritics go on top of the diphthong lower case second element (for example: \textLipsias{A>isq'ulos}). On the opposite, all-caps words, such as in book titles or, with certain \LaTeX\ classes, in the headings, are typeset without any diacritic, except the dieresis. I have already shown the unusual example of the word \textLipsias{>'aulos} where the first two vowels do not form a diphthong, but a hiatus; and this is why the diacritics fall on top of the alpha, not on the second element of the diphthong, for the very reason that there is no diphthong. In order to stress this unusual situation the word is most often spelled as \textLipsias{>'a\"ulos}, where the dieresis is sort of redundant, because the diacritics over the alpha already denote the hiatus. Similarly \textLipsias{>a\"upn'ia} is spelled with the redundant dieresis, although the soft spirit on the alpha already marks the hiatus. When these words require a capital initial, they become \textLipsias{>'A\"ulos} and \textLipsias{>A\"upn'ia}. -Notice that an initial single vowel may receive only a spirit marker with or without an accompanying accent, never a dieresis or a single accent\footnote{Of course we are talking of the polutoniko spelling, since this package \texttt{teubner} sets this spelling as the default one; nobody forbids to spell in monotoniko even when the polutoniko spelling is assumed, but in some rare instances there might be some inconsistencies.}. I tried hard to set up all the ligature and extended accent macros so as to do the right things when capitalizing or uppercasing, and if you follow the suggestions given in this section you should not meet any particular inconvenience; in particular, I stress this point here again, never use the extended accent macros for marking the initial vowel but use only the accent vowel ligatures. +Notice that an initial single vowel may receive only a spirit marker with or without an accompanying accent, never a dieresis or a single accent\footnote{Of course we are talking of the polutoniko spelling, since this package \texttt{teubner} sets this spelling as the default one; nobody forbids to spell in monotoniko even when the polutoniko spelling is assumed, but in some rare instances there might be some inconsistencies.}. I tried hard to set up all the ligature and extended accent macros so as to do the right things when capitalizing or uppercasing, and if you follow the suggestions given in this section you should not meet any particular inconvenience; in particular, I stress this point here again: \emph{never use the extended accent macros for marking the initial vowel but use only the accent vowel ligatures}. Assume these words have to go in an all-caps header that is made up (behind the scenes) by making use of the \verb|\MakeUppercase| command; they have to be spelled \textLipsias{A\"ULOS} and \textLipsias{A\"UPNIA}, even if in the sectioning command argument they were spelled in lowercase with all the necessary diacritics. -This is where the ligature and/or the extended accent macros may show their different behaviour. With the \texttt{teubner} generated secondary \texttt{LGRaccents-glyphs\discretionary{}{.}{.}def} file, that contains all the extended accent macros, such macros do not disappear in uppercasing, i.e.\ in transforming the mixed case argument of the +This is where the ligature and/or the extended accent macros may show their different behavior. With the \texttt{teubner} generated secondary \texttt{LGRaccents-glyphs\discretionary{}{.}{.}def} file, that contains all the extended accent macros, such macros do not disappear in uppercasing, i.e.\ in transforming the mixed case argument of the \verb|\MakeUppercase| command into an all-caps letter string. On the opposite the ligature sequences completely loose any reference to diacritics. @@ -492,8 +494,20 @@ and it's easily seen that: 1) corresponds to a non redundant lowercase correct s Let's examine another case where the lower case word has both the dieresis and an accent over the same vowel: \textLipsias{e>uzw"'ia}. Case 7) shows the effect of uppercasing when using ligatures, and the result is not correct because the dieresis does not fall over the capital iota; by simply inverting the sequence of the dieresis and the acute accent, case 8), a correct result is obtained, but kerning problems might take place because of the invisible presence of the lower cased acute accent; notice that the same result would be obtained if instead of the dieresis-vowel ligature the extended dieresis macro had been used; case 9) displays the situation when both extended accent macros are used so that the result does not suffer of any kerning problem but the capital iota has both the dieresis and the acute accent, while the latter should be absent; finally, case 10) displays a correct upper case result but the lower case counterpart would miss the acute accent. +When using small caps or caps and small caps, in other words, when using the +\verb|\scshape| declaration or the \verb|\textsc| command you use pay attention to other details; for example: +\begin{flushleft} +11) \verb|\textDidot{\scshape >Arqim'hdhs}| yields \textDidot{\scshape>Arqim'hdhs}\\ +12) \verb|\textDidot{\scshape \>Arqim'hdhs}| yields \textDidot{\scshape\>Arqim'hdhs}\\ +13) \verb|\textDidot{\scshape \>Arqim\'hdhs}| yields \textDidot{\scshape\>Arqim\'hdhs}\\ +14) \verb|\textDidot{\scshape >Arqim\'hdhs}| yields \textDidot{\scshape>Arqim\'hdhs}\\ +15) \verb|\textDidot{\scshape \>Arqim\ha dhs}| yields \textDidot{\scshape\>Arqim\ha dhs}\\ +16) \verb|\textDidot{\scshape \>{v}Arqim\'hdhs}| yields \textDidot{\scshape\>{v}Arqim\'hdhs}\\ +\end{flushleft} + +With caps and small caps a spirit, or a spirit accent combination prefixed to a capital letter does not produce any mark; this is the usual modern Greek habit of avoiding accents with capital letters and the \verb|\scshape| specification to Greek fonts excludes all the ligatures and kernings with such signs; the same holds true also with small caps. The extended accent macros explicitly avoid any mark over capital letters, but even in front they are ``silenced'' by the very characteristics of the specific font shape. With small caps there is a similar situation, except the the extended accent macros use a different definition for the accent macro so as to being able to put the accent on any glyph. But accents are apparently used in French also when proper names are typeset in caps and small caps, contrary to Greek, and in French the spelling of case 16 is correct; for the initial spirit, therefore it is necessary to resort to the invisible character obtained with the Latin letter `u', that is suitable for supporting any diacritic mark at the proper height. This remark comes from a mail exchange with Julien Browaeys who pointed out this specific typesetting French tradition. Julien Browaeys spotted also a sneaky glitch in the set of extended accent macros that was corrected thanks to his bug notification. I am pleased to acknowledge his contributions. + Conclusion: when writing the input code for a sectioning command, the argument of which has to be transformed to upper case, use only ligatures before the first vowel and use \verb|\"| (in the proper sequence with other accents) for the internal diereses, as in cases 3) and 8) above; don't use extended accent macros for the other internal accents. If you need to correct internal kerning by using internal extended accent macros, play with the sectioning command optional argument in order to use the right strategy for the correct typesetting of both the sectioning title and the page heading. The worst it can happen is a wrong kerning in the table of contents entry. If you want to avoid also this possibility, then either avoid classes that typeset their headings in all-caps, or use any external package that defines sectioning commands with two optional arguments, one for the heading contents and the other for the table of contents; or use equivalent tricks: for example the \texttt{memoir} class has a specific command \verb|\nouppercaseheads| that eliminates any heading uppercasing. -\enlargethispage*{1\baselineskip} \section{Other Greek symbols} Other Greek symbols may be obtained with ligatures or explicit diff --git a/Master/texmf-dist/doc/latex/teubner/teubner.pdf b/Master/texmf-dist/doc/latex/teubner/teubner.pdf Binary files differindex f0db6c32be6..c6aaf431105 100644 --- a/Master/texmf-dist/doc/latex/teubner/teubner.pdf +++ b/Master/texmf-dist/doc/latex/teubner/teubner.pdf diff --git a/Master/texmf-dist/doc/latex/teubner/teubner.txt b/Master/texmf-dist/doc/latex/teubner/teubner.txt index 305e789995a..bdbd62eb193 100644 --- a/Master/texmf-dist/doc/latex/teubner/teubner.txt +++ b/Master/texmf-dist/doc/latex/teubner/teubner.txt @@ -1,8 +1,8 @@ - THE TEUBNER PACKAGE VERSION 3.1 OF NOVEMBER 2010 + THE TEUBNER PACKAGE VERSION 3.3 OF SEPTEMBER 2011 EXTENSION FOR PHILOLOGICAL TYPESETTING -Copyright 2001-2004-2010 Claudio Beccari +Copyright 2001-2004-2011 Claudio Beccari The programs contained in this bundle can be distributed and/or modified under the terms of the LaTeX Project Public License (LPPL), version 1.3c @@ -145,7 +145,7 @@ you use LaTeX, you know what are its pros and cons. Happy philological LaTeXing! -Claudio Beccari Turin, 3 of September 2011 +Claudio Beccari Turin, 7 of September 2011 Former Professor of Electronics Politecnico di Torino, Italy claudio dot beccari at gmail dot com diff --git a/Master/texmf-dist/source/latex/teubner/teubner.dtx b/Master/texmf-dist/source/latex/teubner/teubner.dtx index f5e5130829b..55c895ef486 100644 --- a/Master/texmf-dist/source/latex/teubner/teubner.dtx +++ b/Master/texmf-dist/source/latex/teubner/teubner.dtx @@ -4,7 +4,7 @@ \input docstrip.tex \keepsilent \preamble -Copyright 2001--2010 Claudio Beccari All rights reserved. +Copyright 2001--2011 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 @@ -38,7 +38,7 @@ etc. \ifx\tmpa\fmtname\endgroup\expandafter\bye\fi \endgroup %</internal> -% File: teubner.dtx Copyright (C) 2001-2010 Claudio Beccari +% File: teubner.dtx Copyright (C) 2001-2011 Claudio Beccari % % It may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -65,10 +65,10 @@ etc. %% Right brace \} Tilde \~} % \iffalse %<*dtx> -\ProvidesFile{teubner.dtx}[2010/11/02 v.3.1 extensions for Greek philology] +\ProvidesFile{teubner.dtx}[2011/09/07 v.3.3 extensions for Greek philology] %</dtx> %<package>\NeedsTeXFormat{LaTeX2e} -%<package>\ProvidesPackage{teubner}[2010/05/08 v.3.0k extensions for Greek philology] +%<package>\ProvidesPackage{teubner}[2011/09/07 v.3.3 extensions for Greek philology] % %<*driver> \documentclass{ltxdoc} @@ -89,6 +89,8 @@ etc. } \newcommand*\acro[1]{\expandafter\textsc\expandafter{\MakeLowercase{#1}}} \usepackage{multicol} +\usepackage[T1]{fontenc} +\usepackage{lmodern} \begin{document} \maketitle \DocInput{teubner.dtx} @@ -96,7 +98,7 @@ etc. %</driver> % \fi % -% \CheckSum{5003} +% \CheckSum{5021} % \begin{multicols}{2}\tableofcontents\end{multicols} % % @@ -206,12 +208,12 @@ etc. % % Nevertheless there is a little point to observe; Lipsian fonts are very % nice but show most kerning errors with more evidence than the traditional -% Didot Greek fonts. With the prefix notation in force, kerning programs may result disabled -% and some diphthongs and some consonant-vowel combinations appear poorly matched when -% the second letter caries any diacritical mark. In order to avoid this -% ``feature'', the accented vowels may be input by means of macros, that -% directly translate to the accented glyph, rather than invoking the ligature -% programs that are implied by the prefix notation; reading a Greek text +% Didot Greek fonts. With the prefix notation in force, kerning programs may +% result disabled and some diphthongs and some consonant-vowel combinations +% appear poorly matched when the second letter caries any diacritical mark. In +% order to avoid this ``feature'', the accented vowels may be input by means of +% macros, that directly translate to the accented glyph, rather than invoking the +% ligature programs that are implied by the prefix notation; reading a Greek text % on the screen while editing the input \texttt{.tex} file when a Latin % keyboard and such macros are used may be very strange, but authors get % used to it, and agree that the effort is worth the result. @@ -344,10 +346,12 @@ etc. % file in order to help him typeset his master thesis of philological type in % classical Greek. % -% I am pleased to thank G\"unter Milde who wrote a definition file for accessing the -% LGR encoded fonts in order to fetch the accented glyphs; I kindly gave me +% I am pleased to thank G\"unter Milde who wrote a definition file for accessing +% the LGR encoded fonts in order to fetch the accented glyphs; I kindly gave me % permission to use his macros, that I adapted to the conventions used within this -% file. These macros are saved into the definition file |LGRaccent-glyph.def|, so that it can be used also without the |teubner| package, fore example for typesetting without setting the \emph{polytoniko} language attribute. +% file. These macros are saved into the definition file |LGRaccent-glyph.def|, so +% that it can be used also without the |teubner| package, fore example for +% typesetting without setting the \emph{polytoniko} language attribute. % % I got some ideas also from a paper that Werner Lemberg published on Eutypon, the % magazine of the Hellenic Friends of \TeX, where he discussed in a constructive @@ -416,9 +420,9 @@ Type X <return> to exit.}% % Evidently none of the diacritical marks is compulsory, but at least one must % be present; if more than one is present it must be given in that sequence. Since % |\oR| means omicron with rough breath, it is not very important that it is -% declared with the standard sequence |<o| or with |\oR|, because it never +% declared with the standard sequence |<o| or with |\oR| or with |\<o|, because it never % falls after another letter, so that it never breaks any ligature or kerning -% command. The command is there just for completeness. +% command. The command is there just for completeness. More or less the same is try with the |\og| sequence; it fails to work correctly when the main language is French and the |french| option to the |babel| package is in force; matter of facts, |\og| conflicts with the homonymous command defined by that option with the meaning of ``ouvrir guillemets''; therefore it's necessary to use either the plain sequence |`o| or the extended accent macro |\`o|. % % At the same time since all accent combinations are defined as ``text commands'', % in \LaTeX\ jargon, when their commands are followed by a vowel (or `r') they @@ -428,7 +432,7 @@ Type X <return> to exit.}% % it). See more on this point in the sequel. % % Nevertheless, while these glyph name macros are defined by default, it is possible -% to do without by specifying the option \emph{NoGlyphNames}, In this case the same +% to do without by specifying the option \emph{NoGlyphNames} (default; you can specify the option \emph{GlyphNames} for turning on these macro names. In this case the same % result is more comfortably obtained by using the extended accent macros whose % behaviour is specified in the definition file |LGRaccent-glyph.def|. % @@ -439,12 +443,12 @@ Type X <return> to exit.}% % |boldLipsian| and the Lipsian fonts used in medium series will be substituted % with those of the semi\-bold one. % -% At the same time, from July 2005, The full collection of the complete size set of -% the CB fonts is not available any more \emph{as the default \TeX\ system set up}; -% only the 10pt size are available unless the \texttt{cbgreek-full} font package is +% At the same time, from July 2005 and for a few years, the full collection of the complete size set of +% the CB fonts has not been available any more \emph{as the default \TeX\ system set up}; +% only the 10pt size were available unless the \texttt{cbgreek-full} font package is % loaded; for this reason a new option is needed in order to instruct % \texttt{teubner.sty} to use the specific file \texttt{type1ec.sty} dated at least -% 2002/09/07, so as to scale up or ddown all the EC and CB fonts from an original +% 2002/09/07, so as to scale up or down all the EC and CB fonts from an original % 10\,pt size. In order that the \texttt{10pt} plays its role correctly, it is % convenient, if not compulsory, to require first the \texttt{babel} package, then % the \texttt{teubner} one with the option \texttt{10pt}, then all other packages @@ -461,7 +465,7 @@ Type X <return> to exit.}% % those normally used with \TeX: |cmr| for serifed fonts, |cmss| for sanserif ones, % and |cmtt| for monospaced ones.\footnote{Even the Latin Modern fonts have % different family names, but, due to their importance, specific font description -% files have been added to the \babel\ package. The Lm fonts are more comfortable +% files have been added to the \babel\ package. The LM fonts are more comfortable % than the EC ones, when scalable fonts are to be used, because they are % continuously scalable and download into the produced files less font files than % the EC o cm-super ones. Unless specifically requested, the LM fonts should always @@ -476,7 +480,7 @@ Type X <return> to exit.}% % typesetter might get crazy trying to force shape and series changes in the Greek % text; it would not be impossible, but it would be very, very boring. In any case % see in the sequel for the implemented kludges in order to run successful -% compilations also with non standard \TeX\ system fonts. +% compilations also with non standard \TeX\ system fonts. % \begin{macrocode} \newif\ifor\orfalse % Compatibility with older versions \DeclareOption{or}{\relax} @@ -484,8 +488,9 @@ Type X <return> to exit.}% \DeclareOption{boldLipsian}{\boldLipsiantrue} \newif\ifonesizetypeone \DeclareOption{10pt}{\onesizetypeonetrue} -\newif\ifGlyphNames \GlyphNamestrue +\newif\ifGlyphNames \GlyphNamesfalse \DeclareOption{NoGlyphNames}{\GlyphNamesfalse} +\DeclareOption{GlyphNames}{\GlyphNamestrue} \ProcessOptions* % \end{macrocode} % @@ -504,8 +509,8 @@ Type X <return> to exit.}% % \end{macrocode} % % Now the default Olga Greek fonts, used for rendering the ``Greek italic shape'' -% are an alternative with the Lipsian ones. If the \texttt{10pt} -% option was specified it is necessary to load also the package texttt{type1ec.sty}. +% are an alternative with the Lipsian ones. If the \texttt{10pt} option was +% specified it is necessary to load also the package texttt{type1ec.sty}. % In any case we load also packages |graphicx| and |ifthen| that shall be useful % for some commands. % \begin{macrocode} @@ -538,18 +543,18 @@ Type X <return> to exit.}% % \end{macro} % Next we require the package for extensible math fonts; it might be strange to use % extensible math fonts in Greek philology, but a certain command must be picked up -% from such fonts, with the assurance that it changes size together with the current -% font size. +% from such fonts, with the assurance that it changes size together with the +% current font size. % \begin{macrocode} \RequirePackage{exscale} % \end{macrocode} % % Some macros are necessary to switch languages; such macros must be independent -% (at least for now) from the particular \babel\ version, whether it be version 3.6 -% or~3.7; in the former the concept of ``language attribute'' is unknown, while the -% latter recognizes varieties of the same language by the attribute setting. -% Such macros, besides being as robust as possible, must provide the alphabet -% changes as required. +% (at least for now) from the particular \babel\ version, whether it be version +% 3.6, 3.7, or~3.8; in the former the concept of ``language attribute'' is unknown, +% while the latter recognizes varieties of the same language by the attribute +% setting. Such macros, besides being as robust as possible, must provide the +% alphabet changes as required. % %\begin{macro}{\GreekName} % During the language switching operations |\GreekName| @@ -641,7 +646,7 @@ Type X <return> to exit.}% \string\DeclareFontShape{#1}{#2}{b}{rs}{<->ssub * #3/m/rs}{}^^J %<-serifed lc \string\DeclareFontShape{#1}{#2}{bx}{rs}{<->ssub * #3/bx/rs}{}^^J%<-serifed lc }% - \fi + \Lipsianfalse\fi \closeout15}% }} @@ -658,10 +663,10 @@ Type X <return> to exit.}% % |\n@xt| to be an alias to |\iftrue| or |iffalse| depending on the fact that the % CM (or EC) fonts or the LM fonts are the default Latin ones, in this case it sets % the |\n@xt| macro equivalent to |\iftrue|, otherwise it sets it to |\iffalse|. In -% order to succeed, it requires to analize the first two letters of the default +% order to succeed, it requires to analyze the first two letters of the default % family name; if these letters form one of the sequences |cm| or |lm|, the CM or % LM fonts have been loaded, otherwise some other fonts are in force. We need -% therefore a macro with delimited arguments in order to extract the ffirst two +% therefore a macro with delimited arguments in order to extract the first two % letters of the family name. % % \begin{macrocode} @@ -677,7 +682,7 @@ Type X <return> to exit.}% % encoding. Therefore, after these font definition files exist, \LaTeX\ can fetch % the Greek fonts by way of substitution. Let's explain again: if you specify % \begin{verbatim} -% \Lispsiantrue\ifFamuly{pxr}{lmr}\Lipsianfalse +% \Lipsiantrue\ifFamily{pxr}{lmr} % \end{verbatim} % you state that you want to run the macro on the serifed Palatino font family, by % associating the |pxr| family to the |lmr| one\footnote{If you have the full CB @@ -686,17 +691,17 @@ Type X <return> to exit.}% % map the missing family to the ordinary Computer Modern ones; the actual fonts are % the same, but the latter font definition files cope with the \emph{10pt} option, % while the former don't.}; by specifying |\Lipsiantrue| you state that you want to -% create entries also for the Lipsian series and shape; afterwards you reset -% |\Lipsianfalse| in order to avoid that other call of that macro on non serifed or -% monospaced fonts try to create entries that in any case do not exist: the Lipsian -% font comes only as a serifed font!. In this way, if you are using Palatino fonts -% through the \textsf{pxpackage}, the |teubner| macros provide to create the -% necessary font description files so that while you are typesetting in medium -% normal Latin Palatino and you switch to Greek, the built in macros change the -% encoding to LGR; The LGR Palatino serifed medium normal Greek font does not exist, -% but that family, series and shape are mapped by the font description file to the -% corresponding LGR encoded Latin Modern CB fonts in medium series and normal shape, -% and typesetting goes on with the rigth Greek fonts. +% create entries also for the Lipsian series and shape; The macro provides to reset +% |\Lipsianfalse| in order to avoid that other calls of that macro on non serifed +% or monospaced fonts try to create entries that in any case do not exist: the +% Lipsian font comes only as a serifed font! In this way, if you are using +% Palatino fonts through the \textsf{pxfonts} package, the |teubner| macros provide +% to create the necessary font description files so that while you are typesetting +% in medium normal Latin Palatino and you switch to Greek, the built in macros +% change the encoding to LGR; the LGR Palatino serifed medium normal Greek font +% does not exist, but that family, series and shape are mapped by the font +% description file to the corresponding LGR encoded Latin Modern CB fonts in medium +% series and normal shape, and typesetting goes on with the right Greek fonts. % \begin{macrocode} \newcommand*\ifFamily[2]{% \expandafter\ifCMLM#1!\else\substitutefontfamily{LGR}{#1}{#2}\fi} @@ -706,7 +711,7 @@ Type X <return> to exit.}% % fonts loaded by means of the corresponding packages \textsf{txfonts} or % \textsf{pxfonts}, because a hook is set up so that ``at begin document'' the % loading of those packages is tested, and if the test is true, the necessary font -% description files are possibly created. If you load the Tymes or the Palatino or +% description files are possibly created. If you load the Times or the Palatino or % any other non standard font by means of other packages, it's up to you to issue % the |\substitutefontfamily| macro right after calling that font package and by % using the correct family names; similarly you might substitute the new Latin font @@ -732,8 +737,8 @@ Type X <return> to exit.}% % Nevertheless all this requires a minimum of attention in specifying the options % for the \babel\ package and in the order extensions packages are read in. The % |teubner.sty| package should be read \emph{after} any other package that sets or -% resets the Latin font encoding; for example if -% the T1 encoding is selected as the default one, in place of the OT1 encoding, then +% resets the Latin font encoding; for example if the T1 encoding is selected as the +% default one, in place of the OT1 encoding, then % this choice must be made before this package is read in. Similarly when the % \babel\ options are specified, remember that the last language name becomes the % default language at begin document; never specify \texttt{greek} as the last @@ -789,8 +794,8 @@ Type X <return> to exit.}% % |\textLipsias| is a command that typesets its argument with the |\Lipsiakostext| % declaration in force. The \LaTeX\ command declaration used here makes sure that % possible italic corrections are taken into account; hte actual font switching is -% made through the same |\Lipsiakostext| declaration, but the innner working -% maintain local this declaration, so non grouping is explicitly required; for this +% made through the same |\Lipsiakostext| declaration, but the inner working +% maintain local this declaration, so non grouping is explicitly required; for this % reason we suggest to use this text command rather than the font declaration. % \begin{macrocode} \DeclareTextFontCommand{\textLipsias}{\Lipsiakostext} @@ -865,9 +870,9 @@ Type X <return> to exit.}% %\begin{macro}{\textui} %\begin{macro}{\rsshape} %\begin{macro}{\textrs} -% The other switching foont macros for using the other shaps that are available with -% the CB fonts are working only when tyesetting in Greek and the default encoding is -% therefore LGR. +% The other switching font macros for using the other shapes that are available +% with the CB fonts are working only when typesetting in Greek and the default +% encoding is therefore LGR. % \begin{macrocode} \DeclareRobustCommand\uishape{% \ifthenelse{\equal{\f@encoding}{\GRencoding@name}}% @@ -3420,7 +3425,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} %<*defs> % \begin{macrocode} \ProvidesFile{LGRaccents-glyphs.def}% - [2010/05/08 v.2.0a Definitions of accents and glyphs for LGR encoded Greek fonts] + [2011/09/07 v.3.3 Definitions of accents and glyphs for LGR encoded Greek fonts] % \end{macrocode} % \subsection{First set of extended accent definitions} % These macros were originally defined by Guenter Milde @@ -3550,6 +3555,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} \DeclareTextComposite{\Dasia}{\GRencoding@name}{a}{129} \DeclareTextComposite{\Psili}{\GRencoding@name}{a}{130} \DeclareTextComposite{\'}{\GRencoding@name}{a}{136} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{a}{144} \DeclareTextComposite{\~}{\GRencoding@name}{a}{144} \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{a}{137} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{a}{145} @@ -3565,6 +3571,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{h}{161} \DeclareTextComposite{\PsiliOxia}{\GRencoding@name}{h}{162} \DeclareTextComposite{\PsiliVaria}{\GRencoding@name}{h}{171} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{h}{168} \DeclareTextComposite{\~}{\GRencoding@name}{h}{168} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{h}{169} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{h}{170} @@ -3576,6 +3583,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{w}{185} \DeclareTextComposite{\PsiliOxia}{\GRencoding@name}{w}{186} \DeclareTextComposite{\PsiliVaria}{\GRencoding@name}{w}{187} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{w}{192} \DeclareTextComposite{\~}{\GRencoding@name}{w}{192} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{w}{193} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{w}{194} @@ -3590,6 +3598,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} \DeclareTextComposite{\~}{\GRencoding@name}{i}{216} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{i}{217} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{i}{218} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{i}{240} \DeclareTextComposite{\"}{\GRencoding@name}{i}{240} \DeclareTextComposite{\DialytikaVaria}{\GRencoding@name}{i}{241} \DeclareTextComposite{\DialytikaTonos}{\GRencoding@name}{i}{242} @@ -3602,6 +3611,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{u}{213} \DeclareTextComposite{\PsiliOxia}{\GRencoding@name}{u}{214} \DeclareTextComposite{\PsiliVaria}{\GRencoding@name}{u}{215} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{u}{220} \DeclareTextComposite{\~}{\GRencoding@name}{u}{220} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{u}{221} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{u}{222} @@ -3636,9 +3646,9 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} % used; the CB fonts don't even contain them. There is no concern with kerning % because the diacritics preceding the capital letters are not preceded by something % else; what follows is kerned the usual way. With \"I and \"U specific kernings are -% provided, if the dialytika macro |\"| is used, while kerning dith the dialytika -% ligature temporarily work with kludges that should not be present in any font, but -% the CB fonts have because the |AU| and |A'U| kerning was terrible without them; +% provided, if the dialytika macro |\"| is used; kerning with the dialytika +% ligature temporarily works with kludges that should not be present in any font, but +% the CB fonts have them because the |AU| and |A'U| kerning was terrible without them; % now, with Milde's macros and or the pre-existing |\Id| and |\Ud| macros, should % not be of any concern. % \begin{macrocode} @@ -3737,7 +3747,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} %<*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 +% using the CBgreek fonts even when other Latin fonts, 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 @@ -3749,7 +3759,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} % 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 +% Now if 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. @@ -3761,7 +3771,7 @@ Illegal value (\number#1) for \string\ActicNumeral\space}} % 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] + [2011/09/07 v.3.3 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}{} diff --git a/Master/texmf-dist/tex/latex/teubner/LGRaccents-glyphs.def b/Master/texmf-dist/tex/latex/teubner/LGRaccents-glyphs.def index ca32279f60c..9b313307c34 100644 --- a/Master/texmf-dist/tex/latex/teubner/LGRaccents-glyphs.def +++ b/Master/texmf-dist/tex/latex/teubner/LGRaccents-glyphs.def @@ -5,7 +5,7 @@ %% The original source files were: %% %% teubner.dtx (with options: `defs') -%% Copyright 2001--2010 Claudio Beccari All rights reserved. +%% Copyright 2001--2011 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 @@ -44,7 +44,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \ProvidesFile{LGRaccents-glyphs.def}% - [2010/05/08 v.2.0a Definitions of accents and glyphs for LGR encoded Greek fonts] + [2011/09/07 v.3.3 Definitions of accents and glyphs for LGR encoded Greek fonts] \providecommand*\GRencoding@name{LGR} \DeclareTextAccent{\u}{\GRencoding@name}{"1E} % breve \DeclareTextAccent{\=}{\GRencoding@name}{"1F} % macron @@ -115,6 +115,7 @@ \DeclareTextComposite{\Dasia}{\GRencoding@name}{a}{129} \DeclareTextComposite{\Psili}{\GRencoding@name}{a}{130} \DeclareTextComposite{\'}{\GRencoding@name}{a}{136} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{a}{144} \DeclareTextComposite{\~}{\GRencoding@name}{a}{144} \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{a}{137} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{a}{145} @@ -130,6 +131,7 @@ \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{h}{161} \DeclareTextComposite{\PsiliOxia}{\GRencoding@name}{h}{162} \DeclareTextComposite{\PsiliVaria}{\GRencoding@name}{h}{171} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{h}{168} \DeclareTextComposite{\~}{\GRencoding@name}{h}{168} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{h}{169} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{h}{170} @@ -141,6 +143,7 @@ \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{w}{185} \DeclareTextComposite{\PsiliOxia}{\GRencoding@name}{w}{186} \DeclareTextComposite{\PsiliVaria}{\GRencoding@name}{w}{187} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{w}{192} \DeclareTextComposite{\~}{\GRencoding@name}{w}{192} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{w}{193} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{w}{194} @@ -155,6 +158,7 @@ \DeclareTextComposite{\~}{\GRencoding@name}{i}{216} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{i}{217} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{i}{218} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{i}{240} \DeclareTextComposite{\"}{\GRencoding@name}{i}{240} \DeclareTextComposite{\DialytikaVaria}{\GRencoding@name}{i}{241} \DeclareTextComposite{\DialytikaTonos}{\GRencoding@name}{i}{242} @@ -167,6 +171,7 @@ \DeclareTextComposite{\DasiaOxia}{\GRencoding@name}{u}{213} \DeclareTextComposite{\PsiliOxia}{\GRencoding@name}{u}{214} \DeclareTextComposite{\PsiliVaria}{\GRencoding@name}{u}{215} +\DeclareTextComposite{\Perispomeni}{\GRencoding@name}{u}{220} \DeclareTextComposite{\~}{\GRencoding@name}{u}{220} \DeclareTextComposite{\DasiaPerispomeni}{\GRencoding@name}{u}{221} \DeclareTextComposite{\PsiliPerispomeni}{\GRencoding@name}{u}{222} diff --git a/Master/texmf-dist/tex/latex/teubner/teubner.sty b/Master/texmf-dist/tex/latex/teubner/teubner.sty index 2911115b210..15bb7fad4ed 100644 --- a/Master/texmf-dist/tex/latex/teubner/teubner.sty +++ b/Master/texmf-dist/tex/latex/teubner/teubner.sty @@ -5,7 +5,7 @@ %% The original source files were: %% %% teubner.dtx (with options: `package') -%% Copyright 2001--2010 Claudio Beccari All rights reserved. +%% Copyright 2001--2011 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 @@ -44,7 +44,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{teubner}[2010/05/08 v.3.0k extensions for Greek philology] +\ProvidesPackage{teubner}[2011/09/07 v.3.3 extensions for Greek philology] \ifx\teubner\undefined \def\teubner{teubner}\else\expandafter\endinput \fi @@ -64,8 +64,9 @@ Type X <return> to exit.}% \DeclareOption{boldLipsian}{\boldLipsiantrue} \newif\ifonesizetypeone \DeclareOption{10pt}{\onesizetypeonetrue} -\newif\ifGlyphNames \GlyphNamestrue +\newif\ifGlyphNames \GlyphNamesfalse \DeclareOption{NoGlyphNames}{\GlyphNamesfalse} +\DeclareOption{GlyphNames}{\GlyphNamestrue} \ProcessOptions* \def\GRencoding@name{LGR} \ifonesizetypeone @@ -132,7 +133,7 @@ Type X <return> to exit.}% \string\DeclareFontShape{#1}{#2}{b}{rs}{<->ssub * #3/m/rs}{}^^J %<-serifed lc \string\DeclareFontShape{#1}{#2}{bx}{rs}{<->ssub * #3/bx/rs}{}^^J%<-serifed lc }% - \fi + \Lipsianfalse\fi \closeout15}% }} diff --git a/Master/texmf-dist/tex/latex/teubner/teubnertx.sty b/Master/texmf-dist/tex/latex/teubner/teubnertx.sty index 9be011b5a6c..a2d9442bd04 100644 --- a/Master/texmf-dist/tex/latex/teubner/teubnertx.sty +++ b/Master/texmf-dist/tex/latex/teubner/teubnertx.sty @@ -5,7 +5,7 @@ %% The original source files were: %% %% teubner.dtx (with options: `tbtx') -%% Copyright 2001--2010 Claudio Beccari All rights reserved. +%% Copyright 2001--2011 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 @@ -45,7 +45,7 @@ %% Right brace \} Tilde \~} \ProvidesPackage{teubnertx}% - [2010/11/02 v.1.0 Access to the LGR encoded Greek fonts when TX fonts are used] + [2011/09/07 v.3.3 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}{} diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index afe09099d39..129dcd2912a 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1753,7 +1753,8 @@ my $core_latex = "$Master/texmf-dist/tex/latex"; 'schedule' => 'latex', # requires interaction 'silence' => 'latex -translate-file=empty.tcx', # no 8-bit 'svn-multi' => 'latex', # interaction for .pl - 'termlist' => 'tex', # interaction for .pl + 'teubner' => 'latex', # interaction + 'termlist' => 'tex', # interaction for .pl 'thumb' => 'latex -translate-file=empty.tcx', # no 8-bit 'todonotes' => 'latex', # requires interaction 'toptesi' => 'latex', # requires interaction |