[NTG-context] Spacing between formula and texts

2007-09-19 Thread Zhichu Chen
Hi, I happened to review the output of my article and found one thing which is not perfect for me. The spacing between a formula and its upper texts is not treated well when I tuned with some indent things. Here is my test file \usemodule[units]

Re: [NTG-context] Spacing between formula and texts

2007-09-19 Thread Zhichu Chen
Hi Wolfgang, On 9/20/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Wed, 19 Sep 2007 23:30:26 +0800 Zhichu Chen [EMAIL PROTECTED] wrote: \usemodule[units] \setupindenting[big] \indenting[always,next] % no, not, yes, always, never, first, next % \setupformulas[spacebefore=5em

Re: [NTG-context] indent and blank question

2007-09-19 Thread Zhichu Chen
Hi frantisek, On 9/20/07, frantisek holop [EMAIL PROTECTED] wrote: hi there, i am working on a book format document using: \setupindenting[medium,yes] so the parapgrahps have no whitespace between but the first line of the next paragraph is indented. as is customary, i would like to

[NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-10 Thread Zhichu Chen
Hi, I searched the mail list for a while and I got that if I didn't specify the font file, it will not be embeded and Acrobat Reader will just use its own fonts to show the characters. I want to make some Chinese documents and I think if I don't embed any fonts, it will be much smaller than it

Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-10 Thread Zhichu Chen
Hi, Wolfgang On Dec 11, 2007 12:05 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/12/10, Zhichu Chen [EMAIL PROTECTED]: Hi, Hi Chen, can't you ue XeTeX or LuaTeX for your document instead of pdfTeX, it will be easier for you because you don't need tfm and map files and you need

Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-10 Thread Zhichu Chen
On Dec 11, 2007 12:37 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Dec 10, 2007 4:58 PM, Zhichu Chen wrote: And the second column is for the PS name of the font. I really don't know how to write it because it has spaces in it, and when I replaced it with another PS name that has

Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Zhichu Chen
Hi guys, Maybe this post has gone too far, and I've tried a bunch of methods to get my map work. Anyway, I can't. And there's something I must say, why pdftex must embed the whole otf file? It's about 15M for my only-one-character test file and about 20M for my another only-two-characters test

Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Zhichu Chen
Hi Wolfgang, On Dec 13, 2007 7:17 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/12/13, Zhichu Chen [EMAIL PROTECTED]: Hi guys, Maybe this post has gone too far, and I've tried a bunch of methods to get my map work. Anyway, I can't. And there's something I must say, why pdftex

Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-13 Thread Zhichu Chen
Thanks Hans. Do you have any comments about how to now embed the standard Adobe CJK fonts? On Dec 13, 2007 8:25 PM, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi guys, Maybe this post has gone too far, and I've tried a bunch of methods to get my map work. Anyway, I can't

Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-16 Thread Zhichu Chen
: Zhichu Chen wrote: Thanks Hans. Do you have any comments about how to now embed the standard Adobe CJK fonts? you can split up the ttf file in smaller pfb files matching the tfm's Hans

Re: [NTG-context] What's the ps_name of AdobeMingStd-Light?

2007-12-16 Thread Zhichu Chen
Hi Wolfgang, On Dec 14, 2007 6:24 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/12/14, Hans Hagen [EMAIL PROTECTED]: Zhichu Chen wrote: Hi Wolfgang, On Dec 13, 2007 7:17 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/12/13, Zhichu Chen [EMAIL PROTECTED]: Hi

[NTG-context] Placing meaningful footnotes

2007-12-17 Thread Zhichu Chen
Hi everybody, Right now I'm writing an article and in the title's block I wanna thank somebody and in the authors' block I wanna display the email addresses. And I want them done with footnotes with set 2 conversion. When I use ===

Re: [NTG-context] Placing meaningful footnotes

2007-12-18 Thread Zhichu Chen
] wrote: 2007/12/17, Zhichu Chen [EMAIL PROTECTED]: Hi everybody, Right now I'm writing an article and in the title's block I wanna thank somebody and in the authors' block I wanna display the email addresses. And I want them done with footnotes with set 2 conversion. When I use

Re: [NTG-context] Placing meaningful footnotes

2007-12-19 Thread Zhichu Chen
On Dec 19, 2007 7:54 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/12/18, Zhichu Chen [EMAIL PROTECTED]: Thanks Wolfgang, I looked at the source a little bit but all macros are defined with insertion and I don't know how to make them share a same counter. Maybe we need a new

Re: [NTG-context] Placing meaningful footnotes

2007-12-19 Thread Zhichu Chen
On Dec 19, 2007 10:06 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: You try to start with these moduls and adapt it to the note machanism. Yes, I would love to do that. But I have some politics things to read. I have to remember them in one month. So please forgive my laziness. After

[NTG-context] A ruby script to create the font for Chinese fonts

2007-12-20 Thread Zhichu Chen
Hi, Although Hans has made the perfect ruby script ttf2uni.rb that meets most of our needs, I just found that sometimes embedding ttf files is very very slow, so I made some tiny modifications on it. It will convert an oft file to a ttf file if no ttf files are found in the names of the

Re: [NTG-context] A ruby script to create the font for Chinese fonts

2007-12-20 Thread Zhichu Chen
Oops, seems that I've accidentally sent an old one. On Dec 21, 2007 8:45 AM, Zhichu Chen [EMAIL PROTECTED] wrote: Hi, Although Hans has made the perfect ruby script ttf2uni.rb that meets most of our needs, I just found that sometimes embedding ttf files is very very slow, so I made some

[NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
Hi Hans and Wolfgang, I'm just trying to make some illustrations about the Chinese typesetting features. So I choose the way which is described in Chapter 5 of the metafun manual. And I wanna draw a line from the text I wanna comment on to the marginal notes which my comments lay on. To

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
:45 AM, Zhichu Chen [EMAIL PROTECTED] wrote: Hi Hans and Wolfgang, I'm just trying to make some illustrations about the Chinese typesetting features. So I choose the way which is described in Chapter 5 of the metafun manual. And I wanna draw a line from the text I wanna comment

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
On Jan 7, 2008 9:41 PM, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Oh, by the way, if I put \fpos at the beginning of a paragraph, it adds an extra blank line. I have to force it to the horizontal mode like: \leavevmode\fpos{A-1} . . . \tpos{A-1} \dontleavehmode \fpos

Re: [NTG-context] Weird behavior about metafun

2008-01-07 Thread Zhichu Chen
On Jan 7, 2008 11:52 PM, Aditya Mahajan [EMAIL PROTECTED] wrote: On Mon, 7 Jan 2008, Zhichu Chen wrote: Hi Hans and Wolfgang, I'm just trying to make some illustrations about the Chinese typesetting features. So I choose the way which is described in Chapter 5 of the metafun manual

Re: [NTG-context] Weird behavior about metafun

2008-01-08 Thread Zhichu Chen
Hi, On Jan 7, 2008 11:52 PM, Aditya Mahajan [EMAIL PROTECTED] wrote: Something like this: http://www.fauskes.net/media/pgftikzexamples/PDF/todo-notes.pdf It will be nice to have a ConTeXt module that can do this. I've made a test file which is somewhat like what it shows, but I still

Re: [NTG-context] Weird behavior about metafun

2008-01-08 Thread Zhichu Chen
Pretty cool! I knew ConTeXt can do it and thank you Hans for teaching me so much. Hi Arthur, I'm suffering a network problem so sometimes mails may no be delivered correctly. But ignore my test file and get Hans' one. On Jan 9, 2008 1:04 AM, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen

Re: [NTG-context] mktexlsr in minimals

2008-01-22 Thread Zhichu Chen
Hi Jean, That happened to me once too. I change the cases of the file names and module names, say from like MyModule to mymodule, and somehow pdftex could find it. I don't know whether it could be any useful to change your module's name to lower case. On Jan 23, 2008 1:33 AM, Jean Magnan de

[NTG-context] JavaScript conflicts

2008-01-22 Thread Zhichu Chen
Hi, I was trying to make a report for my job last year. I did some javascript things to put a clock at each page of my presentation to make sure I'll finish it in time. But I found some tricky conflicting between my script and the one in java-stp.tex OK, here is my test file (it's a little too

[NTG-context] Converting counters?

2008-04-01 Thread Zhichu Chen
Hi, I'm trying to convert the counter to Chinese character one on one, like 0-a, 1-b, etc., so 10 will be ba (I use a, b, c, . . . to denote the Chinese glyphs which makes more sense for you). I used some codes like: == \def\ChineseZero {o}

Re: [NTG-context] Converting counters?

2008-04-01 Thread Zhichu Chen
with English. Anyway, I'd love to learn something rather than to use something. Thanks. On Tue, Apr 1, 2008 at 3:41 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Hi Chen, You could use \chinesenumber from font-chi.tex Wolfgang On Tue, Apr 1, 2008 at 9:18 AM, Zhichu Chen [EMAIL PROTECTED

Re: [NTG-context] Converting counters?

2008-04-01 Thread Zhichu Chen
Thanks Wolfgang, it's perfect. On Tue, Apr 1, 2008 at 5:04 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Tue, Apr 1, 2008 at 10:49 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Tue, Apr 1, 2008 at 9:56 AM, Zhichu Chen [EMAIL PROTECTED] wrote: Yes, only I don't need that complex

Re: [NTG-context] ConTeXt Manual Source

2008-04-18 Thread Zhichu Chen
This? http://context.aanhet.net/svn/ On Thu, Apr 17, 2008 at 9:25 PM, Browder, Tom [EMAIL PROTECTED] wrote: Are the sources for the ConTeXt manuals publicly available? If not, are you willing to show how the beautiful contents and section headings are defined for ConTeXt: the manual?

[NTG-context] How to define my own list entry?

2008-05-06 Thread Zhichu Chen
Hi everybody, I'm just writing a module to typeset the traditional Chinese books. Here is the thing: I use page-arrangement to put like 15 pages on one page or actually 30 pages on one page in a double-sided mode (I mean page 1 and page 2---which contain 15 mini-pages each---are on the same

Re: [NTG-context] How to define my own list entry?

2008-05-07 Thread Zhichu Chen
, 2008 at 4:55 AM, Zhichu Chen [EMAIL PROTECTED] wrote: Hi everybody, I'm just writing a module to typeset the traditional Chinese books. Here is the thing: I use page-arrangement to put like 15 pages on one page or actually 30 pages on one page in a double-sided mode (I mean page 1 and page

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

2008-09-27 Thread Zhichu Chen
Hi, It is said that Asymptote has supported PRC format 3D file: http://asymptote.sourceforge.net/gallery/3D%20graphs/ I really wanna give it a try, but once I was building from the svn source, I was told that I don't have LaTeX in my $PATH. I haven't really been using LaTeX for a long time, and

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

2008-09-28 Thread Zhichu Chen
Hi, Alan Thank you for your attention, but I don't need the psedu-3D effect. Asymptote could create real 3D file which pdf has supported since, maybe, version 1.5. On Sun, Sep 28, 2008 at 10:19 PM, Alan BRASLAU [EMAIL PROTECTED] wrote: On 2008-09-28 04:35 Zhichu Chen wrote: It is said

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

2008-09-29 Thread Zhichu Chen
Hi Yue, On Mon, Sep 29, 2008 at 1:57 PM, Yue Wang [EMAIL PROTECTED] wrote: Hi, Zhichu: $n$ years ago ($n\geq 2$), some user had successfully embed a u3d format file into pdf using ConTeXt with the instruction from Hans. I think the module is still there. Maybe you can have a look. In fact

[NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-21 Thread Zhichu Chen
Hi, I wrote some CJK vertical typesetting macros in mkii a long time ago and I want to adopt it to mkiv. Sadly the \iftracechinese is gone. Can I still draw boxes of each glyph to see if they are aligned in my way? Drawing a line in the background is so not cool. -- Best Regards Chen

Re: [NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-21 Thread Zhichu Chen
Interesting, so I guess I should write some lua code? Since I have little experience in that area, could you provide a minimal example just to show me how to draw the baseline of each glyph? Thanks On Thu, Dec 22, 2011 at 6:47 AM, Hans Hagen pra...@wxs.nl wrote: mkiv does things completely

Re: [NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-28 Thread Zhichu Chen
.next = k5 k5.prev = r4 local box = node.hpack(k1) local tb = node.vpack(box) insert_after (head, n, tb) = On Thu, Dec 22, 2011 at 6:47 AM, Hans Hagen pra...@wxs.nl wrote: On 21-12-2011 12:16, Zhichu Chen wrote: Hi

Re: [NTG-context] Is there a replacement for \tracechinesetrue in mkiv?

2011-12-30 Thread Zhichu Chen
On Thu, Dec 29, 2011 at 10:18 PM, Hans Hagen pra...@wxs.nl wrote: On 29-12-2011 04:22, Zhichu Chen wrote: All right, after some readings, I came out with a node solution. The major idea is listed below and works just fine. n from node_traverse (head) and n.id

[NTG-context] How to display JavaScript's values in ConTeXt

2006-09-04 Thread Zhichu Chen
Hello everybody, I want to add a clock which shows the system time to a pdf file. And I have read the ``art-calc.pdf'' and ``mwidget-p.pdf'' to find some approaches but failed shamely. I am indeed new at ConTeXt and JavaScript. Before I'm shocked by ConTeXt, I used LaTeX for about 2 years, so

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Zhichu Chen
list for ConTeXt users ntg-context@ntg.nl Date: Tue, 05 Sep 2006 11:42:44 +0200 Subject: Re: [NTG-context] How to display JavaScript's values in ConTeXt Zhichu Chen wrote: Hello everybody, I want to add a clock which shows the system time to a pdf file. And I have read the ``art-calc.pdf

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-05 Thread Zhichu Chen
list for ConTeXt users ntg-context@ntg.nl Date: Tue, 05 Sep 2006 11:42:44 +0200 Subject: Re: [NTG-context] How to display JavaScript's values in ConTeXt Zhichu Chen wrote: Hello everybody, I want to add a clock which shows the system time to a pdf file. And I have read the ``art-calc.pdf

Re: [NTG-context] How to display JavaScript's values in ConTeXt

2006-09-06 Thread Zhichu Chen
-- From: Peter Rolf [EMAIL PROTECTED] To: mailing list for ConTeXt users ntg-context@ntg.nl Date: Wed, 06 Sep 2006 12:06:02 +0200 Subject: Re: [NTG-context] How to display JavaScript's values in ConTeXt Zhichu Chen wrote: . . . First thing to say: I'm also a javascript beginner (used it only once!), so

[NTG-context] Install New Chinese Fonts on ConTeXt using UTF8

2006-09-18 Thread Zhichu Chen
Hello everybody, Time to disturb you again. :) I've search the maillist and the internet to find a solution, but all are about htsong.ttf, htfs.ttf, etc. In fact, I don't think these fonts are nice. I download some other beautiful free fonts and use Hans' ``ttf2uni.rb'' to create the tfm

[NTG-context] Texts after typing environment

2006-09-27 Thread Zhichu Chen
Hello everybody, If I type: --- \starttyping some verbatim texts \stoptyping does ConTeXt treat it as a complete paragraph? In LaTeX, when I type: -- \begin{verbatim} some

Re: [NTG-context] Texts after typing environment

2006-09-28 Thread Zhichu Chen
I've already solved it now. Just \setuptyping[after=\noindent] is perfectly for me. Thank you anyway. On 9/29/06, Mojca Miklavec [EMAIL PROTECTED] wrote: On 9/27/06, Zhichu Chen wrote: Hello everybody, If I type: --- \starttyping some

[NTG-context] Can ConTeXt make dynamic barcoded forms?

2006-10-10 Thread Zhichu Chen
Hi everyone, I've seen some marvelous samples on Adobe' official site about dynamic barcoded forms using XML: http://www.adobe.com/products/server/barcodedpaperforms/pdfs/sample_barcoded_demo.pdf can someone tell me that is it possible to build such pdfs using ConTeXt? Yours, Chen

Re: [NTG-context] Can ConTeXt make dynamic barcoded forms?

2006-10-10 Thread Zhichu Chen
Thank you misters, Drawing static barcodes is very easy, but I really like the dynamic barcoded forms. I've downloaded some examples which is written in java, and it says that it uses XML. I've heard that ConTeXt can use XML but when I've finished reading the example.pdf (it is talking about XML

[NTG-context] Any idea about copy or clone fieldstack?

2006-10-17 Thread Zhichu Chen
Hello everyone, I want to display dynamic system time on each page of my presentation. Displaying system time can be manipulated by _javascript_ but, a field can beshown only once. So I used clone field and it works very well for me. But when I want to change the font (xxx presents the variable

Re: [NTG-context] Any idea about copy or clone fieldstack?

2006-10-19 Thread Zhichu Chen
Thank you very much Peter On 10/19/06, Peter Rolf [EMAIL PROTECTED] wrote: Hi Chen,Have you tried the method described on page 402-403 of the Acrobat_javascript_ Scripting Reference ( AcroJS.pdf, 27.06.2005)? Search forUse of arbitrary fonts.If I understand it right, all you need is the *right

[NTG-context] Chemical structure formula flows out

2006-11-09 Thread Zhichu Chen
Hello I've been studying PPCHTEX these days, it's very powerful, and I cannot control it well. I just wrote a chemical struture like: \startchemical [size=small,scale=small,width=fit,height=fit,frame=on] \chemical[SIX,SB13456,DB2,Z] [C,C,C,C,C,C]

Re: [NTG-context] Chemical structure formula flows out

2006-11-14 Thread Zhichu Chen
It sounds so cool! I love metapost. On 11/14/06, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hello I've been studying PPCHTEX these days, it's very powerful, and I cannot control it well. I just wrote a chemical struture like: \startchemical [size

[NTG-context] Still have no idea about how to specify fonts in JavaScript fields.

2006-11-22 Thread Zhichu Chen
Hello everyone, Thanks for suggesting some great documents last time. But after looking up in AcroJS Guide, and PDF Reference , etc., I still don't know how can I use special fonts in a JavaScript field. My JS code is:

Re: [NTG-context] How tow setup different fonts for Chinese and English ?

2006-12-01 Thread Zhichu Chen
use \setupbodyfont[your-english-font] after you use chinese module On 12/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm writing notes with ConTeXt while learning something. The notes contains both English and Chinese. My question is ,how to setup different fonts for English and

Re: [NTG-context] background music in ConTeXt

2006-12-14 Thread Zhichu Chen
\setupinteraction [openaction= . . . ] On 12/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, How to set background music in a presentation ? I mean, I want the audio to start automatically as a background when the pdf file is opened, not as a hyper link. Thanks a lot. xiaojf

Re: [NTG-context] background music in ConTeXt

2006-12-14 Thread Zhichu Chen
have a test. On 12/15/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Zhichu Chen wrote: \setupinteraction [openaction= . . . ] On 12/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks. Can you just give a simple example ? Regards, xiaojf

Re: [NTG-context] Something about vertical Chinese typesetting

2006-12-20 Thread Zhichu Chen
Lemberg who is german too. On 12/20/06, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Mon, 18 Dec 2006 19:02:43 +0800 Zhichu Chen [EMAIL PROTECTED] wrote: Hi Zhichu Chen, Dear Texers, I am typesetting some traditional Chinese articles. They are typesetted in vertical, and the reading

Re: [NTG-context] ' undefined inside \startformula .. \stopformula

2006-12-26 Thread Zhichu Chen
Hi Aditya, I've copied your codes and replaced the original ones with them, but I failed when I make the formats: texexec --make --all It gives me the following message: ---

Re: [NTG-context] Newbie: font sizes

2006-12-28 Thread Zhichu Chen
Hi, Elliot Is this what you want: \switchtobodyfont[*dimen*] It's in the user's manual---cont-enp.pdf---rather than in the fonts manual On 12/29/06, Elliot Clifton [EMAIL PROTECTED] wrote: Hello, I've read the fonts manual, but I don't understand how to change sizes. How can I change the

[NTG-context] macro \verticalchineseunicodeglyph may not satisfy the vertical Chinese typeset

2006-12-30 Thread Zhichu Chen
Hi, ConTeXters I'm playing some Chinese vertical typesetting. Mr. Wolfgang Shuster helps me a lot about it. In vertical typesetting, the top of each leading Chinese characters at each column are aligned horizontally. But if we changed the size of the bodyfont of some characters and they could

[NTG-context] How to use columns inside another column?

2007-01-14 Thread Zhichu Chen
Hi everybody I used --- \definecolumnset[example][n=2] \definecolumnset[innerexample][n=2] \starttext \startcolumnset[example] \dorecurse{15}{\input knuth\par} \startcolumnset[innerexample] \input knuth\par \stopcolumnset \dorecurse{15}{\input knuth\par}

Re: [NTG-context] How should I config the ConTeXt in order to use utf-8 encoding chinese characters?

2007-01-15 Thread Zhichu Chen
Hi, Hongyi There is a small example, it should work if your fonts are configured properly: -- \enableregime [utf] \usemodule [chi-00] \starttext 你好 \stoptext - On 1/16/07, Hongyi Zhao

Re: [NTG-context] How to use columns inside another column?

2007-01-16 Thread Zhichu Chen
now reading the page-mul.tex. It is a long and confusing file---I'm wondering how Hans and other guys wrote such long files that hardly had a bug---but I really hope I can get some tricks from it. On 1/16/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Tue, 16 Jan 2007, Zhichu Chen wrote: Hi

Re: [NTG-context] How to use columns inside another column?

2007-01-16 Thread Zhichu Chen
for the current column. Is there any primitives just behavior like \pagegoal? Best regards On 1/16/07, Taco Hoekwater [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi, Can anybody give me a hand now? There are too many source files in ConTeXt and I don't even know which file will give me a hint

Re: [NTG-context] How to use columns inside another column?

2007-01-16 Thread Zhichu Chen
. Best regards to you On 1/16/07, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Thanks, Mr. Hoekwater If the texts are short, say they won't go to the next column, they could be stored into a \vbox whose \hsize is half of the width of current column (maybe less) and \vsplit

Re: [NTG-context] How to use columns inside another column?

2007-01-16 Thread Zhichu Chen
will do. Thanks On 1/15/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi everybody I used --- \definecolumnset[example][n=2] \definecolumnset[innerexample][n=2] \starttext \startcolumnset[example] \dorecurse{15}{\input knuth\par} \startcolumnset[innerexample

Re: [NTG-context] How to use columns inside another column?

2007-01-25 Thread Zhichu Chen
what to do. Thanks On 1/16/07, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Thanks, Mr. Hoekwater If the texts are short, say they won't go to the next column, they could be stored into a \vbox whose \hsize is half of the width of current column (maybe less) and \vsplit

Re: [NTG-context] How to use columns inside another column?

2007-01-30 Thread Zhichu Chen
Sorry to have bothered you guys, I've solved my problem now. Thank you for your kind helps. -- Sincerely yours, Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading |

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-11 Thread Zhichu Chen
Hi everybody, Does this only happen to me? On 2/9/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi there, Just a testing code: = \setupcolors [state=start] \definecolor [testcolor] [r=1,g=.62,b=.0625] \starttext \startcolor [testcolor] \startcolumns

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-11 Thread Zhichu Chen
Anyway, if I put some one-columned texts at the top of the first page, only the first page acts correctly. So I'm thinking can we put some one-columned empty boxes into the \output routine or something? -- Sincerely yours, Chen

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-11 Thread Zhichu Chen
Thank you Rolf, Since there is no official patch to the problem, I'll use my dirty way and just wait Hans and Taco to solve it. On 2/11/07, Peter Rolf [EMAIL PROTECTED] wrote: Hi Chen, Zhichu Chen wrote: Hi everybody, Does this only happen to me? No, same problem here. The left column

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-12 Thread Zhichu Chen
Cool! It works. Thanks, everybody. On 2/12/07, Hans Hagen [EMAIL PROTECTED] wrote: Peter Rolf wrote: Hi Chen, Zhichu Chen wrote: Hi everybody, Does this only happen to me? No, same problem here. The left column is black, the right one has the desired color. But I have no solution

Re: [NTG-context] How to set page background?

2007-02-28 Thread Zhichu Chen
} \stoptext and it appears nothing changed. So I wonder if you could look it up again for me. Thank you On 2/28/07, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi there, I know there is a command \setupbackgrounds[page][background

Re: [NTG-context] How to set page background?

2007-03-01 Thread Zhichu Chen
Thanks, Mojca. It's cool. On 3/2/07, Mojca Miklavec [EMAIL PROTECTED] wrote: On 2/28/07, Zhichu Chen [EMAIL PROTECTED] wrote: Thanks Hans, But actually, I've tried it before I asked. I just modified your code from cont-enp.pdf: + \setuppapersize

[NTG-context] How to split margin note to the next page?

2007-03-03 Thread Zhichu Chen
Hi, everybody Thank you for having helped me before, and I have a new problem here. When I was writing an article, I used margin to give some explanations. But the margin note is very very long, and eventually it appeares near the bottom of a page. So the output is awful, like:

[NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen
Hi everyone, I just wrote a small test file: === \starttext \dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input knuth\endgraf} \stoptext === You can see that the in-margin figures do push the main texts away. How can I do with that?

Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen
Oh, by the way, it's very complex in my situation. So I don't really want to use the \usemodule[streams] Thanks On 3/13/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi everyone, I just wrote a small test file: === \starttext \dorecurse{10}{\placefigure[inright

Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen
Thank you very much Wolfgang I didn't test this setup because I thought it has the same effect as the inright option of \placefigure. I'm so sorry. On 3/13/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/3/13, Zhichu Chen [EMAIL PROTECTED]: Hi everyone, I just wrote a small test

Re: [NTG-context] Equivalent to \settowidth

2007-03-14 Thread Zhichu Chen
Hi, Robin I think you can include the texts in an \hbox and use \wd?? to get its width On 3/14/07, Robin Kirkham [EMAIL PROTECTED] wrote: Hi all, Is there a ConTeXt equivalent to LaTeX \settowidth{}, or better still some macro I can do things like \setupsomething[ ...

[NTG-context] How to include unicode characters in a comment?

2007-03-15 Thread Zhichu Chen
Hi When I'm using === \setupinteraction [state=start] \enableregime [utf] \usemodule [chi-00] \starttext \startcomment[中文] 中文 \stopcomment 中文 \stoptext === and use Adobe Reader v7 to view the output file. The comment only shows

Re: [NTG-context] page numbering in words?

2007-03-28 Thread Zhichu Chen
\defineconversion [numstring][\numstr] \setuppagenumbering[conversion=numstring] On 3/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On 2007-03-26, at 17:39.0, [EMAIL PROTECTED] wrote: is it possible to adjust options so as to get page numbering done in words? Eg one two .

Re: [NTG-context] page numbering in words?

2007-03-28 Thread Zhichu Chen
Hi, cormullion I modified Wolfgang's macro as the attached file. But I'm really not a native American, so there must be some special rules that I've ignored. Wish you good luck. On 3/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, Wolfgang and Zhichu. I've managed to get it

Re: [NTG-context] Section title font define

2007-04-03 Thread Zhichu Chen
Hi Roy, I think these little will do what you want: \setupbodyfont [11pt] file://\\definebodyfont[11pt][rm][tff=Regular \definebodyfont[11pt][rm][tff=Regular at 18pt] \setuphead [chapter] [textstyle=\tff, numberstyle=\tff]

Re: [NTG-context] Scite folding

2007-04-05 Thread Zhichu Chen
Hi Idris, AFAIK, one can modify one of the source files --- LEXTeX.cxx --- and compile it again. But I'm sure there should be some more sophisticate way. On 4/5/07, Idris Samawi Hamid [EMAIL PROTECTED] wrote: Dear syndicate, Can Scite be configured for folding based on TeX keywords, or is

[NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-10 Thread Zhichu Chen
Hi everybody, Since \inmargin won't break through pages and I've tried everything but still can't make it, I bended. Now I want to comment some words with \pdfannot. It seems that this command don't support Chinese very well, the annotations appeared like lookaheaduchar 73 and something. Then I

[NTG-context] default pdf version in the current ConTeXt release

2007-04-11 Thread Zhichu Chen
Hi, I don't know if it occurs to you ever, but once I update ConTeXt to the current release, my pdf file could be opened by Acrobat reader and shows several blank pages. But Foxit reader seems take it pretty well and everything is showed like I imaged. I'm using Windows by the way. Before I

Re: [NTG-context] default pdf version in the current ConTeXt release

2007-04-11 Thread Zhichu Chen
Hi, Aditya I'm using Adobe Reader v7.0.9 now. About several days ago, I upgraded it from, maybe, v7.0.5 and it displayed my pdf quite well. Maybe there's something wrong with the libraries. On 4/11/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Wed, 11 Apr 2007, Zhichu Chen wrote: Hi, I

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-13 Thread Zhichu Chen
Hi I've been looking at some core codes and the PDF reference, still have no idea. Somehow, I was told that LaTeX can do such things using hyperref package and \pdfstringdef\temp{???}, then \pdfannot{... /Contents(\temp) ...} should be OK. On 4/11/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi

[NTG-context] using of field failed when arrange subpages

2007-04-15 Thread Zhichu Chen
Hi, I've tried Hans' example introduced at mwidget-p.pdf, it's perfect. But when I was trying some subpage arrangements, it just failed. How could it happen? I guess either shiping out subpages forget the fields or something has covered over them. Here's a small example (by the way, I don't

Re: [NTG-context] using of field failed when arrange subpages

2007-04-16 Thread Zhichu Chen
}] the fields are shown and fail to hide now. I think it can be a bug. I'm still looking for a solution but I'm new to ConTeXt. I hope you can help me with it. Any suggestion will be OK. On 4/16/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi, I've tried Hans' example introduced at mwidget-p.pdf

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Zhichu Chen
there's a more clever way that I don't need to copy such long codes to my source file. On 4/17/07, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi I've been looking at some core codes and the PDF reference, still have no idea. Somehow, I was told that LaTeX can do such things using

Re: [NTG-context] using of field failed when arrange subpages

2007-04-17 Thread Zhichu Chen
Thank you any way. I hope it won't be a problem one day. On 4/17/07, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Hi, I've tried Hans' example introduced at mwidget-p.pdf , it's perfect. But when I was trying some subpage arrangements, it just failed. How could it happen? I

Re: [NTG-context] \pdfannot and \tooltip won't work with Chinese characters

2007-04-17 Thread Zhichu Chen
Hi, Hans It may be useless, but I really hope I can pass some options to the comment. e.g., use \comment[color=blue][title]{some contents} will make some contents blue. So I think we can use /RC instead of /Contents. On 4/17/07, Hans Hagen [EMAIL PROTECTED] wrote: Zhichu Chen wrote: Thanks

[NTG-context] Basic TeX question, how to redefine ^^M

2007-04-19 Thread Zhichu Chen
Hi everybody, I want to insert some special thing between every paragraph, e.g., I'd like to make each paragraph on seperated pages. Then I use: = \appendtoks\feedcurrentpage\to\everypar \def\feedcurrentpage{\page[yes]} = and ConTeXt

Re: [NTG-context] Basic TeX question, how to redefine ^^M

2007-04-19 Thread Zhichu Chen
Hi Aditya, Thank you for pointing out my foolish mistake. On 4/20/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Zhichu Chen wrote: Hi everybody, = \def\^^M{\endgraf\page[yes]} = nothing happened. So I'm lost. Can you tell me

Re: [NTG-context] Basic TeX question, how to redefine ^^M

2007-04-21 Thread Zhichu Chen
Thanks Hans, your code is fine too. On 4/20/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Zhichu Chen wrote: Hi Aditya, Thank you for pointing out my foolish mistake. Remember that this only works if each paragraph is a single line. See the output of \starttext

Re: [NTG-context] Basic TeX question, how to redefine ^^M

2007-04-22 Thread Zhichu Chen
= On 4/20/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Zhichu Chen wrote: Hi Aditya, Thank you for pointing out my foolish mistake. Remember that this only works if each paragraph is a single line. See the output of \starttext \catcode`\^^M=\active \def^^M{\page[yes

Re: [NTG-context] Basic TeX question, how to redefine ^^M

2007-04-24 Thread Zhichu Chen
to install the fonts, they are huge and messy. I think few of you are interested in it. On 4/23/07, Hans Hagen [EMAIL PROTECTED] wrote: Aditya Mahajan wrote: On Mon, 23 Apr 2007, Zhichu Chen wrote: Hi, Aditya I've made another definition, the output is OK, with some errors. Can you tell me

[NTG-context] How to assign \MPstring before creating page?

2007-04-26 Thread Zhichu Chen
Hi, everybody I want to use my titles as water marks. I've tried this small test file: = \setupcolors[state=start] \setuppagenumbering[location=] \setMPtext{titleentry}{xxx} \setuphead [title] [textcommand=\TITLE, page=right, before=, after=\blank,

Re: [NTG-context] How to assign \MPstring before creating page?

2007-04-26 Thread Zhichu Chen
Thanks anyway. \getmarking works fine, interesting On 4/26/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi, everybody I want to use my titles as water marks. I've tried this small test file: = \setupcolors[state=start] \setuppagenumbering[location=] \setMPtext

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

2007-04-27 Thread Zhichu Chen
Hi, everybody Based on the core codes of ConTeXt and all helps from you guys, I've almost finished a module that can typeset traditional Chinese books. I put an example on http://zhichu.chen.googlepages.com/chinesevertical I also made a first five chapters of a famous novel---Stone

  1   2   3   >