From 1c1b01ea73bcab2c85655c4af0608e72dcfb4a01 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 9 Feb 2010 11:32:21 -0500 Subject: [PATCH] Replaced blabla package with blindtext following Evan Sultanik's suggestion --- Makefile | 17 ++++++------- drexel-thesis.dtx | 62 ++++++++++++----------------------------------- 2 files changed, 23 insertions(+), 56 deletions(-) diff --git a/Makefile b/Makefile index 5449977..bca3182 100644 --- a/Makefile +++ b/Makefile @@ -6,13 +6,12 @@ drexel-thesis.pdf : drexel-thesis.dtx pdflatex $< drexel-thesis.cls template.tex example.tex example-draft.tex \ - example-1.tex example-a.tex example-ref.bib \ - blabla.sty : \ + example-1.tex example-a.tex example-ref.bib : \ drexel-thesis.ins drexel-thesis.dtx pdflatex $< example.pdf : example.tex example-1.tex example-a.tex example-ref.bib \ - drexel-thesis.cls blabla.sty + drexel-thesis.cls #pdflatex -interaction=batchmode $< pdflatex $< bibtex example @@ -20,7 +19,7 @@ example.pdf : example.tex example-1.tex example-a.tex example-ref.bib \ pdflatex $< example-draft.pdf : example-draft.tex example-1.tex example-a.tex \ - example-ref.bib drexel-thesis.cls blabla.sty + example-ref.bib drexel-thesis.cls pdflatex $< bibtex example-draft pdflatex $< @@ -36,18 +35,18 @@ semi-clean : temp-clean clean : semi-clean rm -f drexel-thesis.pdf example.pdf example-draft.pdf \ - drexel-thesis.cls blabla.sty drexel-thesis.tar.gz + drexel-thesis.cls drexel-thesis.tar.gz dist : drexel-thesis.tar.gz CLASS_FILES = Makefile README drexel-thesis.dtx drexel-thesis.ins \ drexel-thesis.cls drexel-thesis.pdf EXAMPLE_FILES = template.tex example.tex example-draft.tex drexel-logo.pdf \ - example-1.tex example-a.tex example-ref.bib blabla.sty \ + example-1.tex example-a.tex example-ref.bib \ example.pdf example-draft.pdf -USEFUL_PACKAGES = draftmark.sty etextools.sty etoolbox.sty floatrow.sty \ - forloop.sty lastpage.sty ltxnew.sty pagerange.sty tocloft.sty \ - xifthen.sty +USEFUL_PACKAGES = blindtext.sty draftmark.sty etextools.sty etoolbox.sty \ + floatrow.sty forloop.sty lastpage.sty ltxnew.sty pagerange.sty \ + tocloft.sty xifthen.sty drexel-thesis.tar.gz : $(CLASS_FILES) $(EXAMPLE_FILES) $(USEFUL_PACKAGES) rm -f $@ diff --git a/drexel-thesis.dtx b/drexel-thesis.dtx index 31d5869..1cf0e31 100644 --- a/drexel-thesis.dtx +++ b/drexel-thesis.dtx @@ -2791,17 +2791,18 @@ \usepackage{fancyvrb} % nicer verbatim handling \DefineShortVerb{\|} % \verb+TEXT+ -> |TEXT| -\usepackage{blabla} % \blabla macro for producing dummy output +\usepackage[english]{babel} % English blindtext +\usepackage{blindtext} % macros for producing dummy output \begin{document} \begin{preamble} \begin{dedications} -\blabla{10}{20} +\Blindtext{10}{10} \end{dedications} \begin{acknowledgments} -\blabla{10}{20} +\Blindtext{10}{10} \end{acknowledgments} \tableofcontents @@ -2809,7 +2810,7 @@ \listoffigures \begin{abstract} -\blabla{10}{20} +\Blindtext{10}{10} \end{abstract} \end{preamble} @@ -2823,7 +2824,7 @@ \include{example-a} \begin{vita} -\blabla{10}{20} +\Blindtext{10}{10} \end{vita} \end{document} @@ -2859,7 +2860,7 @@ Here we have a text citation \citet{rief97} followed by a parenthetical citation\citep{rief97}. \subsubsection{Tables and Figures} -\blabla{2}{20} +\Blindtext{2}{20} \begin{table} \begin{center} \begin{tabular}{r@{.}l r@{.}l r@{.}l} @@ -2871,7 +2872,7 @@ parenthetical citation\citep{rief97}. 30&0 & 11&9 & 10&1 \\ \ldots \end{tabular} - \caption{A table float. \bla{20}} % low caption allowed with floatrow + \caption{A table float.} %\blindtext{20}} % low caption allowed with floatrow %% Note the strange |r@{.}l| notation in the |\tabular| column %% definition. This allows for numbers aligned at the decimal point %% (see \href{http://www.stat.unipg.it/tex-man/ltx-68.html}{here}). @@ -2880,23 +2881,21 @@ parenthetical citation\citep{rief97}. %% to span the pre- and post-decimal columns. \end{center} \end{table} -\blabla{5}{20} +\Blindtext{5}{20} \begin{figure} - \caption{A figure float. \bla{20}} % high caption allowed with floatrow + \caption{A figure float. \blindtext{20}} % high caption allowed with floatrow \begin{center} \includegraphics[width=0.4\textwidth]{drexel-logo} \end{center} \end{figure} -\blabla{10}{20} +\Blindtext{10}{20} \part{Another Part} \chapter{Another Chapter} -\blabla{30}{20} +\Blindtext{30}{20} \chapter{A Long Title Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla} -\blabla{30}{20} -\section{Section in long-titled chapter} -\blabla{30}{20} +\Blindtext{30}{20} % % \end{macrocode} % @@ -2965,44 +2964,13 @@ Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla} % \begin{macrocode} %<*example-appendix> \chapter{Some Appendix Heading} -\blabla{10}{20} +\Blindtext{10}{20} \chapter{Another Appendix Heading} -\blabla{10}{20} +\Blindtext{10}{20} % % \end{macrocode} % % -% \subsubsection{\pkg{blabla}} -% -% Define the \pkg{blabla} package for generating dummy text. This -% will make it easier to generate reasonable exampes. -% \begin{macrocode} -%<*blabla> -\ProvidesPackage{blabla} [2010/01/11 1.0 Dummy text generation] -% \end{macrocode} -% Use -% \href{http://www.ctan.org/tex-archive/macros/latex/contrib/forloop/}{\pkg{foorloop}} -% for -% \begin{command} -% `\cs{forloop}\oarg{step}\marg{counter}\marg{initial value}\marg{condition}\marg{code}' -% \end{command} -% \begin{macrocode} -\RequirePackage{forloop}[2006/09/18] - -\newcounter{blabla@i} -\newcounter{blabla@j} -\newcommand{\bla}[1]{ - Bla - \forloop{blabla@i}{0}{\value{blabla@i} < #1}{ bla } - bla. -} -\newcommand{\blabla}[2]{ - \forloop{blabla@j}{0}{\value{blabla@j} < #1}{ \bla{#2}\par } -} -% -% \end{macrocode} -% -% % \section{Known bugs and issues} % % -- 2.26.2