This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Fixes to insertRule in jadetex.dtx - [PATCH] againstjadetex 3.11
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Re: Fixes to insertRule in jadetex.dtx - [PATCH] againstjadetex 3.11
- From: Ian Castle <ian dot castle at LOOKSystems dot co dot uk>
- Date: Wed, 25 Jul 2001 13:16:19 +0100
- Cc: Sebastian Rahtz <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Organization: LOOK Systems
- References: <3.0.6.32.20010508131106.00d25100@10.0.2.1>
Not all of the below has made it into jadetex 3.11 - Here is a patch to
put in the first \nointerlineskip. It is against jadetex-3.11
--------------------------------------------------------
diff -Naur jadetex-orig/jadetex.dtx jadetex/jadetex.dtx
--- jadetex-orig/jadetex.dtx Thu Jul 19 16:20:05 2001
+++ jadetex/jadetex.dtx Tue Jul 24 14:39:42 2001
@@ -917,6 +917,7 @@
\DisplayNIC
\@@par%
\@tempdima\linewidth
+ \nointerlineskip
\ifdim\EndIndent>\z@
\advance\@tempdima by-\EndIndent
\fi
--------------------------------------------------------
Regards,
Ian.
Richard Sharpe wrote:
>
> Hi Sebastian,
>
> here are the patches to insertRule to remove the space before and after a
> rule.
>
> It inserts a \nointerlineskip at the right places so we get rid of the
> normal interline skip which makes a rule before or after a line of text
> look ugly!
>
> --- /home/rsharpe/jadetex.dtx Mon Mar 5 20:20:04 2001
> +++ jadetex.dtx Tue May 8 13:06:21 2001
> @@ -866,6 +866,7 @@
> % an hbox, if a width is supplied.
> % \begin{macrocode}
> \@tempdima\linewidth
> + \nointerlineskip
> \ifdim\EndIndent>\z@
> \advance\@tempdima by-\EndIndent
> \fi
> @@ -887,6 +888,7 @@
> \ifx\DisplayAlignment\A@center\hfill\fi
> \ifx\DisplayAlignment\A@start\hfill\fi
> }%
> + \nointerlineskip
> \@@par
> \endRuleNIC
> \endSetupICs
>
> Regards
> -------
> Richard Sharpe, sharpe@ns.aus.com
> Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
> Contributing author, SAMS Teach Yourself Samba in 24 Hours
> Author, Special Edition, Using Samba
>
> ------------------------------------------------------------------
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org