Re: [NTG-context] Why searching fonts in xetex is so slow?

2009-03-04 Thread Hans Hagen
Yue Wang wrote: Hi, When I use XeTeX, font searching through texmf- tree is very slow. search font through fontconfig is very fast. plain TeX or LaTeX does not have that problem. why is that? anyway to improve it? afaik xetex perfers to look in the database first and then on the file system

Re: [NTG-context] extra offsets

2009-03-04 Thread Hans Hagen
Wolfgang Schuster wrote: Am 03.03.2009 um 22:30 schrieb Hans Hagen: Hi, concerning the offsets in framed .. - we cannot use leftoffset etc as name because these are already used in mechanisms that build on top of framed and it would add quite some extra code (and probably bugs) to those

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Hans Hagen
Khaled Hosny wrote: Marks don't get positioned correctly unless all marks are supplied, if one mark is omitted, the next mark will be positioned at the first anchor point, not in the second one etc, in some cases it'll even not positioned on the anchor point at all. so, how are we supposed to

Re: [NTG-context] extra offsets

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 09:06 schrieb Hans Hagen: keep in mind that you can use the offsets combined, so toffset=2cm,loffset=1cm,offset=1cm I noticed this, it requires a few more settings than my code (offset=0pt,...) but it gives us more possibilities and prevents a few problems. \setupTABLE

[NTG-context] 1/2 symbol

2009-03-04 Thread Vyatcheslav Yatskovsky
Hello, Easy question: how to get 1/2 symbol without entering math mode (using Minion Pro font)? Best, Vyatcheslav ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Thomas A. Schmitz
On Mar 4, 2009, at 10:26 AM, Vyatcheslav Yatskovsky wrote: Hello, Easy question: how to get 1/2 symbol without entering math mode (using Minion Pro font)? Best, Vyatcheslav Have you tried \onehalf or ½ (in mkiv)? Thomas

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 10:32 schrieb Thomas A. Schmitz: On Mar 4, 2009, at 10:26 AM, Vyatcheslav Yatskovsky wrote: Hello, Easy question: how to get 1/2 symbol without entering math mode (using Minion Pro font)? Have you tried \onehalf or ½ (in mkiv)? What the combination to get ½ on a mac?

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Thomas A. Schmitz
On Mar 4, 2009, at 10:40 AM, Wolfgang Schuster wrote: What the combination to get ½ on a mac? Sadly, there doesn't seem to be a keyboard shortcut; I inserted it via the Character Palette. Thomas ___ If your

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Alan BRASLAU
If you use the Unicode Hex Input keyboard layout: press the Option key and enter four hex digits to specify the hex code of any glyph. Also, under any layout, when used with other keys, the Option key produces special symbols. The Keyboard Viewer, which users can add to the Input menu in the

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Hans Hagen
Thomas A. Schmitz wrote: On Mar 4, 2009, at 10:40 AM, Wolfgang Schuster wrote: What the combination to get ½ on a mac? Sadly, there doesn't seem to be a keyboard shortcut; I inserted it via the Character Palette. there is a frac feature in some fonts but it might be crappy in some fonts

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Wolfgang Schuster
On Wed, Mar 4, 2009 at 11:45 AM, Hans Hagen pra...@wxs.nl wrote: What's the combination to get ½ on a mac? Sadly, there doesn't seem to be a keyboard shortcut; I inserted it via the Character Palette. there is a frac feature in some fonts but it might be crappy in some fonts in the sense

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Khaled Hosny
On Wed, Mar 04, 2009 at 09:37:26AM +0100, Hans Hagen wrote: Khaled Hosny wrote: Marks don't get positioned correctly unless all marks are supplied, if one mark is omitted, the next mark will be positioned at the first anchor point, not in the second one etc, in some cases it'll even not

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Hans Hagen
Khaled Hosny wrote: Marks don't get positioned correctly unless all marks are supplied, if one mark is omitted, the next mark will be positioned at the first anchor point, not in the second one etc, in some cases it'll even not positioned on the anchor point at all. In the attached sample, the

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Khaled Hosny
On Wed, Mar 04, 2009 at 12:48:36PM +0100, Hans Hagen wrote: Khaled Hosny wrote: Marks don't get positioned correctly unless all marks are supplied, if one mark is omitted, the next mark will be positioned at the first anchor point, not in the second one etc, in some cases it'll even not

