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

2009-03-06 Thread Hans Hagen
Aditya Mahajan wrote: 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

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

2009-03-06 Thread Hans Hagen
Wei-Wei Guo wrote: Hi Hans, Do you mean \definefontsynonym[ZhSerif][name:SimSun][properties=???] Could you tell me how to do? \starttext \startproperty[both] \input tufte \stopproperty \stoptext -

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

2009-03-06 Thread luigi scarso
On Thu, Mar 5, 2009 at 10:24 PM, Mohamed Bana mbana.li...@googlemail.com wrote: has anyone else looked at providing math preview with ConTeXt? my long-long-long...long term project http://www.texmacs.org/ -- luigi

[NTG-context] the other blog (chemical stuff)

2009-03-06 Thread Hans Hagen
Hi aditya, some comments on the other bog item ... (others may wikify it) you can do a quick and dirty solution as well (tested in mkiv): \def\MoleculeC#1{$\enablesupersub\tf#1$} now, concerning the lua solution, it looks pretty clean and ok, but there is some room for improvement ... the

Re: [NTG-context] paragraph question

2009-03-06 Thread Alan Stone
Another idea... How do you make this line counter work ? \newcount\parnumber \newcount\linenumber \def\myCounters{% \EveryPar{% \advance\parnumber by 1 (P\the\parnumber) \EveryLine{% % (L\the\prevgraf)}} \advance\linenumber by 1 (L\the\linenumber)}

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

2009-03-06 Thread Wei-Wei Guo
It works, but is what I want. Sorry, I didn't describe my problem clear enough. I want to set weighted font for chapter title. How do this? Thanks, Wei-Wei Guo Hans Hagen 写道: Wei-Wei Guo wrote: Hi Hans, Do you mean \definefontsynonym[ZhSerif][name:SimSun][properties=???] Could you tell

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

2009-03-06 Thread Wolfgang Schuster
Am 06.03.2009 um 07:41 schrieb 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. Nice article, it fits perfectly in the programming section of the

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

2009-03-06 Thread Yue Wang
the embolden feature provided by xetex and dvipdfmx? On Fri, Mar 6, 2009 at 6:31 PM, Wei-Wei Guo wwgu...@gmail.com wrote: It works, but is what I want. Sorry, I didn't describe my problem clear enough. I want to set weighted font for chapter title. How do this? Thanks, Wei-Wei Guo Hans

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

2009-03-06 Thread Yanrui Li
2009/3/6 Wei-Wei Guo wwgu...@gmail.com: It works, but is what I want. Sorry, I didn't describe my problem clear enough. I want to set weighted font for chapter title. How do this? \setuphead [chapter] [before={\startproperty[both]}, after={\stopproperty}] -- Best wishes, Li Yanrui *

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

2009-03-06 Thread Willi Egger
Hi Aditya, Happy luaTeXing. Great summary. Willi On Mar 6, 2009, at 4:05 AM, Aditya Mahajan wrote: On Thu, 5 Mar 2009, luigi scarso wrote: On Thu, Mar 5, 2009 at 12:09 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 05.03.2009 um 01:17 schrieb luigi scarso: \starttext

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

2009-03-06 Thread Xan
En/na Aditya Mahajan ha escrit: My only trouble with core-des is that it is ugly. It is an old module, and lot of features have been added in an ad-hoc manner with time. I hope that at some stage it will be rewritten in the new strc-* style. Aditya Good news if you implement this

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

2009-03-06 Thread Curious Learn
Aditya Mahajan adityam at umich.edu writes: My summary of this thread: http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/ Aditya I like the Luatex code of Luigi. Though it is longer than what Wolfgang suggested (and in this case, I am

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

2009-03-06 Thread Arthur Reutenauer
Do I pick up any beginners book on Lua? There really is only one beginners book on Lua :-) _Programming in Lua_, by Roberto Ierusalimschy, the Lua author. There are a few other books, mostly about Lua and games, because Lua has become quite popular in the gamers' community, but

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

