Re: [NTG-context] strange file name

2008-10-26 Thread Ruini Xue
luigi scarso luigi.scarso at gmail.com writes: On Sat, Oct 25, 2008 at 6:12 PM, Ruini Xue xueruini at gmail.com wrote: source file: Watch for the space after knuth {\input knuth\relax} I just want to know why \input includes the right brace } in the file name. -- ruini

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

2008-10-26 Thread Ruini Xue
I want to use a dedicated font size for the chapter title, so I wrote this piece of code: %% \def\mybig% {\dosingleempty\dosanhao} \def\dosanhao[#1]% {\switchtobodyfont[24pt]} \setuphead [chapter] [style=\mybig] \starttext \chapter{hello, world} \stoptext

[NTG-context] strange file name

2008-10-25 Thread Ruini Xue
source file: %% \starttext {\input knuth} \stoptext %%% compiling it produces error: ! I can't find file `knuth}'. l.2 {\input knuth} Why does tex recognize knuth} but not knuth as the file name? -- ruini

[NTG-context] Can I use \startbuffer in other command?

2008-10-23 Thread Ruini Xue
I have two questions: 1. How to define a start-stop command to accept options? I want to define a start-stop command which can accept options (as \startitemize [packed]), however the \definestartstop does not support this. I found a solution in the list: http://www.ntg.nl/pipermail/ntg-

[NTG-context] How to test font availability?

2008-10-22 Thread Ruini Xue
I want to define sans to A.ttf, and if A.ttf is unavailable, B.ttf will be used. So the question is, how to test whether a font is available? Or is it possible to provide a list of candidates (e.g., \definefontsynonym[sans][name:A.ttf;name:B.ttf])? -- ruini

[NTG-context] What's the difference between \dodoubleargument and \dodoubleempty?

2008-10-21 Thread Ruini Xue
It's difficult to understand them from the code. -- ruini ___ 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] What's the difference between \dodoub leargument and \dodoubleempty?

2008-10-21 Thread Ruini Xue
Hans Hagen pragma at wxs.nl writes: Ruini Xue wrote: It's difficult to understand them from the code. the first one issues a warning when no argument is given You mean both of them ask the following \command to take two mandatory arguments? I try this example

Re: [NTG-context] What's the difference between \dodoub leargument and \dodoubleempty?

2008-10-21 Thread Ruini Xue
Wolfgang Schuster schuster.wolfgang at googlemail.com writes: You need a comment sign at the end of the line. \def\dotest[#1][#2]% All my faults come from the last comment sign! :) Thanks -- ruini ___ If

[NTG-context] No mac update in the minimals?

2008-10-19 Thread Ruini Xue
It seems that the Mac minimal has not been updated? -- ruini ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] presentation `s-pre-13' conflicts with `rsteps' module?

2007-09-25 Thread Ruini Xue
hello, I am making a presentation with `s-pre-13', and it seems module `rsteps' conflicts with it. use the example in t-rsteps.tex, but replace `pre-original' with 's-pre-13'. % BEGIN mini example \usemodule [pre-writing] \usemodule [rsteps] % interaction menu example: % page number with

[NTG-context] rsteps module conflicts with s-pre-13?

2007-09-24 Thread Ruini Xue
hello, I am making a presentation with `s-pre-13', and it seems module `rsteps' conflicts with it. use the example in t-rsteps.tex, but replace `pre-original' with 's-pre-13'. % BEGIN mini example \usemodule [pre-writing] \usemodule [rsteps] % interaction menu example: % page number with