ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Siep Kroonenberg <siepo@cybercomm.nl>
Subject: syntax
Date: Sun, 16 May 1999 14:36:46 +0200 (CEST)	[thread overview]
Message-ID: <14142.48095.1988.765986@bitmuis.thuis.nl> (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


             reply	other threads:[~1999-05-16 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-16 12:36 Siep Kroonenberg [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14142.48095.1988.765986@bitmuis.thuis.nl \
    --to=siepo@cybercomm.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).