Re: [NTG-context] setuppagenumbering command

2010-04-23 Thread Marius
I am using the given command below to change numbering format, but I get numbers instead of roman numerals. Looks like conversion option has no effect. \setuppagenumbering [location=right, alternative=doublesided, conversion=Romannumerals, style=bold] On Thu, Apr 22, 2010

[NTG-context] the last page of a document

2010-04-23 Thread Marius
Hello, I am writing an environment for a document and there should be a page with some text at the end of the document. In LaTeX I use \AtEndDocument{} command, but how does one achieve the same effect in ConTeXt? Thanks, Marius

Re: [NTG-context] the last page of a document

2010-04-23 Thread Taco Hoekwater
Marius wrote: Hello, I am writing an environment for a document and there should be a page with some text at the end of the document. In LaTeX I use \AtEndDocument{} command, but how does one achieve the same effect in ConTeXt? \appendtoks (stuff I want to do) \to\everystoptext Best wishes,

Re: [NTG-context] [ppchtex] \normalifx: Undefined control sequence

2010-04-23 Thread Hans Hagen
On 23-4-2010 7:37, Denis Bitouzé wrote: Le jeudi 22/04/10 à 23h32, Hans Hagenpra...@wxs.nl a écrit : btw, in mkiv ppchtex is reimplemented; it still has some flaws but it has more room for extensions and is now part of the context mkiv kernel As I'm not using ConTeXt for the moment (but it

Re: [NTG-context] [ppchtex] \normalifx: Undefined control sequence

2010-04-23 Thread Denis Bitouzé
Le vendredi 23/04/10 à 09h34, Hans Hagen pra...@wxs.nl a écrit : we have context mkii and context mkiv; the new ppchtex module is for mkiv and uses a combination of lua, tex and mp; as context and latex are quite different (and even more when you consider mkiv) the new ppchtex code targets

Re: [NTG-context] page-break

2010-04-23 Thread Jörg Hagmann
No reaction to this question so far. I realise that, without a minimal example, it is difficult to know what is happening. But I don't believe that the problem never occurs to others. Maybe you have some general suggestions as what to try? The page breaks as soon as the paragraph starting with

Re: [NTG-context] Fullpage module

2010-04-23 Thread Mojca Miklavec
On Thu, Apr 22, 2010 at 20:34, Wolfgang Schuster wrote: The module is now on the garden, it’s Mojcas job to include it in the minimals. It's there. Mojca ___ If your question is of interest to others as well,

Re: [NTG-context] the last page of a document

2010-04-23 Thread Marius
On Fri, Apr 23, 2010 at 9:34 AM, Taco Hoekwater t...@elvenkind.com wrote: Marius wrote: Hello, I am writing an environment for a document and there should be a page with some text at the end of the document. In LaTeX I use \AtEndDocument{} command, but how does one achieve the same effect

Re: [NTG-context] the last page of a document

2010-04-23 Thread Taco Hoekwater
Marius wrote: On Fri, Apr 23, 2010 at 9:34 AM, Taco Hoekwater t...@elvenkind.com wrote: Marius wrote: Hello, I am writing an environment for a document and there should be a page with some text at the end of the document. In LaTeX I use \AtEndDocument{} command, but how does one achieve the

Re: [NTG-context] setuppagenumbering command

