Re: JadeTeX and keep-with-next?

Subject: Re: JadeTeX and keep-with-next?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 30 Sep 1998 16:59:18 +0100 (BST)
> > The only thing I found working right all of
> > the time was LaTeX's internal \@startsection command, using it the
> > way described in the LaTeX companion. However, I don't know whether
> > this is usable within jadetex.dtx.

\@startsection isn't useable in jadetex nor is any other high level
latex construct as jadetex takes a rather purist view of the dsssl
process (unlike say the html backend).

If you were to transform your section title elements to latex
sections (and thus use  \@startsection) then this would be easier
but then latex (and not dsssl) would be in control of the typographic
style of these elements. Note the HTML backend rather assumes that you
are going to map section titles to <h*> elements, which makes things
easier but means it isn't really a `back end' as it needs a different
stylesheet to drive it.

jadetex lets dsssl have full control down to explicit fonts and spacing
so by the time that tex gets hold of it, the concept of what is the
object that was being `kept with' is not that well defined. (Or rather
it is well defined, but not defined in a way easy to make tex

Apart from that, jadetex places \specials all over the place for
hypertext linking and colour, and these invariably break tex penalty and
vertical spacing, even in standard latex usage, without jadetex
complications. This is always a problem with TeX (control of vertical
space in TeX is essentially broken by design, something which may get
fixed in etex).

Of course none of this means that jadetex couldn't pick up more special
cases, and so get it right more often, but it does probably mean it will
never get it right 100% of the time, unless it switches to an improved
tex engine such as (some future version of) etex or e-pdftex.


 DSSSList info and archive:

Current Thread
  • Re: JadeTeX and keep-with-next?, (continued)
        • Adam P. Harris - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id CAA20801Wed, 30 Sep 1998 02:59:54 -0400 (EDT)
        • Sebastian Rahtz - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id GAA28436Wed, 30 Sep 1998 06:08:42 -0400 (EDT)
        • Thomas Corte - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id IAA00243Wed, 30 Sep 1998 08:02:27 -0400 (EDT)
        • Adam P. Harris - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id LAA07368Wed, 30 Sep 1998 11:32:45 -0400 (EDT)
        • David Carlisle - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id LAA08047Wed, 30 Sep 1998 11:54:34 -0400 (EDT) <=
        • Thomas Corte - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id PAA15896Wed, 30 Sep 1998 15:26:48 -0400 (EDT)