Re: [NTG-context] Basic \def error?

2013-04-23 Thread Wolfgang Schuster
Am 23.04.2013 um 20:11 schrieb "Verhaag, G.C.H.M." : > Hi Luigi, > > Thanks for your very quick response, just great! Your suggestion works! > > By the way, what does this expanded mean, is it documented somewhere? Is it a > typical MKIV thing related to Lua? It’s a typical way in MkIV to che

Re: [NTG-context] [luatex-fonts] error with Amiri due to inclusion of font-otp.lua

2013-04-23 Thread Hans Hagen
On 4/24/2013 12:02 AM, Philipp Gesang wrote: Hi, including font-otp triggers an error with the Amiri font: ! LuaTeX error ./luaotfload-merged.lua:10471: invalid value (nil) at index 1 in table for 'concat'. Which corresponds to line 192 of font-otp.lua. Test code: \font\test={f

[NTG-context] [luatex-fonts] error with Amiri due to inclusion of font-otp.lua

2013-04-23 Thread Philipp Gesang
Hi, including font-otp triggers an error with the Amiri font: ! LuaTeX error ./luaotfload-merged.lua:10471: invalid value (nil) at index 1 in table for 'concat'. Which corresponds to line 192 of font-otp.lua. Test code: \font\test={file:amiri-regular.ttf} \test ضرب \bye Or

Re: [NTG-context] Basic \def error?

2013-04-23 Thread Wolfgang Schuster
Am 23.04.2013 um 19:08 schrieb luigi scarso : > On Tue, Apr 23, 2013 at 7:04 PM, Verhaag, G.C.H.M. > wrote: >> Hi ConTeXt User's, >> >> Again I'm struggling with MKIV! >> >> I get the following error message: >> >> ! Argument of \HeadTitle has an extra } >> >> My environment file contains t

Re: [NTG-context] Cumulating numbered lists

2013-04-23 Thread Hans Hagen
On 4/23/2013 10:31 PM, Aditya Mahajan wrote: On Tue, 23 Apr 2013, Alan Bowen wrote: OK. Thanks for the explanation, Wolfgang. I will await the day when the repeat key can be disabled. the day i do an upload If you are not interested in re-enabling the repeat key in a nested itemize, then th

Re: [NTG-context] Cumulating numbered lists

2013-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2013, Alan Bowen wrote: OK. Thanks for the explanation, Wolfgang. I will await the day when the repeat key can be disabled. If you are not interested in re-enabling the repeat key in a nested itemize, then the attached example may work (not tested beyond the minimal example)

Re: [NTG-context] Cumulating numbered lists

2013-04-23 Thread Alan Bowen
OK. Thanks for the explanation, Wolfgang. I will await the day when the repeat key can be disabled. Alan On Tue, Apr 23, 2013 at 6:20 AM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > > Am 22.04.2013 um 23:59 schrieb Alan Bowen : > > > Another try: > > > > Can someone explain why >

Re: [NTG-context] calculating with dimension unit

2013-04-23 Thread Jan Heinen
Ok, I now put the \ctxlua into an other chapter: http://wiki.contextgarden.net/Calculating_with_dimension_units Can you say something to the missing points there? "Wich meethod?", "\the" and "Expanding If you don't know how to edit the context-wiki, please write your information here in the

Re: [NTG-context] Basic \def error?

2013-04-23 Thread Verhaag, G.C.H.M.
Hi Luigi, Thanks for your very quick response, just great! Your suggestion works! By the way, what does this expanded mean, is it documented somewhere? Is it a typical MKIV thing related to Lua? Regards, Verhaag, G.C.H.M. On 04/23/2013 07:08 PM, luigi scarso wrote: On Tue, Apr 23, 2013 at 7

[NTG-context] A simpler way to make a bibliography

2013-04-23 Thread john Culleton
After struggling with all the programming prescribed by Context to set up a bibliography, and examining a few dozen *.bib, *.bst and a *bbl file, I decided to do things the simple way. My concept is, that instead of creating a *bib file I could with the same amount of effort create a plain text fil

Re: [NTG-context] Basic \def error?

