diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-29 23:43:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-29 23:43:43 +0000 |
commit | 7320c39b3943cac8ea4e08425e2c51f6238075bb (patch) | |
tree | 2d5db381c4d9d6315d4a01d1733ed858440ccb7f /Master/texmf-dist | |
parent | c16b83c6785e81ae8a34b87155fc8d7d98edadaa (diff) |
xgreek (27sep11)
git-svn-id: svn://tug.org/texlive/trunk@24147 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xgreek/README | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/xgreek/xgreek.pdf | bin | 68843 -> 69299 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/xelatex/xgreek/xgreek.dtx | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xgreek/xgreek.sty | 25 |
4 files changed, 57 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xgreek/README b/Master/texmf-dist/doc/xelatex/xgreek/README index 6e294a9880e..258b7966e9f 100644 --- a/Master/texmf-dist/doc/xelatex/xgreek/README +++ b/Master/texmf-dist/doc/xelatex/xgreek/README @@ -1,3 +1,13 @@ +Version 2.3 of package xgreek + +In this version the \stigma command expands to the letters sigma tau. +If one wants this command to expand to the stigma symbol, she has to +use the stigma package option. + +Apostolos Syropoulos +Xanthi, Greece +2011/09/27 + Version 2.2 of package xgreek In version 2.2 it was removed the first entry of \refname in \@ncientn@mes. @@ -35,5 +45,3 @@ greek loadhyph-el-polyton.tex Apostolos Syropoulos Xanthi, Greece 2008/06/24 - - diff --git a/Master/texmf-dist/doc/xelatex/xgreek/xgreek.pdf b/Master/texmf-dist/doc/xelatex/xgreek/xgreek.pdf Binary files differindex b4774063f73..06d7f5ae979 100644 --- a/Master/texmf-dist/doc/xelatex/xgreek/xgreek.pdf +++ b/Master/texmf-dist/doc/xelatex/xgreek/xgreek.pdf diff --git a/Master/texmf-dist/source/xelatex/xgreek/xgreek.dtx b/Master/texmf-dist/source/xelatex/xgreek/xgreek.dtx index f854aa7bede..954ac1cef8f 100644 --- a/Master/texmf-dist/source/xelatex/xgreek/xgreek.dtx +++ b/Master/texmf-dist/source/xelatex/xgreek/xgreek.dtx @@ -29,13 +29,13 @@ % Apostolos Syropoulos (asyropoulos@yahoo.com) % %\fi -% \CheckSum{1843} -% \changes{xgreek~2.2}{2010/12/28}{Removed first entry of \refname in \@ncientn@mes} +% \CheckSum{1847} +% \changes{xgreek~2.3}{2011/09/27}{Removed first entry of \refname in \@ncientn@mes} % \iffalse This is a Metacomment % %<xgreek, >\ProvidesFile{xgreek.sty} % -%<xgreek, > [2010/12/28 v2.2 Package `xgreek.sty'] +%<xgreek, > [2011/09/27 v2.3 Package `xgreek.sty'] % % \begin{macrocode} %<*driver> @@ -58,7 +58,7 @@ %\author{Apostolos Syropoulos\\ % Xanthi, Greece\\ % \texttt{asyropoulos@yahoo.com}} -% \date{2009/11/23\\ Updated 2011/01/05} +% \date{2009/11/23\\ Last Updated 2011/09/27} %\maketitle % \begin{abstract} % The \textsf{xgreek} package provides rudimentary support for Greek language @@ -87,7 +87,7 @@ % we first need to set up the correct |\uccode|s and |\lccode|s. % \begin{macrocode} %<*xgreek> -\message{Package `xgreek' version 2.2 by Apostolos Syropoulos} +\message{Package `xgreek' version 2.3 by Apostolos Syropoulos} \global\lccode"0370="0371 \global\uccode"0370="0370 \global\lccode"0371="0371 \global\uccode"0371="0370 \global\lccode"0372="0373 \global\uccode"0372="0372 @@ -489,6 +489,24 @@ Μαΐου\or Ἰουνίου\or Ἰουλίου\or Αὐγούστου\or Σεπτεμβρίου\or Ὀκτωβρίου\or Νοεμβρίου\or Δεκεμβρίου\fi} % \end{macrocode} +% Next we define a few macros, which allow one to access characters +% that are not usually easily accessible from the keyboard (e.g., the sampi or the +% koppa symbol). +% \begin{macrocode} +\def\anwtonos{\char"0374\relax} +\def\katwtonos{\char"0375\relax} +\def\koppa{\char"03DF\relax} +\def\sampi{\char"03E1\relax} +\def\Digamma{\char"03DC\relax} +\def\ddigamma{\char"03DD\relax} +\def\euro{\char"20AC\relax} +\def\permill{\char"2030\relax} +% \end{macrocode} +% Many users prefer the use of the letters sigma and tau instead of the stigma symbol in +% Greek numerals, therefore, by default the |\stigmna| command expands to ``στ''. +% \begin{macrocode} +\def\stigma{στ\relax} +% \end{macrocode} % Now that we have defined the language dependant macros, we can safely define the various % supported options. Note we follow the standard mechanims to load hyphenation patterns. % \begin{macrocode} @@ -505,6 +523,16 @@ \@ncientn@mes% \let\gr@month\gr@c@month% } +% \end{macrocode} +% If a user wants to use the stigma symbol in Greek numerals, she should use the +% |stigna| option. +% \begin{macrocode} +\DeclareOption{stigma}{% + \def\stigma{\char"03DA\relax} +} +% \end{macrocode} +% By default the |monogreek| option is activated. +% \begin{macrocode} \ExecuteOptions{monogreek} \ProcessOptions % \end{macrocode} @@ -514,19 +542,6 @@ \let\@afterindentfalse\@afterindenttrue \@afterindenttrue % \end{macrocode} -% Before we proceed let us define a few macros, which allow one to access characters -% that are not usually easily accessible such as the sampi or koppa symbols. -% \begin{macrocode} -\def\anwtonos{\char"0374\relax} -\def\katwtonos{\char"0375\relax} -\def\koppa{\char"03DF\relax} -\def\stigma{\char"03DA\relax} -\def\sampi{\char"03E1\relax} -\def\Digamma{\char"03DC\relax} -\def\ddigamma{\char"03DD\relax} -\def\euro{\char"20AC\relax} -\def\permill{\char"2030\relax} -% \end{macrocode} % Now we are going to define the macros that typeset alphabetic Greek numerals. The code % is borrowed from the greek option for the babel package. % \begin{macro}{\gr@ill@value} diff --git a/Master/texmf-dist/tex/xelatex/xgreek/xgreek.sty b/Master/texmf-dist/tex/xelatex/xgreek/xgreek.sty index b6f1a9a141b..b8dddbbe1a3 100644 --- a/Master/texmf-dist/tex/xelatex/xgreek/xgreek.sty +++ b/Master/texmf-dist/tex/xelatex/xgreek/xgreek.sty @@ -35,8 +35,8 @@ %% Right brace \} Tilde \~} %% \ProvidesFile{xgreek.sty} - [2010/12/28 v2.2 Package `xgreek.sty'] -\message{Package `xgreek' version 2.2 by Apostolos Syropoulos} + [2011/09/27 v2.3 Package `xgreek.sty'] +\message{Package `xgreek' version 2.3 by Apostolos Syropoulos} \global\lccode"0370="0371 \global\uccode"0370="0370 \global\lccode"0371="0371 \global\uccode"0371="0370 \global\lccode"0372="0373 \global\uccode"0372="0372 @@ -419,6 +419,15 @@ \ifcase\month\or Ἰανουαρίου\or Φεβρουαρίου\or Μαρτίου\or Ἀπριλίου\or Μαΐου\or Ἰουνίου\or Ἰουλίου\or Αὐγούστου\or Σεπτεμβρίου\or Ὀκτωβρίου\or Νοεμβρίου\or Δεκεμβρίου\fi} +\def\anwtonos{\char"0374\relax} +\def\katwtonos{\char"0375\relax} +\def\koppa{\char"03DF\relax} +\def\sampi{\char"03E1\relax} +\def\Digamma{\char"03DC\relax} +\def\ddigamma{\char"03DD\relax} +\def\euro{\char"20AC\relax} +\def\permill{\char"2030\relax} +\def\stigma{στ\relax} \DeclareOption{monogreek}{% \language\l@monogreek% } @@ -432,20 +441,14 @@ \@ncientn@mes% \let\gr@month\gr@c@month% } +\DeclareOption{stigma}{% + \def\stigma{\char"03DA\relax} +} \ExecuteOptions{monogreek} \ProcessOptions \frenchspacing \let\@afterindentfalse\@afterindenttrue \@afterindenttrue -\def\anwtonos{\char"0374\relax} -\def\katwtonos{\char"0375\relax} -\def\koppa{\char"03DF\relax} -\def\stigma{\char"03DA\relax} -\def\sampi{\char"03E1\relax} -\def\Digamma{\char"03DC\relax} -\def\ddigamma{\char"03DD\relax} -\def\euro{\char"20AC\relax} -\def\permill{\char"2030\relax} \def\gr@ill@value#1{% \PackageWarning{xgreek}{Illegal value (#1) for greeknumeral}} \DeclareRobustCommand\anw@false{% |