[NTG-context] setups in typescripts

2010-05-30 Thread Bernhard Rosensteiner
Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript referring in my document to the typescriptfile with

Re: [NTG-context] 64-bit kfreebsd

2010-05-30 Thread Michael Krauss
On Sat, 29 May 2010 14:11:44 +0200 Alan BRASLAU wrote: uname -suname -muname -p Intel Q9400 (Core2 Quad): FreeBSD amd64 amd64 GNU/kFreeBSDx86_64 amd64 Linux x86_64 unknown 32bit os

Re: [NTG-context] is this valid usage of \def?

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 01:33, schrieb Rogutės Sparnuotos: Hello, Could someone please confirm that it is ok to use \def like this: \def\ru{\switchtobodyfont[cyr]\language[ru]} \starttext \item {\ru Эйхенбаум, Борис. {\it Теория «формального метода»}.} Some other text in the main

Re: [NTG-context] setups in typescripts

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 10:18, schrieb Bernhard Rosensteiner: Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript referring in my document

Re: [NTG-context] setups in typescripts

2010-05-30 Thread Bernhard Rosensteiner
ok i have boiled it down as minimal as possible (2 files in attachment). I have commented out line 123 in my typescript: %\definefontsynonym[SansSubhead-SemiBold] [file:CronosPro-SemiboldSubh] [features=default] so according to my \startsetups[font:optical:sans:fallback] (line

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Taco Hoekwater
Michael Saunders wrote: In addition, everything involving inferiors, superiors, numerators and denominators is now broken. For example: \definefontfeature[in][body][sinf=yes]%inferior Cs{\setff{in}133} has no effect. This depends on whether the font supports the sinf feature. The default

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
How is the [body] feature defined? \definefontfeature[body][default][onum=yes,pnum=yes,calt=yes,protrusion=quality,expansion=quality] \definefontfeature[in][body][sinf=yes]%inferior \definefontfeature[su][body][sups=yes,ordn=yes]%superior \definefontfeature[nu][body][numr=yes]%numerator

[NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
Hello, What \stelinterliniein means in the following (taken from Skdk style). \def\StartTitlePage% {\startstandardmakeup[doublesided=no] \setupbackgrounds[header][text][background=] \switchtobodyfont[ss,18pt] \setupalign[right] \setupindenting[0pt] \stelinterliniein \vfil

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 13:45, schrieb Vyatcheslav Yatskovsky: Hello, What \stelinterliniein means in the following (taken from Skdk style). \def\StartTitlePage% {\startstandardmakeup[doublesided=no] \setupbackgrounds[header][text][background=] \switchtobodyfont[ss,18pt] \setupalign[right]

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
Thank you, Wolfgang, but I gen an error with this: \setuphead [Part] [number=no, style={\ss\bfd}] %page=right] \def\StartTitlePage {\startstandardmakeup[doublesided=no,align=right,style={\switchtobodyfont[ss,18pt]}] \setupbackgrounds[header][text][background=]

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 14:56, schrieb Vyatcheslav Yatskovsky: \setuphead [Part] [number=no, style={\ss\bfd}] %page=right] \definehead[TitlePage][Part] Use 'part' not 'Part'. Wolfgang ___ If your question is of

Re: [NTG-context] unicode subscripts

2010-05-30 Thread Hans Hagen
On 29-5-2010 6:58, Yury G. Kudryashov wrote: Hi! Unicode subscripts do not work (at least, in math): \starttext $a₀₁₂₃₄₅₆₇₈₉₋₌₊$ \stoptext prints only a. The file char-def.lua contains block like this: [0x2080]={ category=no, description=SUBSCRIPT ZERO, direction=en,

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 15:32, schrieb Vyatcheslav Yatskovsky: Use part in both occasions? It works, but gives blank page: \setuphead [part] [number=no, style={\ss\bfd}] %page=right] \def\StartTitlePage {\startstandardmakeup[doublesided=no,align=right,style={\switchtobodyfont[ss,18pt]}]

Re: [NTG-context] unicode subscripts

2010-05-30 Thread Yury G. Kudryashov
Hans Hagen wrote: On 29-5-2010 6:58, Yury G. Kudryashov wrote: Hi! Unicode subscripts do not work (at least, in math): P.S.: Superscript digits work. Probably, the font contains ¹ but not ₁. in which case ... do you expect that glyph? or maybe one special for math? and does its size

Re: [NTG-context] unicode subscripts

2010-05-30 Thread Khaled Hosny
On Sun, May 30, 2010 at 03:35:12PM +0200, Hans Hagen wrote: On 29-5-2010 6:58, Yury G. Kudryashov wrote: Hi! Unicode subscripts do not work (at least, in math): \starttext $a₀₁₂₃₄₅₆₇₈₉₋₌₊$ \stoptext prints only a. The file char-def.lua contains block like this: [0x2080]={

Re: [NTG-context] unicode subscripts

2010-05-30 Thread Hans Hagen
On 30-5-2010 5:01, Khaled Hosny wrote: Those characters are not intended for use as real sub/superscripts, they are their for round trip compatibility (AKA the source of all Unicode discrepancies). indeed, which is why using them is on user's own risk Hans

Re: [NTG-context] unicode subscripts

2010-05-30 Thread Hans Hagen
On 30-5-2010 4:52, Yury G. Kudryashov wrote: Hans Hagen wrote: On 29-5-2010 6:58, Yury G. Kudryashov wrote: Hi! Unicode subscripts do not work (at least, in math): P.S.: Superscript digits work. Probably, the font contains ¹ but not ₁. in which case ... do you expect that glyph? or maybe

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Vyatcheslav Yatskovsky
Thank you, Wolfgang, with this correction it works fine! A few questions, if you don't mind: 1) what \setupinterlinespace \let\\=\blank means? I thought this setup can accept only values in brackets; I don't understand this construct. 2) Why I cannot use Part (with capital P)? 3) I

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
Thanks, I added the line to the \@@bk block in str-flt.mkiv, but I don't know how to remake the formats. I tried: mtxrun --script fonts --reload luatools --generate texexec --make --all texexec --make --all --pdftex texexec --make --all --xetex luatools --generate luatools --ini --compile

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Wolfgang Schuster
Am 30.05.10 18:45, schrieb Vyatcheslav Yatskovsky: Thank you, Wolfgang, with this correction it works fine! A few questions, if you don't mind: 1) what \setupinterlinespace \setupinterlinespace comes in two version, with the complex version you can change the values for the lineheight, e.g.

[NTG-context] Windows Minimals installer is broken -- mtxrun does not work

2010-05-30 Thread Vyatcheslav Yatskovsky
Hello everybody and esp. Mojca, I started updating my Windows installer code to include --extras switch. Unfortunately, I found that mtxrun.cmd does not exist anymore and is replaced by mtxrun.exe. Moreover, mtxrun.exe is not working at all, complaining mtxrun: unable to locate texlua.exe on

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread taco
Michael Saunders wrote: How is the [body] feature defined? \definefontfeature[body][default][onum=yes,pnum=yes,calt=yes,protrusion=quality,expansion=quality] Please add script=latn, that works for Palatino Nova, and I think there possibly was in change in that a while back (some months).

Re: [NTG-context] stelinterliniein

2010-05-30 Thread Henning Hraban Ramm
Wolfgang, Vyatcheslav, thank you for debugging my ancient Skdk style! If you fix it in the wiki, please also remove all those broken links... Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
Please add script=latn, that works for Palatino Nova, and I think there possibly was in change in that a while back (some months). Thanks, I have added script=latn to \definefontfeature[body], but those Open Type features still aren't back to normal. I should have mentioned that I had:

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread taco
Michael Saunders wrote: Please add script=latn, that works for Palatino Nova, and I think there possibly was in change in that a while back (some months). Thanks, I have added script=latn to \definefontfeature[body], but those Open Type features still aren't back to normal. I should have

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
There is no test file, and I still do not know which font you are using. Attempting to find the problem is closer to tea-gazing than to debugging at the moment. Font features cannot be debugged independent of the actual font. Thanks, I understand. I had been using GaramondPremrPro (which has

Re: [NTG-context] setups in typescripts

2010-05-30 Thread Willi Egger
On 30 May 2010, at 10:18, Bernhard Rosensteiner wrote: Hello, i have made a typescript which works. the only thing is that i have in my typescript something like: \startsetups [fallbackfonts] … \stopsetups \starttypescript [bla] \setups[fallbackfonts] … \stoptypescript

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Hans Hagen
On 30-5-2010 10:36, Michael Saunders wrote: There is no test file, and I still do not know which font you are using. Attempting to find the problem is closer to tea-gazing than to debugging at the moment. Font features cannot be debugged independent of the actual font. Thanks, I understand. I

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
you can try mtxrun --script font --list --info garamondpremrpr ... to see what happens with features Thanks. This seems to confirm that the features are there: MTXrun | dnom cyrl dflt MTXrun | grek dflt MTXrun | latn aze crt deu dflt fra ita mol rom srb

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Hans Hagen
On 30-5-2010 11:24, Michael Saunders wrote: you can try mtxrun --script font --list --info garamondpremrpr to see what happens with features Thanks. This seems to confirm that the features are there: MTXrun | dnom cyrl dflt MTXrun | grek dflt MTXrun |

Re: [NTG-context] LuaTeX error ... object in use

2010-05-30 Thread Michael Saunders
add mode=node to the 'body' feature definitions I added it. I get the same results. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /