From e47a1d0b480dfb19fad0512c7425ac98d83b566a Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 9 May 2011 21:43:41 +0000
Subject: new context package context-rst (9may11)

git-svn-id: svn://tug.org/texlive/trunk@22387 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/context/third/rst/manual.tex | 86 ++++++++++++++++++++++
 1 file changed, 86 insertions(+)
 create mode 100644 Master/texmf-dist/doc/context/third/rst/manual.tex

(limited to 'Master/texmf-dist/doc/context/third/rst/manual.tex')

diff --git a/Master/texmf-dist/doc/context/third/rst/manual.tex b/Master/texmf-dist/doc/context/third/rst/manual.tex
new file mode 100644
index 00000000000..460051b69c3
--- /dev/null
+++ b/Master/texmf-dist/doc/context/third/rst/manual.tex
@@ -0,0 +1,86 @@
+\usemodule[bib]
+
+\setuppapersize[A5][A5]
+
+\setupcombinedlist[content][interaction=all,focus=standard]
+
+\setupindenting[yes,next,medium] % -> lead to the glue node error in mkiv
+
+\setuphead[chapter]   [style={\rm\sc},before={\blank[line,force]},after={\blank[2*line,force]}]
+\setuphead[section]   [style={\rm\it},before={\blank[line]}      ,after={\blank[line]}]
+\setuphead[subsection][style={\rm},before={\blank[line]}         ,after={\blank[line]}]
+
+\setupheads[indentnext=yes]
+\setupfloats[indentnext=yes]
+
+\setupbodyfont[10pt]
+
+% title page
+\startbuffer[frontpage]
+\startstandardmakeup
+\raggedcenter
+\vfill
+{\setupbodyfont[,19pt]
+{\em Typesetting}
+\blank [2*big]
+{\tfc {\em re}{\ss Structured}{\em \kern-6ptText}}
+\blank [2*big]
+{\em with \CONTEXT}
+\blank [5*big]
+{\tfa A Manual for {\em rst}{\kern1pt\CONTEXT}}
+}
+\vfill
+\stopstandardmakeup
+\stopbuffer
+
+% additional information
+\startbuffer[author]
+\startstandardmakeup
+\vfill
+\framed [align=right,frame=off,topframe=on] {%
+\tfxx\ss\setupinterlinespace[small]
+Copyright 2010--2011 by Philipp Gesang, Dossenheim.\par
+Mail any patches or suggestions to\par
+\type{string.format("%s@%s.com", "megas.kapaneus", "gmail")}\par
+or pay a visit to \goto{my BitBucket home}[url(http://bitbucket.org/phg/)].\par
+}
+\stopstandardmakeup
+\stopbuffer
+
+
+% table of contents
+\startbuffer[toc]
+\setuppagenumbering[state=start,alternative=doublesided,location=]
+\setupheadertexts
+  [{\tfx\sc\getmarking[chapter]}]   [{\tfx\bf \pagenumber}]
+  [{\tfx\bf \pagenumber}]           [{\tfx{\em rst}{\kern.5pt\CONTEXT}}]
+\completecontent
+\stopbuffer
+
+% something radically changed in mkiv
+\startluacode
+jobvariables = jobvariables or {}
+jobvariables.tobesaved = jobvariables.tobesaved or {}
+\stopluacode
+
+% list of publications
+\startbuffer[pubs]
+\setuplayout[grid=no]
+\setuptolerance[verytolerant]
+\setuptolerance[vertical,verytolerant]
+
+\completepublications
+\stopbuffer
+
+\appendtoks  \getbuffer[frontpage] \to \everystarttext
+\appendtoks  \getbuffer[author]    \to \everystarttext
+\appendtoks  \getbuffer[toc]       \to \everystarttext
+
+%\prependtoks \getbuffer[pubs]      \to \everystoptext
+
+\setupwhitespace[none]
+\setuplayout[grid=verystrict]
+\setuptolerance[tolerant]
+\language[en]
+\setuppagenumbering[state=stop,location=]
+\input doc.tex
-- 
cgit v1.2.3

