Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 08:37:46AM +0200, Henning Hraban Ramm wrote: > Am 2009-05-11 um 08:13 schrieb Thomas A. Schmitz: > > >> Ok. Sorry for the vagueness. I use Adobe Caslon Pro as my body > >> font, > >> with XeTeX. And I enable the `onum' feature so that all numbers in > >> my > >> docu

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Hans Hagen
Corsair wrote: On Sun, May 10, 2009 at 09:44:58PM +0200, Hans Hagen wrote: Corsair wrote: Hi all, I have `onum=yes' in my font features and it works great. But how can I type a capital number in this case? I want to use capital numbers in pagenumbers. can you be a bit more explicit? to wha

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 08:37:46AM +0200, Henning Hraban Ramm wrote: > Similarly you could define an additional variant, like "noos". > http://wiki.contextgarden.net/Font_Variants > > (Didn't check if font variants work ok in MkIV; I used them only for > light and medium weights before.) I trie

Re: [NTG-context] Opentype features

2009-05-11 Thread Hans Hagen
Wolfgang Schuster wrote: 2. Is there an eqivalent code to the following XeLaTeX code. \defaultfontfeatures{Scale=MatchLowercase} Only when you port the fontspec package to ConTeXt. i can not even imagine what it is supposed to mean -) 3. How to use Cambria Math font to typeset math. M

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 09:28:27AM +0200, Hans Hagen wrote: > you can try {\subff{oldstyle} 123} (this is kind of experimental and in > testing by idris) Oops... Doesn't work. It just produces the word "oldstyle" followed by "123". Maybe my ConTeXt is too old? ConTeXt ver: 2008.05.21 15:

Re: [NTG-context] Opentype features

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 09:37 schrieb Hans Hagen: Wolfgang Schuster wrote: 2. Is there an eqivalent code to the following XeLaTeX code. \defaultfontfeatures{Scale=MatchLowercase} Only when you port the fontspec package to ConTeXt. i can not even imagine what it is supposed to mean -) Write a

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Hans Hagen
Corsair wrote: On Mon, May 11, 2009 at 09:28:27AM +0200, Hans Hagen wrote: you can try {\subff{oldstyle} 123} (this is kind of experimental and in testing by idris) Oops... Doesn't work. It just produces the word "oldstyle" followed by "123". Maybe my ConTeXt is too old? ConTeXt ver:

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 09:40 schrieb Corsair: On Mon, May 11, 2009 at 09:28:27AM +0200, Hans Hagen wrote: you can try {\subff{oldstyle} 123} (this is kind of experimental and in testing by idris) Oops... Doesn't work. It just produces the word "oldstyle" followed by "123". Maybe my ConTeXt is

Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-11 Thread Taco Hoekwater
Taco Hoekwater wrote: > > I can't upload right now, but you can verify that that fixes > it by adding \protect right after the \usemodule[bib] New bib module here: http://modules.contextgarden.net/module/detail?name=bib Best wishes, Taco _

[NTG-context] beta

2009-05-11 Thread Hans Hagen
Hi, i uploaded a beta with some fixes Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.

Re: [NTG-context] beta

2009-05-11 Thread Henning Hraban Ramm
Am 2009-05-11 um 11:14 schrieb Hans Hagen: i uploaded a beta with some fixes Minimals have version 2009.05.11 10:51, is that the one? The footnote bugs still remain in that (no marks, no "bypage"). Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextg

[NTG-context] beta (2009-05-11)

2009-05-11 Thread Peter Rolf
Hi, there are still some problems with footnotes and overprinting. I have reactivated the old (sorry, non minimal) example for that. But for three problems it is pretty short :) 1. the footnote uses '1' instead of the chosen '*' (set 1) 2. the footnote marker is not bound to the footnote text

Re: [NTG-context] beta (2009-05-11)

2009-05-11 Thread Hans Hagen
Peter Rolf wrote: Hi, there are still some problems with footnotes and overprinting. I have reactivated the old (sorry, non minimal) example for that. But for three problems it is pretty short :) 1. the footnote uses '1' instead of the chosen '*' (set 1) 2. the footnote marker is not bound t

Re: [NTG-context] beta (2009-05-11)

