Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
> > My summary of this thread: > http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/ It's exactly what I think . Thank you very much. -- luigi ___ If your question

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread Aditya Mahajan
On Thu, 5 Mar 2009, luigi scarso wrote: On Thu, Mar 5, 2009 at 12:09 PM, Wolfgang Schuster wrote: Am 05.03.2009 um 01:17 schrieb luigi scarso: \starttext %%% TeX version \bTABLE \dorecurse{5} {\bTR\expandafter \bTD \recurselevel. \eTD\expandafter        \bTD \recurselevel  \eTD\eTR} \eTABLE

Re: [NTG-context] How to increase weight of a font?

2009-03-05 Thread Wei-Wei Guo
Hi Hans, Do you mean \definefontsynonym[ZhSerif][name:SimSun][properties=???] Could you tell me how to do? Thank you! Best wishes, Wei-Wei Guo ntg-context-requ...@ntg.nl 写道: Message: 3 Date: Thu, 05 Mar 2009 17:13:16 +0100 From: Hans Hagen Subject: Re: [NTG-context] How to increase weig

[NTG-context] [Fwd: Re: math preview in emacs]

2009-03-05 Thread Mohamed Bana
has anyone else looked at providing math preview with ConTeXt? --- Begin Message --- On Thu, 5 Mar 2009, Mohamed Bana wrote: hi Aditya, maybe i should have been more explicit in my last email. auctex supports maths preview for latex, i was wondering how far you got on it. Hi Mohamed, I did

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
On Thu, 5 Mar 2009, Wolfgang Schuster wrote: Am 05.03.2009 um 20:19 schrieb Aditya Mahajan: On Thu, 5 Mar 2009, Wolfgang Schuster wrote: Am 05.03.2009 um 19:48 schrieb Aditya Mahajan: The textcolor does not work. I have to put in in text field. The example that works is: Hans: does it ma

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 20:19 schrieb Aditya Mahajan: On Thu, 5 Mar 2009, Wolfgang Schuster wrote: Am 05.03.2009 um 19:48 schrieb Aditya Mahajan: The textcolor does not work. I have to put in in text field. The example that works is: Hans: does it make sense to add text(style|color|command) and

Re: [NTG-context] Eliminate space between float and caption

2009-03-05 Thread Michael Bynum
Thanks, that was the file I was looking for. It seems I was correctly specifying the term "inbetween=", but it would seem the inbetween distance is based on the body font as opposed to the caption font. As a result, if a smaller font is used in the caption, "inbetween=" no longer results in the c

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
On Thu, 5 Mar 2009, Wolfgang Schuster wrote: Am 05.03.2009 um 19:48 schrieb Aditya Mahajan: The textcolor does not work. I have to put in in text field. The example that works is: Hans: does it make sense to add text(style|color|command) and number(style|color|command) keys to enumerations

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 19:48 schrieb Aditya Mahajan: The textcolor does not work. I have to put in in text field. The example that works is: Hans: does it make sense to add text(style|color|command) and number(style|color|command) keys to enumerations? I could patch core- des.tex with these keys

Re: [NTG-context] experimental repository in mtx-update

2009-03-05 Thread Mojca Miklavec
On Tue, Mar 3, 2009 at 20:08, Vyatcheslav Yatskovsky wrote: >> >> afaik beta is the real beta and experimental often alpha >> > > OK, can I download experimental version using mtx-update? The code comment > says 'experimental is not implemented'. Is it? Experimental repository is indeed not functi

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
On Thu, 5 Mar 2009, Xan wrote: numberstyle=bold does not work for me. The textcolor does not work. I have to put in in text field. The example that works is: Hans: does it make sense to add text(style|color|command) and number(style|color|command) keys to enumerations? I could patch core

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
En/na Aditya Mahajan ha escrit: On Thu, 5 Mar 2009, Xan wrote: En/na Xan ha escrit: Hi, Is it possible to put "numerstyle=boldstyle" in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdist

Re: [NTG-context] overarc

2009-03-05 Thread Hans Hagen
David Arnold wrote: All, How can I place an overarc over some text, such as in \overarc{AB}? well, this does not show how it should look -) Hans - Hans Hagen | PRAGMA ADE R

Re: [NTG-context] paragraph question

2009-03-05 Thread Hans Hagen
Alan Stone wrote: On Thu, Mar 5, 2009 at 5:09 PM, Hans Hagen wrote: Alan Stone wrote: Thanks Wolfgang, however I'm looking for a solution without adding additional commands to the text source. Requires to switch to the LuaTeX list ? that does not help you as taco and i are on both lists i c