2009-03-06 Thread luigi scarso
I like the Luatex code of Luigi. Though it is longer than what Wolfgang suggested (and in this case, I am using Wolfgang's solution now that I know about it), the luatex code seems to be the kind of programming that I am more comfortable with. In fact, in Latex when I was trying to achieve

Re: [NTG-context] paragraph question

2009-03-06 Thread Hans Hagen
Alan Stone wrote: Another idea... How do you make this line counter work ? \newcount\parnumber \newcount\linenumber \def\myCounters{% \EveryPar{% \advance\parnumber by 1 (P\the\parnumber) \EveryLine{% % (L\the\prevgraf)}} \advance\linenumber by 1

Re: [NTG-context] paragraph question

2009-03-06 Thread Alan Stone
On Fri, Mar 6, 2009 at 3:05 PM, Hans Hagen pra...@wxs.nl wrote: [...] \startlinenumbering \input tufte \stoplinenumbering Ok, my question was a bit ambiguous... I was not looking to number lines, but to count lines using EveryLine within EveryPar, aka the paragraph counter \parnumber in the

[NTG-context] overprint and \currentcolorname in mkiv

2009-03-06 Thread Peter Rolf
Hi Hans, the subject is re-used from an older mail http://archive.contextgarden.net/message/20080912.160921.cb5bba9d.en.html Currently I try to adapt some mkii code to mkiv. Overprinting should only be enabled if - a given maximum font size is not exceeded and - the current text color is

Re: [NTG-context] New LilyPond module

2009-03-06 Thread Henning Hraban Ramm
Am 2009-03-05 um 16:47 schrieb Wei-Wei Guo: 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. Sorry, I son't think that would make sense. It MkIV really can't include PDFs, that would be a major bug -

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

2009-03-06 Thread Wolfgang Schuster
Am 06.03.2009 um 04:05 schrieb Aditya Mahajan: My summary of this thread: http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/ Nice article but I have a few corrections for you. Table setup: To achieve horizontal and vertical centered

[NTG-context] Howto make a handy script to handle dia exported *.mp files

2009-03-06 Thread Jan-Erik Hägglöf
HI ALL! According to an earlier post that was very much helpful, I now wish to know how to write a shell script or similar to automate this exporting process. http://archive.contextgarden.net/message/20081124.122842.38fee2f4.en.html I discover it is a lot of typing work to get these work as

Re: [NTG-context] New LilyPond module

2009-03-06 Thread Henning Hraban Ramm
Am 2009-03-05 um 16:00 schrieb Lutz Haseloff: 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

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

2009-03-06 Thread Wei-Wei Guo
Thanks, it works. Best wishes, Wei-Wei Guo Yanrui Li 写道: 2009/3/6 Wei-Wei Guo wwgu...@gmail.com: It works, but is what I want. Sorry, I didn't describe my problem clear enough. I want to set weighted font for chapter title. How do this? \setuphead [chapter]

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

2009-03-06 Thread Wei-Wei Guo
I guess you are asking the equal feature provided by xetex, so my answer is 'yes'. Does ConTeXt have the 'embolden' feature? If yes, how to use it? Best wishes, Wei-Wei Guo Yue Wang 写道: the embolden feature provided by xetex and dvipdfmx? On Fri, Mar 6, 2009 at 6:31 PM, Wei-Wei Guo

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

2009-03-06 Thread Curious Learn
Arthur and Luigi, thanks for your responses. Arthur, your response makes it very clear, what I need to do. I will start with the book you recommend. ___ If your question is of interest to others as well, please

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

2009-03-06 Thread Aditya Mahajan
On Fri, 6 Mar 2009, Wolfgang Schuster wrote: Am 06.03.2009 um 04:05 schrieb Aditya Mahajan: My summary of this thread: http://randomdeterminism.wordpress.com/2009/03/05/tex-programming-the-past-the-present-and-the-future/ Nice article but I have a few corrections for you. Table setup:

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

2009-03-06 Thread Aditya Mahajan
On Thu, 5 Mar 2009, Aditya Mahajan wrote: On Thu, 5 Mar 2009, luigi scarso wrote: On Thu, Mar 5, 2009 at 12:09 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 05.03.2009 um 01:17 schrieb luigi scarso: \starttext %%% TeX version \bTABLE \dorecurse{5} {\bTR\expandafter \bTD

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

2009-03-06 Thread Wolfgang Schuster
Am 06.03.2009 um 17:33 schrieb Aditya Mahajan: Table setup: To achieve horizontal and vertical centered content in the table cell you need 'align={middle,lohi}'. Hmm... align={middle,middle} also works. I haven't checked the code to see why. I hadn't known this before but it's feature

[NTG-context] new beta

2009-03-06 Thread Hans Hagen
Hi, I uploaded a new beta (mkiv): -- some optimizations to color literals; i might have introduced problems there so keep an eye on color -- beter definition for virtual lm math (design sizes etc) and a fix for undefined sizes -- taco and i also tracked down some accuracy problems with

Re: [NTG-context] new beta

2009-03-06 Thread Xan
En/na Hans Hagen ha escrit: Hi, I uploaded a new beta (mkiv): -- some optimizations to color literals; i might have introduced problems there so keep an eye on color -- beter definition for virtual lm math (design sizes etc) and a fix for undefined sizes -- taco and i also tracked down

Re: [NTG-context] new beta

2009-03-06 Thread Hans Hagen
Xan wrote: Sorry for the unknowledge but is there any git/cvs/... repository with the code? no, only 'currents' are checked in by taco into the svn repos; the zips are organized in the official tds structure we might start using git once there are stable interfaces on all platforms and

Re: [NTG-context] new beta

2009-03-06 Thread Xan
En/na Hans Hagen ha escrit: Xan wrote: Sorry for the unknowledge but is there any git/cvs/... repository with the code? no, only 'currents' are checked in by taco into the svn repos; the zips are organized in the official tds structure we might start using git once there are stable