From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75923 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: missing pagebreak using vim-module for typing Date: Tue, 1 May 2012 14:49:58 -0400 (EDT) Message-ID: References: <4F9F7C84.8000807@googlemail.com> <4F9FB9DC.3020309@googlemail.com> <4FA00BF2.5020900@googlemail.com> <73F00F07-198C-411D-94F5-507BA02C4DD4@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-234146976-1335898200=:1010" X-Trace: dough.gmane.org 1335898210 8436 80.91.229.3 (1 May 2012 18:50:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 May 2012 18:50:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 01 20:50:10 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 1SPI9I-00084B-PZ for gctc-ntg-context-518@m.gmane.org; Tue, 01 May 2012 20:50:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD5A2101F2; Tue, 1 May 2012 20:50:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xkk5pvUgBZcp; Tue, 1 May 2012 20:50:06 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 585F1101FC; Tue, 1 May 2012 20:50:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0290101FC for ; Tue, 1 May 2012 20:50:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CnQSyONEKX6N for ; Tue, 1 May 2012 20:50:03 +0200 (CEST) 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 4FED4101F2 for ; Tue, 1 May 2012 20:50:03 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q41Io1m0005103 for ; Tue, 1 May 2012 20:50:02 +0200 Original-Received: FROM adi-netbook (bas3-montreal02-1096682554.dsl.bell.ca [65.94.12.58]) By tombraider.mr.itd.umich.edu ID 4FA03058.9C8F1.21843 ; Authuser adityam; 1 May 2012 14:50:00 EDT In-Reply-To: <73F00F07-198C-411D-94F5-507BA02C4DD4@googlemail.com> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QH4GO1u3 - c5920ddc5911 - 20120501 (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.12 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 Xref: news.gmane.org gmane.comp.tex.context:75923 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-234146976-1335898200=:1010 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 1 May 2012, Wolfgang Schuster wrote: > Am 01.05.2012 um 19:35 schrieb Aditya Mahajan: > >> On Tue, 1 May 2012, Aditya Mahajan wrote: >> >>> On Tue, 1 May 2012, Xenia wrote: >>> >>>>> Use \definetextbackground for the frame, framedtext=92s are unbreakab= le boxes. >>>> Thanks, that works, but now the linewrapping does not work correctly >>>> (after the frame) >>> >>> The bad linebreaks also happen if you remove the background. I'll look = into it (in any case, hypenation should be disabled, so there is a bug some= where). >> >> Add: >> >> \startsetups linebreak >> \language\minusone %disable hypenation >> \raggedright %avoid overflow lines \stopsetups >> >> \unprotect >> \setupsyntaxhighlighting >> [setups=3D{syntaxhighlighting@setup,linebreak}] >> \protect >> >> I'll add these to the main module and release a new version. > > Why don=92t you add a align key and use =93align=3D{flushleft,nothyphenat= ed}=94 as default. Good idea! I'll add align key to the filter module and set it to=20 `flushleft,nothyphenated` in the vim moule. Thanks, Aditya --8323328-234146976-1335898200=:1010 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-234146976-1335898200=:1010--