Re: [NTG-context] Traditional Chinese Typesetting (almost complete)

2007-04-27 Thread Zhichu Chen
Hi everybody, Sorry for replying so late. I'm in a different time zone. I just get up and after sending this mail, I'll take about 2 hours to office. Yes, I use cwTeX fonts which are claimed under GPL. These fonts are first made in Type 1 format and then converted to truetype format. Maybe it's

Re: [NTG-context] Traditional Chinese Typesetting (almost complete)

2007-04-28 Thread Zhichu Chen
Hi, Patrick I've packed the fonts (although they can be downloaded somewhere, but it's too big so I've deleted many unnecessary files) and support files, it's about 53.6M. I have tried to upload to my google page, but it failed for like 1000 times. I'll see if I can find an FTP to save it

Re: [NTG-context] Traditional Chinese Typesetting (almost complete)

2007-05-03 Thread Zhichu Chen
Hi Patrick, I've uploaded the fonts to the CTeX ftp: ftp://ftp.ctex.org/pub/tex/fonts/cwTeX and I've sent my module to Wolfgang to see if he has any suggestions. If any of you feel interested in my module, I will put my module on my website although it's still not perfect. On 4/28/07, Patrick

Re: [NTG-context] CtxTools problem

2007-05-03 Thread Zhichu Chen
Hi Keith You don't have unzip in your path. I've met the same problem first time I use Hans' minimal context distribution on Windows. Then I download a gnuwin32 version of unzip from: http://gnuwin32.sourceforge.net/downlinks/unzip-bin-zip.php and I extract the files under /bin directory to

Re: [NTG-context] ConTeXt on Excursion: translations in the Garden

2007-05-09 Thread Zhichu Chen
Hi Taco, I've registered the project to translate it into Chinese. Anyhow, I have some questions now: 1, I'm using WinXP, so I downloaded gnu make and other core files for windows from gnuwin32.sourceforge.net. I don't know if it will work well. But I think I can compile it manually. 2, When I

Re: [NTG-context] ConTeXt on Excursion: translations in the Garden

2007-05-09 Thread Zhichu Chen
Hi Arthur, Thanks for you explanation, suggestion and encouragement. I hope you'll finish your translation soon too. (I'm so solecistic that I can't speak French :( ) I'm trying to find where to set the username and password in TortoiseSVN, so you may need to wait a little more. On 5/10/07,

Re: [NTG-context] ConTeXt on Excursion: translations in the Garden

2007-05-11 Thread Zhichu Chen
Hi everybody I'm sorry that I haven't upload anything except the makefile. So Authur, you can adopt it to French now. But Hans' \horizontalchineseunicodeglyph macro has some conflict with \starttyping . . . \stoptyping environment. I checked for like two days and comment the following lines:

Re: [NTG-context] date format in Chinese environment

2007-05-17 Thread Zhichu Chen
Hi [EMAIL PROTECTED] You can change the conversion in the kernel: === \defineconversion [cn] [\v!day] [\chinesenumber] \defineconversion [cn] [\v!month] [\chinesenumber] \defineconversion [cn] [\v!year] [\chinesenumber]

[NTG-context] Draw chess board

2007-05-24 Thread Zhichu Chen
Hi I love chess games, especially one kind of them which is generally called Go. I know there is some file can store each details in one game: http://www.red-bean.com/sgf/ AFAIK, there is no module available to draw chess in ConTeXt now. I wanna do this by using MetaPost and fieldstack. But I

Re: [NTG-context] Scite folding

2007-05-28 Thread Zhichu Chen
? [EMAIL PROTECTED] 2007-05-28 - Original Message - *From: *Zhichu Chen [EMAIL PROTECTED] *To: *soft_share [EMAIL PROTECTED] *Sent: *2007-05-28, 06:49:23 *Subject: *Re: [NTG-context] Scite folding Hi, instanton Is there any possibility that you can make an addon lua script to do

[NTG-context] Fwd: Draw chess board

2007-06-05 Thread Zhichu Chen
-- Forwarded message -- From: Zhichu Chen [EMAIL PROTECTED] Date: Jun 6, 2007 8:51 AM Subject: Re: [NTG-context] Draw chess board To: Mojca Miklavec [EMAIL PROTECTED] Hi I've tried to write a test file which can only handle ;B[??], ;W[??], AB[??], AW[??] now, and I haven't added

[NTG-context] Weird Fieldstack problem

