Re: [NTG-context] fonts (in luatex) (again)

2008-07-17 Thread Andrea Valle
Ok, as I'd really like to teach ConTeXt with font switching :) I repost here a real important question IMHO, solemnly promising to wikify the answer: Could anyone comment this famous piece of code? http://wiki.contextgarden.net/Mark_IV#A_.28Complete. 29_Typescript_Example I'd like to add

Re: [NTG-context] fonts (in luatex) (again)

2008-07-16 Thread Andrea Valle
Ah, grazie Diego it works here too (and, too, I don't know why :) ). Best -a- On 16 Jul 2008, at 02:42, Diego Depaoli wrote: 2008/7/15 Andrea Valle [EMAIL PROTECTED]: So, I'm testing with the type-doulos.tex file containg this \starttypescript [serif] [doulos] \setups[font:fallback:roman]

Re: [NTG-context] fonts (in luatex) (again)

2008-07-16 Thread Wolfgang Schuster
On Wed, Jul 16, 2008 at 2:42 AM, Diego Depaoli [EMAIL PROTECTED] wrote: 2008/7/15 Andrea Valle [EMAIL PROTECTED]: So, I'm testing with the type-doulos.tex file containg this \starttypescript [serif] [doulos] \setups[font:fallback:roman] \definefontsynonym [Serif] [Doulos SIL] \stoptypescript

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
Still, can't have this font stuff working... (which I do not understand: but that's another story) I have saved the file under the same folder of tex file I'm working at 3. then I have called: context --generate 3.1. Generate name entries for the font database To access fonts with the

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Mojca Miklavec
On Tue, Jul 15, 2008 at 3:14 PM, Andrea Valle [EMAIL PROTECTED] wrote: Still, can't have this font stuff working... (which I do not understand: but that's another story) I have saved the file under the same folder of tex file I'm working at 3. then I have called: context --generate 3.1.

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
You only need the second command. cd is not needed. Once you issue . /Applications/CM/tex/setuptex /Applications/CM/tex you should be able to run both mtxrun --script font --reload mtxrun --script font --list Maybe try to run luatools --selfupdate luatools --generate before

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Mojca Miklavec
On Tue, Jul 15, 2008 at 4:16 PM, Mojca Miklavec wrote: Hello Andrea, before proceeding any further ... where on earth did you find exactly that font? :) :) :) It's a resource-based Type1 font or whatever they call it. I don't believe that LuaTeX supports such fonts at all, but maybe Taco

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
Ciao Mojca, before proceeding any further ... where on earth did you find exactly that font? :) :) :) On the ConTeXt mailing list, I was just following a previous thread on fonts :) You need to download PC (OpenType) font, not Mac (Type1). Ok, done, now I see that the original file

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Mojca Miklavec
Hello Andrea, before proceeding any further ... where on earth did you find exactly that font? :) :) :) It's a resource-based Type1 font or whatever they call it. I don't believe that LuaTeX supports such fonts at all, but maybe Taco can correct me. XeTeX only supports those fonts when using

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
Hi now I'm trying to use Optima. So I assembled a type-optima.tex with this: \starttypescript [sans] [optima] \definefontsynonym [OptimaRegular] [name:Optima Regular] [features=default] \definefontsynonym [OptimaBold] [name:Optima Bold] [features=default]

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Mojca Miklavec
On Tue, Jul 15, 2008 at 5:10 PM, Andrea Valle wrote: Hi now I'm trying to use Optima. ... the font file is Optima.dfont I'm not sure if LuaTeX can (already) handle thole .dfont fonts. Neither Hans nor Taco use Mac for their everyday work. Taco? Mojca

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Aditya Mahajan
On Tue, 15 Jul 2008, Andrea Valle wrote: Is there a place where to put the the type- .tex files, so that they are available without having them to include in the working folder? I usually include my presonal files at $TEXMFHOME/tex/context/aditya/ Aditya

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Mojca Miklavec
On Tue, Jul 15, 2008 at 4:50 PM, Aditya Mahajan wrote: On Tue, 15 Jul 2008, Andrea Valle wrote: Is there a place where to put the the type- .tex files, so that they are available without having them to include in the working folder? I usually include my presonal files at

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
Just make sure that you don't loose those files after accidental upgrade. Yeah, that's the point -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
Ah, because I was thinking that LuaTeX was like XeTeX, where I can use all the system fonts So, which kind of font files should I consider? What about font files without extension? Thanks -a- On 15 Jul 2008, at 17:35, Mojca Miklavec wrote: On Tue, Jul 15, 2008 at 5:10 PM, Andrea Valle

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Taco Hoekwater
Mojca Miklavec wrote: On Tue, Jul 15, 2008 at 5:10 PM, Andrea Valle wrote: Hi now I'm trying to use Optima. ... the font file is Optima.dfont I'm not sure if LuaTeX can (already) handle thole .dfont fonts. Neither Hans nor Taco use Mac for their everyday work. Taco? I don't even know

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Arthur Reutenauer
I don't even know what a .dfont is :-/ It's a file that packs several font files (usually the four basic ones) into one. I don't know the details of the format, but I expect that it really only contains the font file, with a few headers. Fontforge has known how to handle it for years, so it

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Mojca Miklavec
On Tue, Jul 15, 2008 at 5:59 PM, Andrea Valle wrote: Ah, because I was thinking that LuaTeX was like XeTeX, where I can use all the system fonts So, which kind of font files should I consider? Any font. ... except for those that come with your Mac :) :) :) Well, you can use otf, ttf, pfb,

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Thomas A. Schmitz
On Jul 15, 2008, at 6:27 PM, Mojca Miklavec wrote: I'm not sure, but .dfont looks like AAT format and no extension like Mac-specific way of storing Type 1. Both doable, but someone needs to do that. You can run fondu on .dfont files and then use the resulting files (ttf or pfb, I guess)

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Hans Hagen
Andrea Valle wrote: Hi now I'm trying to use Optima. see type-ghz.tex and type-hgz.tex - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Charles P. Schaum
That's right; use fondu. Fontforge can read a .dfont (data fork resource) but it cannot specify something within that to load without user input. The only files that use .dfont are from Apple for Apple. The Mac knows what is basically coded into these files and works with them accordingly. That

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
Thanks Hans, Optima is among my favourite fonts, but the idea was to understand how to use system fonts Best -a- On 15 Jul 2008, at 22:54, Hans Hagen wrote: Andrea Valle wrote: Hi now I'm trying to use Optima. see type-ghz.tex and type-hgz.tex

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Hans Hagen
Mojca Miklavec wrote: On Tue, Jul 15, 2008 at 5:10 PM, Andrea Valle wrote: Hi now I'm trying to use Optima. the font file is Optima.dfont I'm not sure if LuaTeX can (already) handle thole .dfont fonts. Neither Hans nor Taco use Mac for their everyday work. Taco? i have no clue what

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Andrea Valle
Sorry, I know I'm boring... Now I discovered I have substantially only one latin ttf font on my machine among the huge amount of fonts... Doulos SIL which file is DoulosSILR So, I'm testing with the type-doulos.tex file containg this \starttypescript [serif] [doulos]

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Taco Hoekwater
Hi, Quickly: Charles P. Schaum wrote: That's right; use fondu. Fontforge can read a .dfont (data fork resource) but it cannot specify something within that to load without user input. That's ok. It sounds very similar to the .ttc format, and we already have an interface for that. It will be