Re: [NTG-context] MKIV: problem with synonyms

2009-03-05 Thread Hans Hagen
Kevin D. Robbins wrote: Hi Hans, When you earlier said that sorting was supported in cont-xp, did you mean it should be working right now, or that you are only going to fix sorting in cont-xp? indeed, only fix in xp which will become normal mkiv as soon as i have time to merge back the code (

Re: [NTG-context] Up the contents of table

2009-03-05 Thread Xan
En/na Willi Egger ha escrit: There is an option [align=lohi] which should do what you want. Willi On Mar 5, 2009, at 4:30 PM, Xan wrote: En/na Xan ha escrit: En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
On Thu, 5 Mar 2009, Xan wrote: En/na Xan ha escrit: Hi, Is it possible to put "numerstyle=boldstyle" in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},loca

Re: [NTG-context] Eliminate space between float and caption

2009-03-05 Thread Willi Egger
You can find the document at http://www.pragma-ade.com/dir? path=general/manuals Willi On Mar 5, 2009, at 4:55 PM, Michael Bynum wrote: I am trying to find a way to reduce/eliminate the space between a figure and a caption. The default amount looks rather large to me: larger than the spacing

Re: [NTG-context] Up the contents of table

2009-03-05 Thread Willi Egger
There is an option [align=lohi] which should do what you want. Willi On Mar 5, 2009, at 4:30 PM, Xan wrote: En/na Xan ha escrit: En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. Th

Re: [NTG-context] MKIV: problem with synonyms

