ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* syntax
@ 1999-05-16 12:36 Siep Kroonenberg
  1999-05-17 21:59 ` syntax Hans Hagen
  1999-05-18  8:37 ` syntax Siep Kroonenberg
  0 siblings, 2 replies; 5+ messages in thread
From: Siep Kroonenberg @ 1999-05-16 12:36 UTC (permalink / raw)


A number of questions:

- Does Context provide for styles as in Word: a set of typographic
specifications (font, leading, h&j, space before and after) separate
from any sectioning hierarchy, or is it necessary to write those from
scratch as macros?

- Is the following syntax safe:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \some_context_macro
% comment
    [parameter]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

- I am trying to define typography for a header:

\setuphead[subject]
  [before=\blank,
   after=\blank[small],
   style={\switchtobodyfont[sans,16pt]\bf}]

This only seems to compile if I replace `after' with `\c!after', and
even then I get a full instead of half a blank line.

If I try C-style indentation:

\setuphead[subject]
  [before=\blank,
   after=\blank[small],
   style={\switchtobodyfont[sans,16pt]\bf
   }
  ]

then the style parameter seems to be ignored.

Siep Kroonenberg


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-05-18 10:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-16 12:36 syntax Siep Kroonenberg
1999-05-17 21:59 ` syntax Hans Hagen
1999-05-18  8:37 ` syntax Siep Kroonenberg
1999-05-18 10:14   ` syntax Hans Hagen
1999-05-18 10:27   ` syntax Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).