[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling galleys in @Figure
From: |
Whittle |
Subject: |
Re: Calling galleys in @Figure |
Date: |
Fri, 5 Nov 2004 13:07:49 -0500 |
Now that I've caught up to the latest version, I thought I would post
the smallest example of the problem I was having:
mydefs
----------
extend @BasicSetup @DocumentSetup @BookSetup @Chapter @Section
def @TestAlphaPlace { @Galley }
extend @BasicSetup @DocumentSetup @BookSetup @Chapter @Section
def @TestAlphaList { @TestAlphaPlace // @TestAlphaList }
extend @BasicSetup @DocumentSetup @BookSetup @Chapter @Section
def @TestAlphaDef into { @TestAlphaPlace&&following }
left @name
body @desc
{
@SubSection
@Title { @name }
@Begin
@desc
@End @SubSection
}
extend @BasicSetup @DocumentSetup @BookSetup @Chapter @Section
def @TestAlpha
left n
body y
{
{ n } @TestAlphaDef { y }
--- n ---
}
----------
test.lt
----------
@SysInclude { diag }
@SysInclude { book }
@Book
@Title { Test Case }
@Author { Whittle }
@Edition { 0.1 }
//
@Chapter
@Title { Basic Test }
@Begin
@PP A little text.
@BeginSections
@Section
@Title { Test Section }
@Begin
@PP A little more text.
@Figure @Diag {
@Node { { A } @TestAlpha { @PP Lots of text. } }
@Node { { B } @TestAlpha { @PP More text. } }
@Node { { C } @TestAlpha { @PP Even more text. } } }
@BeginSubSections
@TestAlphaList
@EndSubSections
@End @Section
@EndSections
@End @Chapter
----------
Note that if you replace @Figure with // in test.lt, everything works
as expected.
Cheers,
Jason Whittle
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Calling galleys in @Figure,
Whittle <=