summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/extra/showunic.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/extra/showunic.tex')
-rw-r--r--Master/texmf-dist/tex/context/extra/showunic.tex130
1 files changed, 130 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/extra/showunic.tex b/Master/texmf-dist/tex/context/extra/showunic.tex
new file mode 100644
index 00000000000..efdbf4d3a94
--- /dev/null
+++ b/Master/texmf-dist/tex/context/extra/showunic.tex
@@ -0,0 +1,130 @@
+% author : Hans Hagen / PRAGMA-ADE
+% version : 2005-06-22
+
+% todo: take antiqua (has everything)
+
+% \tracetypescriptstrue
+
+\usetypescriptfile[type-cbg]
+
+% \preloadtypescriptstrue (default at pragma)
+
+% this font does not work ... why
+%
+% \starttypescript [serif] [hebrew] [default]
+% \definefontsynonym [Serif] [hclassic]
+% \loadmapline[=][hclassic < hclassic.pfb]
+% \stoptypescript
+
+\setuppapersize
+ [S6][S6]
+
+\setupbodyfont
+ [10pt]
+
+\setuplayout
+ [backspace=12pt,
+ topspace=12pt,
+ width=middle,
+ height=middle,
+ header=0pt,
+ footer=0pt]
+
+\setupcolors
+ [state=start]
+
+\setupbackgrounds
+ [page]
+ [background=color,
+ backgroundcolor=darkgray]
+
+\definetypeface [main-latin] [rm] [serif] [latin-modern] [default][encoding=texnansi]
+\definetypeface [main-latin] [tt] [mono] [latin-modern] [default][encoding=texnansi]
+
+\definetypeface [main-math] [rm] [serif] [latin-modern] [default][encoding=texnansi]
+\definetypeface [main-math] [tt] [mono] [latin-modern] [default][encoding=texnansi]
+\definetypeface [main-math] [mm] [math] [latin-modern] [default][encoding=default]
+
+\definetypeface [main-eastern] [rm] [serif] [latin-modern] [default][encoding=qx]
+\definetypeface [main-eastern] [tt] [mono] [latin-modern] [default][encoding=texnansi]
+
+\definetypeface [main-greek] [rm] [serif] [cbgreek] [default][encoding=default]
+\definetypeface [main-greek] [tt] [mono] [latin-modern] [default][encoding=texnansi]
+
+\definetypeface [main-cyrillic] [rm] [serif] [computer-modern] [default][encoding=t2a]
+\definetypeface [main-cyrillic] [tt] [mono] [latin-modern] [default][encoding=texnansi]
+
+% \definetypeface [main-hebrew] [rm] [serif] [hebrew] [default][encoding=default]
+% \definetypeface [main-hebrew] [tt] [mono] [latin-modern] [default][encoding=texnansi]
+
+% The \showunicodetable macro is defined in unic-run.tex.
+
+\starttext
+
+% latin: western / eastern
+
+\startstandardmakeup
+ \setupbodyfont[main-latin]
+ \centerbox{\scale[factor=max]{\showunicodetable{000}}}
+\stopstandardmakeup
+\startstandardmakeup
+ \setupbodyfont[main-eastern]
+ \centerbox{\scale[factor=max]{\showunicodetable{001}}}
+\stopstandardmakeup
+\startstandardmakeup
+ \setupbodyfont[main-latin]
+ \centerbox{\scale[factor=max]{\showunicodetable{002}}}
+\stopstandardmakeup
+
+% greek
+
+\startstandardmakeup
+ \setupbodyfont[main-greek]
+ \centerbox{\scale[factor=max]{\showunicodetable{003}}}
+\stopstandardmakeup
+
+% cyrillic
+
+\startstandardmakeup
+ \setupbodyfont[main-cyrillic]
+ \centerbox{\scale[factor=max]{\showunicodetable{004}}}
+\stopstandardmakeup
+
+% hebrew
+
+% \startstandardmakeup
+% \setupbodyfont[mainhebrew]
+% \centerbox{\scale[factor=max]{\showunicodetable{005}}}
+% \stopstandardmakeup
+
+% misc
+
+\startstandardmakeup
+ \setupbodyfont[main-latin]
+ \centerbox{\scale[factor=max]{\showunicodetable{030}}}
+\stopstandardmakeup
+\startstandardmakeup
+ \setupbodyfont[main-latin]
+ \centerbox{\scale[factor=max]{\showunicodetable{031}}}
+\stopstandardmakeup
+\startstandardmakeup
+ \setupbodyfont[main-latin]
+ \centerbox{\scale[factor=max]{\showunicodetable{032}}}
+\stopstandardmakeup
+
+% math
+
+\startstandardmakeup
+ \setupbodyfont[main-math]
+ \centerbox{\scale[factor=max]{\showunicodetable{033}}}
+\stopstandardmakeup
+\startstandardmakeup
+ \setupbodyfont[main-math]
+ \centerbox{\scale[factor=max]{\showunicodetable{034}}}
+\stopstandardmakeup
+\startstandardmakeup
+ \setupbodyfont[main-math]
+ \centerbox{\scale[factor=max]{\showunicodetable{039}}}
+\stopstandardmakeup
+
+\stoptext