summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/stage
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/stage')
-rw-r--r--macros/latex/contrib/stage/Makefile6
-rw-r--r--macros/latex/contrib/stage/README10
-rw-r--r--macros/latex/contrib/stage/stage-documentation.pdfbin149248 -> 154204 bytes
-rw-r--r--macros/latex/contrib/stage/stage.cls17
4 files changed, 20 insertions, 13 deletions
diff --git a/macros/latex/contrib/stage/Makefile b/macros/latex/contrib/stage/Makefile
index 7ec79acd03..b26f4e6397 100644
--- a/macros/latex/contrib/stage/Makefile
+++ b/macros/latex/contrib/stage/Makefile
@@ -1,5 +1,5 @@
pdf:
- pdflatex stage-documentation
+ latexmk stage-documentation
-zip: pdf
- cd .. && zip -r stage.zip stage --exclude=stage/.git\* --exclude=.gitignore --exclude=*.cpt --exclude=*.log --exclude=*.aux
+dist: pdf
+ cd .. && zip -r stage.zip stage --exclude=stage/.git\* --exclude=.gitignore --exclude=*.cpt --exclude=*.log --exclude=*.aux --exclude=*.fdb_latexmk --exclude=*.fls
diff --git a/macros/latex/contrib/stage/README b/macros/latex/contrib/stage/README
index a802bf4b95..541d0f65b0 100644
--- a/macros/latex/contrib/stage/README
+++ b/macros/latex/contrib/stage/README
@@ -1,2 +1,10 @@
-stage.cls is a LaTeX class for creating plays of any length in a standard
+Stage is a LaTeX class for creating plays of any length in a standard
manuscript format for production and submission.
+
+Stage may be distributed and/or modified under the conditions of the LaTeX
+Project Public License, either version 1.3 of this license or (at your
+option) any later version.
+
+Maintainer: Reuben Thomas <rrt@sc3d.org>.
+
+Stage was originally written by Robert Jahrling
diff --git a/macros/latex/contrib/stage/stage-documentation.pdf b/macros/latex/contrib/stage/stage-documentation.pdf
index 57f797893c..f7c4ee7784 100644
--- a/macros/latex/contrib/stage/stage-documentation.pdf
+++ b/macros/latex/contrib/stage/stage-documentation.pdf
Binary files differ
diff --git a/macros/latex/contrib/stage/stage.cls b/macros/latex/contrib/stage/stage.cls
index 4756c8c89c..1f22512264 100644
--- a/macros/latex/contrib/stage/stage.cls
+++ b/macros/latex/contrib/stage/stage.cls
@@ -1,6 +1,6 @@
%% stage.cls
%% Copyright 2005 Robert Jahrling
-%% Copyright 2017–2018 Reuben Thomas
+%% Copyright 2017–2022 Reuben Thomas
%
% This is a LaTeX2e class called stage, providing a class
% for stage play Manuscript Format.
@@ -23,7 +23,7 @@
%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{stage}[2018/05/14 v1.01 Manuscript Format for stage plays]
+\ProvidesClass{stage}[2022/03/29 v1.03 Manuscript Format for stage plays]
% The class is based on the default book class
\LoadClass[12pt,oneside]{book}
\PassOptionsToClass{\CurrentOption}{book}
@@ -86,13 +86,12 @@
% Counts scenes per act
\newcounter{scenecounter}[actcounter]
% \dialog sets the character's name above their speech
-\let\stageoldep=\everypar
\newlength{\saveparskip}
\newcommand{\dialog}[2]{%
\needspace{2\baselineskip}%
- {\begin{adjustwidth}{2.5in}{0in}\textsc{#1}\end{adjustwidth}\saveparskip=\parskip\parskip=0pt%
+ {\begin{adjustwidth}{2.5in}{0in}\textsc{#1}\saveparskip=\parskip\parskip=0pt\end{adjustwidth}%
\extramarks{}{}%
- {\begin{adjustwidth}{0in}{0in}\def\everypar{\parskip=\saveparskip\stageoldep}#2\end{adjustwidth}}%
+ {\begin{adjustwidth}{0in}{0in}\parskip=\saveparskip#2\end{adjustwidth}}%
\extramarks{\textsc{#1} (\continuedname)}{}}
}
@@ -121,16 +120,16 @@
% \stage sets the stage directions farther in than the box
% containing the dialog, and parenthesizes them.
\newcommand{\stage}[1]{%
- \begin{adjustwidth}{2in}{0in}
+ \begin{adjustwidth}{2in}{0in}%
(#1)%
- \end{adjustwidth}
+ \end{adjustwidth}%
}
% \charsd is like \paren in ScriptTeX, used for brief character
% stage directions. It's intended to set properly into a passage
% of dialog.
\newcommand{\charsd}[1]{%
- {\def\everypar{\parskip=0pt\stageoldep}%
- \stage{#1}\par\leavevmode}}
+ \parskip=0pt%
+ \stage{#1}\par\leavevmode\parskip=\saveparskip}
% Undocumented, for backwards compatibility
\newcommand{\initsd}[1]{\charsd{#1}}