From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80709 Path: news.gmane.org!not-for-mail From: Bill Meahan Newsgroups: gmane.comp.tex.context Subject: Re: block with different formatting per line? Date: Wed, 06 Feb 2013 14:21:25 -0500 Message-ID: <5112AD35.9010405@meahan.net> References: <510C4CBA.3010806@ingohohmann.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360178501 22770 80.91.229.3 (6 Feb 2013 19:21:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2013 19:21:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 06 20:22:02 2013 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 1U3AZF-00089B-UU for gctc-ntg-context-518@m.gmane.org; Wed, 06 Feb 2013 20:22:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6F631025C; Wed, 6 Feb 2013 20:21:42 +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 9nhuMaqKaLTA; Wed, 6 Feb 2013 20:21:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4F206101FD; Wed, 6 Feb 2013 20:21:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA58F101FD for ; Wed, 6 Feb 2013 20:21:37 +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 W7HtKnUg5Mcq for ; Wed, 6 Feb 2013 20:21:36 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 71E15101F7 for ; Wed, 6 Feb 2013 20:21:36 +0100 (CET) Original-Received: from mail30c40.carrierzone.com (mail30c40.carrierzone.com [209.235.156.170]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r16JLS0L003162 for ; Wed, 6 Feb 2013 20:21:33 +0100 X-Authenticated-User: subscribed_lists.meahan.net Original-Received: from [192.168.1.160] (d27-96-221-12.nap.wideopenwest.com [96.27.12.221]) (authenticated bits=0) by mail30c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id r16JLPaU029545 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 6 Feb 2013 19:21:26 +0000 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 In-Reply-To: <510C4CBA.3010806@ingohohmann.de> X-CSC: 0 X-CHA: v=2.0 cv=BNIEWisG c=1 sm=1 a=gQI4EhXLwm578WU9SoM/2Q==:17 a=pTzqZbqM9tkA:10 a=Mkg0C19U2BIA:10 a=Olzf91-8vUEA:10 a=IkcTkHD0fZMA:10 a=wBJZxVaMAAAA:8 a=K0XpB0IKJwcA:10 a=OM1MK4_9Xq8F5jntausA:9 a=QEXdDO2ut3YA:10 a=gQI4EhXLwm578WU9SoM/2Q==:117 X-CTCH-RefID: str=0001.0A02020A.5112AD36.017E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.235.156.170; country=US; region=FL; city=Fort Lauderdale; postalcode=33301; latitude=26.1209; longitude=-80.1273; metrocode=528; areacode=954; http://maps.google.com/maps?q=26.1209,-80.1273&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIV7lsIJ - 99943794904f - 20130206 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:80709 Archived-At: On 02/01/2013 06:16 PM, Ingo Hohmann wrote: > Hi, > > is it possible to define a block, where lines are automatically > formatted differently? > For example: > first line in caps, > second in bold, > others normal. > > Is this possible? And how? My #1 "Wish List" item for ConTeXt is /allowing/ "stylesheets" at the paragraph level. That would allow closer correspondence with what CSS/CSS3, Scribus, ODT, EPUB3 &al do and make it much easier to write transformation scripts whether XSLT, lua code, Perl code or whatever favorite tool one wishes to use. I envision something like (psuedo code): \setupstylesheet[myparagraphstyle] [font=AccanthisADF, fontsize=12pt, fontstyle=italic, alignment=justified, frame=no, color=blue, width=\textwidth, &c .... ] \starttext \startparagraph[style=mystylesheet] \input tufte \stopparagraph \input knuth \stoptext The output would have the tufte quote formatted according to my stylesheet and knuth in whatever the global style is. The style parameter in the start/stop paragraph would, of course, be /optional/ so existing documents would be unchanged from current behavior but allow the introduction of paragraph styles. -- Bill Meahan Westland, Michigan USA ___________________________________________________________________________________ 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 ___________________________________________________________________________________