[NTG-context] units module has bug with markIV?

2008-09-02 Thread Chen Shen
Hi all, \Micro in the units module failed, while \Nano and \Milli works fine. $\mu$ works, so it doesn't look like a font problem. The following code works with pdftex/MarkII, but fails under Luatex 0.29beta/MarkIV. \usemodule[units] \starttext Hello world! $1\Micro\Meter$ $1\Micro\Second$

Re: [NTG-context] units module has bug with markIV?

2008-09-19 Thread Chen Shen
Hi all, I wonder if anyone could help with this problem with Units in mkiv. Thanks a lot. regards, shenchen On Wed, Sep 3, 2008 at 9:36 AM, Chen Shen [EMAIL PROTECTED] wrote: Hi all, \Micro in the units module failed, while \Nano and \Milli works fine. $\mu$ works, so it doesn't look like

Re: [NTG-context] units module has bug with markIV?

2008-09-20 Thread Chen Shen
On Sat, Sep 20, 2008 at 6:28 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: And as an aside, it would be nicer to use U+00B5 (mu latin) in the units module instead of U+03BC (mu greek). \def\Micro {\dimensionprefix{\iftextdimensions u\else\hbox{µ}\fi}} The \hbox is needed because \fam11 is

[NTG-context] bug in mkiv - paragraph column in tables

2008-09-26 Thread Chen Shen
Hi all, The following simple table doesn't work right under mkiv. The baseline of the paragraph (2nd) column is much lower than other columns. The same code works fine under mkii. \showstructs shows the difference between the two, but I wasn't too sure how this should be fixed. Thank you.

Re: [NTG-context] bug in mkiv - paragraph column in tables

2008-09-26 Thread Chen Shen
[EMAIL PROTECTED] wrote: Chen Shen wrote: Hi all, The following simple table doesn't work right under mkiv. The baseline of the paragraph (2nd) column is much lower than other columns. The same code works fine under mkii. \showstructs shows the difference between the two, but I wasn't too

[NTG-context] Which version to use for MathML?

2012-12-01 Thread Chen Shen
Hi all, I tried a few mathml examples with 2012.05.30 and the latest beta (test script attached). The 20120530 version fails with eqn1, which uses presentation mathml, but works with eqn using content mathml. The latest beta generates doesn't work with either equations. I see a lot of mathml

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Chen Shen
Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something? None of the wiki verbatim examples worked for me. regards, shenchen On Mon, Sep 29, 2008 at 2:16 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote:

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-09-30 Thread Chen Shen
--- regards, shenchen On Wed, Oct 1, 2008 at 1:15 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Am 30.09.2008 um 18:37 schrieb Chen Shen: Hi Wolfgang, I guess you are referring to mkii features. It seems that formatting in verbatim doesn't work in mkiv yet, or did I miss out something

Re: [NTG-context] Listings (was: Experience on writing a thesis with MKIV)

2008-10-02 Thread Chen Shen
Hi all, Here is a simplistic C syntax highlighter. I hope I've extracted comments/strings/numerics (more or less) correctly. shenchen On Wed, Oct 1, 2008 at 11:44 AM, Chen Shen [EMAIL PROTECTED] wrote: Hi, Thanks for the pointers. It seems that the syntax-highlighter only need supply

Re: [NTG-context] bug in latest beta?

2008-11-10 Thread Chen Shen
Thanks a lot for the insights. I reverted to the 2008.10.31 version for the moment. shenchen On Mon, Nov 10, 2008 at 7:59 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: Am 10.11.2008 um 10:55 schrieb Chen Shen: Hi all, the following code used to work, but broke in the latest beta

[NTG-context] bug in latest beta?

2008-11-10 Thread Chen Shen
Hi all, the following code used to work, but broke in the latest beta. \at works well, but \in appears as a math member of set symbol ( ∈ ). \starttext \placefigure[here][abc]{xyz}{123} abc \at[abc]. abc \in[abc]. \stoptext I am using $

Re: [NTG-context] Maybe there is a bug in cross references with latest beta