Re: [NTG-context] fonts (in luatex) (again)

2008-07-15 Thread Diego Depaoli
2008/7/15 Andrea Valle [EMAIL PROTECTED]: So, I'm testing with the type-doulos.tex file containg this \starttypescript [serif] [doulos] \setups[font:fallback:roman] \definefontsynonym [Serif] [Doulos SIL] \stoptypescript \starttypescript [serif] [doulos] \definefontsynonym [Doulos SIL]

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Hans Hagen
Alan Stone wrote: LuaTools | unable to save files in /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma a write access problem? -

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
saw that too... don't understand how that's possible because there are already files in that folder. Alan On Thu, Jul 10, 2008 at 8:21 AM, Hans Hagen [EMAIL PROTECTED] wrote: Alan Stone wrote: LuaTools | unable to save files in

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Hans Hagen
Taco Hoekwater wrote: Hans Hagen wrote: Alan Stone wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I'm not :) You got that from a bug in the warning message, not the actual file name. input.luasuffix= '.tma' input.report(unable to save %s

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
cleaned up ... i'll upload a beta Thanks a lot Hans. Where from will the beta be uploadable ? Alan On Thu, Jul 10, 2008 at 8:47 AM, Hans Hagen [EMAIL PROTECTED] wrote: Taco Hoekwater wrote: Hans Hagen wrote: Alan Stone wrote: are there really two dots there? ..tma Yes indeed Hans.

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Wolfgang Schuster
On Thu, Jul 10, 2008 at 9:15 AM, Alan Stone [EMAIL PROTECTED] wrote: cleaned up ... i'll upload a beta Thanks a lot Hans. Where from will the beta be uploadable ? Isn't downloading enough for you ;-) ctxtools --updatecontext

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Mojca Miklavec
On Thu, Jul 10, 2008 at 9:15 AM, Alan Stone wrote: cleaned up ... i'll upload a beta Thanks a lot Hans. Where from will the beta be uploadable ? You said that you have minimals installed. Just run ./first-setup.sh --context=beta Mojca

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
Isn't downloading enough for you ;-) Apparently not. Guess I have a preference for up. ctxtools --updatecontext Passing on that one. Thanks anyway. Alan ___ If your question is of interest to others as well,

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
Thanks Mojca. Updated. Or is it downdated? context --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable SELFAUTOPARENT set to /opt/context/tex LuaTools | variable TEXMFCNF set to

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Hans Hagen
Alan Stone wrote: cleaned up ... i'll upload a beta Thanks a lot Hans. Where from will the beta be uploadable ? from the website; i added a test for readability (experimental) of the cache (which hopefully does not break elsewhere)

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Wolfgang Schuster
On Thu, Jul 10, 2008 at 10:12 AM, Alan Stone [EMAIL PROTECTED] wrote: Thanks Mojca. Updated. Or is it downdated? archive: https://foundry.supelec.fr/projects/contextrev/ ;-) context --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
In a flash of extraordinary inspiration, ran the command in a terminal window from root - instead of from scite and now it seems to have worked... [EMAIL PROTECTED]:/opt/context# context --generate MtxRun | running command: luatools --generate LuaTools | variable SELFAUTOLOC set to

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
Wow, now I can mindread too... What's with sudo ... Received your message just after doing that. Thanks. SpookyTeX! Alan On Thu, Jul 10, 2008 at 10:52 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008 at 10:12 AM, Alan Stone [EMAIL PROTECTED] wrote: Thanks Mojca.

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
Though that's strange... fontnames | identifying system font files with suffix otf fontnames | 0 system files identified, 0 hash entries added, runtime 0.001 seconds fontnames | identifying system font files with suffix ttf fontnames | 0 system files identified, 0 hash entries added, runtime

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
Despite all the above, when compiling with texmfstart texexec --lua test.tex with test.tex containing \usetypescript[verdana] \setupbodyfont[verdana,12pt] or \definetypeface[Times][rm][Xserif][Times New Roman] \setupbodyfont[Times,12pt] the generated pdfs embed LMRoman font instead, while

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Mojca Miklavec
On Thu, Jul 10, 2008 at 11:36 AM, Alan Stone wrote: Despite all the above, when compiling with texmfstart texexec --lua test.tex with test.tex containing \usetypescript[verdana] \setupbodyfont[verdana,12pt] Most probably typescripts for OpenType are missing. or

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Alan Stone
Thanks Mojca. you need to define all the fonts manually in LuaTeX (dummy job; should be simplified one day). Would be most welcome indeed. Alan ___ If your question is of interest to others as well, please add an

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Mojca Miklavec
On Thu, Jul 10, 2008 at 11:13 AM, Alan Stone wrote: Though that's strange... fontnames | identifying system font files with suffix otf fontnames | 0 system files identified, 0 hash entries added, runtime 0.001 seconds fontnames | identifying system font files with suffix ttf fontnames | 0

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Diego Depaoli
2008/7/10 Mojca Miklavec [EMAIL PROTECTED]: On Thu, Jul 10, 2008 at 11:13 AM, Alan Stone wrote: Though that's strange... After many attempts I got fonts working in Ubuntu with Xetex and Luatex I made these steps: 1) set OSFONTDIR in texmf.cnf and setuptex 2) copied needed fonts in

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Mojca Miklavec
On Thu, Jul 10, 2008 at 1:39 PM, Diego Depaoli wrote: 2008/7/10 Mojca Miklavec [EMAIL PROTECTED]: On Thu, Jul 10, 2008 at 11:13 AM, Alan Stone wrote: Though that's strange... After many attempts I got fonts working in Ubuntu with Xetex and Luatex I made these steps: 1) set OSFONTDIR in

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Diego Depaoli
2008/7/10 Mojca Miklavec [EMAIL PROTECTED]: I have texmf tree on vfat partition (same disk, another partition shared with windows that I never use :), and it works without problems. What/when exactly does it fail? strange, I sent a mail noticing this issue, but seems never became... --

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Mojca Miklavec
On Thu, Jul 10, 2008 at 3:50 PM, Diego Depaoli wrote: 2008/7/10 Mojca Miklavec [EMAIL PROTECTED]: I have texmf tree on vfat partition (same disk, another partition shared with windows that I never use :), and it works without problems. What/when exactly does it fail? strange, I sent a mail