Re: [NTG-context] Two questions - Cross Referencing (Auto mated label generation + Random items)

2009-03-04 Thread Curious Learn
Wolfgang Schuster schuster.wolfgang at googlemail.com writes: You don't need \nextrandom any longer, it's fixed with the last beta. \newcounter\choicecounter \define[1]\Rightitem {\doglobal\increment\choicecounter \startitem[\choicecounter]#1\stopitem} \define[1]\Wrongitem

[NTG-context] some minor Problems

2009-03-04 Thread Lutz Haseloff
Hi Hans, hi all, First: in the last 2 Betas (today and yesterday) the parameter --interface for texexec seems not to work anymore. my log: texmfstart texexec --interface=xp --autopdf --luatex ligtest.tex TeXExec | processing document 'ligtest.tex' TeXExec | no ctx file found TeXExec | tex

Re: [NTG-context] some minor Problems

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 14:32 schrieb Lutz Haseloff: Hi Hans, hi all, First: in the last 2 Betas (today and yesterday) the parameter --interface for texexec seems not to work anymore. Use 'context --interface=xp ...' Second: The command || like in knuth.tex seems not to work properly in mkiv.

Re: [NTG-context] Two questions - Cross Referencing (Automated label generation + Random items)

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 13:54 schrieb Curious Learn: Awesome solution. Works great. Thanks very much Wolfgang. I can now use your solution. If it is not too difficult to explain, I would appreciate if someone could explain why the following does not work. It is not necessary because Wolfgang's

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Hans Hagen
Khaled Hosny wrote: On Wed, Mar 04, 2009 at 12:48:36PM +0100, Hans Hagen wrote: Khaled Hosny wrote: Marks don't get positioned correctly unless all marks are supplied, if one mark is omitted, the next mark will be positioned at the first anchor point, not in the second one etc, in some cases

Re: [NTG-context] Two questions - Cross Referencing (Automated label generation + Random items)

2009-03-04 Thread Hans Hagen
Curious Learn wrote: Wolfgang Schuster schuster.wolfgang at googlemail.com writes: You don't need \nextrandom any longer, it's fixed with the last beta. \newcounter\choicecounter \define[1]\Rightitem {\doglobal\increment\choicecounter \startitem[\choicecounter]#1\stopitem}

Re: [NTG-context] some minor Problems

2009-03-04 Thread Hans Hagen
Lutz Haseloff wrote: Hi Hans, hi all, First: in the last 2 Betas (today and yesterday) the parameter --interface for texexec seems not to work anymore. my log: texmfstart texexec --interface=xp --autopdf --luatex ligtest.tex TeXExec | processing document 'ligtest.tex' TeXExec | no ctx

Re: [NTG-context] some minor Problems

2009-03-04 Thread Hans Hagen
Lutz Haseloff wrote: I can't enable fontfeatures for the Vista-Fonts for instance Cambria. They are simply ignored. They are OTF with TTF extensions, ist this the reason? mtxrun --script font --list --info cambria lists a whole lot; but in cambria there is no dflt, dflt so you need to be

Re: [NTG-context] some minor Problems

2009-03-04 Thread Wolfgang Schuster
On Wed, Mar 4, 2009 at 4:35 PM, Hans Hagen pra...@wxs.nl wrote: Lutz Haseloff wrote: I can't enable fontfeatures for the Vista-Fonts for instance Cambria. They are simply ignored. They are OTF with TTF extensions, ist this the reason? mtxrun --script font --list --info cambria lists a

Re: [NTG-context] some minor Problems

2009-03-04 Thread Hans Hagen
Wolfgang Schuster wrote: On Wed, Mar 4, 2009 at 4:35 PM, Hans Hagen pra...@wxs.nl wrote: Lutz Haseloff wrote: I can't enable fontfeatures for the Vista-Fonts for instance Cambria. They are simply ignored. They are OTF with TTF extensions, ist this the reason? mtxrun --script font --list

Re: [NTG-context] Two questions - Cross Referencing (Au tomated label generation + Random items)

2009-03-04 Thread Curious Learn
The low level way to do this is: \def\AnsT#1\eAns {\doglobal\increment\choicecounter \startitem[\choicecounter]#1\stopitem} Wolfgang Beautiful! Thanks again Wolfgang. I tried the low level command and it works great. I will try the Context way later. Hans, thanks very much for

Re: [NTG-context] paragraph question

2009-03-04 Thread Alan Stone
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? Alan On Tue, Mar 3, 2009 at 12:49 PM, Alan Stone software.list.1e...@gmail.com wrote: Hi, How do you access the

Re: [NTG-context] Two questions - Cross Referencing (Automated label generation + Random items)

2009-03-04 Thread Mikael Persson
On Wed, Mar 4, 2009 at 4:53 PM, Curious Learn curiousle...@gmail.com wrote: The low level way to do this is: \def\AnsT#1\eAns    {\doglobal\increment\choicecounter     \startitem[\choicecounter]#1\stopitem} Wolfgang Beautiful! Thanks again Wolfgang. I tried the low level command and it

[NTG-context] pst-labo a pstricks module

2009-03-04 Thread batela
Dear Sirs Is there a way to include in Context documents some chemistry equipment pictures generated by the pst-labo package. http://www.tug.org/texlive/Contents/live/texmf-dist/doc/generic/pst- labo/pst-labo-docEN.pdf thanks for your support Jorge

Re: [NTG-context] Bug in mark to ligature handling

2009-03-04 Thread Khaled Hosny
On Wed, Mar 04, 2009 at 03:14:17PM +0100, Hans Hagen wrote: Khaled Hosny wrote: On Wed, Mar 04, 2009 at 12:48:36PM +0100, Hans Hagen wrote: Khaled Hosny wrote: Marks don't get positioned correctly unless all marks are supplied, if one mark is omitted, the next mark will be positioned at the

Re: [NTG-context] paragraph question

2009-03-04 Thread Hans Hagen
Alan Stone wrote: 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? \the\prevgraf but surely doable in luatex Hans

Re: [NTG-context] paragraph question

2009-03-04 Thread Hans Hagen
Alan Stone wrote: 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? there is support for positional info ... depending on the problem that might help (set two

Re: [NTG-context] Two questions - Cross Referencing (Auto mated label generation + Random items)

2009-03-04 Thread Curious Learn
Mikael Persson mickep at gmail.com writes: Dear Curious Learn (strange name, it can be considered rude not to use the real one) You can find m-educat.tex at tex/texmf-context/tex/context/base/m-educat.tex if you use the minimals It is also listed at

[NTG-context] setupsynonym: 2 questions on width

2009-03-04 Thread 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[nomenclature][nomenclatures][\infull]

Re: [NTG-context] paragraph question

2009-03-04 Thread Alan Stone
On Wed, Mar 4, 2009 at 5:33 PM, Hans Hagen pra...@wxs.nl wrote: Alan Stone wrote: 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? there is support for positional

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

2009-03-04 Thread Curious Learn
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 \recurselevel. \eTD \bTD \recurselevel \eTD\eTR} \eTABLE \dorecurse{2} {\recurselevel.

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

2009-03-04 Thread luigi scarso
On Wed, Mar 4, 2009 at 8:35 PM, Curious Learn curiousle...@gmail.com 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 \recurselevel. \eTD          \bTD \recurselevel  

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

2009-03-04 Thread luigi scarso
On Wed, Mar 4, 2009 at 8:53 PM, luigi scarso luigi.sca...@gmail.com wrote: On Wed, Mar 4, 2009 at 8:35 PM, Curious Learn curiousle...@gmail.com wrote: Can someone please explain why the second example below works but the first does not work? Thanks very much. \starttext \bTABLE

[NTG-context] boldstyle for numbers in defineenumeration

2009-03-04 Thread Xan
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,

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

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 20:35 schrieb Curious Learn: 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 \recurselevel. \eTD \bTD \recurselevel \eTD\eTR} \eTABLE \bTABLE

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

2009-03-04 Thread Curious Learn
Wolfgang Schuster schuster.wolfgang at googlemail.com writes: \bTABLE \dorecurse{5}{\bTR\expanded{\bTD\recurselevel\eTD}\eTR} \eTABLE Wolfgang As your other solutions, this worked great. I suppose I have to use \expanded for every \bTD \eTD pair. Can you please explain why this is

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

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 21:57 schrieb Curious Learn: Wolfgang Schuster schuster.wolfgang at googlemail.com writes: \bTABLE \dorecurse{5}{\bTR\expanded{\bTD\recurselevel\eTD}\eTR} \eTABLE As your other solutions, this worked great. I suppose I have to use \expanded for every \bTD \eTD pair.

[NTG-context] Up the contents of table

2009-03-04 Thread Xan
Hi, Is there any way of upping the contents of a table? I have this example: \startframedtext[background=screen,frame=off,width=broad] \startalignment[center] {\ssbf Com s'identifica una funció mitjançant la seva representació gràfica?} \stopalignment \placetable[here,none] [taula] { } {

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

2009-03-04 Thread Aditya Mahajan
On Wed, 4 Mar 2009, Wolfgang Schuster wrote: \bTABLE \dorecurse{5}{\bTR\bTD#1\eTD\eTR} \eTABLE This is evil genious! Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki!

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

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 22:43 schrieb Aditya Mahajan: On Wed, 4 Mar 2009, Wolfgang Schuster wrote: \bTABLE \dorecurse{5}{\bTR\bTD#1\eTD\eTR} \eTABLE This is evil genious! Can be used nested too. \starttext \bTABLE \dorecurse{5} {\bTR \dorecurse{5}{\bTD#1:##1\eTD} \eTR} \eTABLE

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

2009-03-04 Thread Curious Learn
Not really. \bTABLE \dorecurse{5}{\bTR\bTD#1\eTD\eTR} \eTABLE Wolfgang Awesome How does one learn these things? Is this Tex programming or Context programming. Thanks very much. ___ If your

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

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 23:17 schrieb Curious Learn: Not really. \bTABLE \dorecurse{5}{\bTR\bTD#1\eTD\eTR} \eTABLE Wolfgang Awesome How does one learn these things? Follow the mailing list and read parts of the source. Is this Tex programming or Context programming. It's a ConTeXt

Re: [NTG-context] paragraph question

2009-03-04 Thread Marcin Borkowski
Dnia Wed, Mar 04, 2009 at 05:02:40PM +0100, Alan Stone napisa#322;(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 something like

Re: [NTG-context] paragraph question

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 23:38 schrieb Marcin Borkowski: Dnia Wed, Mar 04, 2009 at 05:02:40PM +0100, Alan Stone napisa#322; (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

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

2009-03-04 Thread Wolfgang Schuster
Am 04.03.2009 um 22:31 schrieb Xan: Hi, Is there any way of upping the contents of a table? I have this example: I'm right you want to place the caption above the table? \setupcaption[table][location=top,style=\ssbf] \placetable [here,none] [taula] {Com s'identifica una funció