Hello All!
I think that I've found a bug in descriptions. It seems that it is
impossible to redefine inbetween option -- it always produces a \blank.
Try this:

\definedescription[desc][before=before,after=after,inbetween=inbetween,location=top]
\desc{test} test

I've fixed it this way:

--- core-des.tex.orig   2005-06-14 06:56:00.000000000 +0400
+++ core-des.tex        2005-07-14 15:26:20.000000000 +0400
@@ -372,7 +372,8 @@
       \c!indenting,\c!indentnext,\c!align,\c!text,\c!distance,\c!command]%
    \getparameters[\??dd#1]
      
[\s!do\c!state=\v!stop,\s!do\c!command=\normal@@descriptionhandler,\c!level=,#2]%
-   
\doifvalue{\??dd#1\c!location}\v!top{\doassign[\??dd#1][\c!inbetween=\blank]}%
+   \doifvalue{\??dd#1\c!location}\v!top{%
+     
\doifnotvalue{\??dd#1\c!inbetween}{\doassign[\??dd#1][\c!inbetween=\blank]}}%
    \setvalue        {#1}{\dodoubleempty\@@description[#1]}%
    \setvalue{\e!start#1}{\dodoubleempty\@@startdescription[#1]}%
    \setvalue{\e!stop #1}{\@@stopdescription{#1}}}%


And when using commands with brackets in argumets like:

\definedescription[desc][before=\blank[small]]

ConTeXt will give many errors, so arguments needs to be grouped (before={\blank[small]}). Is this intentional?


Thanks for your time.

--
Radhelorn <[EMAIL PROTECTED]>


_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to