Re: [NTG-context] fonts with luatex

2008-07-10 Thread Diego Depaoli
2008/7/10 Mojca Miklavec [EMAIL PROTECTED]: Where do you have that font (Fontin_Sans_R_45b)? in /usr/share/fonts and $HOME/tex/texmf-context/fonts but the problem is the same with all non-minimals-embedded fonts. Don't worry, it isn't a big trouble. -- Diego Depaoli

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Hans Hagen
Alan Stone wrote: /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma are there really two dots there? ..tma -

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Alan Stone
are there really two dots there? ..tma Yes indeed Hans. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Hans Hagen
Alan Stone wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Alan Stone
that's weird, i'm stymied How about a name change... WeirdoTeX seems rather appropriate? ;O) All jokes aside... What's the solution ? Alan ___ If your question is of interest to others as well, please add an

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Alan Stone
Had a look at the former context windows installation. When firing up scite the output window mentions loading scite-ctx.lua definition file. In ubuntu the scite output window informs attempt to call a string value Lua: error occurred while loading startup script Didn't give much attention to

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Hans Hagen
Alan Stone wrote: that's weird, i'm stymied How about a name change... WeirdoTeX seems rather appropriate? ;O) All jokes aside... What's the solution ? i have no clue (yet) -

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Arthur Reutenauer
are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I saw that once, too, but regenerated the cache and didn't bother too much. Arthur ___ If your question is of

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Alan Stone
regenerated the cache Excuse me my ignorance... what do you mean by that Arthur ? Alan On Wed, Jul 9, 2008 at 4:15 PM, Arthur Reutenauer [EMAIL PROTECTED] wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I saw that once, too, but

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Arthur Reutenauer
Excuse me my ignorance... what do you mean by that Arthur ? luatools --generate Anyway, I just meant to say that you're not the only one to whom this weird thing happened (the two dots), but now I can't find it any more on my machine. Arthur

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Taco Hoekwater
Hans Hagen wrote: Alan Stone wrote: are there really two dots there? ..tma Yes indeed Hans. that's weird, i'm stymied I'm not :) You got that from a bug in the warning message, not the actual file name. input.luasuffix= '.tma' input.report(unable to save %s in

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Arthur Reutenauer
So that the string format reduces to (unable to save %s in %s..tma,dataname,name) Impressive :-) Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Alan Stone
You got that from a bug in the warning message, not the actual file name. The .tma and .tmc files are in /opt/context/tex/texmf-cache/ luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/ but have Date Modified 23/06/2008. :O( Alan On Wed, Jul 9, 2008 at 5:13 PM, Taco Hoekwater [EMAIL

Re: [NTG-context] fonts with luatex

2008-07-09 Thread Alan Stone
Tried Generate Formats (LuaTeX) from within SciTE... texmfstart texexec --autopdf --make --all --luatex TeXExec | using search method 'kpsefast' TeXExec | updating file database mktexlsr: /opt/context/tex/texmf: directory not writable. Skipping... mktexlsr: /opt/context/tex/texmf-context:

Re: [NTG-context] fonts with luatex

2008-07-08 Thread Hans Hagen
Alan Stone wrote: Hi, I have a former ubuntu tex/context installation with fonts in /usr/share/texmf/fonts/truetype (opentype, etc... ) [1] as well as a tex/context minimals installation with fonts in /opt/context/tex/texmf/fonts/truetype (opentype, etc... )[2] the latter

Re: [NTG-context] fonts with luatex

2008-07-08 Thread Alan Stone
Decided to copy the truetype fonts from [1] to [2] ( keeps both installations apart ) then ran from within scite context --generate LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux LuaTools | variable

Re: [NTG-context] fonts (in luatex) (again)

2008-07-03 Thread Hans Hagen
Andrea Valle wrote: But, Hans, in the post Mojca says I have the same problem:) uh? well, then you have to wait till mojca has figured out where it goes wrong; i have no mac to test it (it works ok here) Hans -

Re: [NTG-context] fonts (in luatex) (again)

2008-07-03 Thread Mojca Miklavec
On Thu, Jul 3, 2008 at 1:40 AM, Andrea Valle wrote: But, Hans, in the post Mojca says I have the same problem:) uh? In font-syn.lua there is local pathlist = fonts.names.getpaths() This used to contain some hard-coded paths for Mac users, but then Hans switched to reading fonts.conf with

