From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78298 Path: news.gmane.org!not-for-mail From: Alessandro Perucchi Newsgroups: gmane.comp.tex.context Subject: Re: MKII & MKIV difference between \textrule Date: Sat, 15 Sep 2012 08:31:16 +0200 Message-ID: <78FE9CEE-9B31-44A1-A780-4065612C500C@perucchi.org> References: <50525941.9060307@perucchi.org> <2C982BA9-30C9-40ED-8BCA-C4788F15EB94@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: multipart/mixed; boundary="===============1017409449==" X-Trace: ger.gmane.org 1347690686 11242 80.91.229.3 (15 Sep 2012 06:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2012 06:31:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 15 08:31:30 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 1TClub-00004q-JH for gctc-ntg-context-518@m.gmane.org; Sat, 15 Sep 2012 08:31:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8619710206; Sat, 15 Sep 2012 08:31:25 +0200 (CEST) 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 siYQPGev8A77; Sat, 15 Sep 2012 08:31:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2DDFE101F8; Sat, 15 Sep 2012 08:31:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 167F9101F8 for ; Sat, 15 Sep 2012 08:31:21 +0200 (CEST) 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 y-iilGd7Zurn for ; Sat, 15 Sep 2012 08:31:20 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 3F966101F6 for ; Sat, 15 Sep 2012 08:31:19 +0200 (CEST) Original-Received: from smtp1.infomaniak.ch (smtp1.infomaniak.ch [IPv6:2001:1600:2:5:21d:9ff:fe65:d5cd]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8F6VIWx015331 for ; Sat, 15 Sep 2012 08:31:18 +0200 Original-Received: from [10.230.27.13] ([194.230.159.77]) (authenticated bits=0) by smtp1.infomaniak.ch (8.14.2/8.14.2) with ESMTP id q8F6VH1P012840 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 15 Sep 2012 08:31:18 +0200 X-Mailer: iPad Mail (9B206) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:1600:2:5:21d:9ff:fe65:d5cd; country=CH X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THXiviX6 - 692d60b5d5ec - 20120915 (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:78298 Archived-At: --===============1017409449== Content-Type: multipart/alternative; boundary=Apple-Mail-D8C94420-8CBE-49B5-ACAC-A37FD5479902 Content-Transfer-Encoding: 7bit --Apple-Mail-D8C94420-8CBE-49B5-ACAC-A37FD5479902 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 15 sept. 2012, at 00:12, luigi scarso wrote: >=20 >=20 > On Fri, Sep 14, 2012 at 11:50 PM, Alessandro Perucchi wrote: >=20 > On 14 Sep 2012, at 13:26, Wolfgang Schuster w= rote: >=20 >=20 > > There is a vertical skip missing in the MkIV version of the macros. > > > > pack-mrl.mkiv > > > > \def\pack_textrule_following#1% > > {\doifelsenothing{#1} > > - {\nointerlineskip > > + {\vskip\dimexpr\strutdp+.5ex\ifdim\prevdepth>\strutdp\else\ifdim\pr= evdepth>\zeropoint-\prevdepth\fi\fi\relax > > + \nointerlineskip > > \dontleavehmode\vbox > > {\color[\directtextrulesparameter\c!rulecolor] > > {\hrule\s!depth\directtextrulesparameter\c!rulethickness\s!hei= ght\zeropoint\s!width\availablehsize}}} > > {\pack_textrule_with_text{#1}}% > > \ifvmode > > \prevdepth\zeropoint > > \fi} >=20 >=20 > I've tried to patch pack-mrl.mkiv and I still get the error of spacing bef= ore the second \textrule. >=20 > have you regenerated the format ? Well no.... I didn't know!!! and after searching how to do it, I found and y= es it works :-) Thanks!! Sincerely yours, Alessandro= --Apple-Mail-D8C94420-8CBE-49B5-ACAC-A37FD5479902 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8
On 15 sept. 2012, at 00:12, luigi scarso <luigi.scarso@gmail.com> wrote:



On Fri, Sep 14, 2012 at 11:50 PM, Alessandro Perucchi <alessandro@perucchi.org> wrote:

On 14 Sep 2012, at 13:26, Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:


> There is a vertical skip missing in the MkIV version of the macros.
>
> pack-mrl.mkiv
>
> \def\pack_textrule_following#1%
>  {\doifelsenothing{#1}
> -    {\nointerlineskip
> +    {\vskip\dimexpr\strutdp+.5ex\ifdim\prevdepth>\strutdp\else\ifdim\prevdepth>\zeropoint-\prevdepth\fi\fi\relax
> +     \nointerlineskip
>      \dontleavehmode\vbox
>        {\color[\directtextrulesparameter\c!rulecolor]
>           {\hrule\s!depth\directtextrulesparameter\c!rulethickness\s!height\zeropoint\s!width\availablehsize}}}
>     {\pack_textrule_with_text{#1}}%
>   \ifvmode
>     \prevdepth\zeropoint
>   \fi}


I've tried to patch pack-mrl.mkiv and I still get the error of spacing before the second \textrule.

have you regenerated the format ?

Well no.... I didn't know!!! and after searching how to do it, I found and yes it works :-)

Thanks!!

Sincerely yours,
Alessandro
--Apple-Mail-D8C94420-8CBE-49B5-ACAC-A37FD5479902-- --===============1017409449== 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 ___________________________________________________________________________________ --===============1017409449==--