ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: about \sym{} and n*broad
Date: Tue, 15 Sep 2009 16:31:16 +0200	[thread overview]
Message-ID: <4AAFA534.80507@wxs.nl> (raw)
In-Reply-To: <62EA680B-7425-409A-9315-5366314CF792@mac.com>

Dalyoung wrote:

> I tested your suggestion.
> Your method produce new line after Type 1, but I want to write "Type 1" 
> and "This is a test." in the same line.
> And I have seen 4*broad in an example in the manual.
> In the example, it is used to set the distance, I think.

in strc-itm fix: (swap first and second split results)

\def\dodosetupitemgroupconstant#1%
   {\edef\itemgroupconstantvalue{#1}%
    \ifx\itemgroupconstantvalue\empty\else
       \splitstring\itemgroupconstantvalue\at*\to
          \itemgroupfirst\and\itemgroupsecond
       \ifcsname\??op:::\itemgroupsecond\endcsname\csname
          \??op:::\itemgroupsecond\endcsname\fi
    \fi}

\setvalue{\??op:::\v!broad}%
   {\ifx\itemgroupfirst\empty\def\itemgroupfirst{1}\fi
    \letitemparameter\currentitemlevel\c!factor\itemgroupfirst}

\setvalue{\??op:::\v!serried}%
   {\edef\itemgroupfirst
      {-\ifx\itemgroupfirst\empty1\else\itemgroupfirst\fi}%
    \letitemparameter\currentitemlevel\c!factor\itemgroupfirst}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2009-09-15 14:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 12:37 Dalyoung
2009-09-15 14:23 ` Hans Hagen
2009-09-15 14:31 ` Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-16 13:27 dalyoung
2009-09-16  4:54 Dalyoung
2009-09-16  7:50 ` Hans Hagen
2009-09-16  9:00 ` Hans Hagen
2009-09-14 22:48 dalyoung
2009-09-15  8:11 ` Jan-Erik Hägglöf

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=4AAFA534.80507@wxs.nl \
    --to=pragma@wxs.nl \
    --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).