Hi all!

I have something like this:

\definedescription[definition][
  text=Definition,
  location=hanging,
  width=fit,
  align=flushleft,
  headstyle=bold,
  style=normal,
]

\startdefinition{whatever}
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent arcu
  nisl, interdum nec dignissim sit amet, blandit eu purus. Nulla
  facilisi. Vivamus quis metus mauris. Sed laoreet vulputate rhoncus.
  Suspendisse quis metus nibh, sed ultricies orci. Ut dolor diam,
  convallis vitae mollis a, ultricies vel mi. Integer leo nisl,
  scelerisque vitae gravida bibendum, mollis quis mauris. Maecenas augue
  risus, suscipit id sodales sit amet, sagittis non augue. Praesent
  tellus lorem, vulputate sed porta ut, eleifend ac leo. In et odio
  libero, eget vulputate risus.
\stopdefinition

And I get something like this (stars mean bold):
*Definitionwhatever* Lorem ipsum dolor sit amet, consectetur adipiscing
  elit. Praesent arcu nisl, interdum nec dignissim sit amet, blandit eu
  purus. Nulla facilisi. Vivamus quis metus mauris. Sed laoreet
  vulputate rhoncus. Suspendisse quis metus nibh, sed ultricies orci. Ut
  dolor diam, convallis vitae mollis a, ultricies vel mi. Integer leo
  nisl, scelerisque vitae gravida bibendum, mollis quis mauris. Maecenas
  augue risus, suscipit id sodales sit amet, sagittis non augue.
  Praesent tellus lorem, vulputate sed porta ut, eleifend ac leo. In et
  odio libero, eget vulputate risus.

And what I want is:

*Definition* (whatever). Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Praesent arcu nisl, interdum nec dignissim sit amet,
blandit eu purus. Nulla facilisi. Vivamus quis metus etc...

That is, I'd like to have the following:
- no indentation of the second and subsequent lines;
- whatever should be prefixed with a space and an opening brace and
suffixed with a closing brace and a period;
- whatever should not be bold.

Is it possible to accomplish this automatically?

TIA

-- 
Marcin Borkowski
http://mbork.pl

___________________________________________________________________________________
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