2007-06-08 Thread Zhichu Chen
Hi, I've written the following test file: == \setupcolors[state=start] \setuppagenumbering[state=stop] \setupinteraction [state=start] \starttext \MPdrawingdonetrue \startMPdrawing draw (0,0)--(2cm,2cm); \stopMPdrawing \definesymbol[aa][\getMPdrawing] \startMPdrawing

Re: [NTG-context] Weird Fieldstack problem

2007-06-08 Thread Zhichu Chen
from \getMPdrawing at once. On 6/8/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Fri, 8 Jun 2007, Zhichu Chen wrote: Hi, I've written the following test file: == \setupcolors[state=start] \setuppagenumbering[state=stop] \setupinteraction [state=start] \starttext

Re: [NTG-context] Draw chess board

2007-06-10 Thread Zhichu Chen
. On 6/10/07, Mojca Miklavec [EMAIL PROTECTED] wrote: On 6/6/07, Zhichu Chen wrote: Hi I've tried to write a test file which can only handle ;B[??], ;W[??], AB[??], AW[??] now, and I haven't added the interaction part. But it is a good start. Any suggestions? Wow - that's really, really

Re: [NTG-context] Weird Fieldstack problem

2007-06-11 Thread Zhichu Chen
Zhichu Chen [EMAIL PROTECTED]: Hi Aditya, Actually, they should have the same boundingbox, the first MPdrawing environment draws a line from (0,0) to (2cm,2cm) and the sequence MPdrawing environments just add two lines that are in the previous boundingbox. I know what's happening now

Re: [NTG-context] Draw chess board

2007-06-11 Thread Zhichu Chen
/sgfstack.rar On 6/11/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi Mojca, The stones are very very nice now, thank you for your hints. Since I haven't used TikZ before, I have no idea how to handle these events. I'll learn it later and rewrite my module to be more professional :) All I'm thinking

Re: [NTG-context] Draw chess board

2007-06-11 Thread Zhichu Chen
and the pdf output file is like 4M, when I use winrar to compress it, it shrinked to less than 700k. So I think there should be some way to compress it more. On 6/11/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/6/11, Zhichu Chen [EMAIL PROTECTED]: Hi guys I've modified my module again, then you

[NTG-context] ConTeXt Toys' Project

2007-06-13 Thread Zhichu Chen
Hi all, I've registered a project on: https://foundry.supelec.fr/projects/contexttoys/ I'm attracted by ConTeXt since I used it. I'm willing to do everything with ConTeXt. If any of you guys have any tricky ConTeXt toys, could you share on the project. I've convinced many people to use

Re: [NTG-context] ConTeXt Toys' Project

2007-06-13 Thread Zhichu Chen
it immediately. I'll try to learn how to use wiki now :) On 6/14/07, luigi scarso [EMAIL PROTECTED] wrote: On 6/13/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi all, I've registered a project on: https://foundry.supelec.fr/projects/contexttoys/ I'm attracted by ConTeXt since I used it. I'm willing

Re: [NTG-context] ConTeXt Toys' Project

2007-06-13 Thread Zhichu Chen
module until it becomes perfect and then upload it. By the way, I can't find any category it could belong to, so it's just a single page. On 6/14/07, luigi scarso [EMAIL PROTECTED] wrote: On 6/13/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi all, I've registered a project on: https

[NTG-context] PDF comments' questions

2007-08-09 Thread Zhichu Chen
Hi everybody, I get confused about some PDF specials. I know I could add \enableregime[utf] \PDFunicodetrue \input spec-tst.tex at the top of my source file so that I can use unicode characters in \comment or something alike. But when I used

[NTG-context] Limitation of mixedcolumns?

2012-07-28 Thread Zhichu Chen
The nested mixedcolumns does not work properly when it reaches the bottom of the outer mixedcolumns here: $ context --version mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: d:/ConTeXt/tex/texmf-local/tex/context/base/context.mkiv

[NTG-context] simpleslides bug?

2013-02-17 Thread Zhichu Chen
Maybe this is my fault. The simpleslides module works just fine these days and I accidentally updated the ConTeXt to the latest version: context --version mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file:

Re: [NTG-context] simpleslides bug?

2013-02-21 Thread Zhichu Chen
On Thu, Feb 21, 2013 at 5:38 PM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: On 02/21/2013 09:31 AM, Hans Hagen wrote: On 2/21/2013 2:21 AM, Zhichu Chen wrote: This must be a consequence of the new MP instance code. I can reproduce the error, but I can't isolate it. I