Re: [NTG-context] fonts (in luatex) (again)

2008-07-03 Thread Wolfgang Schuster
On Thu, Jul 3, 2008 at 9:57 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 1:40 AM, Andrea Valle wrote: But, Hans, in the post Mojca says I have the same problem:) uh? In font-syn.lua there is local pathlist = fonts.names.getpaths() This used to contain some

Re: [NTG-context] fonts (in luatex) (again)

2008-07-03 Thread Khaled Hosny
On Thu, Jul 03, 2008 at 09:57:51AM +0200, Mojca Miklavec wrote: On Thu, Jul 3, 2008 at 1:40 AM, Andrea Valle wrote: But, Hans, in the post Mojca says I have the same problem:) uh? In font-syn.lua there is local pathlist = fonts.names.getpaths() This used to contain some hard-coded

Re: [NTG-context] fonts (in luatex) (again)

2008-07-03 Thread Wolfgang Schuster
On Wed, Jul 2, 2008 at 7:22 PM, Andrea Valle [EMAIL PROTECTED] wrote: Ah. So, what the mail by Mojca meant? the one starting with: Hans, I thought that it had worked some time ago, but it seems that it's broken. OPENTYPEFONTS seems the right folders, but doesn't find files in them. Works

Re: [NTG-context] fonts (in luatex) (again)

