From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14887 Path: main.gmane.org!not-for-mail From: "Rolf Marvin B e Lindgren" Newsgroups: gmane.comp.tex.context Subject: Re: typesetting to grid in layer with widgets Date: Fri, 12 Mar 2004 10:58:42 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: References: <6.0.1.1.2.20040311235949.01bf2630@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079085642 29027 80.91.224.253 (12 Mar 2004 10:00:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Mar 2004 10:00:42 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Mar 12 11:00:24 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1jSp-0005fi-00 for ; Fri, 12 Mar 2004 11:00:23 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4695D10B35; Fri, 12 Mar 2004 10:57:50 +0100 (MET) Original-Received: from pat.uio.no (pat.uio.no [129.240.130.16]) by ref.ntg.nl (Postfix) with ESMTP id 434C610B21 for ; Fri, 12 Mar 2004 10:56:53 +0100 (MET) Original-Received: from mail-mx3.uio.no ([129.240.10.44]) by pat.uio.no with esmtp (Exim 4.20) id 1B1jRm-0005fU-LV for ntg-context@ntg.nl; Fri, 12 Mar 2004 10:59:18 +0100 Original-Received: from ulrik.uio.no ([129.240.12.4]) by mail-mx3.uio.no with esmtp (Exim 4.14) id 1B1jRD-0003KX-LQ for ntg-context@ntg.nl; Fri, 12 Mar 2004 10:58:43 +0100 Original-Received: from aqualene.uio.no ([129.240.200.251]) by ulrik.uio.no with esmtp (Exim 2.12 #7) id 1B1jRD-0006Gl-00 for ntg-context@ntg.nl; Fri, 12 Mar 2004 10:58:43 +0100 Original-Received: from roffe by aqualene.uio.no with local (Exim 4.22) id 1B1jQK-0000eq-CO for ntg-context@ntg.nl; Fri, 12 Mar 2004 10:57:48 +0100 X-Mailer: emacs 21.3.50.1 (via feedmail 8 I) Original-To: ntg-context@ntg.nl Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUqAQHQOgljCgBKAwD1 27iCEwCHIw6Fhwi7AAAB00lEQVR4nGXSQY7cIBAF0JI4AZGn10khvLZcStbTM8gHQMLruHvg /kfIL8Bte4J60eIZflFAIXwFe1stRjgPAizFV7Df4F5yWktKm7XDBZaCeR2bbaMy3e0tpnKB Sgr+On8rKrqVL2uuER0y/iq8IxhjfUHpsGA2unnc9tl9xYJ9WDitURflVB5jqYBjRGb2WOdT yTE6z4AhIILZiQATPtf/fgtkLfPKLBN5B7D2QSIjINxnfMpCBvvVnkWFARne/XasO/k4amFv LGPR8KckJEj/HhVHXtsB/2Rn2M3cD39DCe0cvzLXklqP9ShrzQg210r72LBktUO7jzMUhHRI PvHsTxJThU+WWXv1AqS3cJxIzNyn0a+8tnILTkHS98LxEzpfb/DhiMjIBeor+VCgY6+UO7wL 0US0AwOGBkbqQNGse6HeDoLLINKusKI/YKor6r1oD3ZY6mQHNNlrtkIwroVwu/oTsE5PZlbg EzydhiO+rTrgUxoYzXEnWMxkpi4wlNshGJFjsxlvYgd0l/bNLvCczoDHM3T4+Ab9PpB+BX0o pcHzP5gqhKVD6yXq/UEN9njpb/ht2qEv6s33P+mA8PfVYq6P4AVLa4jr8weE1kP8at4/g8Pp baHxzqMAAAAASUVORK5CYII= In-Reply-To: <6.0.1.1.2.20040311235949.01bf2630@server-1> (Hans Hagen's message of "Fri, 12 Mar 2004 00:04:45 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (darwin) X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning X-UiO-MailScanner: No virus found X-UiO-Spam-info: not spam, SpamAssassin (score=0, required 12) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@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:14887 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14887 Hans Hagen writes: > \setlayerframed > [text] > [...] > [framed settings] > {} I'll have to consult the documentation of \setlayerframed then - which again i fear is somewhat terse ... what goes in the [...] box there? > fields (and text in there) don't have a concept of a baseline > (unfortunately), so depending on the situation, you may want to lower > the text > > \hbox{\lower2pt\hbox{\field[...]}} heh. the field box remains fixed to the baseline while the predecing text is raised :) OK, a bit more twiddling can compensate for that again. perhaps a wee bit to klugey for my tase. > >(as a matter of fact, the problem with this approach is that text > >cannot ever be centered becaue TeX need to know the dimensions at > >typesetting time - which isn't known until the user has interacted. is > >there, say, JavaScript magic that could be done in order to have text > >centered after it has been input? > > doesn't align=middle work? I'll give it a shot but too optimistic I am not. should the \field have align=middle as part of its setup parameters? > >I'd like to have a frame around the entire page. Preferably, I'd like > >to be able to place it using numerical coordinates (absolute or > >relative, set to a layer or not). Is this, or something close to it, > >possible? > > i often use metapost for that (see metafun manual) OK. thanks! -- Rolf Lindgren http://www.roffe.com/ roffe@tag.uio.no