Re: [NTG-context] Has anybody used asymptote without LaTeX?

2008-10-08 Thread Zhichu Chen
Hi Michail, It's a little late for me to check my mailbox. Thank you for your work and yes, I'm interested in it. Can I get a copy of it? On Mon, Sep 29, 2008 at 5:19 PM, Michail Vidiassov [EMAIL PROTECTED] wrote: Dear All, And how to embed .prc files into the .pdf document? I have made a

Re: [NTG-context] Has anybody used asymptote without LaTeX?

2008-10-09 Thread Zhichu Chen
Hi, all, It's me again. Since Asymptote 1.44 has been released, I don't have to compile it myself. So I played a little bit and find out that if I don't want labels nor produce a pdf format of that image, I can live without LaTeX. That's kind of a good news. If I want to embed the .prc file into

Re: [NTG-context] Has anybody used asymptote without LaTeX?

2008-10-11 Thread Zhichu Chen
Hi all, On Sat, Oct 11, 2008 at 1:25 PM, Michail Vidiassov [EMAIL PROTECTED] wrote: Dear All, On Fri, 10 Oct 2008, Zhichu Chen wrote: If I want to embed the .prc file into a pdf document, all I need to do is specify the correct /Subtype and mime type. That's very easy. I think creating 3D

[NTG-context] Page numbering in Adobe Reader

2008-10-16 Thread Zhichu Chen
Hi Hans and Taco, Some guy think it's cool to use romannumeral numbers in the preface and so is in the Adobe Reader. I searched the source but apparently it is not provided. I made a very dirty test file so could you make a switch in the \setupinteraction officially? My test file is like:

Re: [NTG-context] why does not this style work?

2008-10-26 Thread Zhichu Chen
Hi Ruini, Since \dosanhao has nothing to do with it's argument, why not just define like \def\mybig {\switchtobodyfont[24pt]} On Sun, Oct 26, 2008 at 3:55 PM, Ruini Xue [EMAIL PROTECTED] wrote: I want to use a dedicated font size for the chapter title, so I wrote this piece of code:

Re: [NTG-context] why does not this style work?