2009-05-11 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, there are still some problems with footnotes and overprinting. I have reactivated the old (sorry, non minimal) example for that. But for three problems it is pretty short :) 1. the footnote uses '1' instead of the chosen '*' (set 1) 2. the footnote

Re: [NTG-context] beta

2009-05-11 Thread Wei-Wei Guo
Hans Hagen 写道: i uploaded a beta with some fixes The following bug is still there. ! Argument of \dotripletestemptyx has an extra }. \par } \doif #1#2->\edef \!!stringa {#1} \edef \!!stringb {#2}\ifx \!!stringa \!!str...

Re: [NTG-context] beta (2009-05-11)

2009-05-11 Thread Henning Hraban Ramm
Am 2009-05-11 um 13:05 schrieb Peter Rolf: there are still some problems with footnotes and overprinting. I have reactivated the old (sorry, non minimal) example for that. But for three problems it is pretty short :) 1. the footnote uses '1' instead of the chosen '*' (set 1) That's only a

[NTG-context] Chapter number in right margin?

2009-05-11 Thread Corsair
Hi all, I'm typesetting a double-sided document. And I want the chapter numbers to be in the right margin, while the chapter titles remain in the main text area. So I write \def\MyChapter#1#2 {\inright{#1} #2} \setuphead [chapter] [command=\MyChapter] But it render

[NTG-context] Font switching question

2009-05-11 Thread Yue Wang
Hi, Hans: I am working on Chinese support on XeTeX/ConTeXt and I almost finished that. I will later upload a module called t-zhspacing to the garden (or CTAN?). But there is one last problem. Let me explain like this. Suppost I have two typescripts (typeA and typeB) and both with complete typefac

Re: [NTG-context] beta (2009-05-11)

2009-05-11 Thread Otared Kavian
Hi Hans, Indeed there is something going wrong with footnotes, and maybe the following remark may help fix the issue. It works (for me…) in the following example (note the \sction command commented out): %%% begin basic-test.tex \starttext This file has been typeset on \currentdate{} at \c

[NTG-context] New module - mkiv font loading

2009-05-11 Thread Wolfgang Schuster
Hi all, I wrote a new module to load fonts without the need to write typescripts for them -> http://bitbucket.org/wolfs/simplefonts/ Wolfgang ___ If your question is of interest to others as well, please add an entr

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Yue Wang
Hi Wolfgang: nice script. Can the module meet my needs discussed in http://www.ntg.nl/pipermail/ntg-context/2009/040831.html ? or is it possible to extend the support to xetex? Yue Wang On Mon, May 11, 2009 at 8:23 PM, Wolfgang Schuster wrote: > Hi all, > > I wrote a new module to load fonts w

Re: [NTG-context] Chapter number in right margin?

2009-05-11 Thread Yanrui Li
On Mon, May 11, 2009 at 8:06 PM, Corsair wrote: > Hi all, > > I'm typesetting a double-sided document.  And I want the chapter > numbers to be in the right margin, while the chapter titles remain in > the main text area.  So I write > >    \def\MyChapter#1#2 >    {\inright{#1} #2} > >    \setuphea

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 14:41 schrieb Yue Wang: Hi Wolfgang: nice script. Can the module meet my needs discussed in http://www.ntg.nl/pipermail/ntg-context/2009/040831.html ? dunno, i have to see more from your code or is it possible to extend the support to xetex? possible yes but it's a lot

Re: [NTG-context] beta (2009-05-11)

2009-05-11 Thread Hans Hagen
Peter Rolf wrote: Hi, there are still some problems with footnotes and overprinting. I have reactivated the old (sorry, non minimal) example for that. But for three problems it is pretty short :) 1. the footnote uses '1' instead of the chosen '*' (set 1) in mkiv conversion has become numbe

[NTG-context] beta (11.05.2009): hex colors in mkii

2009-05-11 Thread Peter Rolf
Hi, hex colors don't work anymore in mkii (no problems in mkiv). All I get is black (reminds me of a song by the Rolling Stones)... I see a red door and I want it painted black No colors anymore I want them to turn black ... Minimal example: \setupcolors[state=start] \se

