summaryrefslogtreecommitdiff
path: root/macros/context/contrib/context-urwgaramond
diff options
context:
space:
mode:
Diffstat (limited to 'macros/context/contrib/context-urwgaramond')
-rw-r--r--macros/context/contrib/context-urwgaramond/VERSION1
-rw-r--r--macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.pdfbin0 -> 83796 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.tex11
-rw-r--r--macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/texnansi-urw-garamond.tex80
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/map/pdftex/context/texnansi-urw-garamond.map14
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmm8a.tfmbin0 -> 1472 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmmi8a.tfmbin0 -> 1656 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmr8a.tfmbin0 -> 1472 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmri8a.tfmbin0 -> 1684 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmm8a.tfmbin0 -> 6380 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmmi8a.tfmbin0 -> 6644 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmr8a.tfmbin0 -> 6300 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmri8a.tfmbin0 -> 6644 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmm8a.vfbin0 -> 1784 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmmi8a.vfbin0 -> 1788 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmr8a.vfbin0 -> 1784 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmri8a.vfbin0 -> 1788 bytes
-rw-r--r--macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/t-urwgaramond.tex16
-rw-r--r--macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/type-urwgaramond.tex94
19 files changed, 216 insertions, 0 deletions
diff --git a/macros/context/contrib/context-urwgaramond/VERSION b/macros/context/contrib/context-urwgaramond/VERSION
new file mode 100644
index 0000000000..0d8e1ffa1c
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/VERSION
@@ -0,0 +1 @@
+2006.12.23
diff --git a/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.pdf b/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.pdf
new file mode 100644
index 0000000000..6a2e7edc23
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.pdf
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.tex b/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.tex
new file mode 100644
index 0000000000..1da2dfd29b
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/test.tex
@@ -0,0 +1,11 @@
+\setupoutput[pdf]
+\usemodule[urwgaramond]
+\starttext
+\rm\input knuth
+
+\it\input knuth
+
+\bf\input knuth
+
+\bi\input knuth
+\stoptext
diff --git a/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/texnansi-urw-garamond.tex b/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/texnansi-urw-garamond.tex
new file mode 100644
index 0000000000..5d7d0861a1
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/doc/fonts/urw/garamond/texnansi-urw-garamond.tex
@@ -0,0 +1,80 @@
+% output=pdftex interface=en
+
+\usemodule[fnt-01]
+
+\loadmapfile[texnansi-urw-garamond.map]
+
+\starttext
+
+\ShowFont[GaramondNo8-Med][texnansi-ugmm8a][texnansi]
+\ShowFont[GaramondNo8-MedIta][texnansi-ugmmi8a][texnansi]
+\ShowFont[GaramondNo8-Reg][texnansi-ugmr8a][texnansi]
+\ShowFont[GaramondNo8-Ita][texnansi-ugmri8a][texnansi]
+
+\setupheadertexts[\tttf example definitions]
+
+\starttyping
+texfont --encoding=texnansi --fontroot=/home/peter/tmp/garamond/texmf --ma --in --ve=urw --co=garamond --show
+\stoptyping
+
+\starttyping
+/home/peter/tmp/garamond/texmf/fonts/map/pdftex/context/texnansi-urw-garamond.map
+\stoptyping
+
+\starttyping
+\definefontsynonym[GaramondNo8-Med][texnansi-ugmm8a][encoding=texnansi]
+\definefontsynonym[GaramondNo8-MedIta][texnansi-ugmmi8a][encoding=texnansi]
+\definefontsynonym[GaramondNo8-Reg][texnansi-ugmr8a][encoding=texnansi]
+\definefontsynonym[GaramondNo8-Ita][texnansi-ugmri8a][encoding=texnansi]
+\stoptyping
+
+\page
+
+\setupheadertexts[\tttf texnansi-urw-garamond.map]
+
+\starttyping
+texnansi-raw-ugmm8a GaramondNo8-Med 4 < ugmm8a.pfb texnansi.enc
+texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 < ugmmi8a.pfb texnansi.enc
+texnansi-raw-ugmr8a GaramondNo8-Reg 4 < ugmr8a.pfb texnansi.enc
+texnansi-raw-ugmri8a GaramondNo8-Ita 4 < ugmri8a.pfb texnansi.enc
+\stoptyping
+
+
+%appended section
+
+\page
+
+\ShowFont[GaramondNo8-Med][texnansi-ugmm8a][texnansi]
+\ShowFont[GaramondNo8-MedIta][texnansi-ugmmi8a][texnansi]
+\ShowFont[GaramondNo8-Reg][texnansi-ugmr8a][texnansi]
+\ShowFont[GaramondNo8-Ita][texnansi-ugmri8a][texnansi]
+
+\setupheadertexts[\tttf example definitions]
+
+\starttyping
+texfont --encoding=texnansi --fontroot=/home/peter/tmp/garamond/texmf --ma --in --ve=urw --co=garamond --show
+\stoptyping
+
+\starttyping
+/home/peter/tmp/garamond/texmf/fonts/map/pdftex/context/texnansi-urw-garamond.map
+\stoptyping
+
+\starttyping
+\definefontsynonym[GaramondNo8-Med][texnansi-ugmm8a][encoding=texnansi]
+\definefontsynonym[GaramondNo8-MedIta][texnansi-ugmmi8a][encoding=texnansi]
+\definefontsynonym[GaramondNo8-Reg][texnansi-ugmr8a][encoding=texnansi]
+\definefontsynonym[GaramondNo8-Ita][texnansi-ugmri8a][encoding=texnansi]
+\stoptyping
+
+\page
+
+\setupheadertexts[\tttf texnansi-urw-garamond.map]
+
+\starttyping
+texnansi-raw-ugmm8a GaramondNo8-Med 4 < ugmm8a.pfb texnansi.enc
+texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 < ugmmi8a.pfb texnansi.enc
+texnansi-raw-ugmr8a GaramondNo8-Reg 4 < ugmr8a.pfb texnansi.enc
+texnansi-raw-ugmri8a GaramondNo8-Ita 4 < ugmri8a.pfb texnansi.enc
+\stoptyping
+
+\stoptext
diff --git a/macros/context/contrib/context-urwgaramond/fonts/map/pdftex/context/texnansi-urw-garamond.map b/macros/context/contrib/context-urwgaramond/fonts/map/pdftex/context/texnansi-urw-garamond.map
new file mode 100644
index 0000000000..5bb842630f
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/map/pdftex/context/texnansi-urw-garamond.map
@@ -0,0 +1,14 @@
+% This file is generated by the TeXFont Perl script.
+%
+% You need to add the following line to your file:
+%
+% \pdfmapfile{+texnansi-urw-garamond.map}
+%
+% In ConTeXt you can best use:
+%
+% \loadmapfile[texnansi-urw-garamond.map]
+
+texnansi-raw-ugmm8a GaramondNo8-Med "TeXnANSIEncoding ReEncodeFont" <texnansi.enc <ugmm8a.pfb
+texnansi-raw-ugmmi8a GaramondNo8-MedIta "TeXnANSIEncoding ReEncodeFont" <texnansi.enc <ugmmi8a.pfb
+texnansi-raw-ugmr8a GaramondNo8-Reg "TeXnANSIEncoding ReEncodeFont" <texnansi.enc <ugmr8a.pfb
+texnansi-raw-ugmri8a GaramondNo8-Ita "TeXnANSIEncoding ReEncodeFont" <texnansi.enc <ugmri8a.pfb
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmm8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmm8a.tfm
new file mode 100644
index 0000000000..f5a3808e56
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmm8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmmi8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmmi8a.tfm
new file mode 100644
index 0000000000..04fa84aed0
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmmi8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmr8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmr8a.tfm
new file mode 100644
index 0000000000..4949188d78
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmr8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmri8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmri8a.tfm
new file mode 100644
index 0000000000..4f03149966
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-raw-ugmri8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmm8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmm8a.tfm
new file mode 100644
index 0000000000..a25a5850e9
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmm8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmmi8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmmi8a.tfm
new file mode 100644
index 0000000000..acaca4073b
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmmi8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmr8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmr8a.tfm
new file mode 100644
index 0000000000..aab12ea71b
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmr8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmri8a.tfm b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmri8a.tfm
new file mode 100644
index 0000000000..f98baff02a
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/tfm/urw/garamond/texnansi-ugmri8a.tfm
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmm8a.vf b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmm8a.vf
new file mode 100644
index 0000000000..cf986ffffe
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmm8a.vf
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmmi8a.vf b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmmi8a.vf
new file mode 100644
index 0000000000..e5899f0282
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmmi8a.vf
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmr8a.vf b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmr8a.vf
new file mode 100644
index 0000000000..d4a7fc62d9
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmr8a.vf
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmri8a.vf b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmri8a.vf
new file mode 100644
index 0000000000..ca5b0cff8e
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/fonts/vf/urw/garamond/texnansi-ugmri8a.vf
Binary files differ
diff --git a/macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/t-urwgaramond.tex b/macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/t-urwgaramond.tex
new file mode 100644
index 0000000000..71948cf8b6
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/t-urwgaramond.tex
@@ -0,0 +1,16 @@
+% This program is free software; you can redistribute it and/or
+% modify it under the terms of the GNU General Public License
+% as published by the Free Software Foundation; either version 2
+% of the License, or (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but without any warranty; without even the implied warranty of
+% merchantability or fitness for a particular purpose. See the
+% GNU General Public License for more details.
+
+%texfont --encoding=texnansi --fontroot=%{texmf} --ma --in \
+% --ve=urw --co=garamond --show
+
+\usetypescriptfile[type-urwgaramond]
+\usetypescript[URWGaramond]
+\setupbodyfont[urwgaramond]
diff --git a/macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/type-urwgaramond.tex b/macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/type-urwgaramond.tex
new file mode 100644
index 0000000000..3a72979230
--- /dev/null
+++ b/macros/context/contrib/context-urwgaramond/tex/context/third/urwgaramond/type-urwgaramond.tex
@@ -0,0 +1,94 @@
+% This program is free software; you can redistribute it and/or
+% modify it under the terms of the GNU General Public License
+% as published by the Free Software Foundation; either version 2
+% of the License, or (at your option) any later version.
+
+% This program is distributed in the hope that it will be useful,
+% but without any warranty; without even the implied warranty of
+% merchantability or fitness for a particular purpose. See the
+% GNU General Public License for more details.
+
+% raw fonts
+
+\starttypescript[serif] [garamond] [texnansi]
+
+\definefontsynonym[Garamond] [ugmr8a] [encoding=texnansi]
+\definefontsynonym[GaramondItalic] [ugmri8a] [encoding=texnansi]
+\definefontsynonym[GaramondBold] [ugmm8a] [encoding=texnansi]
+\definefontsynonym[GaramondBoldItalic][ugmmi8a] [encoding=texnansi]
+
+\stoptypescript
+
+% names
+
+\starttypescript [serif] [garamond] [name]
+
+\setups[font:fallback:serif]
+
+\definefontsynonym[Serif] [Garamond]
+\definefontsynonym[SerifBold] [Garamond-Bold]
+\definefontsynonym[SerifItalic] [Garamond-Italic]
+\definefontsynonym[SerifBoldItalic][Garamond-BoldItalic]
+
+\stoptypescript
+
+% synonyms
+
+\starttypescript [serif] [garamond] [texnansi]
+
+\definefontsynonym [Garamond]
+[\typescriptthree-ugmr8a]
+[encoding=\typescriptthree]
+
+\definefontsynonym [Garamond-Italic]
+[\typescriptthree-ugmri8a]
+[encoding=\typescriptthree]
+
+\definefontsynonym [Garamond-Bold]
+[\typescriptthree-ugmm8a]
+[encoding=\typescriptthree]
+
+\definefontsynonym [Garamond-BoldItalic]
+[\typescriptthree-ugmmi8a]
+[encoding=\typescriptthree]
+
+\stoptypescript
+
+% maps
+
+\starttypescript [map] [garamond] [texnansi]
+
+\loadmapfile[texnansi-urw-garamond.map]
+
+\stoptypescript%
+
+% typefaces
+
+\starttypescript [URWGaramond]
+
+\definebodyfontenvironment
+ [urwgaramond]
+ [default]
+ [interlinespace=2.8ex]
+
+\definetypeface [urwgaramond]
+[rm] [serif] [garamond] [default]
+[encoding=texnansi]
+
+\definetypeface [urwgaramond]
+[ss] [sans] [helvetica] [default]
+[encoding=texnansi]
+
+\definetypeface [urwgaramond]
+[mm] [math] [palatino] [default]
+[encoding=texnansi]
+
+\definetypeface [urwgaramond]
+[tt] [mono] [modern] [default]
+[encoding=texnansi]
+
+\stoptypescript
+
+%%% Local Variables:
+%%% mode: context
+%%% End: