summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/countriesofeurope
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-28 21:34:41 +0000
committerKarl Berry <karl@freefriends.org>2018-12-28 21:34:41 +0000
commit5f5e3b734fe79b18115c591ba0d2b1a789e7678a (patch)
tree157935a800558ddc87ad52c0401337e6ea70d447 /Master/texmf-dist/tex/latex/countriesofeurope
parent2d89587eeee7209cafca4b1c12837c820050b957 (diff)
countriesofeurope (28dec18)
git-svn-id: svn://tug.org/texlive/trunk@49517 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/countriesofeurope')
-rw-r--r--Master/texmf-dist/tex/latex/countriesofeurope/CountriesOfEurope.sty105
-rw-r--r--Master/texmf-dist/tex/latex/countriesofeurope/CountriesofEurope.sty159
2 files changed, 159 insertions, 105 deletions
diff --git a/Master/texmf-dist/tex/latex/countriesofeurope/CountriesOfEurope.sty b/Master/texmf-dist/tex/latex/countriesofeurope/CountriesOfEurope.sty
deleted file mode 100644
index cd332860433..00000000000
--- a/Master/texmf-dist/tex/latex/countriesofeurope/CountriesOfEurope.sty
+++ /dev/null
@@ -1,105 +0,0 @@
-%%
-%% CountriesOfEurope.sty
-%%
-%% COPYRIGHT 2012 by Rolf Niepraschk <Rolf.Niepraschk@gmx.de>
-%% Herbert Voss, <hvoss@tug.org>.
-%%
-%% This program can be redistributed and/or modified under the terms
-%% of the LaTeX Project Public License Distributed from CTAN
-%% archives in directory macros/latex/base/lppl.txt.
-%%
-%% The Type 1 version of the font CountriesOfEurope is copyrighted by Ingo Zimmermann
-%% and can be used under the Open Font License
-%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{CountriesOfEurope}[2012/04/18 v0.21 CountriesOfEurope Font(RN,hv)]
-
-\RequirePackage{keyval}
-\def\CoE@scale{1}
-\define@key{CoE}{scaled}[10]{\def\CoE@scale{#1}}
-\def\ProcessOptionsWithKV#1{%
- \let\@tempc\relax
- \let\CoE@tempa\@empty
- \ifx\@classoptionslist\relax\else
- \@for\CurrentOption:=\@classoptionslist\do{%
- \@ifundefined{KV@#1@\CurrentOption}%
- {}%
- {%
- \edef\CoE@tempa{\CoE@tempa,\CurrentOption,}%
- \@expandtwoargs\@removeelement\CurrentOption
- \@unusedoptionlist\@unusedoptionlist
- }%
- }%
- \fi
- \edef\CoE@tempa{%
- \noexpand\setkeys{#1}{%
- \CoE@tempa\@ptionlist{\@currname.\@currext}%
- }%
- }%
- \CoE@tempa
- \let\CurrentOption\@empty
-}
-\ProcessOptionsWithKV{CoE}
-\AtEndOfPackage{\let\@unprocessedoptions\relax}
-
-\DeclareFontFamily{U}{CountriesOfEurope}{}
-\DeclareFontShape{U}{CountriesOfEurope}{m}{n}{ <-> s*[\CoE@scale] CountriesOfEurope}{}
-
-\providecommand\CountriesOfEuropeFamily{\usefont{U}{CountriesOfEurope}{m}{n}}
-\providecommand\EUCountry[1]{{\CountriesOfEuropeFamily\char#1}}
-
-\iffalse
-%80
- \Albania \Andorra \Austria \Belarus \Belgium \Bosnia \Bulgaria \Croatia
- \Czechia \Denmark \Estonia \Finland \France \Germania \GreatBritain \Greece
-%90
- \Hungary \Iceland \Ireland \Italy \Latvia \Liechtenstein \Lithuania \Luxembourg
- \Macedonia \Malta \Moldova \Montenegro \Netherlands \Norway \Poland \Portugal
-%A0
- \Romania \Serbia \Slovakia \Slovenia \Spain \Sweden \Switzerland
-\fi
-
-\DeclareTextCommand{\Albania}{U}{\char128}
-\DeclareTextCommand{\Andorra}{U}{\char129}
-\DeclareTextCommand{\Austria}{U}{\char130}
-\DeclareTextCommand{\Belarus}{U}{\char131}
-\DeclareTextCommand{\Belgium}{U}{\char132}
-\DeclareTextCommand{\Bosnia}{U}{\char133}
-\DeclareTextCommand{\Bulgaria}{U}{\char134}
-\DeclareTextCommand{\Croatia}{U}{\char135}
-\DeclareTextCommand{\Czechia}{U}{\char136}
-\DeclareTextCommand{\Denmark}{U}{\char137}
-\DeclareTextCommand{\Estonia}{U}{\char138}
-\DeclareTextCommand{\Finland}{U}{\char139}
-\DeclareTextCommand{\France}{U}{\char140}
-\DeclareTextCommand{\Germany}{U}{\char141}
-\DeclareTextCommand{\GreatBritain}{U}{\char142}
-\DeclareTextCommand{\Greece}{U}{\char143}
-\DeclareTextCommand{\Hungary}{U}{\char144}
-\DeclareTextCommand{\Iceland}{U}{\char145}
-\DeclareTextCommand{\Ireland}{U}{\char146}
-\DeclareTextCommand{\Italy}{U}{\char147}
-\DeclareTextCommand{\Latvia}{U}{\char148}
-\DeclareTextCommand{\Liechtenstein}{U}{\char149}
-\DeclareTextCommand{\Lithuania}{U}{\char150}
-\DeclareTextCommand{\Luxembourg}{U}{\char151}
-\DeclareTextCommand{\Macedonia}{U}{\char152}
-\DeclareTextCommand{\Malta}{U}{\char153}
-\DeclareTextCommand{\Moldova}{U}{\char154}
-\DeclareTextCommand{\Montenegro}{U}{\char155}
-\DeclareTextCommand{\Netherlands}{U}{\char156}
-\DeclareTextCommand{\Norway}{U}{\char157}
-\DeclareTextCommand{\Poland}{U}{\char158}
-\DeclareTextCommand{\Portugal}{U}{\char159}
-\DeclareTextCommand{\Romania}{U}{\char160}
-\DeclareTextCommand{\Serbia}{U}{\char161}
-\DeclareTextCommand{\Slovakia}{U}{\char162}
-\DeclareTextCommand{\Slovenia}{U}{\char163}
-\DeclareTextCommand{\Spain}{U}{\char164}
-\DeclareTextCommand{\Sweden}{U}{\char165}
-\DeclareTextCommand{\Switzerland}{U}{\char166}
-
-% otftotfm --encoding=CountriesOfEurope.enc --no-map CountriesOfEurope.otf CountriesOfEurope
-
-\endinput
-
diff --git a/Master/texmf-dist/tex/latex/countriesofeurope/CountriesofEurope.sty b/Master/texmf-dist/tex/latex/countriesofeurope/CountriesofEurope.sty
new file mode 100644
index 00000000000..4fd2039f0ff
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/countriesofeurope/CountriesofEurope.sty
@@ -0,0 +1,159 @@
+%% This is file `CountriesofEurope.sty',
+%%
+%% Copyright (C) 2016-
+%% Rolf Niepraschk, Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{CountriesofEurope}%
+ [2018/12/27 v0.22 CountriesofEurope Font (hv,RN)]
+
+\RequirePackage{ifxetex,ifluatex,xkeyval,graphicx}
+
+\newcommand*\CountriesofEurope@scale{1}
+\RequirePackage{xkeyval}
+\DeclareOptionX{Scale}{\renewcommand*\CountriesofEurope@scale{#1}}
+\ProcessOptionsX\relax
+
+\newif\ifCoE@outline
+
+\def\CoE@boolkey#1#2{\csname CoE@#2\ifx\relax#1\relax true\else#1\fi\endcsname}
+
+\define@key{CoE}{Scale}[1]{\def\CoE@Scale{#1}}
+\define@key{CoE}{outline}[true]{\lowercase{\CoE@boolkey{#1}}{outline}}
+%
+\def\setCoEkeys#1{\edef\x{\noexpand\setkeys{CoE}{#1}}\x}
+
+\setCoEkeys{outline=false,Scale=1}
+
+\newif\if@CoE@newengine \@CoE@newenginefalse
+\ifxetex\@CoE@newenginetrue
+\else
+ \ifluatex\@CoE@newenginetrue\fi
+\fi
+
+\if@CoE@newengine
+ \def\set@Outline{\pdfextension literal direct { 1 Tr 0 w }\relax}
+ \def\unset@Outline{\pdfextension literal direct { 0 Tr 0 w }\relax}
+\else
+ \def\set@Outline{\pdfliteral direct { 1 Tr 0 w }\relax}
+ \def\unset@Outline{\pdfliteral direct { 0 Tr 0 w }\relax}
+\fi
+
+\newcommand\EUCountry[2][]{{%
+ \expandafter\setCoEkeys\expandafter{#1}%
+ \CountriesofEuropeFamily\scalebox{\CoE@Scale}{%
+ \ifCoE@outline\set@Outline\fi
+ \csname#2\endcsname
+ \ifCoE@outline\unset@Outline\fi
+ }}}
+
+\if@CoE@newengine
+ \RequirePackage{fontspec}
+ \newfontface\CountriesofEuropeFamily{CountriesofEurope.otf}[Scale=\CountriesofEurope@scale]
+ \let\CoEF\CountriesofEuropeFamily
+ \DeclareTextCommand{\Albania}{TU}{\char"F8EC}% 63724
+ \DeclareTextCommand{\Andorra}{TU}{\char"F8EB}
+ \DeclareTextCommand{\Austria}{TU}{\char"F8EA}
+ \DeclareTextCommand{\Belarus}{TU}{\char"F8E9}
+ \DeclareTextCommand{\Belgium}{TU}{\char"F8E8}
+ \DeclareTextCommand{\Bosnia}{TU}{\char"F8E7}
+ \DeclareTextCommand{\Bulgaria}{TU}{\char"F8E6}
+ \DeclareTextCommand{\Croatia}{TU}{\char"F8E5}
+ \DeclareTextCommand{\Czechia}{TU}{\char"F8E4}
+ \DeclareTextCommand{\Denmark}{TU}{\char"F8E3}
+ \DeclareTextCommand{\Estonia}{TU}{\char"F8E2}
+ \DeclareTextCommand{\Finland}{TU}{\char"F8E1}
+ \DeclareTextCommand{\France}{TU}{\char"F8E0}
+ \DeclareTextCommand{\Germany}{TU}{\char"F8DF}
+ \DeclareTextCommand{\GreatBritain}{TU}{\char"F8DE}
+ \DeclareTextCommand{\Greece}{TU}{\char"F8DD}
+ \DeclareTextCommand{\Hungary}{TU}{\char"F8DC}
+ \DeclareTextCommand{\Iceland}{TU}{\char"F8DB}
+ \DeclareTextCommand{\Ireland}{TU}{\char"F8DA}
+ \DeclareTextCommand{\Italy}{TU}{\char"F8D9}
+ \DeclareTextCommand{\Latvia}{TU}{\char"F8D8}
+ \DeclareTextCommand{\Liechtenstein}{TU}{\char"F8D7}
+ \DeclareTextCommand{\Lithuania}{TU}{\char"F8D6}
+ \DeclareTextCommand{\Luxembourg}{TU}{\char"F8D5}
+ \DeclareTextCommand{\Macedonia}{TU}{\char"F8D4}
+ \DeclareTextCommand{\Malta}{TU}{\char"F8D3}
+ \DeclareTextCommand{\Moldova}{TU}{\char"F8D2}
+ \DeclareTextCommand{\Montenegro}{TU}{\char"F8D1}
+ \DeclareTextCommand{\Netherlands}{TU}{\char"F8D0}
+ \DeclareTextCommand{\Norway}{TU}{\char"F8CF}
+ \DeclareTextCommand{\Poland}{TU}{\char"F8CE}
+ \DeclareTextCommand{\Portugal}{TU}{\char"F8CD}
+ \DeclareTextCommand{\Romania}{TU}{\char"F8CC}
+ \DeclareTextCommand{\Serbia}{TU}{\char"F8CB}
+ \DeclareTextCommand{\Slovakia}{TU}{\char"F8CA}
+ \DeclareTextCommand{\Slovenia}{TU}{\char"F8C9}
+ \DeclareTextCommand{\Spain}{TU}{\char"F8C8}
+ \DeclareTextCommand{\Sweden}{TU}{\char"F8C7}
+ \DeclareTextCommand{\Switzerland}{TU}{\char"F8C6}% 63686
+\else
+\RequirePackage[T1]{fontenc}
+\RequirePackage{textcomp}
+ \DeclareFontFamily{U}{CountriesofEurope}{}
+ \DeclareFontShape{U}{CountriesofEurope}{m}{n}{<->s*[\CountriesofEurope@scale]CountriesofEurope}{}
+ \providecommand\CountriesofEuropeFamily{\usefont{U}{CountriesofEurope}{m}{n}}
+ \DeclareTextCommand{\Albania}{U}{\char128}
+ \DeclareTextCommand{\Andorra}{U}{\char129}
+ \DeclareTextCommand{\Austria}{U}{\char130}
+ \DeclareTextCommand{\Belarus}{U}{\char131}
+ \DeclareTextCommand{\Belgium}{U}{\char132}
+ \DeclareTextCommand{\Bosnia}{U}{\char133}
+ \DeclareTextCommand{\Bulgaria}{U}{\char134}
+ \DeclareTextCommand{\Croatia}{U}{\char135}
+ \DeclareTextCommand{\Czechia}{U}{\char136}
+ \DeclareTextCommand{\Denmark}{U}{\char137}
+ \DeclareTextCommand{\Estonia}{U}{\char138}
+ \DeclareTextCommand{\Finland}{U}{\char139}
+ \DeclareTextCommand{\France}{U}{\char140}
+ \DeclareTextCommand{\Germany}{U}{\char141}
+ \DeclareTextCommand{\GreatBritain}{U}{\char142}
+ \DeclareTextCommand{\Greece}{U}{\char143}
+ \DeclareTextCommand{\Hungary}{U}{\char144}
+ \DeclareTextCommand{\Iceland}{U}{\char145}
+ \DeclareTextCommand{\Ireland}{U}{\char146}
+ \DeclareTextCommand{\Italy}{U}{\char147}
+ \DeclareTextCommand{\Latvia}{U}{\char148}
+ \DeclareTextCommand{\Liechtenstein}{U}{\char149}
+ \DeclareTextCommand{\Lithuania}{U}{\char150}
+ \DeclareTextCommand{\Luxembourg}{U}{\char151}
+ \DeclareTextCommand{\Macedonia}{U}{\char152}
+ \DeclareTextCommand{\Malta}{U}{\char153}
+ \DeclareTextCommand{\Moldova}{U}{\char154}
+ \DeclareTextCommand{\Montenegro}{U}{\char155}
+ \DeclareTextCommand{\Netherlands}{U}{\char156}
+ \DeclareTextCommand{\Norway}{U}{\char157}
+ \DeclareTextCommand{\Poland}{U}{\char158}
+ \DeclareTextCommand{\Portugal}{U}{\char159}
+ \DeclareTextCommand{\Romania}{U}{\char160}
+ \DeclareTextCommand{\Serbia}{U}{\char161}
+ \DeclareTextCommand{\Slovakia}{U}{\char162}
+ \DeclareTextCommand{\Slovenia}{U}{\char163}
+ \DeclareTextCommand{\Spain}{U}{\char164}
+ \DeclareTextCommand{\Sweden}{U}{\char165}
+ \DeclareTextCommand{\Switzerland}{U}{\char166}
+\fi
+% otftotfm --encoding=CountriesofEurope.enc --no-map CountriesofEurope.otf CountriesofEurope
+
+\endinput
+
+
+%80
+ \Albania \Andorra \Austria \Belarus \Belgium \Bosnia \Bulgaria \Croatia
+ \Czechia \Denmark \Estonia \Finland \France \Germania \GreatBritain \Greece
+%90
+ \Hungary \Iceland \Ireland \Italy \Latvia \Liechtenstein \Lithuania \Luxembourg
+ \Macedonia \Malta \Moldova \Montenegro \Netherlands \Norway \Poland \Portugal
+%A0
+ \Romania \Serbia \Slovakia \Slovenia \Spain \Sweden \Switzerland