Re: [NTG-context] prevent gobbling of spaces when omitting optional argument

2011-01-29 Thread Wolfgang Schuster
Am 28.01.2011 um 23:24 schrieb Florian Wobbe: Hi, please consider the following minimal example: \def\before{\dodoubleempty\dobefore}% \def\dobefore[#1][#2]{before} \starttext \before[] after (should be: \before[]\ after without explicit \type{\ })\par \before[]after\par

Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread Wolfgang Schuster
Am 29.01.2011 um 06:42 schrieb David Rogers: * John Culleton j...@wexfordpress.com [2011-01-28 16:39]: Is there a short, simple guide somewhere that shows how to use TTF and OTF fonts in Context? I downloaded the new Fonts chapter but it goes deep into the weeds on typescripts etc. I am

Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread John Haltiwanger
On Sat, Jan 29, 2011 at 9:55 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 29.01.2011 um 06:42 schrieb David Rogers: * John Culleton j...@wexfordpress.com [2011-01-28 16:39]: Is there a short, simple guide somewhere that shows how to use TTF and OTF fonts in

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-29 Thread Hans Hagen
On 29-1-2011 6:09, Reviczky, Adam wrote: I think I've narrowed down the problem to the javascripts.usescripts function inside java-ini.lua. I'm not quite sure what the problem is though, but commenting out context.input(foundname) solves the alignment issue as a temporary workaround. Can you

Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread Hans Hagen
On 29-1-2011 10:17, John Haltiwanger wrote: Are these basically the same settings as used in simplefonts? Although the spec: interface (in addition to file: and name:) has fallback heuristics, simplefonts is more clever and does more extensive testing, But as with all heuristics, you can

Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread Wolfgang Schuster
Am 29.01.2011 um 10:17 schrieb John Haltiwanger: I've added this to the wiki page on using Fonts in LuaTeX, but since I don't know anything about these spec settings it for now just consists of our example Wolfgang. If you send back some explanations then I will add them to the wiki as

Re: [NTG-context] Head: why different distances?

2011-01-29 Thread Wolfgang Schuster
Am 28.01.2011 um 18:08 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I created a simple file which derives head style 'subsectionX' from 'subsection'. The only difference is the the latter has 'align=middle'. --- \setuphead[subsection,subsubject][style=\bfa]

Re: [NTG-context] prevent gobbling of spaces when omitting optional argument

2011-01-29 Thread Florian Wobbe
Hi, please consider the following minimal example: \def\before{\dodoubleempty\dobefore}% \def\dobefore[#1][#2]{before} \starttext \before[] after (should be: \before[]\ after without explicit \type{\ })\par \before[]after\par \before[][] after\par % this works \before[][]after\par

Re: [NTG-context] prevent gobbling of spaces when omitting optional argument

2011-01-29 Thread Florian Wobbe
% \one, \one[…] and \one[…][…] (no spaces between “[][]” allowed) \def\one {\strictdoifnextoptionalelse\doone\noone} \def\noone{[]} \def\doone[#1]% {\strictdoifnextoptionalelse{\dodoone[#1]}{\nodoone[#1]}} \def\dodoone[#1][#2]% {[#1:#2]} \def\nodoone[#1]% {[#1]} One more

Re: [NTG-context] TTF fonts and MKIV

2011-01-29 Thread John Culleton
On Friday 28 January 2011 16:52:57 Marco Pessotto wrote: John Culleton j...@wexfordpress.com writes: Is there a short, simple guide somewhere that shows how to use TTF and OTF fonts in Context? I downloaded the new Fonts chapter but it goes deep into the weeds on typescripts etc. I am

Re: [NTG-context] prevent gobbling of spaces when omitting optional argument

2011-01-29 Thread Philipp Gesang
Hi Florian! On 2011-01-29 17:21:26, Florian Wobbe wrote: % \one, \one[…] and \one[…][…] (no spaces between “[][]” allowed) \def\one \unexpanded\def\one % should make it work in footnotes Philipp {\strictdoifnextoptionalelse\doone\noone} \def\noone{[]} \def\doone[#1]%

Re: [NTG-context] prevent gobbling of spaces when omitting optional argument

2011-01-29 Thread Florian Wobbe
\unexpanded\def\one % should make it work in footnotes Great, that did the trick. Thanks! Florian ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] large right brace grouping lines of equations

2011-01-29 Thread Aditya Mahajan
On Sat, 29 Jan 2011, Jeong Dalyoung wrote: Dear all, First, thanks Wolfgang and Hans for suggestions about the chapter head. Using \cases, I can use large left brace for lines of equations. But, how to put a large right brace after lines of equations which groups them. Is it possible in the

[NTG-context] trying to fix page ranges in bibliography

2011-01-29 Thread Florian Wobbe
Hi, I'm trying to insert the macro \pagerange into the code from texmf-context/tex/context/base/bibl-tra.mkiv but I'm quite lost. The macro should make proper page ranges from the bibtex file entries (Pages = {...}). That means remove any whitespace before and after the hyphen and double a

Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-29 Thread Reviczky, Adam
I already fixed it (there were a few more things so I added some tracing options as well). There is no beta upload as something has to be tested by other dev first due to some changes in file handling. Great, I'll be waiting for the next beta then! In the meantime, can I also ask you about