aboutsummaryrefslogtreecommitdiffstats
path: root/include/bookf
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:38:39 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:38:39 +0000
commit68c155de3c3e83f53404288a318c5e29f0c4610f (patch)
tree3038e465a5cda497e52e93b4c5532b0dfa7d2c79 /include/bookf
parent78c2bcf9e96ab00615ee6f96905bca78fcd52a00 (diff)
downloadlout-68c155de3c3e83f53404288a318c5e29f0c4610f.tar.gz
Lout 3.28.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@25 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'include/bookf')
-rw-r--r--include/bookf56
1 files changed, 55 insertions, 1 deletions
diff --git a/include/bookf b/include/bookf
index c50d2cd..45a5bed 100644
--- a/include/bookf
+++ b/include/bookf
@@ -11,7 +11,7 @@
###########################################################################
extend @BasicSetup @DocumentSetup
-export @Book @Preface @Abbreviations @Introduction @Chapter @Appendix
+export @Book @Preface @Abbreviations @Introduction @Chapter @Appendix @Colophon
def @BookSetup
named @TitlePageFont { Helvetica Base }
named @SeparateIntroNumbering { Yes }
@@ -31,6 +31,7 @@ def @BookSetup
named @IndexWord { index }
named @IndexAWord { index }
named @IndexBWord { index }
+ named @ColophonWord { colophon }
named @ChapterNumbers { Arabic }
named @FirstChapterNumber { 1 }
@@ -111,6 +112,7 @@ def @BookSetup
named @IndexInContents { Yes }
named @IndexAInContents { Yes }
named @IndexBInContents { Yes }
+ named @ColophonInContents { Yes }
named @PartContentsIndent { 0.5rt }
named @ChapterNumInTheorems { Yes }
@@ -164,6 +166,7 @@ def @BookSetup
named @IndexPrefix { }
named @IndexAPrefix { }
named @IndexBPrefix { }
+ named @ColophonPrefix { }
@Begin
@@ -585,6 +588,38 @@ def @BookSetup
@IndexBSection @RunB
}
+ def @ColophonPart
+ named @Tag {}
+ {
+ def @RunC
+ {
+ NonStart @Runner
+ @MajorNum {}
+ @MajorTitle { index @WordVal @ColophonWord }
+ @MinorNum {}
+ @MinorTitle { index @WordVal @ColophonWord }
+ @Owner { @Tag }
+ @Prefix { @ColophonPrefix }
+ }
+
+ @LargeScaleStructure
+ tag { @Tag }
+ type { Major }
+ initiallanguage { @InitialLanguage }
+ title { colophon @WordVal @ColophonWord }
+ aboveheadinggap { @AboveChapterGap }
+ headingfont { @ChapterHeadingFont }
+ headingbreak { @ChapterHeadingBreak }
+ headingformat { @Num @ChapterHeadingFormat @Body }
+ incontents { @ColophonInContents }
+ pnprefix { @ColophonPrefix }
+ inrunners { Yes }
+ sendheader { @Full @Body }
+ innergap { @SectionGap }
+ wantindefinite { Yes }
+ @ColophonSection @RunC
+ }
+
def @BookIntro force into { @IntroColPlace&&preceding }
named @Optimize { @OptimizePages }
{
@@ -644,6 +679,7 @@ def @BookSetup
Bypass @Yield @BypassBeginIndexPlace
else @Yield @Null
}
+ // @MakeColophon @Do @ColophonPart
}
def @BookCombined force into { @ColPlace&&preceding }
@@ -694,6 +730,7 @@ def @BookSetup
Bypass @Yield @BypassBeginIndexPlace
else @Yield @Null
}
+ // @MakeColophon @Do @ColophonPart
}
@InitialFont @Font { @InitialBreak setoutdent @InitialOutdent } @Break
@@ -1321,4 +1358,21 @@ def @BookSetup
}
+ #######################################################################
+ # #
+ # Colophon. #
+ # #
+ #######################################################################
+
+ def @Colophon into { @ColophonList&&preceding }
+ named @Tag {}
+ named @InitialLanguage {}
+ body @Body
+ {
+
+ @InitialLanguage @Language @Body
+
+ }
+
+
@End @BookSetup