2008-11-11 Thread Chen Shen
I encountered the same problem. Hans has fixed it in the latest beta. shenchen Chen Shen wrote: Hi all, the following code used to work, but broke in the latest beta. \at works well, but \in appears as a math member of set symbol ( ∈ ). \starttext \placefigure

[NTG-context] bug: \bot and \top in markiv

2008-11-20 Thread Chen Shen
Hi, A small problem: the definition of \bot and \top in math mode should be interchanged. Thanks. regards, shenchen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] beta

2009-03-14 Thread Chen Shen
Hi, I encounter the same problem with all Gyre fonts as well. I am using: MtxRun | current version: 2009.03.13 17:35 This is LuaTeX, Version snapshot-0.36.0-2009031418, build unknown BTW, the \Vert delimiter (double vertical bar) is missing. Regards, shenchen On Sat, Mar 14, 2009 at 6:20 PM,

Re: [NTG-context] beta

2009-03-14 Thread Chen Shen
\Umathchar \Vert -\Umathchar 0 0 2225 l.4 $\left\Vert x \right\Vert$ thanks a lot. regards, shenchen On Sun, Mar 15, 2009 at 12:44 AM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 14 Mar 2009, Chen Shen wrote: BTW, the \Vert delimiter (double vertical bar

[NTG-context] extra row at the end of matrix

2010-09-01 Thread Chen Shen
The matrix from the following example has an extra row at the end. = \starttext \startformula A = \startmatrix[left={\left(\,},right={\,\right)}] \NC 1 \NC 2 \NR \NC 3 \NC 4 \NR \stopmatrix \stopformula \stoptext = I am using mkiv version: MTXrun | current

[NTG-context] mathbold greek letters

2010-09-02 Thread Chen Shen
Hi all, First I admit that I've never understood the typescript part of ConTeXt... I've been using the following recipe for boldmath. The latin letters appears fine in bold italic font, but the greek letters do not appear. --- \definetypeface [boldmath] [mm] [boldmath]

Re: [NTG-context] mathbold greek letters

2010-09-02 Thread Chen Shen
Yes I use mkiv. Thanks for the hint. Will try opentype fonts later. shenchen On Thu, Sep 2, 2010 at 2:49 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 2 Sep 2010, Chen Shen wrote: Hi all, First I admit that I've never understood the typescript part of ConTeXt... I've been using

[NTG-context] multiple flow charts in the same document

2010-09-04 Thread Chen Shen
Hi all, I want to place multiple flow charts in the same document. However, connection comments displays correctly in the first chart, but disappears in the second chart. Below is a minimum example adapted from the wiki. I am using mkiv, MTXrun | current version: 2010.07.30 11:35 This is

Re: [NTG-context] vim syntax highlighting in MKIV

2010-09-04 Thread Chen Shen
Hi Aditya, Thanks for the great module! There is a problem using t-vim/t-filter with the current and beta versions of ConTeXt. I was trying the Matlab example (tests/vim/matlab.tex), ConTeXt complains that \startMATLAB is not defined, but the execution can continue, and the correct pdf is

Re: [NTG-context] extra row at the end of matrix

2010-09-04 Thread Chen Shen
I wonder if there is a quick fix or work-around for this? Thanks a lot! shenchen On Thu, Sep 2, 2010 at 2:40 PM, Aditya Mahajan adit...@umich.edu wrote: On Thu, 2 Sep 2010, Chen Shen wrote: The matrix from the following example has an extra row at the end. = \starttext

[NTG-context] problem with t-filter/t-vim

2010-10-19 Thread Chen Shen
Hi Adityam, I am using the t-filter/t-vim module, and got stuck with two problems with it. 1. everything works fine if there is only one \definevimtyping declaration. However, if i declare two of them, as in the following: %%% \definevimtyping[PythonCode][syntax=python]

[NTG-context] strange unknown reference problem

2009-09-07 Thread Chen Shen
Hi all, I got a strange unknown reference problem with the following simple example: % \starttext \placeformula[eq:haha] \startformula a^2 + d^2 = c^2 \stopformula haha \in[eq:haha] \stoptext % After 3 iterations, I saw this message in the log file: references

Re: [NTG-context] new beta

2009-09-09 Thread Chen Shen
Hi, There seems to be a new problem with mathalign, as in the minimal sample below: Thanks a lot. % \starttext \startformula \startalign \NC a \NC = b + c \NR \stopalign \stopformula \stoptext % Version: This is LuaTeX, Version beta-0.43.0-2009081911 ConTeXt ver: 2009.09.09

[NTG-context] possible to run minimal in cygwin?

2009-11-02 Thread Chen Shen
Hi all, I wonder if it possible to run the MSWin version of context-minimal under Cygwin. I want to use Makefile and other unix tools to automate my build process. I tried modifying the context/tex/setuptex script, and manually set the platform variable to mswin, but when I ran context.cmd, I

Re: [NTG-context] possible to run minimal in cygwin?

2009-11-02 Thread Chen Shen
-context-boun...@ntg.nl] *On Behalf Of *Chen Shen *Sent:* Monday, November 02, 2009 7:03 AM *To:* mailing list for ConTeXt users *Subject:* [NTG-context] possible to run minimal in cygwin? Hi all, I wonder if it possible to run the MSWin version of context-minimal under Cygwin. I want to use

