From ee17707ee2e9a69e40eb0897d830d7b582214619 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 27 Aug 2009 12:00:42 +0200 Subject: [PATCH] Use the Linux Libertine roman font for regular text. It turned out that the palatino (and most other roman fonts shipped with context) didn't have greek letters. --- Utils/Fonts.tex | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Utils/Fonts.tex b/Utils/Fonts.tex index 551b22a..8aa4b41 100644 --- a/Utils/Fonts.tex +++ b/Utils/Fonts.tex @@ -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 -- 2.30.2