From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55268 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: =?windows-1252?q?_=5Cwordright=7B=85=7D_and_hyphens?= Date: Sun, 20 Dec 2009 17:33:18 +0100 Message-ID: <000036DB-20FE-49D7-834E-71629C7F1EAB@uni-koblenz.de> References: <4B2CDB53.8040305@gmail.com> <22af238a0912190721k6791fff7v86e8a912477a5dc4@mail.gmail.com> <4B2D412B.1010102@gmail.com> <20091220101419.GA4100@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1261326832 10368 80.91.229.12 (20 Dec 2009 16:33:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Dec 2009 16:33:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 20 17:33:44 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NMOj2-00071V-63 for gctc-ntg-context-518@m.gmane.org; Sun, 20 Dec 2009 17:33:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86467C9C1A; Sun, 20 Dec 2009 17:33:40 +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 OKJXBHbVf+we; Sun, 20 Dec 2009 17:33:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E804BC9BD0; Sun, 20 Dec 2009 17:33:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53CE2C9BD0 for ; Sun, 20 Dec 2009 17:33:32 +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 MSVbXdE1rynE for ; Sun, 20 Dec 2009 17:33:19 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id B6D17C9BC5 for ; Sun, 20 Dec 2009 17:33:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 102B578A31AE for ; Sun, 20 Dec 2009 17:33:19 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27517-03 for ; Sun, 20 Dec 2009 17:33:18 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (77-23-29-238-dynip.superkabel.de [77.23.29.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 8805678A31B5 for ; Sun, 20 Dec 2009 17:33:18 +0100 (CET) In-Reply-To: <20091220101419.GA4100@gaston.couberia.bzh> X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: amavisd-new at uni-koblenz.de 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:55268 Archived-At: Hi, \wordright{something} don=92t like it if the preceding line have a hyphenat= ed word. It seems to work if one changes \allowbreak to hskip\zeropoint in = the macro-definition. Here an example: \mainlanguage[de] % \unprotect % \def\dowordright[#1]% % {% don't change % \groupedcommand % {\removeunwantedspaces % \hfill % \allowbreak % changed back from \hskip\zeropoint % % \hskip\zeropoint % -> solves the problem % \strut % \hfill % \quad % decent spacing % \hbox} % {\doifelse{#1}\v!right{\kern-\rightskip}{\doifsomething{#1}{\kern-#1= }}% % \parfillskip\zeropoint % %\finalhyphendemerits\zerocount % yes or no % \par}} % \protect \setupframedtexts [width=3D\dimexpr.65\textwidth, offset=3Dnone] \starttext \startframedtext ein Jahr da gewohnt in R=FClzheim, waren noch Schwiegereltern dabei.. = \wordright{(S.\,3, Z.\,78=9697)} \stopframedtext \startframedtext wenn du Ro, Mund aufmachst h=F6rst das du nicht da geboren bist (lacht ve= rlegen). \wordright{(S.\,4, Z.\,117=96121)} \stopframedtext \startframedtext ein Jahr da gewohnt in R=FClzheim, waren noch Schwie- gereltern dabei \wordright{(S.\,3, Z.\,78=9697)} \stopframedtext \stoptext By the way: I can=92t make a minimal example yet but I have a text where th= e same word appears on one place with ligatures and on another place withou= t. Perhaps this is known =85? Greetings Andreas ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________