2010-04-23 Thread Wolfgang Schuster
Am 23.04.10 08:10, schrieb Marius: I am using the given command below to change numbering format, but I get numbers instead of roman numerals. Looks like conversion option has no effect. \setuppagenumbering [location=right, alternative=doublesided, conversion=Romannumerals,

Re: [NTG-context] Problem with \doifelse testing of UTF-8 chars

2010-04-23 Thread Mojca Miklavec
On Fri, Apr 23, 2010 at 00:30, Jaroslav Hajtmar wrote: Thank you very much. Due to your suggestion it was my problem resolved. Problem has been truly in unexpanded macros. Can the solution be applied to the m-database.tex module as well? Last time when I tried the UTF-8 didn't work with mkii

Re: [NTG-context] page-break

2010-04-23 Thread Taco Hoekwater
Jörg Hagmann wrote: No reaction to this question so far. I realise that, without a minimal example, it is difficult to know what is happening. But I don't believe that the problem never occurs to others. Maybe you have some general suggestions as what to try? The page breaks as soon as the

Re: [NTG-context] page-break

2010-04-23 Thread Jörg Hagmann
On 4/23/10 2:45 PM, Taco Hoekwater wrote: Jörg Hagmann wrote: No reaction to this question so far. I realise that, without a minimal example, it is difficult to know what is happening. But I don't believe that the problem never occurs to others. Maybe you have some general suggestions as what

[NTG-context] ! Undefined control sequence

2010-04-23 Thread Wolfgang Werners-Lucchini
Hallo, I have a little problem which I can not solve. The following example works with the definition of \broad in position 1 and it fails in position 2. - % Position 1 % \def\broad{5*broad} \defineitemgroup[Tst] \setupitemgroup[Tst][1][n,\broad ] % Position

[NTG-context] how to make uppercase characters?

2010-04-23 Thread Marius
Hello, There is \uppercase command in tex, but it works just with plane characters. \uppercase{xxx} prints XXX, while \def\xxx{xxx} \uppercase{\xxx} prints xxx, but I want XXX. Maybe there is a ConTeXt command of \uppercase, like in LaTeX \MakeUppercase ? Thanks, Marius

Re: [NTG-context] how to make uppercase characters?

2010-04-23 Thread Wolfgang Schuster
Am 23.04.10 16:56, schrieb Marius: Hello, There is \uppercase command in tex, but it works just with plane characters. \uppercase{xxx} prints XXX, while \def\xxx{xxx} \uppercase{\xxx} prints xxx, but I want XXX. Maybe there is a ConTeXt command of \uppercase, like in LaTeX \MakeUppercase ?

Re: [NTG-context] how to make uppercase characters?

2010-04-23 Thread luigi scarso
On Fri, Apr 23, 2010 at 4:56 PM, Marius mariau...@gmail.com wrote: Hello, There is \uppercase command in tex, but it works just with plane characters. \uppercase{xxx} prints XXX, while \def\xxx{xxx} \uppercase{\xxx} prints xxx, but I want XXX. Maybe there is a ConTeXt command of

Re: [NTG-context] ! Undefined control sequence

2010-04-23 Thread Taco Hoekwater
- Why is this? Because \setupitemgroup expands its third argument. And how can I make it work in position 2? \setupitemgroup[Tst][1][n,\noexpand\broad ] Best wishes, Taco

[NTG-context] \doifinset

2010-04-23 Thread Wolfgang Werners-Lucchini
Hallo, on the garden at http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions one can read to the command \doifinset 'If the first string expands 'empty', it is considered to be always in the set.' But \starttext \doifinset{}{A,B,C}{should go} \stoptext seams to show that

Re: [NTG-context] ! Undefined control sequence

2010-04-23 Thread Wolfgang Schuster
Am 23.04.10 17:32, schrieb Taco Hoekwater: - Why is this? Because \setupitemgroup expands its third argument. And how can I make it work in position 2? \setupitemgroup[Tst][1][n,\noexpand\broad ] Best wishes, Taco Taco, don't you think it's

Re: [NTG-context] ! Undefined control sequence

2010-04-23 Thread Taco Hoekwater
Wolfgang Schuster wrote: don't you think it's better to show users a better alternative if possible? You are assuming I know how ;) Nice solution, btw. Best wishes, Taco ___ If your question is of interest to

Re: [NTG-context] \doifinset

2010-04-23 Thread Wolfgang Schuster
Am 23.04.10 17:57, schrieb Wolfgang Werners-Lucchini: Hallo, on the garden at http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions one can read to the command \doifinset 'If the first string expands 'empty', it is considered to be always in the set.' But \starttext