2009-03-05 Thread Kevin D. Robbins
Hi Hans, When you earlier said that sorting was supported in cont-xp, did you mean it should be working right now, or that you are only going to fix sorting in cont-xp? Right now, \completelistofacronyms fails in the following example using 'context --interface=xp' : - \definesynonyms[acrony

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
On Thu, Mar 5, 2009 at 5:09 PM, Hans Hagen wrote: > Alan Stone wrote: >> >> Thanks Wolfgang, however I'm looking for a solution without adding >> additional commands to the text source. >> >> Requires to switch to the LuaTeX list ? > > that does not help you as taco and i are on both lists > > i c

Re: [NTG-context] Up the contents of table

2009-03-05 Thread Xan
En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 16:57 schrieb Xan: Lohi? What it means? Can you translate me the dicctionary: valign = middle --> lohi valign = bottom --> ? valign = up --> ? Natural tables and \framed have only 'align' key which you can use to control horizontal *and* ve

Re: [NTG-context] How to increase weight of a font?

2009-03-05 Thread Hans Hagen
Wei-Wei Guo wrote: Hi everyone, I need to increase the eight of a Chinese font to make it look like a bold font. Is there anyway to do so? properties - Hans Hagen | PRAGMA ADE

Re: [NTG-context] paragraph question

2009-03-05 Thread Hans Hagen
Alan Stone wrote: Thanks Wolfgang, however I'm looking for a solution without adding additional commands to the text source. Requires to switch to the LuaTeX list ? that does not help you as taco and i are on both lists i can imagine that mkiv at some point privides something but it needs wa

[NTG-context] Eliminate space between float and caption

2009-03-05 Thread Michael Bynum
I am trying to find a way to reduce/eliminate the space between a figure and a caption. The default amount looks rather large to me: larger than the spacing between the caption and the body text. I tried to use the inbetween option in \setupcation, but I can only seem to increase the space betwee

Re: [NTG-context] New LilyPond module

2009-03-05 Thread Wei-Wei Guo
It comes right in time. Thank you! Is it possible to make the temp lily file in the format of PNG instead of PDF? MkIV here cannot insert PDF figure properly recently. Best wishes, Wei-Wei Guo ntg-context-requ...@ntg.nl 写道: > Dear music lovers, > > I just uploaded a new version of the LilyPon

Re: [NTG-context] Up the contents of table

2009-03-05 Thread Xan
En/na Xan ha escrit: En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. The contents of this table are: pictures in up and text in bottom. I want to put all together in the "up" of the

Re: [NTG-context] paragraph question

2009-03-05 Thread Marcin Borkowski
Dnia Thu, Mar 05, 2009 at 03:14:23PM +0100, Wolfgang Schuster napisał(a): > > Am 05.03.2009 um 15:05 schrieb Marcin Borkowski: > > >>You can test whether the last paragraph had 1 or more lines and make > >>your decision dependent on the result but this can be done only after > >>the paragraph ist

Re: [NTG-context] setupsynonym: 2 questions on width

2009-03-05 Thread Michael Bynum
Right, that works for this example, but if I change what nomenclatures are in the list then I would have to go in and manually change the setwidthof{} command. Am I correct in thinking that? I guess ideally I wouldn't have to go in and change the spacing manually every time I update my nomenclatu

Re: [NTG-context] Up the contents of table

2009-03-05 Thread Xan
En/na Wolfgang Schuster ha escrit: Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. The contents of this table are: pictures in up and text in bottom. I want to put all together in the "up" of the table. Sorry but wit

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
On Thu, Mar 5, 2009 at 3:53 PM, Wolfgang Schuster wrote: > > Am 05.03.2009 um 15:23 schrieb luigi scarso: > >> I prefear >> >> \setvalue{quote small}{\quote\small} >> {\getvalue{quote small} foo } > > This is non trivial example, normally I would define a new quote command > with > >  \definedelim

[NTG-context] How to increase weight of a font?

2009-03-05 Thread Wei-Wei Guo
Hi everyone, I need to increase the eight of a Chinese font to make it look like a bold font. Is there anyway to do so? Thanks, Best wishes, Wei-Wei Guo ___ If your question is of interest to others as well, plea

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
En/na Xan ha escrit: Hi, Is it possible to put "numerstyle=boldstyle" in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,titleleft=(,titler

Re: [NTG-context] New LilyPond module

2009-03-05 Thread Lutz Haseloff
Hi Hraban, Thank you for the music! One remaining problem. On my system (Windows XP, luatex 0.35, lilypond 2.12.2) your module generates two identical eps files with different names, filename-lilypond-1.eps and filename-lilypond-1-1.eps. The second is converted to pdf and therefore is filename-l

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 15:23 schrieb luigi scarso: I prefear \setvalue{quote small}{\quote\small} {\getvalue{quote small} foo } This is non trivial example, normally I would define a new quote command with \definedelimitedtext[quotesmall][quote] but you above code can't be achieved with thi

Re: [NTG-context] paragraph question

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 15:08 schrieb Alan Stone: Thanks Wolfgang, however I'm looking for a solution without adding additional commands to the text source. Requires to switch to the LuaTeX list ? You can give it a try but I think Hans or Taco had given you then a solution if this is possible but I

Re: [NTG-context] paragraph question

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 15:05 schrieb Marcin Borkowski: You can test whether the last paragraph had 1 or more lines and make your decision dependent on the result but this can be done only after the paragraph ist finished. Well, Wolfgang, you'll be surprised: it can be done (even in pure vanilla TeX

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
On Thu, Mar 5, 2009 at 2:52 PM, Wolfgang Schuster wrote: > > Am 05.03.2009 um 14:23 schrieb luigi scarso: > >>> http://texblog.net/latex-archive/plaintex/expandafter/ >> >> hey, this is not a "moderate use of expandafter" as I intended .. >> I dropped latex for similar examples . >> In this situat

Re: [NTG-context] overarc

2009-03-05 Thread Thomas A. Schmitz
On Mar 5, 2009, at 2:39 PM, Aditya Mahajan wrote: Currently, there is no such feature. Are you looking at the functionality of the arcs package of latex? If so, it will be easy to add it to ConTeXt. The main trouble is that the glyph for \overarc is missing from the fonts. Arcs.sty takes t

Re: [NTG-context] paragraph question

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 14:25 schrieb Alan Stone: After giving it some further thought and with reference to "specifies the number of lines in the paragraph so far", I don't need to know the paragraph's number of lines but whether its "number of lines" = 1 or not. You can test whether the last para

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
Thanks Wolfgang, however I'm looking for a solution without adding additional commands to the text source. Requires to switch to the LuaTeX list ? Alan On Thu, Mar 5, 2009 at 2:44 PM, Wolfgang Schuster wrote: > > Am 05.03.2009 um 14:25 schrieb Alan Stone: > >> After giving it some further thoug

[NTG-context] New LilyPond module

2009-03-05 Thread Henning Hraban Ramm
Dear music lovers, I just uploaded a new version of the LilyPond module, see http://modules.contextgarden.net/t-lilypond http://wiki.contextgarden.net/LilyPond It works now with LilyPond 2.12 and fixes some bugs - i.e. all settings should work now, and with \lilypond[fragment=yes,time=no,cle

Re: [NTG-context] paragraph question

2009-03-05 Thread Marcin Borkowski
Dnia Thu, Mar 05, 2009 at 02:44:53PM +0100, Wolfgang Schuster napisał(a): > > Am 05.03.2009 um 14:25 schrieb Alan Stone: > > >After giving it some further thought and with reference to "specifies > >the number of lines in the > >paragraph so far", I don't need to know the paragraph's number of >

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 14:23 schrieb luigi scarso: http://texblog.net/latex-archive/plaintex/expandafter/ hey, this is not a "moderate use of expandafter" as I intended .. I dropped latex for similar examples . In this situation "please, grep setvalue base/*" ??? I can't understand the relation b

Re: [NTG-context] overarc

2009-03-05 Thread Aditya Mahajan
On Wed, 4 Mar 2009, David Arnold wrote: All, How can I place an overarc over some text, such as in \overarc{AB}? Currently, there is no such feature. Are you looking at the functionality of the arcs package of latex? If so, it will be easy to add it to ConTeXt. The main trouble is that the

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
>> How do you invoke a command at the end of a paragraph ? > > there is no hook for that (apart from adding a \endofpar command or whatever > to every paragraph >From "TeX for the Impatient"... --- \prevgraf [ parameter ] In horizontal mode, this param

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
> People who want to use TeX to write a document but copy code from examples, > old list messages etc. but don't why they have to do it something like this. > OK, it's hard to write a fancy layout without defining your own header > styles etc. > without a definition but use then as many high level

Re: [NTG-context] paragraph question

2009-03-05 Thread Hans Hagen
Alan Stone wrote: How do you invoke a command at the end of a paragraph ? there is no hook for that (apart from adding a \endofpar command or whatever to every paragraph - Hans Hagen | P

Re: [NTG-context] paragraph question

2009-03-05 Thread Alan Stone
How do you invoke a command at the end of a paragraph ? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 12:27 schrieb luigi scarso: And you think it's a good idea to use \expandafter in your document? TeX version, not context ... :) btw \expandafer is not so bad, if used moderatly . But don't make a beginner used to it, e.g. Stefan Kottwitz mentioned a few times how to appe

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
On Thu, Mar 5, 2009 at 12:09 PM, Wolfgang Schuster wrote: > > Am 05.03.2009 um 01:17 schrieb luigi scarso: > >> \starttext >> %%% TeX version >> \bTABLE >> \dorecurse{5} >> {\bTR\expandafter \bTD \recurselevel. \eTD\expandafter >>        \bTD \recurselevel  \eTD\eTR} >> \eTABLE >> >> \dorecurse{2}

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 01:17 schrieb luigi scarso: \starttext %%% TeX version \bTABLE \dorecurse{5} {\bTR\expandafter \bTD \recurselevel. \eTD\expandafter \bTD \recurselevel \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel. \recurselevel\crlf} And you think it's a good idea to use \expandaf

Re: [NTG-context] Up the contents of table

2009-03-05 Thread Wolfgang Schuster
Am 05.03.2009 um 09:09 schrieb Xan: Thanks, Wolfgang, but I refered to contents of the table not the caption of the table. The contents of this table are: pictures in up and text in bottom. I want to put all together in the "up" of the table. Sorry but with your question only there is no

Re: [NTG-context] paragraph question

2009-03-05 Thread Hans Hagen
Marcin Borkowski wrote: Dnia Wed, Mar 04, 2009 at 05:02:40PM +0100, Alan Stone napisał(a): How do you access the first paragraph of each chapter ? ... to calculate its number of lines ? If not possible with ConTeXt commands, is this possible with LuaTeX commands? Maybe redefine \par to do so

[NTG-context] overarc

2009-03-05 Thread David Arnold
All, How can I place an overarc over some text, such as in \overarc{AB}? D. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/

Re: [NTG-context] some minor Problems

2009-03-05 Thread Lutz Haseloff
I had to rename CAMBRIA.TTC to cambria.ttc, now mtxrun lists the same features. Perhaps a luatex problem? Tlig now works, but with Cambria ligatures i had no luck yet with following testfile: - \definefontfeature[default][default][script=latn,language=dflt] \font\cambria=name:c

Re: [NTG-context] \dorecurse and \recurselevel in Natural Tables

2009-03-05 Thread luigi scarso
On Wed, Mar 4, 2009 at 8:53 PM, luigi scarso wrote: > On Wed, Mar 4, 2009 at 8:35 PM, Curious Learn wrote: >> Can someone please explain why the second example below works but the first >> does >> not work? >> Thanks very much. >> >> \starttext >> >> \bTABLE >> \dorecurse{5} >> {\bTR \bTD \recur

Re: [NTG-context] setupsynonym: 2 questions on width

2009-03-05 Thread Wolfgang Schuster
Am 04.03.2009 um 18:34 schrieb Michael Bynum: 1.) I have a list of synonyms that I need to print in an aligned list. Is there a way to align the synonym definitions with the longest synonym entry (width=? option maybe)? Here is a small example where the entries do not align. \definesynonyms