Use the Linux Libertine roman font for regular text.
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 27 Aug 2009 10:00:42 +0000 (12:00 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 27 Aug 2009 10:00:42 +0000 (12:00 +0200)
It turned out that the palatino (and most other roman fonts shipped with
context) didn't have greek letters.

Utils/Fonts.tex

index 551b22a8363de5f9e2bea2e9b9a7f244b7b4c9fa..8aa4b41cd904e6c09797836aafa8085655884071 100644 (file)
@@ -1,11 +1,33 @@
 
+% Script taken from the "typescripts" pacakage at http://modules.contextgarden.net/typescripts
+\starttypescript [serif] [linuxlibertine]
+    \definefontsynonym [LinuxLibertine-Regular]    [name:Linux Libertine O]             [features=default]
+    \definefontsynonym [LinuxLibertine-Italic]     [name:Linux Libertine O Italic]      [features=default]
+    \definefontsynonym [LinuxLibertine-Bold]       [name:Linux Libertine O Bold]        [features=default]
+    \definefontsynonym [LinuxLibertine-BoldItalic] [name:Linux Libertine O Bold Italic] [features=default]
+    \definefontsynonym [LinuxLibertine-Caps]       [name:Linux Libertine O Capitals]    [features=default]
+\stoptypescript
+
+% Script taken from the "typescripts" pacakage at
+\starttypescript [serif] [linuxlibertine]
+    \setups[font:fallback:serif]
+    \definefontsynonym [Serif]           [LinuxLibertine-Regular]    [features=default]
+    \definefontsynonym [SerifItalic]     [LinuxLibertine-Italic]     [features=default]
+    \definefontsynonym [SerifBold]       [LinuxLibertine-Bold]       [features=default]
+    \definefontsynonym [SerifBoldItalic] [LinuxLibertine-BoldItalic] [features=default]
+    \definefontsynonym [SerifCaps]       [LinuxLibertine-Caps]       [features=default]
+\stoptypescript
+
+\usetypescript[linuxlibertine]
+
 % Define a custom typescript. We could also have put the \definetypeface's
 % directly in the script, without a typescript, but I guess this is more
 % elegant...
 \starttypescript[Custom]
 % This is a sans font that supports greek symbols
 \definetypeface [Custom] [ss] [sans]  [iwona]                [default]
-\definetypeface [Custom] [rm] [serif] [palatino]             [default]
+% This is a serif font that supports greek symbols
+\definetypeface [Custom] [rm] [serif] [linuxlibertine]             [default]
 \definetypeface [Custom] [tt] [mono]  [modern]               [default]
 \definetypeface [Custom] [mm] [math]  [antykwa-torunska]     [default]
 \stoptypescript