2008-10-26 Thread Zhichu Chen
Hi Ruini, by the way, maybe this is what you wanted: == \unexpanded\def\mybig {\dosingleempty\dosanhao} \unexpanded\def\dosanhao[#1]% {\iffirstargument \switchtobodyfont[#1]% \else \switchtobodyfont[24pt]% \fi} \setuphead [chapter]

[NTG-context] \startvariables failed after the current update

2008-10-28 Thread Zhichu Chen
Hi there, I haven't updated my ConTeXt distribution for a very long time (for the internet connection problem here) and somehow my network worked, so I use ctxtools --update to make an update. During the updating, I got some error message like I can't find mult-def.tex and some other files more.

Re: [NTG-context] \startvariables failed after the current update

2008-10-28 Thread Zhichu Chen
Oops. Thanks. Although I think it would be much simpler if we can do this by using comma lists. On Tue, Oct 28, 2008 at 8:30 AM, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi there, I haven't updated my ConTeXt distribution for a very long time (for the internet connection

Re: [NTG-context] Lettermodule

2008-11-01 Thread Zhichu Chen
Hi Willi, On Sat, Nov 1, 2008 at 11:16 AM, Willi Egger [EMAIL PROTECTED] wrote: Hello Wolfgang, I just updated to the latest beta of context. Unfortunately I get now an error when using the letter module. I have no clue. ConTeXt ver: 2008.10.31 13:58 MKIV fmt: 2008.11.1 int: english/

Re: [NTG-context] external figure extension name PDF not supported

2008-11-01 Thread Zhichu Chen
Hi Zhaopeng, On Sat, Nov 1, 2008 at 1:31 PM, Zhaopeng Xing [EMAIL PROTECTED] wrote: Hi, There is a problem about a figure name. When I use pdf figures, capital xx.PDF can not be identified, while only xx.pdf is supported. I hope it can be fixed because my odf printer always give extension

Re: [NTG-context] Happy Single's Day

2008-11-10 Thread Zhichu Chen
Sounds like a bachelor day. Not for me but thanks and congratulations. On Mon, Nov 10, 2008 at 11:59 AM, Yue Wang [EMAIL PROTECTED] wrote: Hi, all: Tomorrow is 11/11 single day. (I dont know whether the holiday exists in other places, but on 11:11 am, 11/11, (all the numbers are single[1]),

[NTG-context] How to define such a function in lua? Sorry I don't have a name on it.

2008-12-03 Thread Zhichu Chen
Hi, I'm learning to use luatex these days, one day actually. It's very interesting. Although reference manuals are available, I still don't know how to implement my designation. The thing is, I know there's a self variable for object-oriented programming, like

Re: [NTG-context] How to define such a function in lua? Sorry I don't have a name on it.

2008-12-04 Thread Zhichu Chen
On Thu, Dec 4, 2008 at 5:28 PM, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi, I'm learning to use luatex these days, one day actually. It's very interesting. Although reference manuals are available, I still don't know how to implement my designation. The thing is, I know

Re: [NTG-context] How to define such a function in lua? Sorry I don't have a name on it.

2008-12-06 Thread Zhichu Chen
On Fri, Dec 5, 2008 at 8:05 AM, Arthur Reutenauer [EMAIL PROTECTED] wrote: but it might make more sense to look into metatables (i assume that you own the programming in lua book which explains that) I don't have one :(, I'll take a good at it later. You really should look into the book, it

[NTG-context] luatex and javascript

2008-12-07 Thread Zhichu Chen
Hi, I've searched the list and it seems that no one has been occurred to my problem. Has the javascript interface gone? 'cause I failed the following simplest file: \setupinteraction[state=start] \starttext A few years back,

Re: [NTG-context] luatex and javascript

2008-12-07 Thread Zhichu Chen
On Sun, Dec 7, 2008 at 8:56 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi, I've searched the list and it seems that no one has been occurred to my problem. Has the javascript interface gone? 'cause I failed the following No, just bugged. Hans ran into that himself

Re: [NTG-context] luatex and javascript

2008-12-07 Thread Zhichu Chen
On Mon, Dec 8, 2008 at 2:32 AM, Hans Hagen [EMAIL PROTECTED] wrote: Taco Hoekwater wrote: Zhichu Chen wrote: Hi, I've searched the list and it seems that no one has been occurred to my problem. Has the javascript interface gone? 'cause I failed the following No, just bugged. Hans ran

[NTG-context] How to get the total page number at startup in luatex?

2008-12-08 Thread Zhichu Chen
Hi, I've met a weird thing, I can't get \totalnumberofpages in the preamble. But it used to work. A simple test file is ++ \dorecurse{\totalnumberofpages}{\setvalue{test::\recurselevel}{:\recurselevel:}} \def\test{\getvalue{test::\pagenumber}} \starttext \input

Re: [NTG-context] How to get the total page number at startup in luatex?

2008-12-08 Thread Zhichu Chen
On Mon, Dec 8, 2008 at 5:47 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Mon, Dec 8, 2008 at 10:33 AM, Zhichu Chen [EMAIL PROTECTED] wrote: Hi, I've met a weird thing, I can't get \totalnumberofpages in the preamble. But it used to work. A simple test file

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Zhichu Chen
Hi Bart On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise [EMAIL PROTECTED] wrote: When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate ...\expandafter \@@plniterate \else \fi \myloop ...by 1 \ifnum \tempcnta #1\else \repeat I

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Zhichu Chen
Hi Bart, On Thu, Dec 11, 2008 at 11:05 PM, Bart C. Wise [EMAIL PROTECTED] wrote: Chen, Thanks. That makes sense now. However, when I take your code and run it, it only goes through 1 iteration of the loop and exits. I'm puzzled. Bart Really? 'cause when I run the following code

Re: [NTG-context] PDF page numbers

2008-12-16 Thread Zhichu Chen
Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com

Re: [NTG-context] I need bold math italic and symbols

2009-01-05 Thread Zhichu Chen
On Tue, Jan 6, 2009 at 6:36 AM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 5 Jan 2009, Zhaopeng Xing wrote: Hi, Can anyone show me how to write math contents in bold and italic fonts? {\bf } can only produce upright letters. In LaTeX, we can make use of the command \pmb for this

Re: [NTG-context] I need bold math italic and symbols

2009-01-06 Thread Zhichu Chen
euscript is part of amsfonts now. I tried amsl module, but found no effect. May I know how to trig euscript mathcal? 2009/1/6 Zhichu Chen zhichu.c...@gmail.com On Tue, Jan 6, 2009 at 6:36 AM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 5 Jan 2009, Zhaopeng Xing wrote: Hi, Can anyone

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Zhichu Chen
Hi Taco, On Tue, May 5, 2009 at 8:51 PM, Taco Hoekwater t...@elvenkind.com wrote: Zhichu Chen wrote: Hi all, I want to draw some paths that won't intersect with each other in metapost. Those paths are generated randomly, e.g., draw 100 circles without any intersections. I use a very stupid

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Zhichu Chen
On Tue, May 5, 2009 at 11:04 PM, Taco Hoekwater t...@elvenkind.com wrote: Zhichu Chen wrote: What I want exactly is how to determine if there's anything on some region of the picture. I need this to test if the random point I picked is useful. That is easy to answer: you can't (well

Re: [NTG-context] How can I compare picture variables in metapost?

2009-05-05 Thread Zhichu Chen
Thank you all guys, To Aditya: Clearly I over-emphasized the randomness. Actually, what I meant is a little more complex: identical objects on random coordinates and they don't intersect with each other. We can rotate them but we can't re-size them and scale them. Your code is very interesting.

[NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor so that people can see the slides on the big screen. I have to look at my laptop and present for the

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
Well, since it's a presentation, I really have some cool style to show by using javascript. I think including separated pages will jeopardize it. On Fri, May 22, 2009 at 11:55 PM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, May 22, 2009 at 4:48 PM, Zhichu Chen zhichu.c...@gmail.com

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:08 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.05.2009 um 16:48 schrieb Zhichu Chen: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:46 AM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen zhichu.c...@gmail.com wrote: Well, since it's a presentation, I really have some cool style to show by using javascript. I think including separated pages

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:54 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.05.2009 um 18:47 schrieb Zhichu Chen: Is there an easy option for this? \setuppapersize[SM|SW] or a papersize with the the same width/height ratio as the projector. That won't go well

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
On Sat, May 23, 2009 at 12:55 AM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, May 22, 2009 at 6:32 PM, Zhichu Chen zhichu.c...@gmail.com wrote: Well, since it's a presentation, I really have some cool style to show by using javascript. I think including separated pages

Re: [NTG-context] How to make a stretched pdf file

2009-05-22 Thread Zhichu Chen
Schuster schuster.wolfg...@googlemail.com wrote: Am 22.05.2009 um 16:48 schrieb Zhichu Chen: Hi guys, This may sound crazy, but I have to do a presentation with a stretched output. The thing is, I have a laptop with a normal screen, and it'll be plugged to a very big wide screen monitor

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-23 Thread Zhichu Chen
On Thu, May 21, 2009 at 9:25 AM, Yue Wang yuleo...@gmail.com wrote: Hi, I have a new book to design, but I don't know how to do page/content conditional processing). Please help me:) - I want my chapter page (first page of each chapter) to be really distinctive. that is, I define a dark

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-23 Thread Zhichu Chen
As you said before, in my problem, this kind of handler could break something like hyper-links, and I assume Yue wanted those kind of stuffs. Maybe just a \start(stop)setups which changes the background back to normal and \prependtoks it to some token list. So is there an \everypage or

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-24 Thread Zhichu Chen
On Sun, May 24, 2009 at 4:00 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 24.05.2009 um 06:12 schrieb Zhichu Chen: As you said before, in my problem, this kind of handler could break something like hyper-links, and I assume Yue wanted those kind of stuffs. I don't think

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-24 Thread Zhichu Chen
On Sun, May 24, 2009 at 4:57 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 24.05.2009 um 10:46 schrieb Zhichu Chen: Maybe just a \start(stop)setups which changes the background back to normal and \prependtoks it to some token list. So is there an \everypage

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Zhichu Chen
On Sun, May 24, 2009 at 6:36 PM, Hans Hagen pra...@wxs.nl wrote: something like state=once would be handy but i'm not going to touch that code till i'm redoing some page-* code in mkiv I don't get it, the once made me confused. Should that just be affectedpage=current or range={1,2,15} which

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Zhichu Chen
On Mon, May 25, 2009 at 3:12 PM, Hans Hagen pra...@wxs.nl wrote: well, we have already state=repeat: same background each upcoming page state=start : enable background (calculate each time) state=stop  : disable backgrond so we would have state=once  : enable background and after this

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Zhichu Chen
On Mon, May 25, 2009 at 3:30 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 25.05.2009 um 08:55 schrieb Zhichu Chen: On Sun, May 24, 2009 at 6:36 PM, Hans Hagen pra...@wxs.nl wrote: something like state=once would be handy but i'm not going to touch that code till i'm

[NTG-context] MKIV doesn't support units module?

2009-06-02 Thread Zhichu Chen
Well, I shouldn't say the module units is not fully supported, but it won't give me what I want in MKIV. Those units it made are in italic shape but I really need them to be upright. I think I don't need to provide a test file, 'cause any files don't work for me. -- Best Regards Chen

Re: [NTG-context] MKIV doesn't support units module?

2009-06-03 Thread Zhichu Chen
On Wed, Jun 3, 2009 at 3:26 PM, Hans Hagen pra...@wxs.nl wrote: Zhichu Chen wrote: Well, I shouldn't say the module units is not fully supported, but it won't give me what I want in MKIV. Those units it made are in italic shape but I really need them to be upright. I think I don't need

Re: [NTG-context] missing metafun graphics in mkii

2009-06-08 Thread Zhichu Chen
Well, I don't quite sure if it's the same problem with you guys but there's a weird thing that after I updated to the current beta release, I have to run texmfstart texexec twice to get the metapost figures. On Mon, Jun 8, 2009 at 7:30 PM, Peter Münsterpmli...@free.fr wrote: On Mon, 8 Jun 2009,

Re: [NTG-context] inserting Chinese characters (MKII)

2009-06-11 Thread Zhichu Chen
Since it's just two characters, why not make it a picture which you can generate it from your LaTeX output. That'll much easier than installing the Chinese fonts, generating the typescripts or so. On Thu, Jun 11, 2009 at 9:37 PM, Bowen Alan C.acbo...@princeton.edu wrote:  I have absolutely no

[NTG-context] How to unfill a picture?

2009-06-23 Thread Zhichu Chen
Hi, I got a problem in metapost. If I want to draw a ring, and use the code: fill fullcircle scaled 2cm ; unfill fullcircle scaled 1cm ; The inner part is not transparent, it has the color of background variable which is white by default. This case is a minimal example, I actually wanna draw

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Fine, I made it in a very weird way. I constructed a very strange path to go through the outer path in counter- clockwise direction and inner path in clockwise dir- ection and filled it. I don't feel good but it can be done now. On Wed, Jun 24, 2009 at 11:13 AM, Zhichu Chenzhichu.c...@gmail.com

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
Cool, but just curiosity, metapost can handle fonts right? How those glyphs don't have this problem? I've read the specification of the type1 fonts, they don't seem to have such weird paths, just some borderlines with different directions. On Wed, Jun 24, 2009 at 3:32 PM, Taco

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
I assume there's no -- between reverse and fullcircle scaled 1cm :) Well, my example is too simple. Actually, I was trying to draw a treble clef, and when there're too many intersection points (caused by the -- operator to join every path together) the output is not so good, kind of like an

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
I guess I should use as few variables as possible, I suppose no one would name their paths Helper ;) This macro assumes the argument is clockwise, I've written a macro to find out whether a path is clockwise or not, but it took me forever to run the code. Maybe there's already some primitive

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
On Wed, Jun 24, 2009 at 7:29 PM, Hans Hagenpra...@wxs.nl wrote: Zhichu Chen wrote: I guess I should use as few variables as possible, I suppose no one would name their paths Helper ;) Helper sounds ok, but ...  pair Oringin ; Oringin := center p ; ... Oringin kind of funny I'll change

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Zhichu Chen
769ba7780906240342s4939ac2foe7bfd783ad2e8...@mail.gmail.com,  Zhichu Chen zhichu.c...@gmail.com wrote: Well, my example is too simple. Actually, I was trying to draw a treble clef If your goal is to draw a path with pens of varying width (kind of calligraphic strokes),'penpos' and 'penstroke' may be your friends

[NTG-context] My mtx-fonts.lua script is broken?

2010-08-23 Thread Zhichu Chen
It may have happened a long time ago. I just updated my context and could not compile my document with \setupbodyfont[lucida], something like: === define fonts forced type afm of stmary10 not found define fonts font with name stmary10 is not found

Re: [NTG-context] My mtx-fonts.lua script is broken?

2010-08-23 Thread Zhichu Chen
On Mon, Aug 23, 2010 at 5:26 PM, Taco Hoekwater t...@elvenkind.com wrote: On 08/23/2010 10:33 AM, Zhichu Chen wrote: virtual math font LMMath8-Regular, no parameters set ! TeX capacity exceeded, sorry [parameter stack size=60]. == Well, can you

Re: [NTG-context] beta

2010-09-09 Thread Zhichu Chen
Works funny on my Lucida fonts, something about = structure : section @ level 3 : 0.0.9 - References define fonts font with name LucidaBright is not found define fonts unknown font LucidaBright, loading aborted define fonts unable to

Re: [NTG-context] beta

2010-09-10 Thread Zhichu Chen
On Fri, Sep 10, 2010 at 11:59 PM, Hans Hagen pra...@wxs.nl wrote: On 10-9-2010 10:43, Zhichu Chen wrote: My apology. I attach the test file here and hope that's gonna help. I extract everything from the font package to $texmf-fonts/fonts/data/bh/lucida and that's it. works ok here did

Re: [NTG-context] beta

2010-09-12 Thread Zhichu Chen
I miss something? I've put the texmfcnf.lua under texmf/web2c. On Sat, Sep 11, 2010 at 12:19 PM, Zhichu Chen zhichu.c...@gmail.com wrote: On Fri, Sep 10, 2010 at 11:59 PM, Hans Hagen pra...@wxs.nl wrote: On 10-9-2010 10:43, Zhichu Chen wrote: My apology. I attach the test file here

[NTG-context] focus is gone in \setupinteraction?

2010-09-28 Thread Zhichu Chen
Well, focus=width doesn't work in my test file: \setupinteraction [state=start, focus=fit, openaction=FitWidth] \starttext \goto{link}[page(5)] \dorecurse{10}{\input knuth \page} \stoptext I also checked http://wiki.contextgarden.net/Reference/en/setupinteraction and no focus option --

[NTG-context] m-obsolete.tex has an undefined control sequence

2011-03-02 Thread Zhichu Chen
Hi Hans, I guess it should be \writestatus\m!system{skipping obsolete module} but somehow the file in the latest beta reads \writestatus\m!systems{skipping obsolete module} I have to define this macro to \def\m!systems{\m!system} before loading the bib module so that I can keep the system

Re: [NTG-context] m-obsolete mkii problem

2011-03-31 Thread Zhichu Chen
I think I've reported that feature a few days ago. It could be \m!systems, so I have to define \m!system as \m!systems before loading the bib module. On Thu, Mar 31, 2011 at 6:55 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Dear Hans, would it be possible to change the following

[NTG-context] columnset failed in the latest beta

2011-03-31 Thread Zhichu Chen
Minimal code: \definecolumnset[columntest][n=2,balance=yes] \definecolumnsetspan[wide][n=2] \starttext \startcolumnset[columntest] \startcolumnsetspan[wide] \dorecurse{3}{\input knuth\par} \stopcolumnsetspan \dorecurse{10}{\input knuth\par} \stopcolumnset \stoptext There is

[NTG-context] problem with publication

2011-04-12 Thread Zhichu Chen
The following code generates an error about ! LuaTeX error ...onTeXt/tex/texmf-local/tex/context/base/bibl-tra.lua:192: attempt to compare number with string \startpublication[k=1,t=article,a={{Test},{}},y=2012] \artauthor[]{Test}[T.]{}{Test} \pubyear{2012} \arttitle{Test} \journal{Test}

Re: [NTG-context] writing a label with a subscript in MetaFun.

2011-04-19 Thread Zhichu Chen
try label (textext($z_{ decimal (i) }$ ), z[i]) ; On Wed, Apr 20, 2011 at 10:03 AM, Jeong Dalyoung hak...@me.com wrote: Dear all, I'd like to write a label with a subscript in MetaFun where the subscript is a variable. I tried in several way but not succeed. The best which I made is

[NTG-context] What is the luatex version of \pdfescapehex

2010-01-05 Thread Zhichu Chen
Hi, I've written a very old module which used a lot of pdf primitives like \pdfescapehex and \pdfescapename etc. and it turns out not they don't work in mkiv. So I just want to know are there any alternatives? TIA -- Best Regards Chen

Re: [NTG-context] What is the luatex version of \pdfescapehex

2010-01-06 Thread Zhichu Chen
Thank you Hans, On Wed, Jan 6, 2010 at 4:38 PM, Hans Hagen pra...@wxs.nl wrote: On 6-1-2010 2:33, Zhichu Chen wrote: Hi, I've written a very old module which used a lot of pdf primitives like \pdfescapehex and \pdfescapename etc. and it turns out not they don't work in mkiv. So I just

Re: [NTG-context] What is the luatex version of \pdfescapehex

2010-01-06 Thread Zhichu Chen
Sorry to my previous posts. I found a LaTeX package named pdftexcmds and the lua script works just fine. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Math in MKIV - HOWTO (was: Lucida Fonts with MKIV)

2010-02-23 Thread Zhichu Chen
Thanks for the guidance, I finally get my Lucida Math work. After the \showfont step, I found that I didn't have the tex-ma vector font, and the last two lines in math-vfu.lua should be changed to: { name = hlcra.tfm, vector = tex-mb }, { name = hlcrm.tfm, vector = tex-mi }, in my case.

Re: [NTG-context] Math in MKIV - HOWTO

2010-02-24 Thread Zhichu Chen
On Wed, Feb 24, 2010 at 6:24 PM, Hans Hagen pra...@wxs.nl wrote: On 24-2-2010 10:01, Hans Hagen wrote: i uploaded a beta with mkiv lbr vectors (quick and dirty conversion hackery) \usemodule[fnt-25] \starttext    \setupbodyfont[lucida,12pt]    \showmathfontcharacters \stoptext up to

Re: [NTG-context] Math in MKIV - HOWTO

2010-03-01 Thread Zhichu Chen
Hi, I got some time today and checked some symbols of hlcra.tfm (LucidaNewMath-Arrows), and got this table: fonts.enc.math[lucida-ma] = { [0x025CB] = 0x00, -- circle [0x025CF] = 0x01, -- blackcircle [0x025A1] = 0x02, -- square

Re: [NTG-context] Math in MKIV - HOWTO

2010-03-01 Thread Zhichu Chen
Correction: [0x021D5] = 0x65, -- Downrightarrow It's wrong, should be: [0x021D8] = 0x65, -- Downrightarrow On Tue, Mar 2, 2010 at 12:26 AM, Zhichu Chen zhichu.c...@gmail.com wrote: Hi, I got some time today and checked some symbols of hlcra.tfm (LucidaNewMath-Arrows), and got this table

Re: [NTG-context] Math in MKIV - HOWTO

2010-03-02 Thread Zhichu Chen
On Tue, Mar 2, 2010 at 6:45 PM, Hans Hagen pra...@wxs.nl wrote: On 1-3-2010 17:26, Zhichu Chen wrote: Hi, I got some time today and checked some symbols of hlcra.tfm (LucidaNewMath-Arrows), and got this table: so that table replaces lbr-ma in math-vfu? yes. And don't forget the correction

Re: [NTG-context] Math in MKIV - HOWTO

2010-03-02 Thread Zhichu Chen
On Tue, Mar 2, 2010 at 11:23 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Tue, Mar 2, 2010 at 15:28, Hans Hagen wrote: On 2-3-2010 14:49, Mojca Miklavec wrote: hm, but for me name compatibility with every latex math package is no objective; i'd rather that we're unicode math

Re: [NTG-context] PDF Custom Page Numbering

2010-06-10 Thread Zhichu Chen
On Thu, Jun 10, 2010 at 12:35 PM, Aditya Mahajan adit...@umich.edu wrote: On Wed, 9 Jun 2010, Hartmut Henkel wrote: On Wed, 9 Jun 2010, Andreas Schneider wrote: while reading through the PDF to ISO-9075-1 (SQL99), I noticed something I had never seen before in a PDF: the page numbers

Re: [NTG-context] Simplefonts

2013-10-12 Thread Zhichu Chen
Hi Wolfgang, Good to know that, but I might have some questions. On Fri, Oct 11, 2013 at 2:02 AM, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Hi all, I’m happy to announce a new version of the simplefonts code. Thew new version of the code is a complete rewrite and brings many

Re: [NTG-context] Simplefonts

2013-10-13 Thread Zhichu Chen
On 10/13/2013 01:39 AM, Wolfgang Schuster wrote: Am 12.10.2013 um 15:04 schrieb Zhichu Chen zhichu.c...@gmail.com mailto:zhichu.c...@gmail.com: Hi Wolfgang, Good to know that, but I might have some questions. On Fri, Oct 11, 2013 at 2:02 AM, Wolfgang Schuster wolfgang.schus...@gmail.com

[NTG-context] Weird page numbering

2014-01-12 Thread Zhichu Chen
minimal code: === \setuppagenumbering[alternative=doublesided] \starttext \startstandardmakeup TITLE \stopstandardmakeup \startfrontmatter \chapter{Preface} \completecontent[criterium=all] \stopfrontmatter \stoptext

<    1   2   3   >