Re: [NTG-context] Chapter number in right margin?

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 14:59 schrieb Yanrui Li: On Mon, May 11, 2009 at 8:06 PM, Corsair wrote: Hi all, I'm typesetting a double-sided document. And I want the chapter numbers to be in the right margin, while the chapter titles remain in the main text area. So I write \def\MyChapter#1#2

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Mohamed Bana
great! thanks Wolfgang. is this working with the latest minimals? Hopefully I'll get to try it later. Wolfgang Schuster wrote: Hi all, I wrote a new module to load fonts without the need to write typescripts for them -> http://bitbucket.org/wolfs/simplefonts/ Wolfgang ___

Re: [NTG-context] Chapter number in right margin?

2009-05-11 Thread Yanrui Li
On Mon, May 11, 2009 at 9:09 PM, Wolfgang Schuster wrote: > > Am 11.05.2009 um 14:59 schrieb Yanrui Li: > >> On Mon, May 11, 2009 at 8:06 PM, Corsair wrote: >>> >>> Hi all, >>> >>> I'm typesetting a double-sided document.  And I want the chapter >>> numbers to be in the right margin, while the ch

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Yanrui Li
On Mon, May 11, 2009 at 9:18 PM, Mohamed Bana wrote: > great!  thanks Wolfgang. > > is this working with the latest minimals?  Hopefully I'll get to try it > later. > Yes, I used it with latest beta for a whole afternoon. -- Best wishes, Li Yanrui ___

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 15:18 schrieb Mohamed Bana: great! thanks Wolfgang. is this working with the latest minimals? Hopefully I'll get to try it later. Yes, it works with the last version but you have to install by hand. Wolfgang _

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Hans Hagen
Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed[frame=off,background=color,backgroundcolor=gray]{C} \stopformula \s

Re: [NTG-context] beta (11.05.2009): hex colors in mkii

2009-05-11 Thread Hans Hagen
Peter Rolf wrote: Hi, hex colors don't work anymore in mkii (no problems in mkiv). All I get is black (reminds me of a song by the Rolling Stones)... I see a red door and I want it painted black No colors anymore I want them to turn black ... Minimal example: \setupcolo

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Yue Wang
On Mon, May 11, 2009 at 9:00 PM, Wolfgang Schuster wrote: > > Am 11.05.2009 um 14:41 schrieb Yue Wang: > >> Hi Wolfgang: >> >> nice script. >> >> Can the module meet my needs discussed in >> http://www.ntg.nl/pipermail/ntg-context/2009/040831.html ? > > dunno, i have to see more from your code >

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Hans Hagen
Wolfgang Schuster wrote: possible yes but it's a lot of work because the complete fallback mechanism needs to be written for XeTeX which is available for MkIV since a while. this is unlikely to happen (unless we add lots of optional code to mkii to deal with xetex which then probably results

Re: [NTG-context] Chapter number in right margin?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 03:09:34PM +0200, Wolfgang Schuster wrote: > > Am 11.05.2009 um 14:59 schrieb Yanrui Li: > > > I extract the following fragment from my document and I wish it can > > help you :) > > > > \def\PlaceChapter#1#2{% > > \vbox{% > >\inoutermargin{% > > \hbox to .6\ri

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Yue Wang
On Mon, May 11, 2009 at 9:48 PM, Hans Hagen wrote: > Wolfgang Schuster wrote: > >> possible yes but it's a lot of work because the complete fallback >> mechanism >> needs to be written for XeTeX which is available for MkIV since a while. > > this is unlikely to happen (unless we add lots of option

Re: [NTG-context] beta (11.05.2009): hex colors in mkii

2009-05-11 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hi, hex colors don't work anymore in mkii (no problems in mkiv). All I get is black (reminds me of a song by the Rolling Stones)... I see a red door and I want it painted black No colors anymore I want them to turn black ... Minimal example: ---

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Alan BRASLAU
On Monday 11 May 2009 15:40:04 Hans Hagen wrote: > Alan BRASLAU wrote: > > Thanks (\setupinteractions[option=max], \mframed[background=color])! > > > > Please note that the vertical spacing seems to be off (raised) for > > \mframed... minimal example: > > > > \starttext > > \startformula > > A = B

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Hans Hagen
Yue Wang wrote: On Mon, May 11, 2009 at 9:48 PM, Hans Hagen wrote: Wolfgang Schuster wrote: possible yes but it's a lot of work because the complete fallback mechanism needs to be written for XeTeX which is available for MkIV since a while. this is unlikely to happen (unless we add lots of o

Re: [NTG-context] Font switching question