[NTG-context] problem with mathaligned in MkIV

2009-11-04 Thread Chen Shen
Hi all, I was using the following macro from Aditya's Mathalign My Way. It worked great with MkII and old versions of MkIV. However, it failed in recent versions of MkIV (e.g. 2009.11.2). Apparently, the \makesectionnumber and \rawreference macros have be removed. I wonder if anyone can

Re: [NTG-context] problem with mathaligned in MkIV

2009-11-15 Thread Chen Shen
I tried the beta version of 2009.11.13. Seems that Hans has fixed this in MkIV. Thanks a lot, Aditya and Hans. best regards, shenchen On Thu, Nov 5, 2009 at 11:17 AM, Aditya Mahajan adit...@umich.edu wrote: On Wed, 4 Nov 2009, Aditya Mahajan wrote: On Thu, 5 Nov 2009, Chen Shen wrote: I

[NTG-context] bib module problem with mkiv

2009-11-20 Thread Chen Shen
Hi all, I was trying the following bib example on MkIV beta 2009.11.20 and luatex beta-0.44.0-2009103007. There isn't an apparent error message, but neither the bib reference or the publication list appears in the pdf. Observations: 1. In MkII, it works well. 2. In MkIV, if you use the

Re: [NTG-context] bib module problem with mkiv

2009-11-23 Thread Chen Shen
Hi all, I tried digging mailing list and the source file. I am afraid that the bibl-tra module has a few problems: == \usemodule[bibl-tra] \setupbibtex[database=xampl] \starttext \section{aaa} \cite[a] \placepublications \section{bbb} \cite[b] \placepublications \stoptext

Re: [NTG-context] definereferenceformat problem...

2009-11-24 Thread Chen Shen
I have the same problem with the latest mkiv beta (2009.11.25). left/right works fine, but text does not. regards, shenchen On Thu, Nov 12, 2009 at 1:26 AM, Bernhard Rosensteiner brosenstei...@gmail.com wrote: Hello, \definereferenceformat[fig][left=(, right=), label=reffigure,

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Chen Shen
Hi all, I wonder whether this issue with text in \definereferenceformat is a bug, or if I missed something. Thanks a lot. shenchen On Wed, Nov 25, 2009 at 9:50 AM, Chen Shen hashh...@gmail.com wrote: I have the same problem with the latest mkiv beta (2009.11.25). left/right works fine

[NTG-context] Verbatim problem in mkiv

2009-11-28 Thread Chen Shen
Hi, I'm having problem with verbatim typing with linenumber under mkiv. The following code works fine without location=text turned off, but fails when it's turned on. The text 0279699410 appears at the beginning of every alternate line. Thanks a lot. regards, shenchen = start

Re: [NTG-context] definereferenceformat problem...

2009-11-28 Thread Chen Shen
Thanks a lot Peter shenchen On Sun, Nov 29, 2009 at 12:36 AM, Peter Münster pmli...@free.fr wrote: On Wed, Nov 11 2009, Bernhard Rosensteiner wrote: \definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}] produces no output of text (in this case figure) when i do