From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79572 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Line break in header Date: Tue, 27 Nov 2012 10:49:04 +0100 Message-ID: References: <50B48239.50607@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354009766 5143 80.91.229.3 (27 Nov 2012 09:49:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2012 09:49:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 27 10:49:38 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TdHnJ-00046g-EL for gctc-ntg-context-518@m.gmane.org; Tue, 27 Nov 2012 10:49:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D01610252; Tue, 27 Nov 2012 10:49:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fZU91qxzf+0V; Tue, 27 Nov 2012 10:49:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CD43410236; Tue, 27 Nov 2012 10:49:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07FFB10236 for ; Tue, 27 Nov 2012 10:49:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5CT-OI70BsKm for ; Tue, 27 Nov 2012 10:49:13 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 4C3E710234 for ; Tue, 27 Nov 2012 10:49:13 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAR9nCjA028954 for ; Tue, 27 Nov 2012 10:49:12 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so5894122bkc.14 for ; Tue, 27 Nov 2012 01:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=1JWVIRC8QtNmCK+LjeDVdQYJscIVl5BPxaktO1w2ovA=; b=KhVjrwP2BGagiyrZh5UrDA3gMKBHMSIseUhnbjLgtH9uZ2lwTfWevwvXSLe/z3Zs39 iI+EQwJyJnisrYZiKPTeNey60lfInYarwZhUYmLITBSS97PCLgAI3C/ayZd+9pq9tboQ ZdN5LB6GH35LByRf6D1vbZKoT2vITgzyR0N+NAe/i9f+OiamA07WbERgHZkkbMTM9cO5 7ZeU4wHtnXw7sn2OuDXOyunwYhC6xZlBVVLhmR7NrNK0jArWyoqMX1Dye0mAKw9+p5qQ LNdOZLtUPgFiKqyU31es8rkMt52vX1fwNzS1SfjytUYsSRr0zGidaJlh5HMXnovWy5VH 6ZMg== Original-Received: by 10.204.149.149 with SMTP id t21mr4252272bkv.85.1354009751915; Tue, 27 Nov 2012 01:49:11 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d074542.pool.mediaWays.net. [77.7.69.66]) by mx.google.com with ESMTPS id v8sm9683483bku.6.2012.11.27.01.49.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Nov 2012 01:49:11 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07IsxNcuv - 3efdd3695e4a - 20121127 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79572 Archived-At: Am 27.11.2012 um 10:36 schrieb luigi scarso : > On Tue, Nov 27, 2012 at 10:24 AM, Wolfgang Schuster > wrote: >> = >> Am 27.11.2012 um 10:11 schrieb luigi scarso : >> = >>> On Tue, Nov 27, 2012 at 10:04 AM, "H. =D6zoguz" w= rote: >>>> \setupheadertexts >>>> = >>>> [] [{\getmarking[section]}] >>>> = >>>> [][] >>>> = >>>> = >>>> \starttext >>>> = >>>> \section{This is a very long section title, and so, clearly, it does n= ot fit >>>> in one line, definitely not, absolutely no change. Without line break = not >>>> possible.} >>>> = >>>> \stoptext >>> = >>> Hm, I dont' understand clearly what you want (the title is ok for me), = [=85] >> = >> The headertext isn=92t broken into lines. > ah now I see -- the headertext . > = > Hm, you can try a temp. patch > = > \showframe > \setupheadertexts[][\vbox{\hsize=3D0.45\textwidth\getmarking[section]}][]= [] Or use a customized frame: \defineframed[headerframed][frame=3Doff,width=3D.45\textwidth,align=3Dnorma= l,offset=3D0pt,location=3Dbottom] \setupheadertexts [][\headerframed{\getmarking[section]}] [][] > There is a macro to make a shortert title, but > a shorter text with the =93marking=94 key from \startsection > is better, of course No need for a macro, it=92s available as a option for \setupheader. \setupheader[width=3D6cm] \setupheadertexts [][section] [][] Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________