2009-05-11 Thread Yue Wang
Hi Hans: let me give a better explanation. we define a typescript foobar. so we can call \foobar to load the foobar typeface. then we should define a macro like this: \def\switchtofoobar{\savecurrentstyle\foobar\getcurrentstyle} and call it like that: text 1 {\swichtofoobar text2} text 3 when \

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Yue Wang
On Mon, May 11, 2009 at 10:33 PM, Hans Hagen wrote: > Yue Wang wrote: >> >> On Mon, May 11, 2009 at 9:48 PM, Hans Hagen wrote: >>> >>> Wolfgang Schuster wrote: >>> possible yes but it's a lot of work because the complete fallback mechanism needs to be written for XeTeX which is ava

Re: [NTG-context] texts in \component files are not present

2009-05-11 Thread Wei-Wei Guo
Henning Hraban Ramm 写道: Am 2009-05-11 um 02:32 schrieb Wei-Wei Guo: 1. Don't use project files as top level file for your document, use product and components (which can be nested) files only, projects are meta file when you have many document with the same topic (e.g. a magazine etc.)

Re: [NTG-context] beta (11.05.2009): hex colors in mkii

2009-05-11 Thread Aditya Mahajan
On Mon, 11 May 2009, Hans Hagen wrote: Peter Rolf wrote: Hi, hex colors don't work anymore in mkii (no problems in mkiv). All I get is black (reminds me of a song by the Rolling Stones)... I see a red door and I want it painted black No colors anymore I want them to turn black ... Mini

Re: [NTG-context] texts in \component files are not present

2009-05-11 Thread Henning Hraban Ramm
Am 2009-05-11 um 16:53 schrieb Wei-Wei Guo: Then "the magazine" is your project, one issue is a product, one article is a component. For something similar I use a directory for the magazine and subdirectories per product; i.e. project and environment file reside in the main directory, produ

[NTG-context] New module t-zhspacing

