Changes

Jump to navigation Jump to search
1,369 bytes added ,  20:26, 28 April 2008
no edit summary
I made this in 2008 for some political seminary proceedings (Klingberger Reihe Nr.5, [http://verlag.unitarier.de/?menu=0-2-3 Verlag Deutsche Unitarier]). Every chapter is by an other author, and the author must show up in the table of contents, so there's a special handling of chapter titles using newish and undocumented <cmd>startsectionworld</cmd> - thanks to Wolfgang Schuster!
This one works only with XeTeX/LuaTeX. Use UTF-8 encoding!
--[[User:Hraban|Hraban]] 22:24, 28 April 2008 (CEST)
==Environment==
\mainlanguage [de]
\setuptolerance [{verytolerant, verystrict}]% page breaking
%% Fonts
\setupbodyfontenvironment [default][em=italic] % use italic as em, not slanted
% some shortcuts
\def\TextBig{\switchtobodyfont[gyr-mix, rm, 10pt]}
\def\TextNormal{\switchtobodyfont[gyr-mix, rm, 8pt]}
\doiftextelse%
{\sectionworldparameter\c!author}%
{\rmss\tf\sectionworldparameter\c!author\crlf\vskip0.25em}
{}%
}
style={\ss\bf},
before={\blank}, after={\blank}]
 
\setuphead[subsection][
page=no,
\setupitemgroup[itemize][packed][indentnext=no]
\setupfootnotes[way=bypage, conversion=set 2]% use asterisk, dagger etc. for footnotes per page
\setupexternalfigures[directory={img}]% all figures are in ./img
% some words that got bad hyphenation
\hyphenation{
% en
\startfrontmatter
\component c_00_titelc_00_titlepage \component c_00_impressumc_00_imprint
\stopfrontmatter
\setuppagenumbering[state=start]
% ToC
{
\setuppagenumbering[location=] % should switch off page numbering on ToC page, but doesn't work
\blank[3*big]
\placeinhalt% ToC
}
</texcode>
== Sample ComponentComponents== ===Chapter===
<texcode>
\startcomponent c_00_sample
\stopsectionworld % \start... is contained by \MyChapter
\stopcomponent
</texcode>
 
===Title page===
<texcode>
\startcomponent c_00_titlepage
\product prd_KR05
\project project_proceedings
 
 
\TextBig
\setuppagenumbering[state=stop]
 
\framed[height=\textheight, width=\textwidth, frame=on, align=center]{%
\startlines
 
{\sc Klingberger Reihe Nr.\,}5
 
\vfill
 
{\bfa Wertekonsens in Europa}
 
Die grundgesetzliche Behinderung
der Integration in Deutschland
 
\blank
 
{\bfa Consensus on Values in Europe}
 
The Constitutional Obstruction
of Integration in Germany
 
\vfill
 
\vfill
 
\framed[frame=off, width=\textwidth, align=middle]{\externalfigure[JBK_logo.pdf][width=30mm]}
 
Jugend- und Bildungsstätte Klingberg
 
\stoplines
}
\stopcomponent
</texcode>
 
===Imprint===
<texcode>
\startcomponent c_00_imprint
\product prd_KR05
\project project_proceedings
 
\page
\TextNormal
 
{\tfx
\startlines
Dedication, Funding
\stoplines
}
 
\strut\vfill
\framed[frame=off, align=bottom]{
\startlines
 
{\sc Klingberger Reihe Nr.\,}5
 
{\tfx
Publisher
 
Copyright
 
typeset by {\it fiëé visuëlle} using open source software (\TEX, \CONTEXT)
 
printed in Germany
 
ISBN 978-3-
} % tfx
\stoplines
} % framed
 
\stopcomponent
</texcode>

Navigation menu