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
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
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
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-
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
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 /
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
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
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 /
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
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
11 matches
Mail list logo