summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gfsneohellenic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-16 00:36:55 +0000
committerKarl Berry <karl@freefriends.org>2009-01-16 00:36:55 +0000
commit3f18e1f365c055731f2247a79e93d0bd2bd5a62b (patch)
tree34e8251e839b0c395f23d8d53ecddf5cc9e2f38f /Master/texmf-dist/tex/latex/gfsneohellenic
parent49c45c0724874d37b44eccd2d9b6d4e26c68e213 (diff)
gfsneohellenic.sty update (15jan09)
git-svn-id: svn://tug.org/texlive/trunk@11889 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gfsneohellenic')
-rw-r--r--Master/texmf-dist/tex/latex/gfsneohellenic/gfsneohellenic.sty22
1 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/gfsneohellenic/gfsneohellenic.sty b/Master/texmf-dist/tex/latex/gfsneohellenic/gfsneohellenic.sty
index ff6f8d4dd19..7cf587d0ba0 100644
--- a/Master/texmf-dist/tex/latex/gfsneohellenic/gfsneohellenic.sty
+++ b/Master/texmf-dist/tex/latex/gfsneohellenic/gfsneohellenic.sty
@@ -1,4 +1,10 @@
-%% This is file `gfsneohellenic.sty'.
+%%
+%% This is file `gfsneohellenic.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% gfsneohellenic.dtx (with options: `gfsneohellenic')
%%
%% (c) copyright 2006
%% Antonis Tsolomitis
@@ -38,6 +44,15 @@
\message{*****************************************************************}\MessageBreak
\message{ GFS-Neohellenic style file by A. Tsolomitis and I. Vassilogiorgakis }\MessageBreak
\message{*****************************************************************}\MessageBreak
+%% We need LGR to typeset e at the end of \LaTeXe
+\InputIfFileExists{lgrenc.def}{%
+ \message{Loading the definitions for the Greek font encoding}}{%
+ \errhelp{I can't find the lgrenc.def file for the Greek fonts}%
+ \errmessage{Since I do not know what the LGR encoding means^^J
+ I can't typeset Greek.^^J
+ I stop here, while you get a suitable lgrenc.def file}\@@end
+ }
+%%%%%%%%%%%%%%
\DeclareOption{default}{%
%\usepackage{cmbright}
\renewcommand{\rmdefault}{neohellenic}\renewcommand{\sfdefault}{neohellenic}
@@ -92,9 +107,10 @@
\DeclareTextAccent{\'}{OT1}{180}
\DeclareTextAccent{\^}{OT1}{25}
\DeclareTextAccent{\~}{OT1}{152}
+\AtBeginDocument{\DeclareTextAccent{\"}{OT1}{168}}
%\DeclareTextAccent{\"}{OT1}{168}
%\def\"#1{\accent168#1}
-\@ifpackagewith{fontenc}{T1}{}{\def\"#1{\accent168#1}}
+%\@ifpackagewith{fontenc}{T1}{}{\def\"#1{\accent168#1}}
\DeclareTextAccent{\H}{OT1}{5}
\DeclareTextAccent{\r}{OT1}{9}
\DeclareTextAccent{\t}{OT1}{10}
@@ -214,7 +230,7 @@
\renewcommand{\TeX}{{\fontencoding{OT1}\fontfamily{neohellenic}\selectfont T\kern -.1667em\lower .55ex\hbox {E}\kern -.125emX}}
\renewcommand{\LaTeXe}{\hbox{\fontencoding{OT1}\fontfamily{neohellenic}\selectfont L\kern-.32em%
\raisebox{.75ex}{\textsc{a}}\kern-.05em\hbox{\TeX}\kern-.0em\hbox{2}\kern-.05em%
-\raisebox{-.4ex}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\textit{e}}}}
+\raisebox{-.4ex}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\textit{e}}}}%
\renewcommand{\LaTeX}{\hbox{\fontencoding{OT1}\fontfamily{neohellenic}\selectfont L\kern-.32em%
\raisebox{.75ex}{\textsc{a}}\kern-.05em\hbox{\TeX}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%