Re: [NTG-context] fonts (in luatex) (again)
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] [file:DoulosSILR][features=default] > \stoptypescript > \starttypescript [doulos] > \definetypeface [doulos] [rm] [roman] [doulos] [default] > \stoptypescript Changing 'roman' with 'serif' it worked for me (do not ask me why). Ciao -- Diego Depaoli ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 pretty straightforward to import the wrapper reader for .dfont disk files into luatex, so you can expect the wrapper format to be supported within the next month, not a big deal. > Then there is the whole issue of encoding because especially the > Apple .dfont files tend to have a number of named glyphs that Fontforge > thinks are misplaced. This can be a problem, but we'll find that out soon enough. I'll work out some basics with Arthur and get back to you and Andrea after that. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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] \setups[font:fallback:roman] \definefontsynonym [Serif] [Doulos SIL] \stoptypescript \starttypescript [serif] [doulos] \definefontsynonym [Doulos SIL] [file:DoulosSILR][features=default] \stoptypescript \starttypescript [doulos] \definetypeface [doulos] [rm] [roman] [doulos] [default] \stoptypescript But does not work. The fact is probably that I'm not really understanding what's going on here. I was reading some of the resources here: http://wiki.contextgarden.net/Fonts e.g. Thomas' article. http://tug.org/pracjourn/2005-2/schmitz/schmitz.pdf The problem is that I would probably need this (as suggested once by Aditya): http://wiki.contextgarden.net/Understanding_how_fonts_work_in_ConTeXt but it's pretty incomplete. I've also looked at http://www.pragma-ade.com/general/manuals/mfonts.pdf but cannot really follow it. Could anyone comment this famous piece of code? http://wiki.contextgarden.net/Mark_IV#A_.28Complete. 29_Typescript_Example I'd like to add infos to the wiki Thanks Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] inter-word spacing (initials)
I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing “.\”, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf A.\ E.\ Samuel \stoptext If the is a difference here, I am having trouble seeing it; and on a typeset page, the gaps after the initials just seem too big. In general, I find that the spacing after certain characters ---e.g., “)”---has been increased of late. Is this in fact the case? Or should I go back to my old glasses? Cheers, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] inter-word spacing (initials)
I have the latest ConTeXt and am using mkii. One used to be able to reduce the spacing after an initial by by typing “.\”, but this no longer seems to work. Compare the inter-word spacing in \starttext A. E. Samuel\crlf A.\ E.\ Samuel \stoptext If the is a difference here, I am having trouble seeing it; and on a typeset page, the gaps after the initials just seem too big. In general, I find that the spacing after certain characters ---e.g., “)”---has been increased of late. Is this in fact the case? Or should I go back to my old glasses? Cheers, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 and font is and i'm not even sure if i want to know it; non portable so ... - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 presents the design decision of whether to support an alien font scheme that only exists in Steve Jobs' universe, not in the rest of the 95% of computers out there. Then there is the whole issue of encoding because especially the Apple .dfont files tend to have a number of named glyphs that Fontforge thinks are misplaced. Fontforge also will not open a font in a ~/.fonts dir, at least on Ubuntu Hardy. It does not appear to handle special cases of pathnames very well. You can, however, use Fontforge and fondu to get at the fonts in the resource fork; fondu looks like it is better for the task Charles On Tue, 2008-07-15 at 21:19 +0200, Thomas A. Schmitz wrote: > 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) for use with whatever flavor of TeX you want. > > Thomas > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt modules on CTAN (authors, please check)
Mojca Miklavec wrote: > On Tue, Jul 15, 2008 at 5:14 PM, Aditya Mahajan wrote: >> On Mon, 14 Jul 2008, Mojca Miklavec wrote: >> >>> Hello, >>> >>> The ConTeXt modules are now mirrored on CTAN, but they might be >>> lacking better descriptions in the catalogue. Authors of modules - >>> please check. >> They are still not included in the current texlive beta. > > They are under > http://www.ctan.org/tex-archive/macros/context/contrib/ > but not imported into TeX Live yet. > > Karl asked us to rename tex/context/third/vim into > tex/context/third/context-vim (or some similar approach), so that > folder names would match package name. Renaming the package into vim > is out of question since there is already "vim" package in TL (this is > what Karl says, but even if there are no collisions - it's nice if > it's clear that something is a ConTeXt package). hm, kind of weird to have context in the path and then in the name > TeX Live has some automated scripts that check the whole TeX Live tree > and match package name with contents. If all packages obey that rule, > then one doesn't need to care about list of files that belong to a > certain package. thats the same for any macro package so maybe the packages should have names like - where the instaleer strips the macro package prefix and uses that for installing > But I don't like that solution just for the sake of TeX Live. All > other distributions can live without that double naming happily. It > would be much better if some ConTeXt-specific package management would > be implemented (scripts should be told that they need to deal with > ConTeXt package, not LaTeX package, and search fof files accordingly) > - ConTeXt packages have enough strict rules of where files may reside. > Or whatever. we can add that feature to mtx-update (or i can write something dedicated) > Another solution would be to write rules about which files to fetch > for each package. But then Karl doesn't like that solution since he > doesn't like having to create new rules every time a new package > appears. I'm willing to write those if that would solve the problem. easiest would be just to pack all third party stuff in one big zip (after all it's not that huge) and just unzip it in the tree Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt modules on CTAN (authors, please check)
Aditya Mahajan wrote: > On Mon, 14 Jul 2008, Mojca Miklavec wrote: > >> Hello, >> >> The ConTeXt modules are now mirrored on CTAN, but they might be >> lacking better descriptions in the catalogue. Authors of modules - >> please check. > > They are still not included in the current texlive beta. maybe taco can check in cont-ext.zip - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Latest beta + LuaTeX
Otared Kavian wrote: > Dear magicians, > > I just updated to the latest betas (ConTeXt and LuaTeX taken on > svn://scm.foundry.supelec.fr/svn/luatex > and I tried to build luatex on my machine (MacBook Pro under Mac OS X > 10.5.4): everything goes fine, the binary is there, that is in > trunk/build/texk/web2c/luatex > but trying to make the formats (as I did usually thanks to the > directives given by Thomas Schmitz), I get an error message saying this: > > ! Emergency stop. > Since I don't use yet extensively mkiv, I am just reporting the issue > to inform the community. Thanks, for the heads up. The luatex trunk is a bit in flux at the moment. We are trying to squeeze the previous half year of pdftex and texlive development into it, and it takes some effort. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Latest beta + LuaTeX
Dear magicians, I just updated to the latest betas (ConTeXt and LuaTeX taken on svn://scm.foundry.supelec.fr/svn/luatex and I tried to build luatex on my machine (MacBook Pro under Mac OS X 10.5.4): everything goes fine, the binary is there, that is in trunk/build/texk/web2c/luatex but trying to make the formats (as I did usually thanks to the directives given by Thomas Schmitz), I get an error message saying this: ! Emergency stop. \lastexpanded ->\endtemplate \global \everyloadluacode {} \ctxluabyteload ..."#2" } \stopruntimectxluacode } \ctxlua { lua.bytedata[\th... \registerctxluafile ...se \ctxluabyteload {#1}{#2} \fi \global \everyloadluac... l.165 \registerctxluafile{luat-env}{1.001} mkiv lua stats : used config path - /usr/local/texlive/2007/texmf/ web2c/texmf.cnf mkiv lua stats : used cache path - /tmp mkiv lua stats : input load time - 0.067 seconds mkiv lua stats : current memory usage - 6144468 bytes mkiv lua stats : node memory usage- 18 glue_spec, 1 if_stack, 1 dir However ConTeXt mkii works fine. Since I don't use yet extensively mkiv, I am just reporting the issue to inform the community. With my best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Highlight changes
On Tue, Jul 15 2008, John Devereux wrote: > > Is there a way to automatically "highlight changes" to a document, > such that the resulting PDF has markers showing changed areas? Bars in > the margin or some such. Or more generally some other way to easily > communicate what has been changed (other than a diff on the source). I'm sorry, this _is_ a diff on the source: http://archive.contextgarden.net/message/20060806.143457.47021821.en.html But the result can be quite nice. I've also a module, that makes a table to communicate some changes to the reader. It's attached. Typeset it with "texexec --mode=demo t-changes". Cheers, Peter -- http://pmrb.free.fr/contact/ \ifx \iere \undefined \def\iere {\highordinalstr{re}} \fi \def\In[#1,#2]{\doifsomething{#1}{\in[#1]}\if\relax#2\else, \In[#2]\fi} \enableregime[utf] \unprotect \newcount\RevC \def\Changes[#1]{% [EMAIL PROTECTED], labels=, #1]% modif, labels, date [EMAIL PROTECTED]@modif{% \translate[fr=1\iere\ version,en=First version,de=Erste Version]}}% \global\advance\RevC by 1 \bTR \expanded{\bTD \the\RevC \eTD}% \expanded{\bTD [EMAIL PROTECTED] \eTD}\expanded{\bTD [EMAIL PROTECTED] \eTD}% \expandafter\bTD [EMAIL PROTECTED],\relax]\eTD \eTR} \def\startChanges{% \bTABLE[option=stretch, textwidth=\textwidth] \bTR[background=screen] \bTD \translate[fr=Rév, en=Rev, de=Rev].\eTD \bTD \translate[fr=Date, en=Date, de=Datum]\eTD \bTD \translate[fr=Origine de la mise à jour, en=Reason for update, de=Grund der Änderung]\eTD \bTD \translate[fr=§ modifié, en=modified §, de=mod. §en]\eTD\eTR} \def\stopChanges{\eTABLE} \protect \doifnotmode{demo}{\endinput} %% %D Usage example: \usemodule[changes] \setupcolors[state=start] \starttext \title{The big title} \startChanges \Changes[date=1.1.2001] \Changes[date=2.2.2002, labels=sec:a, modif=Added text from Tufte] \Changes[date=3.3.2003, labels=sec:b, modif=Added text from Knuth] \Changes[date=4.4.2004, labels={sec:a,sec:b}, modif=Added even more text] \stopChanges \subject{Contents} \placecontent \section[sec:a]{First section} \input tufte more text \section[sec:b]{Second section} \input knuth more text \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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) for use with whatever flavor of TeX you want. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Highlight changes
Hi, Is there a way to automatically "highlight changes" to a document, such that the resulting PDF has markers showing changed areas? Bars in the margin or some such. Or more generally some other way to easily communicate what has been changed (other than a diff on the source). -- John Devereux ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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, tfm (TeX), ... > What about font files without extension? I doubt. LuaTeX uses fontforge library to read fonts, so there is no reason why one would not be able to use them, but you would need to lend a Mac to Taco for a few days :) 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. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
> 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 should be manageable in Mark IV. Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 what a .dfont is :-/ Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 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 __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 $TEXMFHOME/tex/context/aditya/ TEXMFHOME is undefined in minimals for some reason (inherited from the old file). Maybe we should add it again? An alternative is to put files to texmf-local (that would be /Applications/ConTeXtMinimals/tex/texmf-local/tex/context/whatever-you-please/ on your computer), but $TEXMFHOME might make more sense. Just make sure that you don't loose those files after "accidental upgrade". Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt modules on CTAN (authors, please check)
On Tue, Jul 15, 2008 at 5:14 PM, Aditya Mahajan wrote: > On Mon, 14 Jul 2008, Mojca Miklavec wrote: > >> Hello, >> >> The ConTeXt modules are now mirrored on CTAN, but they might be >> lacking better descriptions in the catalogue. Authors of modules - >> please check. > > They are still not included in the current texlive beta. They are under http://www.ctan.org/tex-archive/macros/context/contrib/ but not imported into TeX Live yet. Karl asked us to rename tex/context/third/vim into tex/context/third/context-vim (or some similar approach), so that folder names would match package name. Renaming the package into vim is out of question since there is already "vim" package in TL (this is what Karl says, but even if there are no collisions - it's nice if it's clear that something is a ConTeXt package). TeX Live has some automated scripts that check the whole TeX Live tree and match package name with contents. If all packages obey that rule, then one doesn't need to care about list of files that belong to a certain package. But I don't like that solution just for the sake of TeX Live. All other distributions can live without that double naming happily. It would be much better if some ConTeXt-specific package management would be implemented (scripts should be told that they need to deal with ConTeXt package, not LaTeX package, and search fof files accordingly) - ConTeXt packages have enough strict rules of where files may reside. Or whatever. Another solution would be to write rules about which files to fetch for each package. But then Karl doesn't like that solution since he doesn't like having to create new rules every time a new package appears. I'm willing to write those if that would solve the problem. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt modules on CTAN (authors, please check)
On Mon, 14 Jul 2008, Mojca Miklavec wrote: > Hello, > > The ConTeXt modules are now mirrored on CTAN, but they might be > lacking better descriptions in the catalogue. Authors of modules - > please check. They are still not included in the current texlive beta. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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] \definefontsynonym [OptimaBoldItalic] [name:Optima Bold Italic] [features=default] \definefontsynonym [OptimaExtraBlack] [name:Optima ExtraBlack] [features=default] \definefontsynonym [OptimaItalic] [name:Optima Italic] [features=default] \stoptypescript \starttypescript [sans] [optima] \definefontsynonym [Sans][OptimaRegular] [features=default] \definefontsynonym [SansItalic] [OptimaItalic] [features=default] \definefontsynonym [SansBold][OptimaBold] [features=default] \definefontsynonym [SansBoldItalic] [OptimaBoldItalic] [features=default] \definefontsynonym [SansExtra] [OptimaExtraBlack] [features=default] \stoptypescript \starttypescript \definetypeface[optima][rm][sans][optima][default] \definetypeface[optima][ss][sans][optima][default] \definetypeface[optima][tt][mono][modern] [default][rscale=1.12] \definetypeface[optima][mm][math][iwona] [default][rscale=1.02] \stoptypescript Then, did the usual stuff. But the pdf from \usetypefile [optima] \usetypescript[optima] \setupbodyfont[optima] \starttext Oh yes, I'm a test, baby {\bf there's a little} {\em black} {\sc spot} in the sun today \stoptext uses LM. The console says: specials : fdf loaded ) (type-optima.tex) ... the font file is Optima.dfont Best -a- On 15 Jul 2008, at 16:18, Mojca Miklavec wrote: 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 can correct me. XeTeX only supports those fonts when using xdv2pdf engine (xdvipdfmx doesn't honor them). And I would say "if you really wanted to use those fonts in ConTeXt, there is a way, but hardcoded deep down in ConTeXt core". Btw: with the fonts that you have sent me, the definitions should be \starttypescript [sans] [delicious] \definefontsynonym [Delicious-Regular][file:DelicRom] [features=default] \definefontsynonym [Delicious-Italic] [file:DelicIta] [features=default] \definefontsynonym [Delicious-Bold] [file:DelicBol] [features=default] \definefontsynonym [Delicious-BoldItalic] [file:DelicBolIta] [features=default] % it should be features=smallcaps for normal fonts \definefontsynonym [Delicious-Caps] [file:DelicSmaCap] [features=default] \stoptypescript But the font doesn't work with LuaTeX anyway (it could work in XeTeX), so do not even try. The name after "file:" needs to match the filename. Mojca __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 xdv2pdf engine (xdvipdfmx doesn't honor them). And I would say "if you really wanted to use those fonts in ConTeXt, there is a way, but hardcoded deep down in ConTeXt core". I took a look at http://www.josbuivenga.demon.nl/delicious.html. You need to download PC (OpenType) font, not Mac (Type1). Apart from that, it works for me, but kpsewhich type-delicious.tex needs to return you the file if you want to be able to use it. And kpsewhich Delicious-Roman.otf needs to return you something as well. (replace kpsewhich by luatools in the previous sentence) On Tue, Jul 15, 2008 at 3:34 PM, Andrea Valle wrote: > > 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 that. > > Ah, ok, it sets up the path for the session. > Done. The list does not include delicious as far as I can say, and the total > is the same as before (161) > > not delicious (I guess it's LM) > > Looks as if something is wrong with filename database. Does luatools > --generate solve anything? It should. > Worse :) > Now, in both circumstances (with type-delicious in /base or in the same > folder of my test.tex file) compilation aborts. > l.3 \setupbodyfont[delicious] > > ! ==> Fatal error occurred, no output PDF file produced! No idea. Something completely unrelated must be wrong then. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] bib module and interaction
Hi Taco, On Mon, 14 Jul 2008, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> On Mon, 14 Jul 2008, Wolfgang Schuster wrote: >> >>> Am 14.07.2008 um 05:56 schrieb Aditya Mahajan: >>> Hi, I cannot find an option to enable interaction with the bib module. I want \cite[ref] to create a forward link to the bibliography where the reference appears. Is this supported by t-bib? >>> \setupcite[interaction=start] >> >> Does not work. Looking at t-bib, it seems that this makes the url and doi >> insite the references interactive, but not the output of \cite command. > > You have to turn off the compress feature: > > \setupcite[interaction=start, compress=no] How about redefining \docite as follows \def\docite[#1][#2]% {\begingroup \setupinteraction[\c!style=\bibalternative\c!style, \c!color=\bibalternative\c!color]% % Rest of the defn}% This way, it will be possible to change the color and style of references when interaction is on using \setupcite[color=darkgreen,style=normal] What do you think? Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 names by Wolfgang matches Apart from that, it works for me, Yes! for me too! but kpsewhich type-delicious.tex needs to return you the file if you want to be able to use it. And nothing, neither with luatools kpsewhich Delicious-Roman.otf needs to return you something as well. (replace kpsewhich by luatools in the previous sentence) the only thing which works is: polifilo:~ andreavalle$ luatools Delicious-Roman.otf /Users/andreavalle/Library/Fonts/Delicious-Roman.otf 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? Thanks Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography inside .tex file
On Tue, 15 Jul 2008, Maurício wrote: Aditya Mahajan a écrit : On Mon, 14 Jul 2008, Maur???cio wrote: Hi, I've read about \usemodule[bib], and I learned how to create .bbl file. However, I would like to insert my bibliographic references inside my .tex file, not in an external file. Is it possible to do that? Usually, just copying the contents of your bbl file into the main file works. Aditya Can I ask some details? Before or after \starttext? Should I enclose it in \start / \stop something? You need to put them before \starttext. For example, \usemodule[bib] \setuppublicationlist[samplesize={ABFG{\etalchar{+}}93},totalnumber=220] \startpublication[k=test,t=article, a={{Ahlswede},{}},y=2000, n=1,s=ACLY00] \artauthor[]{R.}[R.]{}{Ahlswede} \artauthor[]{Ning}[N.]{}{Cai} \artauthor[]{S.~Y.~R.}[S.~Y.~R.]{}{Li} \artauthor[]{R.~W.}[R.~W.]{}{Yeung} \pubyear{2000} \arttitle{Network information flow} \journal{{IEEE} Trans. Inf. Theory} \issn{0018-9448} \volume{46} \issue{4} \pages{1204--1216} \month{7} \stoppublication \starttext Checking publication~\cite[test] \placepublications \stoptext Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 can > correct me. XeTeX only supports those fonts when using xdv2pdf engine > (xdvipdfmx doesn't honor them). And I would say "if you really wanted > to use those fonts in ConTeXt, there is a way, but hardcoded deep down > in ConTeXt core". Btw: with the fonts that you have sent me, the definitions should be \starttypescript [sans] [delicious] \definefontsynonym [Delicious-Regular][file:DelicRom][features=default] \definefontsynonym [Delicious-Italic] [file:DelicIta][features=default] \definefontsynonym [Delicious-Bold] [file:DelicBol][features=default] \definefontsynonym [Delicious-BoldItalic] [file:DelicBolIta] [features=default] % it should be features=smallcaps for normal fonts \definefontsynonym [Delicious-Caps] [file:DelicSmaCap] [features=default] \stoptypescript But the font doesn't work with LuaTeX anyway (it could work in XeTeX), so do not even try. The name after "file:" needs to match the filename. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 that. Ah, ok, it sets up the path for the session. Done. The list does not include delicious as far as I can say, and the total is the same as before (161) not delicious (I guess it's LM) Looks as if something is wrong with filename database. Does luatools --generate solve anything? Worse :) Now, in both circumstances (with type-delicious in /base or in the same folder of my test.tex file) compilation aborts. l.3 \setupbodyfont[delicious] ! ==> Fatal error occurred, no output PDF file produced! MtxRun | loading configuration for /Applications/ConTeXtMinimals/tex/ texmf/web2c from /Applications/ConTeXtMinimals/tex/texmf-cache/luatex- cache/context/aac20ce207a097b4b480d7b5eb76554a/trees/ d9ef00871d7b11751a275cffd8a85753 MtxRun | run 1: luatex --fmt="/Applications/ConTeXtMinimals/tex/texmf- cache/luatex-cache/context/aac20ce207a097b4b480d7b5eb76554a/formats/ cont-en" --lua="/Applications/ConTeXtMinimals/tex/texmf-cache/luatex- cache/context/aac20ce207a097b4b480d7b5eb76554a/formats/cont-en.lua" "/ test/test.tex" MtxRun | fatal error, code: 1 Best -a- Mojca __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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. Generate name entries for the font database > To access fonts with the name you have to create the database > with the entries: > mtxrun --script font --reload > > where should I be in order to run it? I have not set the env variables, I'm > using this kind of approach: > cd /Applications/ConTeXtMinimals/ > . /Applications/ConTeXtMinimals/tex/setuptex > /Applications/ConTeXtMinimals/tex 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 that. > 4. In my tex file I have added: > \usetypefile [delicious] > \usetypescript[delicious] > \setupbodyfont[delicious] > 5. while compiling I'm having a problem with delicious. > Log attached > > Make a test with the fonts and the files in the same directory. > > This does not work. It aborts because of delicious not found. > But if I put the type-delicious.tex file in > /Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ > then run > mtxrun --script font --reload > I have not errors, but the used font is not delicious (I guess it's LM) Looks as if something is wrong with filename database. Does luatools --generate solve anything? Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography inside .tex file
Aditya Mahajan a écrit : > On Mon, 14 Jul 2008, Maur�cio wrote: > >> Hi, >> >> I've read about \usemodule[bib], and I learned >> how to create .bbl file. However, I would like >> to insert my bibliographic references inside my >> .tex file, not in an external file. Is it >> possible to do that? > > Usually, just copying the contents of your bbl file into the main file > works. > > Aditya > Can I ask some details? Before or after \starttext? Should I enclose it in \start / \stop something? Thanks, Maurício ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] fonts (in luatex) (again)
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 name you have to create the database with the entries: mtxrun --script font --reload where should I be in order to run it? I have not set the env variables, I'm using this kind of approach: cd /Applications/ConTeXtMinimals/ . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ ConTeXtMinimals/tex 4. In my tex file I have added: \usetypefile [delicious] \usetypescript[delicious] \setupbodyfont[delicious] 5. while compiling I'm having a problem with delicious. Log attached Make a test with the fonts and the files in the same directory. This does not work. It aborts because of delicious not found. But if I put the type-delicious.tex file in /Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/ then run mtxrun --script font --reload I have not errors, but the used font is not delicious (I guess it's LM) When this did not work access the fonts by filename and not by fontname, to do thos you have to replace "name:" by "file:", this is unproblematic for the delicious fonts because fontname and filename are equal. Does not change anything Thanks Best -a- Regards Wolfgang __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Directly checking out http://context.aanhet.net/svn?
> No. These are local checkouts only, of: > > contexttest: http://scm.foundry.supelec.fr/svn/contexttest > luatex: http://scm.foundry.supelec.fr/svn/luatex > manuals: svn://83.247.100.17:33690/manuals That makes sense … I've already had the first two items but didn't know the last one. Many thanks, Oliver ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___