ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jean-Guillaume <jnglgr@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: ntg-context Digest, Vol 115, Issue 19
Date: Fri, 10 Jan 2014 12:40:49 +0100	[thread overview]
Message-ID: <CAN2kUOKmi2XS4_LUn9H0P8Hb6ut+n1TRmZ=e+_oUWWs1oY1EoA@mail.gmail.com> (raw)
In-Reply-To: <mailman.178.1389277614.2180.ntg-context@ntg.nl>

> Date: Thu, 9 Jan 2014 14:24:35 +0100
> From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
> Subject: Re: [NTG-context] setuphead for in-paragraph head ?
> Message-ID: <76850319-0120-41E9-8A4E-46FE9A9CB48C@gmail.com>


>> But this:
>>
>> \definehead
>>  [Exercise] [subsection]
>>  [after=]
>> \starttext
>>  \startExercise [title=This is the exercise's title]
>>    The exercise's content.
>>  \stopExercise
>> \stoptext

>> I would like it to be:
>>
>> 1 This is the exercise's title The exercise's content.
>>
>> (When I can typeset that, I will see about formatting the number and so on.)

> \definehead
>   [Exercise]
>   [subsection]
>   [alternative=text,
>    distance=0.5em,
>    insidesection=\ignorespaces]

This is just what I was looking for. Thanks you all for your replies.
I will also check the other ones, with the questions/hints/answers
system.
Jean-Guillaume
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


           reply	other threads:[~2014-01-10 11:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <mailman.178.1389277614.2180.ntg-context@ntg.nl>]

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='CAN2kUOKmi2XS4_LUn9H0P8Hb6ut+n1TRmZ=e+_oUWWs1oY1EoA@mail.gmail.com' \
    --to=jnglgr@gmail.com \
    --cc=ntg-context@ntg.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).