-------- Original Message --------
Subject: Re: [NTG-context] something about the placelist
Date: Wed, 24 Oct 2012 10:43:00 +0200
From: Hans Hagen <pra...@wxs.nl>
To: feng <fengi...@gmail.com>

On 24-10-2012 10:23, feng wrote:
在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen <pra...@wxs..nl> 写道:
sorry, there is still a null string line.But I find that if there is a
string before the \placelist the null string is disappear. like this:
     \setuplist[section][before=]
     \framed[background=frame_mp,frame=on,align=middle,width=80pt]{%

add: strut=no to the \framed command

(first run with \showstruts and you see what happens)

     string   %%this is the string
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
       \placelist
         [section]
         [alternative=d, % command, % none,
          maxwidth=\hsize,
          width=\hsize,
          maxwidth=75pt,
          before=,
          after=,
          offset=91pt,
          criterium=all,                        %important
          align=meddle,
          style=\tfa]
     }
the output is like:
-------------
|string      |
|1 ass sss 1.|
|2 ass sss 1.|
|3 ass sss 1.|
--------------
but if no the "string" the output is like:

-------------
|          |
|1 ass sss 1.|
|2 ass sss 1.|
|3 ass sss 1.|
--------------
On 24-10-2012 09:53, feng wrote:

hi!
     I am a newer. I am studying the context. I think the context is
very good. I had study the latex in past years.

I have a question: there is a  "null string line"  above the \placelist,
I don't want it.  who can help me?

     \framed[background=frame_mp,frame=on,align=middle,width=80pt]{%
     \blank[-12pt]
       \placelist
         [section]
         [alternative=d,
          maxwidth=\hsize,
          width=\hsize,
          maxwidth=75pt,
          offset=0pt,
          criterium=all,
          align=meddle,
          style=\tfa]
     }

thank you!

ps. I am a chinese, my english is poor.

\setuplist[section][before=]



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------




--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to