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 wrote: > > Am 25.05.2009 um 08:55 schrieb Zhichu Chen: > >> On Sun, May 24, 2009 at 6:36 PM, Hans Hagen wrote: >>> >>> something like state=once would be handy but i'm not going to touch that >>>

[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 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 u

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ünster wrote: > On Mon, 8 Jun 2009, Mojca Miklave

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. wrote: >  I have absolutely no knowledge of Chinese, b

[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 s

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

2009-06-23 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 Chen wrote: > Hi,

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 Hoekwater wrote: > C

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 cou

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

2009-06-24 Thread Zhichu Chen
On Wed, Jun 24, 2009 at 7:29 PM, Hans Hagen 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

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

2009-06-24 Thread Zhichu Chen
2s4939ac2foe7bfd783ad2e8...@mail.gmail.com>, >  Zhichu Chen 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 '

Re: [NTG-context] PDF Custom Page Numbering

2010-06-09 Thread Zhichu Chen
On Thu, Jun 10, 2010 at 12:35 PM, Aditya Mahajan 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 displayed >>

[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 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]. >> > > ==

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 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 >>

Re: [NTG-context] beta

2010-09-11 Thread Zhichu Chen
ally. Did I miss something? I've put the texmfcnf.lua under texmf/web2c. On Sat, Sep 11, 2010 at 12:19 PM, Zhichu Chen wrote: > > > On Fri, Sep 10, 2010 at 11:59 PM, Hans Hagen wrote: > >> On 10-9-2010 10:43, Zhichu Chen wrote: >> >>> My apology. I atta

[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 untouc

[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 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 o

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 : ntg-context@n

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 m

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

2010-02-24 Thread Zhichu Chen
On Wed, Feb 24, 2010 at 6:24 PM, Hans Hagen 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 othe

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 wrote: > Hi, I got some time today and checked some symbols of hlcra.tfm > (LucidaNewMath-Arrows), and got

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

2010-03-02 Thread Zhichu Chen
On Tue, Mar 2, 2010 at 6:45 PM, Hans Hagen 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

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

2010-03-02 Thread Zhichu Chen
On Tue, Mar 2, 2010 at 11:23 PM, Mojca Miklavec 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 compiant (and i don't ca

[NTG-context] \placenotes ends up in wrong place when mixing one- and two- column layouts.

2022-05-10 Thread Zhichu Chen via ntg-context
Thanks Hans, works perfectly. Sorry for the late reply. Still working on the template and got another one. Again, sorry. The journal is in two-column form and the title, authors, and addresses are spanned to the full width. Very common. But the title may acknowledge to some fund(s) and t

Re: [NTG-context] upload

2022-05-11 Thread Zhichu Chen via ntg-context
Hi Hans, Thanks for the update. But I noticed that the XITS fonts were still the old ones: zhichu@large /opt/context-lmtx/tex/texmf/fonts/opentype/public/xits $ fc-query -f '%{fontversion}\n' XITS-Regular.otf  | perl -E 'printf "%.3f\n", <>/65536.0'

[NTG-context] Can I just put a footnote without marking in the main text?

2022-05-17 Thread Zhichu Chen via ntg-context
Hi everybody, After some attempts to put footnotes in a mixed 1&2 columns layout, I decide to put marks in the one-column environment and flush them when entering the two-column environment. The code is ugly but the result is acceptable. Except that the invisible footnote marks do generate

<    1   2   3