summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/songbook
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-06 00:51:45 +0000
committerKarl Berry <karl@freefriends.org>2007-10-06 00:51:45 +0000
commit93c264dcae8eb5c6de54e6883d7b3c16237b3d53 (patch)
treeda9354aba44ff77e706f7848aba179ea2d9028a1 /Master/texmf-dist/tex/latex/songbook
parent4c911ff5ebf103e651707635abf2064ddf149c96 (diff)
songbook update (4feb07)
git-svn-id: svn://tug.org/texlive/trunk@5119 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/songbook')
-rw-r--r--Master/texmf-dist/tex/latex/songbook/songbook.sty14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/songbook/songbook.sty b/Master/texmf-dist/tex/latex/songbook/songbook.sty
index c1053a8d039..182e36e1fbf 100644
--- a/Master/texmf-dist/tex/latex/songbook/songbook.sty
+++ b/Master/texmf-dist/tex/latex/songbook/songbook.sty
@@ -49,11 +49,11 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
-%% rcsid = @(#)$Id: songbook.dtx,v 1.12 2006/10/15 15:49:50 rathc Exp $
+%% rcsid = @(#)$Id: songbook.dtx,v 1.13 2007/02/04 04:12:40 rathc Exp $
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{songbook}[2006/10/13 v4.2 All purpose Songbook style]
-\typeout{Document Subclass: songbook 2006/10/13 v4.2 All purpose Songbook style}
+\ProvidesPackage{songbook}[2007/02/03 v4.3 All purpose Songbook style]
+\typeout{Document Subclass: songbook 2007/02/03 v4.3 All purpose Songbook style}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
@@ -644,6 +644,7 @@
\newcommand{\OHContPgFtrTag} {continued on next page\ldots}
\newcommand{\OHContPgHdrTag} {\theSBSongCnt\ --- \theSongTitle, continued\ldots}
+\newcommand{\SBBaseLang} {English}
\newcommand{\SBBridgeTag} {Bridge:}
\newcommand{\SBChorusTag} {Ch:}
\newcommand{\SBContinueTag} {cont\ldots}
@@ -663,6 +664,7 @@
\newcommand{\theSongScriptRef}{the Scripture}
\newcommand{\theSongTitle}{the Title}
\newcommand{\theXlatnBy}{the Translator}
+\newcommand{\theXlatnLang}{the Language}
\newcommand{\theXlatnPerm}{the Permission}
\newcommand{\theXlatnTitle}{the Translation Title}
@@ -888,6 +890,7 @@
\renewcommand{\theSongScriptRef}{#6} %
\renewcommand{\theSongTitle}{#2} %
\renewcommand{\theXlatnBy}{} %
+ \renewcommand{\theXlatnLang}{\SBBaseLang} %
\renewcommand{\theXlatnPerm}{} %
\renewcommand{\theXlatnTitle}{} %
%
@@ -970,7 +973,10 @@
\setcounter{SBVerseCnt}{0}%
\setcounter{SBSectionCnt}{0}%
}{\relax}
-
+\newenvironment{songTranslation}[4]{% Comment marker negates the newline.
+ \renewcommand{\theXlatnBy}{#4}%
+\begin{xlatn}{#2}{#3}{#4}%
+}{\end{xlatn}}
\def\sbChord#1{%
\ifx#1\relax%
\let\next=\relax%