2009-05-11 Thread Yue Wang
Dear list: Chinese TeX Society is proud to announce the t-zhspacing module to the ConTeXt society. The module is developed by Yue Wang based on Yin Dian's zhspacing.sty macro package and Jonathan Kew's unicode-letters.tex + xetex interchartoks mechanism. It is designed for the audience who interes

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Aditya Mahajan
On Mon, 11 May 2009, Hans Hagen wrote: Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed[frame=off,background=col

Re: [NTG-context] New module t-zhspacing

2009-05-11 Thread Yue Wang
Hi. now the module uses \switchtobodyfont[foobar] to switch the typeface which is not fast enough. in fact \foobar is the right way. I will make a commit tomorrow to speed up the font switching. By the way, After I finish the module, who should I turn to for submitting? Hans, the garden, or CTAN?

[NTG-context] Metapost question

2009-05-11 Thread Jean Magnan de Bornier
Hi all, Trying to use mpost with (today's) minimals, I get this answer: ... 16:55 j...@boldair /home/jean/graph % mpost ecindf Sorry, I can't find that mem file; will try PLAIN. I can't find the PLAIN mem file! ... Do I have to make

[NTG-context] beta (11.05.2009): js interaction

2009-05-11 Thread Peter Rolf
Hi, some problems with js interaction stuff. I get ! Undefined control sequence. \dopresetfieldsymbol #1->\checkobjectreferences for nearly all interaction fields in mkiv. Mkii compiles, but the pop-up tooltip is only a black box (not the text 'tooltip'). I also had some problems with PDF la

Re: [NTG-context] New module t-zhspacing

2009-05-11 Thread Aditya Mahajan
On Mon, 11 May 2009, Yue Wang wrote: By the way, After I finish the module, who should I turn to for submitting? Hans, the garden, or CTAN? Thanks. Submit it to the garden. If you also want it on CTAN, you can ask Mojca or Patrick to sync the module with CTAN. Then whenever you make a change

Re: [NTG-context] Font switching question

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 16:38 schrieb Yue Wang: Hi Hans: let me give a better explanation. we define a typescript foobar. so we can call \foobar to load the foobar typeface. then we should define a macro like this: \def\switchtofoobar{\savecurrentstyle\foobar\getcurrentstyle} and call it like that:

Re: [NTG-context] Metapost question

2009-05-11 Thread Peter Rolf
Jean Magnan de Bornier schrieb: Hi all, Trying to use mpost with (today's) minimals, I get this answer: ... 16:55 j...@boldair /home/jean/graph % mpost ecindf Sorry, I can't find that mem file; will try PLAIN. I can't find the PLAIN mem file! .

Re: [NTG-context] New module t-zhspacing

2009-05-11 Thread Mojca Miklavec
On Mon, May 11, 2009 at 17:21, Aditya Mahajan wrote: > On Mon, 11 May 2009, Yue Wang wrote: > >> By the way, After I finish the module, who should I turn to for >> submitting? >> Hans, the garden, or CTAN? Thanks. > > Submit it to the garden. If you also want it on CTAN, you can ask Mojca or > Patr

Re: [NTG-context] Metapost question

2009-05-11 Thread Mojca Miklavec
On Mon, May 11, 2009 at 17:14, Jean Magnan de Bornier wrote: > Hi all, > Trying to use mpost with (today's) minimals, I get this answer: > ... > 16:55 j...@boldair /home/jean/graph % mpost ecindf > > Sorry, I can't find that mem file; will try PLAIN. > I can't find t

Re: [NTG-context] Metapost question

2009-05-11 Thread Aditya Mahajan
On Mon, 11 May 2009, Jean Magnan de Bornier wrote: Hi all, Trying to use mpost with (today's) minimals, I get this answer: ... 16:55 j...@boldair /home/jean/graph % mpost ecindf Sorry, I can't find that mem file; will try PLAIN. I can't find the PLAIN mem file! .

Re: [NTG-context] Metapost question

2009-05-11 Thread Mojca Miklavec
On Mon, May 11, 2009 at 17:42, Mojca Miklavec wrote: > On Mon, May 11, 2009 at 17:14, Jean Magnan de Bornier wrote: >> Hi all, >> Trying to use mpost with (today's) minimals, I get this answer: >> ... >> 16:55 j...@boldair /home/jean/graph % mpost ecindf >> >> Sorry

Re: [NTG-context] New module t-zhspacing

2009-05-11 Thread Yue Wang
Hi, Mojca: On Mon, May 11, 2009 at 11:36 PM, Mojca Miklavec wrote: > On Mon, May 11, 2009 at 17:21, Aditya Mahajan wrote: >> On Mon, 11 May 2009, Yue Wang wrote: >> >>> By the way, After I finish the module, who should I turn to for >>> submitting? >>> Hans, the garden, or CTAN? Thanks. >> >> Sub

Re: [NTG-context] New module t-zhspacing

2009-05-11 Thread Yue Wang
Hi, Aditya: Thank you very much for the information. I will do that once I freeze the code. Yue Wang On Mon, May 11, 2009 at 11:21 PM, Aditya Mahajan wrote: > On Mon, 11 May 2009, Yue Wang wrote: > >> By the way, After I finish the module, who should I turn to for >> submitting? >> Hans, the g

Re: [NTG-context] Font switching question

2009-05-11 Thread Yue Wang
On Mon, May 11, 2009 at 11:23 PM, Wolfgang Schuster wrote: > > Am 11.05.2009 um 16:38 schrieb Yue Wang: > >> Hi Hans: >> >> let me give a better explanation. >> >> we define a typescript foobar. so we can call  \foobar to load the >> foobar typeface. >> then we should define a macro like this: >>

Re: [NTG-context] Metapost question

2009-05-11 Thread Jean Magnan de Bornier
Le 11 mai à 17:34:42 Peter Rolf écrit notamment: | Jean Magnan de Bornier schrieb: | > Hi all, | > Trying to use mpost with (today's) minimals, I get this answer: | > ... | > 16:55 j...@boldair /home/jean/graph % mpost ecindf | > | > Sorry, I can't find that mem fi

Re: [NTG-context] Metapost question

2009-05-11 Thread Jean Magnan de Bornier
Le 11 mai à 17:58:32 Mojca Miklavec écrit notamment: | On Mon, May 11, 2009 at 17:42, Mojca Miklavec wrote: | > On Mon, May 11, 2009 at 17:14, Jean Magnan de Bornier wrote: | >> Hi all, | >> Trying to use mpost with (today's) minimals, I get this answer: | >> ...

[NTG-context] Two issues related to xetex

2009-05-11 Thread Yue Wang
Hi, Hans and Mojca: first, (to Mojca) the first-setup.sh script still deletes fontconfig cache when updating on windows. second, (to Hans) unicode-letters.tex is read when we dump plain TeX or LaTeX format in TeXLive. This file is wrote by Jonathan Kew in order to initialize XeTeX. It defines man

Re: [NTG-context] Metapost question

2009-05-11 Thread Hans Hagen
Mojca Miklavec wrote: On Mon, May 11, 2009 at 17:14, Jean Magnan de Bornier wrote: Hi all, Trying to use mpost with (today's) minimals, I get this answer: ... 16:55 j...@boldair /home/jean/graph % mpost ecindf Sorry, I can't find that mem file; will try PLAIN. I

[NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Xan
Hi, In latex is wonderful be able to make abreviatures like: \newcommand{\dist}[1]{d(\sigma_g(#1), \sigma_h(#1))} and use like $\dist{t}$, ... for not typing all the text. What is the ConTeXt version of that? Please CC mail me. Thanks a lot, Xan. __

Re: [NTG-context] Two issues related to xetex

2009-05-11 Thread Hans Hagen
Yue Wang wrote: second, (to Hans) unicode-letters.tex is read when we dump plain TeX or LaTeX format in TeXLive. This file is wrote by Jonathan Kew in order to initialize XeTeX. It defines many important unicode properties into XeTeX. However, ConTeXt do not load that file when dumping the xetex

Re: [NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Yue Wang
\def\dist#1{d(\sigma_g(#1), \sigma_h(#1))} or something more context way: \define[1]\dist{d(\sigma_g(#1), \sigma_h(#1))} On Tue, May 12, 2009 at 1:05 AM, Xan wrote: > Hi, > > In latex is wonderful be able to make abreviatures like: > > \newcommand{\dist}[1]{d(\sigma_g(#1), \sigma_h(#1))} > > and

Re: [NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Hans Hagen
Xan wrote: Hi, In latex is wonderful be able to make abreviatures like: \newcommand{\dist}[1]{d(\sigma_g(#1), \sigma_h(#1))} and use like $\dist{t}$, ... for not typing all the text. What is the ConTeXt version of that? Please CC mail me. see s-abr-* for examples ... one can have several (i

Re: [NTG-context] New module t-zhspacing

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 16:55 schrieb Yue Wang: Dear list: Chinese TeX Society is proud to announce the t-zhspacing module to the ConTeXt society. The module is developed by Yue Wang based on Yin Dian's zhspacing.sty macro package and Jonathan Kew's unicode-letters.tex + xetex interchartoks mechanism

[NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-11 Thread Xan
Hi, I read the document "Using \startalign and friends" of Aditya (that it's good) and I can't find anything under ams aligned. Is this an equivalent in ConText? For example, what is the equivalent of: \begin{equation*} \left.\begin{aligned} & 2^2 | n_0\\ & 4^2 | n_0 + 2 \Rightarrow (2^2)^2

Re: [NTG-context] Metapost question

2009-05-11 Thread Mojca Miklavec
On Mon, May 11, 2009 at 19:33, Jean Magnan de Bornier wrote: > Le 11 mai à 18:52:08 Mojca Miklavec écrit notamment: > > | > But then I still have unending the > | > ... > | > metafun 2009-5-11 18:30 > | > metafun 2009-5-11 18:30 > | > metafun 2009-5-11 18:30 > | > metafun 2009-5-11

Re: [NTG-context] \newcommand ala ConTeXt

2009-05-11 Thread Xan
Thanks, Yue. I suspected it should be two ways: pure TeX and ConTeXt way. En/na Yue Wang ha escrit: \def\dist#1{d(\sigma_g(#1), \sigma_h(#1))} or something more context way: \define[1]\dist{d(\sigma_g(#1), \sigma_h(#1))} On Tue, May 12, 2009 at 1:05 AM, Xan wrote: Hi, In latex is wonderfu

Re: [NTG-context] Metapost question

2009-05-11 Thread Jean Magnan de Bornier
Le 11 mai à 18:52:08 Mojca Miklavec écrit notamment: | > But then I still have unending the | > ... | > metafun 2009-5-11 18:30 | > metafun 2009-5-11 18:30 | > metafun 2009-5-11 18:30 | > metafun 2009-5-11 18:30 | > metafun 2009-5-11 18:30 | > metafun 2009-5-11 18:30 | > metafun

Re: [NTG-context] New module - mkiv font loading

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 15:48 schrieb Hans Hagen: Wolfgang Schuster wrote: possible yes but it's a lot of work because the complete fallback mechanism needs to be written for XeTeX which is available for MkIV since a while. this is unlikely to happen (unless we add lots of optional code to mk

Re: [NTG-context] Metapost question

2009-05-11 Thread Mojca Miklavec
On Mon, May 11, 2009 at 18:31, Jean Magnan de Bornier wrote: > Le 11 mai à 17:58:32 Mojca Miklavec écrit notamment: > > | Sorry, I meant > |    texexec --make mpost >> > | Though it's indeed true that you can use > |    mpost --mem=metafun ecindf > | or the ConTeXt interface > | > | But these forma

Re: [NTG-context] Metapost question

2009-05-11 Thread Mojca Miklavec
On Mon, May 11, 2009 at 19:01, Hans Hagen wrote: > Mojca Miklavec wrote: >> >>    states.set("formats.metafun", true) >> Maybe mpost should be added there as well (though I didn't test yet if >> that indeed helps). > > maybe ... if someone is using mp directly in context -) > > in luatex/mkiv forma

Re: [NTG-context] Metapost question

2009-05-11 Thread Jean Magnan de Bornier
Le 11 mai à 19:33:01 Jean Magnan de Bornier écrit notamment: | Le 11 mai à 18:52:08 Mojca Miklavec écrit notamment: > | | > But then I still have unending the | | > ... | | > metafun 2009-5-11 18:30 | | > metafun 2009-5-11 18:30 | | > metafun 2009-5-11 18:30 | | > metafun 2009-

Re: [NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-11 Thread Aditya Mahajan
On Mon, 11 May 2009, Xan wrote: Hi, I read the document "Using \startalign and friends" of Aditya (that it's good) and I can't find anything under ams aligned. Is this an equivalent in ConText? Strictly speaking, none. You can fake aligned and gathered with matrices. For example, what is

[NTG-context] MKIV: Problem with localfootnotes

2009-05-11 Thread jm
good day to all! i have been using MKIV to typeset a scientific article. however, while typesetting the table below, i notice that only the second footnote would appear in the pdf file. can anyone help me figure out what i did wrong? for what it's worth, i am typesetting this table wit

Re: [NTG-context] Two issues related to xetex

2009-05-11 Thread Mojca Miklavec
On Mon, May 11, 2009 at 18:38, Yue Wang wrote: > Hi, Hans and Mojca: > > first, (to Mojca) the first-setup.sh script still deletes fontconfig > cache when updating on windows. Hmmm ... while experimenting a bit and after writing a long answer explaining that I'll come back to it after a while ...

Re: [NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-11 Thread Olivier
Hi Xan, > For example, what is the equivalent of: > > \begin{equation*} > \left.\begin{aligned} > & 2^2 | n_0\\ > & 4^2 | n_0 + 2 \Rightarrow (2^2)^2 | n_0 +2 \Rightarrow 2^2 | n_0 +2 > \text{ ya que } 2^2 | (2^2)^2 > \end{aligned}\right\} \Rightarrow 2^2 | (n_0 + 2 - n_0) \Rightarrow 2^2 | 2 >

Re: [NTG-context] Two issues related to xetex

2009-05-11 Thread Hans Hagen
Mojca Miklavec wrote: Hans, does this make sense? local normalflags = states.get("rsync.flags.normal") local deleteflags = "" if (destination:find("texmf$") or destination:find("context$")) and (not environment.argument("keep")) then deleteflags = states.get("rsync.flags.delete") end comman

Re: [NTG-context] narrow space in "\ldots."

2009-05-11 Thread Ryo Furue
Wolfgang, | \unexpanded\def\fourdots{{\def\periodswidth{.3em}\periods[4]}} | | \starttext | Hello\fourdots\ World\fourdots | | Hello\fourdots\ World. | \stoptext Thanks for the macro! It's almost perfect. . . . I thought I was imagining things, but the distance between the last letter of the

Re: [NTG-context] narrow space in "\ldots."

2009-05-11 Thread Hans Hagen
Ryo Furue wrote: By the way, I'm wondering where one should store personal macro files. With LaTeX (texlive-latex), ~/texmf/tex/latex/ seems to be the default place. Is ~/texmf/tex/context/ a recommended place? texmf-project/tex/context/user/ is a pretty safe place Hans ---

Re: [NTG-context] beta (11.05.2009): js interaction

2009-05-11 Thread Hans Hagen
Peter Rolf wrote: Hi, some problems with js interaction stuff. I get ! Undefined control sequence. \dopresetfieldsymbol #1->\checkobjectreferences for nearly all interaction fields in mkiv. Mkii compiles, but the pop-up tooltip is only a black box (not the text 'tooltip'). I also had some p

Re: [NTG-context] narrow space in "\ldots."

2009-05-11 Thread Wolfgang Schuster
\def\fourdots {\ldotp\ldotp\ldotp\ldotp} Wolfgang Am 11.05.2009 um 23:14 schrieb Ryo Furue: Wolfgang, | \unexpanded\def\fourdots{{\def\periodswidth{.3em}\periods[4]}} | | \starttext | Hello\fourdots\ World\fourdots | | Hello\fourdots\ World. | \stoptext Thanks for the macro! It's almost p

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Hans Hagen
Aditya Mahajan wrote: On Mon, 11 May 2009, Hans Hagen wrote: Alan BRASLAU wrote: Thanks (\setupinteractions[option=max], \mframed[background=color])! Please note that the vertical spacing seems to be off (raised) for \mframed... minimal example: \starttext \startformula A = B + \mframed[f

Re: [NTG-context] in luatex/mkiv formats are generated on the fly

2009-05-11 Thread Vyatcheslav Yatskovsky
Hello, Hans in luatex/mkiv formats are generated on the fly What do you mean? That one does NOT need "context --make" at all? Best, Vaytcheslav ___ If your question is of interest to others as well, please add an en

Re: [NTG-context] in luatex/mkiv formats are generated on the fly

2009-05-11 Thread Aditya Mahajan
On Tue, 12 May 2009, Vyatcheslav Yatskovsky wrote: Hello, Hans in luatex/mkiv formats are generated on the fly What do you mean? That one does NOT need "context --make" at all? Yes. Just clear your texmf-cache and see what happens :-) Aditya _

Re: [NTG-context] Metapost question

2009-05-11 Thread Jean Magnan de Bornier
Le 11 mai à 20:02:36 Mojca Miklavec écrit notamment: | > | Which command does that evil? They both seem to work here ... | > | > mpost, texexec --mpgraphic, mpost -mem=metafun.mem, all three of them! > | I don't understand. Can you please post the whole log. You cannot get | metafun warnings whe

[NTG-context] XeConTeXt bug report III: Wrong hyperlink

2009-05-11 Thread Yue Wang
Hi, Hans and Jin-Hwan: When using ConTeXt to produce my documents, I found that all hyperlinks are wrong. And here is a simple test. The tex and pdf files are attached in the mail. The problem will happen when: 1) using pdftex to produce the dvi, and use dvipdfmx to convert the dvi to pdf. 2) usi

[NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-11 Thread Yue Wang
Hi, Hans and Jonathan: I made some testing samples in ConTeXt to test XeTeX. but the result is quite strange. All benchmark are get from the second run: Sample 1: \definefont[a][file:SimSun] \starttext \dorecurse{1}{ hello {\a 你好}} \stoptext And here is the result: XeTeX: TeXExec | runtime

[NTG-context] XeConTeXt bug report II: MetaPost Graphics

2009-05-11 Thread Yue Wang
Hi, Hans and Jin-Hwan: Here is a simple ConTeXt metafun demo file: \starttext \setupcolors[state=start] \startMPpage path p ; color c[] ; p := fullsquare scaled 4cm ; c[0] := transparent(1,.5,red) ; c[1] := transparent(1,.5,green) ; c[2] := transparent(1,.5,blue) ; for i = 0 upto 2 :

Re: [NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-11 Thread Alan BRASLAU
On Monday 11 May 2009 20:16:11 Aditya Mahajan wrote: > I would also use \implies instead of \Rightarrow (slightly different > spacing). ! Undefined control sequence. \implies $\to$ \usemodule[math-ams] ___ If your q