Re: [NTG-context] backgrounds

2014-10-19 Thread Hongwen Qiu
在 2014年10月17日 19:32, Procházka Lukáš Ing. - Pontex s. r. o. 写道: Source result attached. I didn't expect your source even to compile since you missed out the \starttext thing. ___ If your question is of interest to

[NTG-context] Latest beta stops loading some ttc fonts

2014-09-25 Thread Hongwen Qiu
The following minimal example used to work fine: \starttypescript [serif] [zhfonts] \definefontsynonym [Serif] [name:nsimsun] \stoptypescript \starttypescript [zhfonts] \definetypeface [zhfonts] [rm] [serif] [zhfonts] \stoptypescript \usetypescript [zhfonts] \setupbodyfont [zhfonts, rm,

Re: [NTG-context] Latest beta stops loading some ttc fonts

2014-09-25 Thread Hongwen Qiu
在 2014年09月25日 18:50, Hans Hagen 写道: On 9/25/2014 10:50 AM, Hongwen Qiu wrote: The following minimal example used to work fine: \starttypescript [serif] [zhfonts] \definefontsynonym [Serif] [name:nsimsun] \stoptypescript \starttypescript [zhfonts] \definetypeface [zhfonts] [rm] [serif

Re: [NTG-context] how to change the distance between two words?

2013-01-19 Thread Hongwen Qiu
On 01/20/2013 12:42 AM, ??? wrote: luatex has not been updated after executing first-setup.sh --keep, what should I do for updating Luatex? Usually, luatex get updated regularly along with ConTeXt updating. If for some reason, you want to use the latest luatex binary, you need to compile

[NTG-context] \subsection produces the wrong result

2012-07-09 Thread Hongwen Qiu
With ConTeXt version: 2012.07.10 00:56, the following minimal example produces the wrong result: \starttext \section{Section} \subsection{Subsection} % This generates a section other than a subsection \stoptext

Re: [NTG-context] Check brackets and parentheses

2012-07-06 Thread Hongwen Qiu
On 07/06/2012 03:38 PM, Pontus Lurcock wrote: brace-lint.py #!/usr/bin/python import sys '''Count opening and closing braces in a file.''' def count(filename, opening, closing): print opening, closing f = open(sys.argv[1], 'r') Shouldn't this line be f = open(filename,

Re: [NTG-context] upload

2012-07-04 Thread Hongwen Qiu
On 07/04/2012 04:56 PM, Hans Hagen wrote: Hi, I uploaded a beta. There has been the usual amount of renamings going on so there might be problems. Hans This is broken: ! Undefined control sequence. system tex error on line 4 in file test.tex: Undefined control sequence ...

[NTG-context] The bTABLE is still broken in latest beta

2012-06-20 Thread Hongwen Qiu
The bTABLE is still broken in latest beta. Minimal example: \starttext \setupTABLE[c][each][width=1cm] \bTABLE \bTR\bTD Test \eTD\eTR \eTABLE \stoptext Error log: ! Missing number, treated as zero. system tex error on line 5 in file test.tex: Missing number, treated as zero ...

Re: [NTG-context] upload

2012-06-19 Thread Hongwen Qiu
On 06/20/2012 04:40 AM, Hans Hagen wrote: I uploaded a version that has the bTABLE mechanism reorganized (different low level names etc). Hopefully nothing got broken in the process. Unfortunately it is broken. Minimal example: \starttext \bTABLE \bTR\bTD[nc=2] r1c1 \eTD\eTR \bTR\bTD

Re: [NTG-context] Is it possible to generate eps files using metafun and context?

2012-06-18 Thread Hongwen Qiu
On 06/18/2012 04:19 PM, Hans Hagen wrote: and then use pstopdf to turn the pdf into an eps You must mean pdftops, since pstopdf cannot convert pdf files into eps but pdftops can. I tried pdftops, the result quality is high, but since my desire is to provide eps figures to others that have to

[NTG-context] Is it possible to generate eps files using metafun and context?

2012-06-14 Thread Hongwen Qiu
Hi, Is it possible to typeset the label with context and generate eps output files using the metafun format? If yes, then how? TIA. ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] localfootnotes broken in latest beta?

2012-06-14 Thread Hongwen Qiu
Hi, The following minimal example works fine with context version 2011.05.18 18:04 and luatex version beta-0.70.1-2011061410 (rev 4277) comes along texlive 2011, but gives error with latest beta (context version 2012.06.13 23:46 and luatex version beta-0.70.2-2012052410 (TeX Live 2012)).

Re: [NTG-context] localfootnotes broken in latest beta?

2012-06-14 Thread Hongwen Qiu
On 06/15/2012 12:18 PM, Wolfgang Schuster wrote: Use this for the moment: \placelocalfootnotes[height=\textheight] Thanks, this works fine. ___ If your question is of interest to others as well, please add an

[NTG-context] Equilibrium in chemical resulted in Undefined Control Sequence error

2011-10-11 Thread Hongwen Qiu
Hi, The following minimal example: == \starttext \chemical{A,+,B,-,AB} \stoptext == gives the following error under context version: 2011.10.08 11:42, luatex version beta-0.70.1-2011051918: ! Undefined control sequence. system

Re: [NTG-context] Strange problem related to \usemodule

2011-10-11 Thread Hongwen Qiu
On Tue, 2011-10-11 at 09:26 +0200, Hans Hagen wrote: can you try to load the file directly with \input{/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-modules/tex/context/third/vim/t-vim.tex} and see if the command is defined then? This method works with other modules, e.g. t-ruby.tex, but not

Re: [NTG-context] I look for an item bullet with a size between \bullet and \cdot

2011-10-11 Thread Hongwen Qiu
On Tue, 2011-10-11 at 14:42 +0200, Stéphane Klein wrote: I don't understand, with this code, you display three bullet. One is really \bullet, the other one is \cdot and than one smaller than \bullet and bigger than \cdot, which is what you want. Personnaly, I would like *one* bullet with a size

Re: [NTG-context] Strange problem related to \usemodule

2011-10-10 Thread Hongwen Qiu
: $ env |grep -i TEX PATH=/ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-linux-64/bin: (It's very long) Actually not only the modules under tex/texmf-modules not work on the Remote, but also modules under tex/texmf-local don't work either. On Mon, 2011-10-10 at 12:57 +0800, Hongwen Qiu wrote: Hi, I

Re: [NTG-context] Strange problem related to \usemodule

2011-10-10 Thread Hongwen Qiu
On Mon, 2011-10-10 at 14:09 +0200, Hans Hagen wrote: can you run with \enabletrackers[modules.loading] Attached is the log with \enabletrackers[modules.loading]. (b.tex ConTeXt ver: 2011.10.08 11:42 MKIV fmt: 2011.10.10 int: english/english system cont-new.mkiv loaded

Re: [NTG-context] Strange problem related to \usemodule

2011-10-10 Thread Hongwen Qiu
On Mon, 2011-10-10 at 23:09 -0400, Aditya Mahajan wrote: What are the first 10-15 lines of /ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-modules/tex/context/third/vim/t-vim.tex? $ head -15 /ifs2/S2PH/qiuhw/opt/context-1008/tex/texmf-modules/tex/context/third/vim/t-vim.tex %D \module %D [

[NTG-context] Strange problem related to \usemodule

2011-10-09 Thread Hongwen Qiu
Hi, I have access to three machines both running GNU/Linux x86-64, I call them Laptop, Desktop and Remote respectively here on. The Laptop has full access to the internet, so I always install and upgrade my ConTeXt Standalone on it when I'm home. At workplace, I can surfer the internet with the

Re: [NTG-context] Captions

2011-09-22 Thread Hongwen Qiu
On 09/23/2011 06:10 AM, Felix Ingram wrote: I'm defining a new float that I'd like to caption with its own label. Something like: \definefloat[picture][pictures] I'd then like the caption to read: Picture 1 - my caption text Picture 2 - etc At the moment I've used

Re: [NTG-context] Setup of the title of Contents

2011-09-13 Thread Hongwen Qiu
On 09/13/2011 04:48 PM, Honza Hejzl wrote: I wish I were able to set tup my custom title (for example, for table of contents). I have chapter titles split over two lines and with different sizes so I need something different as a title of Contents. I know about many possibilities of \setuplist

[NTG-context] \startalign[n=3] don't work properly in MKIV

2011-09-08 Thread Hongwen Qiu
Hi, the following minimal example works fine in MKII, but the third columns are not aligned in MKIV \starttext \startformula\startalign[n=3] \NC X \NC = 1 + 2 \NC = 3 \NR \NC Y \NC = 1 + 2 + 3 \NC = 6 \NR \NC Z \NC = 1 + 2 + 3 + 4 \NC = 10 \NR \stopalign\stopformula \stoptext Is this a bug or

Re: [NTG-context] about the line break after \inframed

2011-02-22 Thread Hongwen Qiu
On 02/22/2011 09:58 PM, Jeong Dalyoung wrote: \startuseMPgraphic{lions b} picture pic; path p ; p := fullsquare xyscaled (\overlaywidth,\overlayheight) randomized 5pt ; pickup pencircle scaled 1pt ; fill p withcolor .850yellow ; draw p withcolor .5yellow ; \stopuseMPgraphic

Re: [NTG-context] metapost fill between outlines

2011-02-21 Thread Hongwen Qiu
On 02/21/2011 05:09 PM, Reviczky, Adam wrote: The only letter (g) I have left in the logo has two spaces that I want to cut out. I can't make a single path out of it so that it doesn't go through the entire letter, so what to do in this case? Can't you construct four outlines instead of three,

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Hongwen Qiu
On 02/20/2011 04:25 PM, Reviczky, Adam wrote: As a workaround I fill out the bigger one with color black and the smaller one with color white, but I need to put this on different background colors, so the use of this is very limited. You can fill out the bigger one, than clips the smaller

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Hongwen Qiu
On 02/21/2011 03:52 AM, Reviczky, Adam wrote: As for the path of the difference, how do you mean that? Example? \startMPpage path p ; p := fullcircle scaled 1cm ; path q ; q := fullcircle scaled .5cm ; path r ; r := p -- reverse q -- cycle ; drawarrow r withcolor green ; fill r withcolor red ;

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Hongwen Qiu
On 02/21/2011 01:12 PM, Reviczky, Adam wrote: \starttext \framed[background=color,backgroundcolor=red,height=fit,width=fit]{ \startMPcode path p[]; p1 := (6.949220,13.046900)..controls (9.539060,13.046900) and (10.023400,10.781200)..(10.023400,8.679690)..controls (10.023400,5.335940) and

Re: [NTG-context] metapost fill between outlines

2011-02-20 Thread Hongwen Qiu
On 02/21/2011 02:41 PM, Reviczky, Adam wrote: but for this example it draws a small line through the letter: \starttext \framed[background=color,backgroundcolor=red,height=fit,width=fit]{ \startMPcode path db[],df[],dc[]; drawoptions (withcolor (0.00,0.329412,0.560784)); db1 :=

[NTG-context] [BUG] \placepublications[criterium=all] triggers error in ConTeXt 2010.09.29

2010-09-29 Thread Hongwen Qiu
Please see the attached minimal example and its error log. \placepublications[criterium=all] triggers error in ConTeXt 2010.09.29. It works fine in ConTeXt 2010.09.24. Both the luatex versions are beta-0.63.0-2010091123. @unpublished{test, title={Test}, author={test}, journal={Test},

[NTG-context] problem with tabulate header and footer

2010-09-20 Thread Hongwen Qiu
\setuptabulate[footer=repeat] has no effect, so is this a bug or if something has been changed? And \setuptabulate[header=repeat] can only repeat a single row(see the minimal example below). So is this a bug or is it never been implemented or thought like this? TIA for any help or feedback.

[NTG-context] \big has no effect in Mkiv with opentype math fonts

2010-09-15 Thread Hongwen Qiu
\big \bigg \Big and \Bigg has no effect in Mkiv with opentype math fonts. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] [xits] \sqrt not work properly

2010-09-13 Thread Hongwen Qiu
The \sqrt is not work properly in Mkiv. The following is the minimal example, and the result is attached \setupbodyfont[xits] \starttext \startformula \sqrt{abcde} \stopformula \stoptext math.pdf Description: Adobe PDF document

Re: [NTG-context] pdf file not found

2010-09-10 Thread Hongwen Qiu
于 2010年09月10日 20:25, Peter Münster 写道: Hello, Can anybody reproduce the following problem (Taco can't ...): No problem here. \startbuffer[pdf-pages] \starttext page 1 \page page 2 \stoptext \stopbuffer \savebuffer[pdf-pages][pdf-pages.tex] \executesystemcommand{context pdf-pages;

Re: [NTG-context] table row span question

2010-08-25 Thread Hongwen Qiu
于 2010年08月26日 12:42, Martin Althoff 写道: \DC \DL \DL \DL \DR As far as I know, this should be written as \DC \DL[3] \DR

Re: [NTG-context] sharp (#) and flat (b) signs

2010-08-19 Thread Hongwen Qiu
于 2010年08月19日 20:29, Vyatcheslav Yatskovsky 写道: Currently I use F\#m7b5 sequence, but # and b symbols look unnatural, I want real ones. You can use \sharp and \flat. ___ If your question is of interest to others as

Re: [NTG-context] PDF's generated by XeTeX and LuaTeX, font licensing

2010-08-17 Thread Hongwen Qiu
于 2010年08月17日 15:30, Giulio Bertellini 写道: What exactly does it mean to subset the fonts, when the fonts are included in a PDF? Just included the used characters, not the whole font file. ___ If your question is of

Re: [NTG-context] Roman page numbers

2010-08-12 Thread Hongwen Qiu
于 2010年08月13日 00:21, Wolfgang Schuster 写道: Should be \setupuserpagenumber. Thanks, this works. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] an issue with line numbers in the verbatim text

2010-08-11 Thread Hongwen Qiu
On 08/11/2010 08:23 PM, Li Yanrui (李延瑞) wrote: Hi all, this is an example. \setuptyping[numbering=line] \setuplinenumbering[location=intext] \showframe \starttext \starttyping This is the first line. Last line after an empty line. \stoptyping \stoptext the linenumbering setup of

[NTG-context] Roman page numbers

2010-08-11 Thread Hongwen Qiu
Hi, The following minimal example has no effect on page numbering(MkIV): \setuppagenumbering[conversion=romannumerals] % \setuppagenumbering[numberconversion=romannumerals] has no effect too. \starttext \chapter{Alpha} \input tufte \stoptext $ context --version MTXrun | current version:

Re: [NTG-context] Roman page numbers

2010-08-11 Thread Hongwen Qiu
于 2010年08月12日 11:08, Wolfgang Schuster 写道: Am 12.08.10 03:52, schrieb Hongwen Qiu: Hi, The following minimal example has no effect on page numbering(MkIV): \setuppagenumbering[conversion=romannumerals] % \setuppagenumbering[numberconversion=romannumerals] has no effect too

Re: [NTG-context] Problems using new beta

2010-06-07 Thread Hongwen Qiu
于 2010年06月07日 16:37, Ivo Solnický 写道: On Sunday, after I installed new package, I realized, that my workflow is broken. The ConTeXt beta was broken, and it should work now. So, you may need to upgrade the whole.

Re: [NTG-context] Clipping of text (or something equivalent)

2010-06-07 Thread Hongwen Qiu
? 2010?06?07? 22:47, Erik Margraf ??: Hi all, I'd like to achieve in context something like I did in the attachment (context.pdf). My idea was (and that's the way how I did this in Inkscape): - Create Text - Double the text - Clip one for the upper half, clip the other for the lower

Re: [NTG-context] 3. Re: \MPpos, pxy, initialize_box(), oh my! (Hongwen Qiu)

2010-06-05 Thread Hongwen Qiu
? 2010?06?05? 10:56, Adam Fuller ??: my initial post had a mistake: i meant to refer to the /Metafun/ manual, not the Metapost manual. that probably didn't help. Actually, I know that you mean the /Metafun/ manual. i guess what i should have said is, i know that pxy can give me the bounding

Re: [NTG-context] \MPpos, pxy, initialize_box(), oh my!

2010-06-04 Thread Hongwen Qiu
于 2010年06月04日 23:41, Adam Fuller 写道: initialize_box sets `pxy' to \hpos's contents bounding box. what if you want pxy to be not strictly a rectangle, but the path that encloses text, etc., which is just part of flowing text in a paragraph If I'm not misunderstanding some concepts, bounding

[NTG-context] Color tables in MKIV

2010-05-25 Thread Hongwen Qiu
Hi! There's an example at http://wiki.contextgarden.net/Table#Background_Colors about color tables. I found that \BL and \CL works fine in MKII. Since I get black background for \BL(which is not gray) and get the following error for \CL in MKIV: ! Missing \endgroup inserted. inserted text

[NTG-context] Running standalone metapost file omits spaces between btex and etex

2010-05-07 Thread Hongwen Qiu
I found that the following example \starttext \startuseMPgraphic{test} draw btex some text with space etex; \stopuseMPgraphic \useMPgraphic{test} \stoptext can generate the text between btex and etex correct no matter I use MKII or MKIV. But, when I running the following example beginfig(0);

[NTG-context] \setuptyping[numbering=line] don't emit line numbers

2010-04-21 Thread Hongwen Qiu
$ context --version MTXrun | current version: 2010.04.16 21:08 $ luatex --version This is LuaTeX, Version beta-0.60.0-2010040422 I found that \setuptyping[numbering=line] no longer produces line numbers any more. So are there something changed, or just it's ought to be ok?

Re: [NTG-context] hyphens in verbatim text

2010-04-07 Thread Hongwen Qiu
于 2010年04月07日 16:12, Hans Hagen 写道: looks ok here, so example needed I found that the problem can only be produced when using the simplefonts module, while loading the adobesongstd font and some other Chinese fonts. So, the problem maybe something's wrong with the simplefonts module. The

Re: [NTG-context] hyphens in verbatim text

2010-04-07 Thread Hongwen Qiu
于 2010年04月08日 07:14, Wolfgang Schuster 写道: Add '\setmonofont[Latin Modern Mono][features=none]' to your file. Yes, this works. Tanks. ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] hyphens in verbatim text

2010-04-06 Thread Hongwen Qiu
-- in verbatim text displayed as a single -, no matter in \type{} or in typing environment or something like that. current version: 2010.03.30 18:56 $ luatex --version This is LuaTeX, Version beta-0.60.0-2010040422 ___

[NTG-context] tab disappears in LUA environment.

2010-04-06 Thread Hongwen Qiu
\startLUA string.format(%s %d, person, total) \stopLUA produces the result as following: string.format(%s%d, person, total) while the following code has no such problem: \starttyping string.format(%s %d, person, total) \stoptyping $ context --version MTXrun | current version: 2010.03.30 18:56

[NTG-context] standardmakeup environment didn't work in MKIV

2010-03-31 Thread Hongwen Qiu
Hi all, standardmakeup didn't work in MKIV. When I used this environment, It complains: error: Invalid field id writable for node type glue_spec (0) . \stopmakeup ...ter \c!color }{\stopcolor }\egroup \flushmarks \doflushmakeup... l.3 \stopstandardmakeup So, is this something deprecated or just

Re: [NTG-context] standardmakeup environment didn't work in MKIV

2010-03-31 Thread Hongwen Qiu
于 2010年03月31日 14:43, Taco Hoekwater 写道: This means your luatex is older than it should be for the current mkiv beta. The 'writable' glue_spec field was introduced in luatex 0.52. It works now. Thanks. I thought that the luatex shipped with the latest ConTeXt was the latest beta. Now I know