Re: [NTG-context] font lookup

2010-04-07 Thread Wolfgang Werners-Lucchini
When you know the filename, you can get the complete path like this: \starttext \ctxlua{tex.print(resolvers.find_file(texgyrepagella-regular.otf)) } \stoptext Your question is now answered but why do you need the complete path? Wolfgang I want to modify an example from

Re: [NTG-context] font lookup

2010-04-06 Thread Wolfgang Schuster
Am 06.04.10 07:20, schrieb Peter Münster: When you know the filename, you can get the complete path like this: \starttext \ctxlua{tex.print(resolvers.find_file(texgyrepagella-regular.otf))} \stoptext Your question is now answered but why do you need the complete path? Wolfgang

[NTG-context] font lookup

2010-04-05 Thread Wolfgang Werners-Lucchini
Hallo, how can I find the complete path of a existing font with luatex under context mkiv. I am looking for an equivalent function to kpse.lookup(fontname) Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] font lookup

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 23:52, schrieb Wolfgang Werners-Lucchini: Hallo, how can I find the complete path of a existing font with luatex under context mkiv. I am looking for an equivalent function to kpse.lookup(fontname) Here is a solution which consults ConTeXt’s font database, no path in the

Re: [NTG-context] font lookup

2010-04-05 Thread Wolfgang Werners-Lucchini
Thank you Wolfgang, how can I find the complete path of a existing font with luatex under context mkiv. I am looking for an equivalent function to kpse.lookup(fontname) Here is a solution which consults ConTeXt?s font database, no path in the output means the font is stored in

Re: [NTG-context] font lookup

2010-04-05 Thread Peter Münster
On Tue, Apr 06 2010, Wolfgang Werners-Lucchini wrote: Result (on my system): Path: texgyrepagella-regular.otf Hmm! How does context resolve the complete path afterwards? Hello Wolfgang, When you know the filename, you can get the complete path like this: \starttext