17
0

three small changes to the template

1. Tweaked the refs.bib work in the makefile so that it removes the
   refs-cleaned.bib intermediary step and so that it only rebuilds the
   refs when it needs to.

2. Tweaked the article-2 stylesheet so that subsubsection headers are
   not smaller than normal text.

3. Changed the list rendering so that it's smaller (firmlists).
This commit is contained in:
Benjamin Mako Hill 2014-01-10 21:57:20 -08:00
parent fc613f1b26
commit 8e6dd96bbe
3 changed files with 10 additions and 7 deletions

View File

@ -4,17 +4,18 @@
all: project_description.pdf references.pdf all: project_description.pdf references.pdf
pdf: all pdf: all
%.pdf: %.tex refs-processed.bib:
perl -p -e 's/©//' refs.bib > refs-cleaned.bib perl -p -e 's/©//' refs.bib > refs-processed.bib
perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-cleaned.bib |sponge refs-cleaned.bib perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-processed.bib |sponge refs-processed.bib
recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib recode -d u8..ltex < refs-processed.bib | sponge refs-processed.bib
%.pdf: %.tex refs-processed.bib
rubber -fd $< rubber -fd $<
clean: clean:
rubber -d --clean *.tex rubber -d --clean *.tex
rm -f *.tmp rm -f *.tmp
rm -f vc rm -f vc
rm -f refs-cleaned.bib
rm -f refs-processed.bib rm -f refs-processed.bib
viewpdf: all viewpdf: all

View File

@ -66,7 +66,7 @@
\setsecheadstyle{\large\scshape} \setsecheadstyle{\large\scshape}
\setsubsecheadstyle{\normalsize\itshape} \setsubsecheadstyle{\normalsize\itshape}
\setaftersubsubsecskip{-1em} \setaftersubsubsecskip{-1em}
\setsubsubsecheadstyle{\small\bfseries} \setsubsubsecheadstyle{\bfseries}
\renewcommand{\printchaptername}{} \renewcommand{\printchaptername}{}
\renewcommand{\chapternamenum}{} \renewcommand{\chapternamenum}{}
\renewcommand{\chapnumfont}{\chaptitlefont} \renewcommand{\chapnumfont}{\chaptitlefont}

View File

@ -35,12 +35,14 @@
\def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})} \def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})}
\def\citespos#1{\citeauthor{#1}' (\citeyear{#1})} \def\citespos#1{\citeauthor{#1}' (\citeyear{#1})}
% memoir function to take out of the space out of the whitespace lists
\firmlists
% import vc stuff after running `make vc`: \input{vc} \pagestyle{kjhgit} % import vc stuff after running `make vc`: \input{vc} \pagestyle{kjhgit}
\begin{document} \begin{document}
\setlength{\parskip}{4.5pt} \setlength{\parskip}{4.5pt}
\baselineskip 18.5pt \baselineskip 18.5pt
\title{Title} \title{Title}