]> code.communitydata.science - cdsc_tex.git/commitdiff
three small changes to the template
authorBenjamin Mako Hill <mako@atdot.cc>
Sat, 11 Jan 2014 05:57:20 +0000 (21:57 -0800)
committerBenjamin Mako Hill <mako@atdot.cc>
Sat, 11 Jan 2014 05:57:20 +0000 (21:57 -0800)
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).

paper_template/Makefile
paper_template/mako-mem.sty
paper_template/text.tex

index a831bb30cbf862bb0fb0a13884793c7b8469c54a..e78e0f4c877c6419d17f2e34672088f85c80a23b 100644 (file)
@@ -4,17 +4,18 @@
 all: project_description.pdf references.pdf
 pdf: all
 
 all: project_description.pdf references.pdf
 pdf: all
 
-%.pdf: %.tex
-       perl -p -e 's/©//' refs.bib > refs-cleaned.bib
-       perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-cleaned.bib |sponge refs-cleaned.bib
-       recode -d u8..ltex < refs-cleaned.bib > refs-processed.bib
+refs-processed.bib: 
+       perl -p -e 's/©//' refs.bib > refs-processed.bib
+       perl -0pe 's/,\s+(file|abstract) = \{.*?\}(,\n|\n)/\2/sg' refs-processed.bib |sponge refs-processed.bib
+       recode -d u8..ltex < refs-processed.bib | sponge refs-processed.bib
+
+%.pdf: %.tex refs-processed.bib
        rubber -fd $<
 
 clean: 
        rubber -d --clean *.tex
        rm -f *.tmp
        rm -f vc
        rubber -fd $<
 
 clean: 
        rubber -d --clean *.tex
        rm -f *.tmp
        rm -f vc
-       rm -f refs-cleaned.bib
        rm -f refs-processed.bib
 
 viewpdf: all
        rm -f refs-processed.bib
 
 viewpdf: all
index ffdb4bf0357061a4ea78591f0f1ab62c338cbf5e..e453b010e251142d78277d09aa3ef64aa35e5046 100644 (file)
@@ -66,7 +66,7 @@
  \setsecheadstyle{\large\scshape} 
  \setsubsecheadstyle{\normalsize\itshape} 
  \setaftersubsubsecskip{-1em}
  \setsecheadstyle{\large\scshape} 
  \setsubsecheadstyle{\normalsize\itshape} 
  \setaftersubsubsecskip{-1em}
- \setsubsubsecheadstyle{\small\bfseries}
+ \setsubsubsecheadstyle{\bfseries}
  \renewcommand{\printchaptername}{} 
  \renewcommand{\chapternamenum}{} 
  \renewcommand{\chapnumfont}{\chaptitlefont} 
  \renewcommand{\printchaptername}{} 
  \renewcommand{\chapternamenum}{} 
  \renewcommand{\chapnumfont}{\chaptitlefont} 
index 0f51b10914994e00b859c23dfb7ff2017d4d3aa8..757951227726cfce8d2f0edde5f2a22fe3db9091 100644 (file)
 \def\citepos#1{\citeauthor{#1}'s (\citeyear{#1})}
 \def\citespos#1{\citeauthor{#1}' (\citeyear{#1})}
 
 \def\citepos#1{\citeauthor{#1}'s (\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}
 
 \begin{document}
 
 \setlength{\parskip}{4.5pt}
 % import vc stuff after running `make vc`: \input{vc} \pagestyle{kjhgit}
 
 \begin{document}
 
 \setlength{\parskip}{4.5pt}
-
 \baselineskip 18.5pt
 
 \title{Title}
 \baselineskip 18.5pt
 
 \title{Title}

Community Data Science Collective || Want to submit a patch?