Re: [NTG-context] Problem with \doifelse testing of UTF-8 chars

2010-04-23 Thread Hans Hagen
On 23-4-2010 2:31, Mojca Miklavec wrote: On Fri, Apr 23, 2010 at 00:30, Jaroslav Hajtmar wrote: Thank you very much. Due to your suggestion it was my problem resolved. Problem has been truly in unexpanded macros. Can the solution be applied to the m-database.tex module as well? Last time

Re: [NTG-context] Problem with \doifelse testing of UTF-8 chars

2010-04-23 Thread Mojca Miklavec
Wow, great, thanks a lot! It works much better now. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Problem with \doifelse testing of UTF-8 chars

2010-04-23 Thread Hans Hagen
On 23-4-2010 2:31, Mojca Miklavec wrote: Last time when I tried the UTF-8 didn't work with mkii (if the first character in cell wasn't an ascii character). another trick: \bgroup \keeputfcharacters \doifelse{slovenian mkii utf} {whatever} {\egroup ..} {\egroup ..}

[NTG-context] Re :! Undefined control sequence

2010-04-23 Thread Wolfgang Werners-Lucchini
Hallo Taco and Wolfgang, Why is this? Because \setupitemgroup expands its third argument. And how can I make it work in position 2? \setupitemgroup[Tst][1][n,\noexpand\broad ] thank you very much! \defineitemgroup[Tst]

Re: [NTG-context] Testing TeX macros through Lua

2010-04-23 Thread Hans Hagen
On 22-4-2010 9:15, Taco Hoekwater wrote: Jaroslav Hajtmar wrote: Hello everybody. Is there any possibility discover through Lua in ConTeXt whether it has been defined in ConTeXt source any regular TeX macros? \starttext \directlua{print(token.command_name(token.create('starttext')))}

Re: [NTG-context] page-break

2010-04-23 Thread Hans Hagen
On 23-4-2010 12:09, Jörg Hagmann wrote: No reaction to this question so far. I realise that, without a minimal example, it is difficult to know what is happening. But I don't believe that the problem never occurs to others. Maybe you have some general suggestions as what to try? The page breaks

Re: [NTG-context] \textvisiblespace

2010-04-23 Thread Hans Hagen
On 23-4-2010 1:53, Wolfgang Werners-Lucchini wrote: Hallo, shouldn't \textvisiblespace work in mkiv? i'll add \let\textvisiblespace\normalcontrolspace - Hans Hagen | PRAGMA ADE

Re: [NTG-context] float at fixed position

2010-04-23 Thread Hans Hagen
On 22-4-2010 8:15, Peter Rolf wrote: Hi, in a multi column layout I want to place a figure at a fixed position. Inserting a floating object at a fixed position doesn't make any sense, but I need the correct caption (number) for the graphic. Sadly \placefigure fails with nx=3

Re: [NTG-context] Re :! Undefined control sequence

2010-04-23 Thread Wolfgang Schuster
Am 23.04.10 19:20, schrieb Wolfgang Werners-Lucchini: What is the following command for: \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad] }] This is enough, or are there any problems? \setupTst[1][n,\getvariable{tst}{broad}*broad] To explain it with simpler macros

Re: [NTG-context] ! Undefined control sequence

2010-04-23 Thread Peter Münster
On Fri, Apr 23 2010, Wolfgang Schuster wrote: \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad]}] Hello Wolfgang, It works event without \setvariables: \defineitemgroup[Tst] \setupTst[1][n,\getvariable{tst}{broad}*broad] \starttext \setvariables[tst][broad=1] \startTst

Re: [NTG-context] latest beta Minimals: interactive bookmarks for equations broken

2010-04-23 Thread Hans Hagen
On 18-4-2010 1:59, Ralf. Braun wrote: 2) Running context hello-world.tex with the example file from the wiki (Sanjoy Mahajan) you need to ask for the bookmarks: \placebookmarks[chapter] i need to look in the figures not being listed Hans