2008-07-03 Thread Wolfgang Schuster
On Thu, Jul 3, 2008 at 11:28 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 10:48 AM, Wolfgang Schuster wrote: On Thu, Jul 3, 2008 at 9:57 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Thu, Jul 3, 2008 at 1:40 AM, Andrea Valle wrote: But, Hans, in the post Mojca says I

Re: [NTG-context] fonts (in luatex) (again)

2008-07-03 Thread Hans Hagen
Mojca Miklavec wrote: I guess that Hans has a fonts.conf in his TeX tree, while Linux Mac users don't, and luaTeX doesn't know where to look for fonts.conf. What's worse: I suspect that OSFONTSDIR might be completely ignored. ok, i'll remove that xml file and test further (not now, later)

Re: [NTG-context] fonts (in luatex) (again)

2008-07-02 Thread Hans Hagen
Andrea Valle wrote: Thanks Hans before trying again with Wolfgang's example, I was curious to know. Is there something broken regarding font selection in luatex? not that i know of, at least not if you use a recent beta Hans

Re: [NTG-context] fonts (in luatex) (again)

2008-07-02 Thread Andrea Valle
Ah. So, what the mail by Mojca meant? the one starting with: Hans, I thought that it had worked some time ago, but it seems that it's broken. OPENTYPEFONTS seems the right folders, but doesn't find files in them. ... Best -a- On 2 Jul 2008, at 17:41, Hans Hagen wrote: Andrea Valle wrote:

