diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:38:17 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:38:17 +0000 |
commit | 73d840b9f14b65166b92e6b43f930fd0ef7b8267 (patch) | |
tree | f4eb37a19d1b8d6e9c038b5f3e4c24fc8083bad7 /z08.c | |
parent | d4b68bb27f42afb8338f35f9fda0c467ec5d8787 (diff) | |
download | lout-73d840b9f14b65166b92e6b43f930fd0ef7b8267.tar.gz |
Lout 3.19.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@7 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z08.c')
-rw-r--r-- | z08.c | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -1,6 +1,6 @@ /*@z08.c:Object Manifest:ReplaceWithSplit()@**********************************/ /* */ -/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.18) */ +/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.19) */ /* COPYRIGHT (C) 1991, 2000 Jeffrey H. Kingston */ /* */ /* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */ @@ -753,6 +753,7 @@ OBJECT *enclose, BOOLEAN fcr) AttachEnv(env, x); SetTarget(hd); enclose_obj(hd) = (has_enclose(sym) ? BuildEnclose(hd) : nilobj); + headers(hd) = nilobj; x = hd; threaded(x) = bthr[COLM] != nilobj || fthr[COLM] != nilobj; ReplaceWithSplit(x, bthr, fthr); @@ -1395,6 +1396,25 @@ OBJECT *enclose, BOOLEAN fcr) break; + case BEGIN_HEADER: + case SET_HEADER: + + /* first manifest gap, which is left parameter */ + Child(y, Down(x)); + y = Manifest(y, env, style, nbt, nft, &ntarget, crs, FALSE, FALSE, + &nenclose, fcr); + y = ReplaceWithTidy(y, FALSE); + GetGap(y, style, &line_gap(save_style(x)), &res_gap); + + /* now the right parameter */ + Child(y, LastDown(x)); + y = Manifest(y, env, style, bthr, fthr, target, crs, ok, need_expand, + enclose, fcr); + break; + + + case END_HEADER: + case CLEAR_HEADER: case HSPAN: case VSPAN: |