diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:47:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:47:11 +0000 |
commit | 6d6621ddda94a8d3eb3fcd67b4dcfc61335d5450 (patch) | |
tree | 8c03e4a5c591e11ec7436db74879bf1052a41f5f /Master/texmf-dist/tex/xmltex/xmlplay | |
parent | 3b927eb81270ca256a85224fda0e0812120168a3 (diff) |
trunk/Master/texmf-dist/tex/xmltex/
git-svn-id: svn://tug.org/texlive/trunk@627 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xmltex/xmlplay')
-rw-r--r-- | Master/texmf-dist/tex/xmltex/xmlplay/play.xmt | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xmltex/xmlplay/play.xmt b/Master/texmf-dist/tex/xmltex/xmlplay/play.xmt new file mode 100644 index 00000000000..966cd7c2db0 --- /dev/null +++ b/Master/texmf-dist/tex/xmltex/xmlplay/play.xmt @@ -0,0 +1,122 @@ +\XMLentity{amp}{\&} + +\XMLname{PLAY}{\PLAY} +\XMLname{PERSONAE}{\PERSONAE} +\XMLname{INDUCT}{\INDUCT} +\XMLname{SCENE}{\SCENE} +\XMLname{ACT}{\ACT} +\XMLname{PROLOGUE}{\PROLOGUE} +\XMLname{EPILOGUE}{\EPILOGUE} +\XMLname{LINE}{\LINE} + + + +\XMLelement{PLAY}{} + {\documentclass[11pt,a4paper]{play} + \usepackage[margin=2.5cm,twosideshift=-.5cm]{geometry} + \begin{document} + \frontmatter} + {\end{document}} + +\XMLelement{FM}{} + {\begin{titlepage} + \vspace*{\fill}} + {\vspace*{\fill} + \end{titlepage}} + +\XMLelement{P}{}{}{\par} + +\XMLelement{PERSONAE}{} + {\xmlgrab} + {\chapter*{\xmltexfirstchild#1\@} + \let\chapter=\@gobbletwo + \begin{description} + #1 + \end{description}} + +\XMLelement{PERSONA}{} + {\item} + {} + +\XMLelement{PGROUP}{} + {\begin{description}} + {} %To be closed by GRPSESCR + +\XMLelement{GRPDESCR}{} + {\end{description} + \item[\hspace{8em}]}{} + +\XMLelement{PLAYSUBT}{} + {\mainmatter\vspace*{.3\textheight}\huge\bfseries\centering} + {\par} + +\XMLelement{SCNDESCR}{} + {\begin{thesetting}} + {\end{thesetting}} + +\XMLelement{TITLE}{} + {\xmlgrab} + {\ifx\XML@parent\PLAY + \begin{titlepage} + \vspace*{\fill}\centering #1\par + \vspace*{\fill}\end{titlepage} + \fi + \ifx\XML@parent\PERSONAE\chapter*{#1}\fi + \ifx\XML@parent\INDUCT\chapter*{#1}\fi + \ifx\XML@parent\SCENE\scene*{#1}\fi + \ifx\XML@parent\ACT\act*{#1}\fi + \ifx\XML@parent\PROLOGUE\scene*{#1}\fi + \ifx\XML@parent\EPILOGUE\scene*{#1}\fi} + +\XMLelement{SUBTITLE}{} + {\xmlgrab} + {\ifx\XML@parent\ACT\section*{#1} + \else \item #1 \fi} + +\XMLelement{ACT}{} + {} + {} + +\XMLelement{SCENE}{} + {\begin{verseplay}} + {\end{verseplay}} + + +\XMLelement{SPEECH}{} + {\xmlgrab} + {\let\idorgobble\relax + \speaker{\xmltexfirstchild#1\@} + \let\idorgobble\@gobble #1} + +\XMLelement{SPEAKER}{} + {\xmlgrab} + {\idorgobble{#1}} + +\XMLelement{LINE}{} + {} + {\\} + +\XMLelement{STAGEDIR}{} + {\xmlgrab} + {\ifx\XML@parent\SCENE + \item\fi + \ifx\XML@parent\ACT + \item\fi + \ifx\XML@parent\LINE\shortdirection{#1} + \else\longdirection{#1}\fi} + +\XMLelement{EPILOGUE}{} + {\begin{verseplay}} + {\end{verseplay}} + +\XMLelement{PROLOGUE}{} + {\begin{verseplay}} + {\end{verseplay}} + +\XMLelement{SUBTITLE}{} + {\xmlgrab} + {\PackageWarningNoLine{xmltex play}{Subtitles are not supported. Sorry}} + +\XMLelement{SUBHEAD}{} + {\xmlgrab} + {\PackageWarningNoLine{xmltex play}{Sub-headings are not supported. Sorry}} |