Re: [NTG-context] fonts (in luatex) (again)

2008-07-02 Thread Hans Hagen
Andrea Valle wrote: Ah. So, what the mail by Mojca meant? the one starting with: Hans, I thought that it had worked some time ago, but it seems that it's broken. OPENTYPEFONTS seems the right folders, but doesn't find files in them. that something is broken om mojca's machine

Re: [NTG-context] fonts (in luatex) (again)

2008-07-02 Thread Diego Depaoli
2008/7/2 Hans Hagen [EMAIL PROTECTED]: before trying again with Wolfgang's example, I was curious to know. Is there something broken regarding font selection in luatex? not that i know of, at least not if you use a recent beta My primary OS is FreeBSD where the following typescript works

Re: [NTG-context] fonts (in luatex) (again)

2008-07-02 Thread Andrea Valle
But, Hans, in the post Mojca says I have the same problem:) uh? -a- On 3 Jul 2008, at 00:09, Hans Hagen wrote: Andrea Valle wrote: Ah. So, what the mail by Mojca meant? the one starting with: Hans, I thought that it had worked some time ago, but it seems that it's broken. OPENTYPEFONTS

Re: [NTG-context] fonts (in luatex) (again)

2008-06-30 Thread Wolfgang Schuster
Hi Andrea, On Sat, Jun 28, 2008 at 5:34 PM, Andrea Valle [EMAIL PROTECTED] wrote: Following Wolfgang's advice (thanks) I have followed the delicious thread. So I have 1. downloaded the fonts and installed automatically via macosx Fontbook app (they are available in my system) 2. I have

Re: [NTG-context] fonts (in luatex) (again)

2008-06-30 Thread Andrea Valle
Ciao Wolfgang, To access fonts with the name you have to create the database with the entries: mtxrun --script font --reload Thanks, Mojca noticed a bug à propos (if I have understood) Best -a- -- Andrea Valle

Re: [NTG-context] fonts (in luatex) (again)

2008-06-30 Thread Andrea Valle
Thanks Charles A praise from the heart to the devs. Wouldn't be possibile to support font selection like in XeTeX? This would make thing really a lot easier for sublunar users like me. Really, the whole process it's damn' complicated: no one a part 2 or 3 seems to know the details :) Best

Re: [NTG-context] fonts (in luatex) (again)

2008-06-30 Thread Hans Hagen
Andrea Valle wrote: Thanks Charles A praise from the heart to the devs. Wouldn't be possibile to support font selection like in XeTeX? This would make thing really a lot easier for sublunar users like me. Really, the whole process it's damn' complicated: no one a part 2 or 3 seems to

Re: [NTG-context] fonts (in luatex) (again)

2008-06-28 Thread Charles P. Schaum
This first bit differentiates a backend that refers to your font and a frontend that you normally work with. Why? Macros, macros, macros. Let's put it this way: You could have a myriad of styles. That's what many in the WYSIWYG world do. Then ... they have to keep track of them all. But TeX, as

Re: [NTG-context] fonts and luatex

