From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25078 Path: news.gmane.org!not-for-mail From: "Maurice Diamantini (dom)" Newsgroups: gmane.comp.tex.context Subject: Re: framed texts for boxing stuff Date: Tue, 10 Jan 2006 23:14:05 +0100 Message-ID: References: <43BEA6CF.1070800@gmx.net> <89EB6AFB-2C67-4BC4-B141-C04D7F5A25E5@science.uva.nl> <43BFB90C.6060308@wxs.nl> <227466F7-6C41-47B4-A3B1-525D68788F02@free.fr> <43C2407F.1090303@wxs.nl> <36434073-921C-4BAA-889F-55CEB61C8F5C@free.fr> <43C2EB3D.1000301@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136931286 25605 80.91.229.2 (10 Jan 2006 22:14:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2006 22:14:46 +0000 (UTC) Cc: "Maurice Diamantini (dom)" Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 10 23:14:37 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EwRks-0002ar-05 for gctc-ntg-context-518@m.gmane.org; Tue, 10 Jan 2006 23:14:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72A3912817; Tue, 10 Jan 2006 23:14:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14778-09-4; Tue, 10 Jan 2006 23:14:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D58261281C; Tue, 10 Jan 2006 23:14:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E53F71281C for ; Tue, 10 Jan 2006 23:14:08 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14778-09-3 for ; Tue, 10 Jan 2006 23:14:07 +0100 (CET) Original-Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by ronja.ntg.nl (Postfix) with SMTP id A3C2112817 for ; Tue, 10 Jan 2006 23:14:07 +0100 (CET) Original-Received: from [10.0.1.2] (lie77-2-82-241-132-53.fbx.proxad.net [82.241.132.53]) by smtp2-g19.free.fr (Postfix) with ESMTP id 1E02D6CC67; Tue, 10 Jan 2006 23:14:07 +0100 (CET) In-Reply-To: <43C2EB3D.1000301@wxs.nl> Original-To: Hagen Hans , mailing ConTeXt users list for X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25078 Archived-At: Le 10 janv. 06 =E0 00:01, Hans Hagen a =E9crit : > Maurice Diamantini (dom) wrote: > >> As the "LaTeX++" concurrent package designer, you should read =20 >> some page of the >> LaTeX reference documentation "A document Preparation System" >> It is little book (272 pages with the index !) and cover the core =20= >> of the >> package. >> Page 103 to 110 are related to boxes, and is what is missing in =20 >> context. > > hm, i prefer to start from user demands and personal needs; we used =20= > latex for > a very short time and i don't remember mini pages -) Ok, but what I mean is the need of such a documentation on the =20 ConTeXt core, not reimplementing LaTeX in ConTeXt ! >> I'm not sure that ConTeXt \framed command is able to reproduce >> the parbox behavior (position a framed box relatively to its =20 >> internal top >> or bottom line and the outside baseline) > > i think we can safely assume that all these things are available =20 > somehow > (supp-box.tex implements a lot of box types) I saw this source file thanks to the following URL: http://source.contextgarden.net/supp-box.tex There is very much interesting macro, but I see some %D \macros %D {strutdp,strutht,strutwd} %D ... Does it mean that an automatic generated documentation is available =20 somewhere on the web? Or is it mondatoryto browse the source for using these command. > normally \framed can do what's needed, so in your case, if you can =20 > make > clear what you want to achieve i'm sure that someone on this list can > provide the answer >> ... So what is the current reference documentation about framed >> - Context the manual (page 206) ? >> - ConTeXt an excursion (page 45) ? > > the manual as well as examples inside the core-ful.tex file I haven"t been able to find this file! core-fil.tex exists but doesn't seem to be about using boxes! > the most important properties of framed are > > - offset (none,overlay, dimension) > - align (all kind of combinations) > - width/height (dimension or keyword) > - strut (yes|no) > > just play a bit with it and you'll see the picture Thank you for these informations, I reread the (box related) reference manual, and better understand the thing! >> ... >> I think there has to be two pairs of informations to position a >> box (i.e. a "cell" text): >> - how is the box is positioned relatively to its environment (the =20= >> location=3D >> keyword I think), > > no, location is limited to a few options; you can use macros > like \offset[...]{} or other box positioning macros; layers > are also an option Although I guess what it mean, I didn't found the \offset command doc neither. I suppose it has numerous interesting options (on http://texshow.contextgarden.net/)? >> - inside the box : everywhere. that implies two reals numbers >> between 0.0 and 1.0 (perhaps wider?) > > what are those numbers representing? It could just be a way to specify arbitrary position between left (0.0) and right (1.0) or between bottom (0.0) ant top (1.0) But the more important whould be a (uptodate) reference documentation =20= about the already existing commands. >> (but the TeX command \raise0.5ex could do that) > > indeed, \raise and \lower and cousins can come in handy Yes, I always forget TeX command! thank you very much ! > (what do you use those minipages for?) These are just (v?)boxes which can contain several paragraphs and theyre own footnotes. Some options can be use to position theyre internal (top or bottom) line relatively to the external base line. No need for now, I only used them in LaTeX for building some boxing construction. But in context I used vboxex into hboxes (because I didn't kwox enough about standard \framed command) In fact, ConTeXt already contains all the needed stuffs, and only some centralised documentation for using them is missing! I'm waiting for the future ConTeXt book ;-) -- Maurice PS. Also the ConTeXt wiki becomme more and more rich in information! Thank you very much for all that !