Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Hans Hagen
On 24-11-2010 7:20, Alan BRASLAU wrote: On Wednesday 24 November 2010 19:06:19 Hans Hagen wrote: ok, thanks for testing it ... I'm stripping that old code so bugs can creep in; I'm also considering removing the CL and such \CL[color] % colored line \BL[number_cells] % grey background (BL =

[NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Yury G. Kudryashov
Hi! I want to have the following (Theorems and Lemmas share the counter, way=bysection): Section 1. Foo Theorem 1.1 Bar Lemma 1.2 Baz Section 2. Foo Theorem 2.1 Bar Lemma 2.2 Baz The following used to work about a month or two ago. \setupenumerations[way=bysection] \newcounter\theorems

Re: [NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 09:54 schrieb Yury G. Kudryashov: The following used to work about a month or two ago. \setupenumerations[way=bysection] \newcounter\theorems \defineenumeration[thm] [text=Theorem,prefix=yes,prefixsegments=section,counter=theorems] \defineenumeration[lem]

Re: [NTG-context] TEI - conTeXt - pdf

2010-11-25 Thread Thomas A. Schmitz
On Nov 24, 2010, at 11:47 PM, Jon Crump wrote: All, Having abandoned apache's FOP, I've now been trying to get my arms around XML typesetting with conTeXt with the help of Thomas's excellent tutorial at http://wiki.contextgarden.net/TEI_xml. With some difficulty I got the

Re: [NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-25 Thread barney schwartz
Update on using MikTeX 2.9, ConTeXt MKIV, Winedt 6.?!!! First let me thank Mojca, Aditya, Ulrike and Hans for looking into this. I received a suggestion to remove Miktex Full and install Miktex basic. That did NOT work as I like lucida and lucida math which will not function correctly using

Re: [NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-25 Thread Ulrike Fischer
Am Tue, 23 Nov 2010 19:43:13 +0100 schrieb Mojca Miklavec: limited utf-8 is now available -- so interesting that Aleks made MkIV default --, don't know when/if-ever bidi support will be there ... I don't know if bidi will ever be there either, but the sole fact that it supports UTF-8 is

Re: [NTG-context] ConTeXt on MikTeX

2010-11-25 Thread Ulrike Fischer
Am Wed, 24 Nov 2010 09:27:32 + schrieb Richard Stephens: Hello all, As I cannot use rsynch to update ConTeXt, I was wondering if the MikTeX distribution might provide an alternative route to getting updates. There are questions: 1) The Wiki page on MikTeX

Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Alan BRASLAU
On Thursday 25 November 2010 09:49:39 Hans Hagen wrote: On 24-11-2010 7:20, Alan BRASLAU wrote: On Wednesday 24 November 2010 19:06:19 Hans Hagen wrote: ok, thanks for testing it ... I'm stripping that old code so bugs can creep in; I'm also considering removing the CL and such

Re: [NTG-context] ConTeXt on MikTeX

2010-11-25 Thread Mojca Miklavec
On Wed, Nov 24, 2010 at 10:27, Richard Stephens wrote: As I cannot use rsynch to update ConTeXt, I was wondering if the MikTeX distribution might provide an alternative route to getting updates. There are questions: Is it a firewall problem or something else? 3) How often will the MikTeX

Re: [NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-25 Thread Khaled Hosny
On Thu, Nov 25, 2010 at 11:01:17AM +0100, Ulrike Fischer wrote: Am Tue, 23 Nov 2010 19:43:13 +0100 schrieb Mojca Miklavec: limited utf-8 is now available -- so interesting that Aleks made MkIV default --, don't know when/if-ever bidi support will be there ... I don't know if bidi will

Re: [NTG-context] New Release Winedt WORKS with MKIV!!

2010-11-25 Thread Ulrike Fischer
Am Thu, 25 Nov 2010 12:31:05 +0200 schrieb Khaled Hosny: limited utf-8 is now available -- so interesting that Aleks made MkIV default --, don't know when/if-ever bidi support will be there ... I don't know if bidi will ever be there either, but the sole fact that it supports UTF-8 is

[NTG-context] MkII index bug?

2010-11-25 Thread Jano Kula
Hi Hans, playing with the solution for Horacio the line \enableregime[utf] stops treating index entries and its subentries right in MkII. %\enableregime[utf] \starttext \placeregister[index] \page A\index[arbol+rojo]{arbol+rojo}\page B\index[araña+linda]{araña+linda}\page

[NTG-context] Set the space after a figure?

2010-11-25 Thread seasoul
I want to setup the space after the figure (caption inclusive), i tried \setupfloat[figure][spaceafter = mediaum], no change after i compile, then i tried \setupfloat[figure][after=\blank[big], no change again? Anyway to do this?

Re: [NTG-context] ConTeXt on MikTeX

2010-11-25 Thread Richard Stephens
As I cannot use rsynch to update ConTeXt, I was wondering if the MikTeX distribution might provide an alternative route to getting updates. Is it a firewall problem or something else? Firewall. I am protected by two company firewalls (so I'm told). There is no prospect of opening ports that

[NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to determine the current language being used in Ctx source via Lua? I mean soumething like: --- \mainlanguage[cz] \starttext AAA \startluacode if context.mainlanguage == cz then -- Do something specific context(Ahoj!) elseif context.mainlanguage == en then --

Re: [NTG-context] ConTeXt on MikTeX

2010-11-25 Thread Mojca Miklavec
On Thu, Nov 25, 2010 at 12:46, Richard Stephens wrote: I guess I'll carry on using my own update method then: I download cont-tmf.zip (from http://www.pragma-ade.com/download-2.htm) then hunt for new binaries in the directory tree at http://minimals.contextgarden.net/. It's a pain but it

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 12:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, how to determine the current language being used in Ctx source via Lua? I mean soumething like: --- \mainlanguage[cz] \starttext AAA \startluacode if context.mainlanguage == cz then -- Do

Re: [NTG-context] Set the space after a figure?

2010-11-25 Thread Mojca Miklavec
Dear seasoul, here are some general remarks (I didn't try if this works at all or not) that are independent of your particular problem: On Thu, Nov 25, 2010 at 12:34, seasoul wrote: I want to setup the space after the figure (caption inclusive), i tried \setupfloat[figure][spaceafter =

Re: [NTG-context] Set the space after a figure?

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 12:34 schrieb seasoul: I want to setup the space after the figure (caption inclusive), i tried \setupfloat[figure][spaceafter = mediaum], Remove the spaces: \setupfloat[figure][spaceafter=medium] Wolfgang

Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 11:16 schrieb Alan BRASLAU: So if tabulate is indeed to replace table and tables, perhaps they should be eliminated. For backward compatibility, perhaps starttable and starttables could be synonymes for starttabulate? Or perhaps I am missing something. Tables has different

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Taco Hoekwater
On 11/25/2010 01:13 PM, Wolfgang Schuster wrote: Am 25.11.2010 um 12:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, how to determine the current language being used in Ctx source via Lua? I mean soumething like: --- \mainlanguage[cz] \starttext AAA \startluacode if

[NTG-context] tables and column spanning

2010-11-25 Thread Mojca Miklavec
Dear Hans, In MKIV I miss the probably recently dropped command \use{number-of-column} from \starttable ... \stoptable environment. In MKII it still works perfectly fine. Here's an example from Wiki for testing: \starttable[s(0pt)|ls(10pt)|rs(0pt)|] \HL \NC \use{2}\ReFormat[cB]{Spanning head}

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks to both. So - On Thu, 25 Nov 2010 13:31:36 +0100, Taco Hoekwater t...@elvenkind.com wrote: On 11/25/2010 01:13 PM, Wolfgang Schuster wrote: Am 25.11.2010 um 12:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, how to determine the current language being used in Ctx

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Taco Hoekwater
On 11/25/2010 02:16 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: So does it mean that \char (in the beginning of a string) in Lua for ConTeXt is a hack which expands a (Con)TeX(t) internal value (in the case that char is not a valid escape char)? No, nothing as complicated as that:

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 25 Nov 2010 14:22:18 +0100, Taco Hoekwater t...@elvenkind.com wrote: On 11/25/2010 02:16 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: No, nothing as complicated as that: \currentmainlanguage is an expandable macro, so it simply expands to its actual content: cs This also means

Re: [NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Yury G. Kudryashov
Wolfgang Schuster wrote: Am 25.11.2010 um 09:54 schrieb Yury G. Kudryashov: The following used to work about a month or two ago. \setupenumerations[way=bysection] \newcounter\theorems \defineenumeration[thm] [text=Theorem,prefix=yes,prefixsegments=section,counter=theorems]

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Taco Hoekwater
On 11/25/2010 02:43 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... And using this in a separate file is also what I'd need. So do I have to do something like: Something like that, yes. But it depends a little on what you want to do: because \currentmainlanguage expands, you will get the

[NTG-context] Wondering how to get bibliography sorted by author

2010-11-25 Thread barndog1946
Hans, I see on the wiki that MKIV has bibliography reenabled. I put this code in my document: \setupbibtex[database={mybib},sort=author] text text text \completepublications[criterium=all] \placepublications[criterium=all] but the references are ordered by occurance NOT alphabetical by

Re: [NTG-context] Ctx Lua: determination of the language being used

2010-11-25 Thread Hans Hagen
On 25-11-2010 4:13, Taco Hoekwater wrote: On 11/25/2010 02:43 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... And using this in a separate file is also what I'd need. So do I have to do something like: Something like that, yes. But it depends a little on what you want to do: because

Re: [NTG-context] \todo

2010-11-25 Thread Renaud AUBIN
[OT / Emacs-related] It would be nice to have a ConTeXt export for org-mode! Is there any org-mode users? Le 23/11/2010 20:46, Procházka Lukáš a écrit : ... OK, thanks both for the inspiration. Lukas ___ If your

[NTG-context] Bibliography contains references not cited in the text

2010-11-25 Thread Curiouslearn
Hi All, I am having trouble with the bib module. The bibliography section of my article contains references that I have not cited in the text. These are in my .bib file, but it seems to me that references that were not cited in the text were ignored when constructing the bibliography. This is a

Re: [NTG-context] \todo

2010-11-25 Thread Joerg . Hagmann
Quoting Renaud AUBIN au...@nibua-r.org: [OT / Emacs-related] It would be nice to have a ConTeXt export for org-mode! Is there any org-mode users? Yes. I have been using org-mode for about 2 years, and I'm now doing everything except e-mail there. I have files like lectures.org that would

Re: [NTG-context] \todo

2010-11-25 Thread Renaud AUBIN
Hi Jörg, It would be nice to have a native ConTeXt support… Ok ⇒ on my someday.org ;) I'm interested by your (even-still-very-primitive) ruby script… Renaud, implementing GTD with org-mode for 3 months Yes. I have been using org-mode for about 2 years, and I'm now doing everything except

Re: [NTG-context] \todo

2010-11-25 Thread Joerg . Hagmann
Quoting Renaud AUBIN au...@nibua-r.org: It would be nice to have a native ConTeXt support? I agree. I'm interested by your (even-still-very-primitive) ruby script? Ok. I'll be away bird-watching for a few days; I'll send you the script when I'm back and have time - later next week --

[NTG-context] \inmargin / full textwidth line interac tion (was Toward the use of inleft…)

2010-11-25 Thread Renaud AUBIN
Since my previous post doesn't seem inspiring at all (sniff), here is a simplified and more precise description of what need to be done: 1 − I need a full textwidth black line as separator with a short title centered vertically at left 2 − This separator must be followed by text, and the

Re: [NTG-context] analog of \hdotsfor command

2010-11-25 Thread Vladimir Lomov
Hi. 2010/11/24 Aditya Mahajan adit...@umich.edu: On Wed, 24 Nov 2010, Vladimir Lomov wrote: Hi. Is there analog of \hdotsfor command in context (mkiv)? The description of \hdotsfor command is in amsldoc.pdf[1] on page 11. [1]

[NTG-context] \HL[...] in mkiv

2010-11-25 Thread Herbert Voss
runs in mkii and mkiv, but the optional argument for \HL is only valid for mkii. For mkiv it is not taken into account. \starttext \starttable[|c|c|c|c|c|c|c|c|c|c|]\HL \VL 1 \VL 2 \VL 3 \VL 4 \VL 5 \VL 6 \VL 7 \VL 8 \VL 9 \VL 10 \VL\AR\HL[5] \stoptable \stoptext Herbert

Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Alan BRASLAU
On Thursday 25 November 2010 13:16:38 Wolfgang Schuster wrote: Am 25.11.2010 um 11:16 schrieb Alan BRASLAU: So if tabulate is indeed to replace table and tables, perhaps they should be eliminated. For backward compatibility, perhaps starttable and starttables could be synonymes for

[NTG-context] Strange behavior of '\setupmathematics' and '\iint'

2010-11-25 Thread Vladimir Lomov
Hi. I faced with strange (for me) behavior of combination of '\setupmathematics' and '\iint'. Consider the following example: example name=ex1.tex \setupbodyfont[xits] \setupmathematics[integral=displaylimits] \starttext This is a sample. \startformula