2008-04-15 Thread Hans Hagen
Mojca Miklavec wrote: On Mon, Apr 14, 2008 at 7:43 PM, Hans Hagen wrote: i'm wondering ... if a name is not found, i can regenerate the database at runtime. i had that for a while; maybe i should reinstate that This sounds reasonable. If user is asking for non-existing font, he can be

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Olivier Guéry
On Mon, Apr 14, 2008 at 11:49 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry [EMAIL PROTECTED] wrote: On Mon, Apr 14, 2008 at 2:00 AM, Yue Wang [EMAIL PROTECTED] wrote: On 4/14/08, Hans Hagen [EMAIL PROTECTED] wrote: Olivier Guéry

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Olivier Guéry
On Mon, Apr 14, 2008 at 2:00 AM, Yue Wang [EMAIL PROTECTED] wrote: On 4/14/08, Hans Hagen [EMAIL PROTECTED] wrote: Olivier Guéry wrote: also if you wanted named access: mtxrun --script fonts --reload Maybe it's a solution to finely have linux-libertine run with

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Wolfgang Schuster
I can run context, but some otf fonts can't be find, like the nice linuxlibertine, for exemple (context used to find it with xetex). Can you use the TeX-Gyre Fonts, try the following example All the tex-gyre run well. % engine=luatex \usetypescript[palatino]

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Mojca Miklavec
On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry wrote: I can run context, but some otf fonts can't be find, like the nice linuxlibertine, for exemple (context used to find it with xetex). Hello Oliver, XeTeX finds fonts using fc-config, and fc-config usually knows about all your

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Hans Hagen
Mojca Miklavec wrote: On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry wrote: I can run context, but some otf fonts can't be find, like the nice linuxlibertine, for exemple (context used to find it with xetex). Hello Oliver, XeTeX finds fonts using fc-config, and fc-config usually knows

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Olivier Guéry
I have this : export OSFONTDIR=/usr/share/fonts/otf in my .bashrc. And I put a copy in the same directory than the texgyre. The mtxrun problem is strange, do you have an explanation ? Olivier. ___ If your question is

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Arthur Reutenauer
(i think that i wrote a fc-whatever parser but then one needs to tell where it lives etc etc) If fontconfig is correctly installed, you shouldn't need to do anything special: only run fc-list / configure fontconfig the normal way (probably by editing things like /etc/fonts/local.conf).

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Hans Hagen
Arthur Reutenauer wrote: (i think that i wrote a fc-whatever parser but then one needs to tell where it lives etc etc) it's rather trivial to support it If fontconfig is correctly installed, you shouldn't need to do anything special: only run fc-list / configure fontconfig the normal way

Re: [NTG-context] fonts and luatex

2008-04-14 Thread Mojca Miklavec
On Mon, Apr 14, 2008 at 7:43 PM, Hans Hagen wrote: i'm wondering ... if a name is not found, i can regenerate the database at runtime. i had that for a while; maybe i should reinstate that This sounds reasonable. If user is asking for non-existing font, he can be punished a bit (by a longer

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Hans Hagen
Antoine Junod wrote: Hello, List! Is it still needed to 'install' fonts with luatex and otf fonts or is it enough to drop the otf font files in a random place inside texmf/fonts/opentype/ ? dropping is enough; here i use: texmfwhatever/fonts/data/vendor/collection/[otf, afm, pfb]

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Antoine Junod
Hans Hagen [EMAIL PROTECTED] writes: Antoine Junod wrote: Hello, List! Is it still needed to 'install' fonts with luatex and otf fonts or is it enough to drop the otf font files in a random place inside texmf/fonts/opentype/ ? dropping is enough; here i use:

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Hans Hagen
Antoine Junod wrote: Hans Hagen [EMAIL PROTECTED] writes: Antoine Junod wrote: Hello, List! Is it still needed to 'install' fonts with luatex and otf fonts or is it enough to drop the otf font files in a random place inside texmf/fonts/opentype/ ? dropping is enough; here i use:

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Olivier Guéry
also if you wanted named access: mtxrun --script fonts --reload Maybe it's a solution to finely have linux-libertine run with context… :o) But : mtxrun --script fonts --reload give me that : MtxRun | unknown script: fonts and : mtxrun --verbose --script fonts MtxRun | version 1.0.2

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Hans Hagen
Olivier Guéry wrote: also if you wanted named access: mtxrun --script fonts --reload Maybe it's a solution to finely have linux-libertine run with context… :o) But : mtxrun --script fonts --reload give me that : MtxRun | unknown script: fonts and : mtxrun --verbose --script

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Arthur Reutenauer
Where's the problem ? You haven't configured ConTeXt correctly. Where is your ConTeXt tree? It should be found by luatools (does luatools mtx-fonts.lua return something useful?) Arthur ___ If your

Re: [NTG-context] fonts and luatex

2008-04-13 Thread Yue Wang
On 4/14/08, Hans Hagen [EMAIL PROTECTED] wrote: Olivier Guéry wrote: also if you wanted named access: mtxrun --script fonts --reload Maybe it's a solution to finely have linux-libertine run with context… :o) But : mtxrun --script fonts --reload give me that : MtxRun |