2013-04-23 Thread luigi scarso
On Tue, Apr 23, 2013 at 7:04 PM, Verhaag, G.C.H.M. wrote: > Hi ConTeXt User's, > > Again I'm struggling with MKIV! > > I get the following error message: > > ! Argument of \HeadTitle has an extra } > > My environment file contains the following definition: > > \def\HeadTitle#1#2% > {\hbox to \hs

[NTG-context] Basic \def error?

2013-04-23 Thread Verhaag, G.C.H.M.
Hi ConTeXt User's, Again I'm struggling with MKIV! I get the following error message: ! Argument of \HeadTitle has an extra } My environment file contains the following definition: \def\HeadTitle#1#2% {\hbox to \hsize \bgroup \hfill \lbox to 2cm{\hsize 7cm #2}% \egroup} \setuphead

[NTG-context] localfootnotes and bodyfontsize in a placetable

2013-04-23 Thread Alan BRASLAU
The following attached "minimal" example using local footnotes and a small body font size exhibits two problems: 1. The \placelocalfootnotes are incoherently in the "normal" size, as I would expect them to be proportionally reduced. 2. The width of the first column gets incorrectly set (the

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Aditya, thanks. I like this Lua way, but I have to explore the Lua world first. Ok, reading PIL and coding in Lua. Tim> Date: Tue, 23 Apr 2013 10:51:24 -0400 > From: adit...@umich.edu > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Set background color for a single page > > > Aditya, I wan

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
Aditya, I want to know both please. Now I use the \start \definecolor ... ... \startmakeup[standard] ... \stopmakeup \stopto assign a specific color to the tilepage whose content is on a single page exactly. But I don't know how to set the background for a single page, say, page 3 if a docum

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Aditya, I want to know both please. Now I use the \start \definecolor ... ... \startmakeup[standard] ... \stopmakeup \stopto assign a specific color to the tilepage whose content is on a single page exactly. But I don't know how to set the background for a single page, say, page 3 if a d

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2013, Tim Li wrote: Aditya, Thanks. Defining a color conversion is a good idea, and we can apply this conversion easily to somethings like chapter, section, etc. which has a `color' filed to assign, but not pages. Is there a way to set the color of a page like that done for cha

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Aditya, Thanks. Defining a color conversion is a good idea, and we can apply this conversion easily to somethings like chapter, section, etc. which has a `color' filed to assign, but not pages. Is there a way to set the color of a page like that done for chapters and sections? Tim > Date: Tue,

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2013, Tim Li wrote: Sometimes, I only want a single page, say, the titlepage or page 32, with colored background rather that the whole document. Here are some codes: \starttext% titlepage (yellow) \startmakeup[standard] \midaligned{How to make document} \stopmakeup % page1 (gray

[NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Sometimes, I only want a single page, say, the titlepage or page 32, with colored background rather that the whole document. Here are some codes: \starttext% titlepage (yellow) \startmakeup[standard] \midaligned{How to make document} \stopmakeup % page1 (gray) Many \CONTEXT\ users $\ldots$ \page

Re: [NTG-context] Cumulating numbered lists

2013-04-23 Thread Wolfgang Schuster
Am 22.04.2013 um 23:59 schrieb Alan Bowen : > Another try: > > Can someone explain why > > \setupitemgroup[itemize][broad,joinedup,packed,autointro] > \setupitemize[itemalign=flushright] > \startitemize[n,repeat] > \item level a > \startitemize[n,repeat] > \item level b >

Re: [NTG-context] ``fallback" in Typescript

2013-04-23 Thread Tim Li
Wolfgang, many thanks to you, for your comprehensive explaination. After reading your mail, as a ConTeXt user, I think I can apply the `fallback' to my typescript definition well. Tim From: schuster.wolfg...@gmail.com Date: Tue, 23 Apr 2013 09:28:15 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG

Re: [NTG-context] ``fallback" in Typescript

2013-04-23 Thread Wolfgang Schuster
Am 23.04.2013 um 04:05 schrieb Tim Li : > Thanks. I am reading these codes. That won’t help to understand what’s the meaning of these lines. To demonstrate what these lines are for a wrote a small example. \starttypescript[serif][palatino-clone] \definefontsynonym [Serif] [file:texgyr