Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/recipe-books.git

Removes "Recipe compilation by…" line if no author name is given.

Author liantze <email>
Date 2013-04-20 16:02:22 GMT+0800
Commit 39c84b7e9de852ce0b189717688b24f1b8cf34da
Parent 7a5137f
recipe-book.cls
\vfill
\relsize{-1}
-\translate{preCRAuthor}\theauthor\translate{postCRAuthor}
+% TODO Do not produce author line if no author given!
+\ifdefempty{\theauthor}{}{%
+\translate{preCRAuthor}\theauthor\translate{postCRAuthor}%
+}
\ifdefempty{\@frontcoverphoto}{}{%
\ifdefempty{\@photocredittext}{}{%
\\
\translate{preCRCoverPhoto}\@photocredittext\ifdefempty{\@photolicensetext}{}{\@photolicensetext}\translate{postCRCoverPhoto}
- }
+ }\\
}
-\\
\translate{designsBy}
\\
Delta 5 lines added, 3 lines removed, 2-line increase