From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9776 Path: main.gmane.org!not-for-mail From: Zeljko Vrba Newsgroups: gmane.comp.tex.context Subject: problem: long descriptions Date: Sat, 9 Nov 2002 09:06:16 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021109080616.GA1623@fly.srk.fer.hr> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036829157 9652 80.91.224.249 (9 Nov 2002 08:05:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 9 Nov 2002 08:05:57 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18AQcu-0002VX-00 for ; Sat, 09 Nov 2002 09:05:56 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 250E310B0B; Sat, 9 Nov 2002 09:07:29 +0100 (MET) Original-Received: from fly.srk.fer.hr (fly.srk.fer.hr [161.53.74.66]) by ref.ntg.nl (Postfix) with ESMTP id B183310B06 for ; Sat, 9 Nov 2002 09:06:17 +0100 (MET) Original-Received: from fly.srk.fer.hr (mordor@localhost [127.0.0.1]) by fly.srk.fer.hr (8.12.2/8.12.2) with ESMTP id gA986HJt002217 for ; Sat, 9 Nov 2002 09:06:17 +0100 (MET) Original-Received: (from mordor@localhost) by fly.srk.fer.hr (8.12.2/8.12.2/Submit) id gA986GSS002216 for ntg-context@ref.ntg.nl; Sat, 9 Nov 2002 09:06:16 +0100 (MET) Original-To: ntg-context@ref.vet.uu.nl Content-Disposition: inline User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9776 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9776 Hi! I'm writing reference manual for a C/C++ library and I have the following problem: When I define a description, long prototypes are not line-broken. For example, I've set up \definedescription [methref] [location=top,headstyle=\tt] When I have \startmethref{a very long prototype.........................} blah blah blah \stopmethref the argument is not line-broken and it goes out of the page boundary. The text shows properly only in the next line. I have something like the following in mind, but I don't know how to do it: I'd like the typeset layout to look something like this a very long prototype proto.. Text describing the method proto proto proto proto proto Text describing the method proto proto Text describinb the method More text describing the method. More text. More text More text. Prototype may be framed. The text widths should be 0.5 and 0.5 of textwidth for both the prototype and the description. I hope you understood what I want :) I was thinking something like typesetting prototype in the box and then using floating mechanism (\startXXXleft, would that work at all?), but is there a more straightforward way? Another unrelated question: is there a bold typewriter (CM) font somewhere?