[Commits] [svn:einsteintoolkit] Paper_EinsteinToolkit_2010/ (Rev. 7)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Tue Jan 18 10:01:24 CST 2011


User: knarf
Date: 2011/01/18 10:01 AM

Modified:
 /
  ET.tex, make

Log:
 a bit of cleanup

File Changes:

Directory: /
============

File [modified]: ET.tex
Delta lines: +10 -10
===================================================================
--- ET.tex	2011-01-17 19:35:08 UTC (rev 6)
+++ ET.tex	2011-01-18 16:01:24 UTC (rev 7)
@@ -17,12 +17,8 @@
 \usepackage{wrapfig}
 \usepackage{multicol}
 
-%\setcounter{secnumdepth}{3}
-%\setcounter{tocdepth}{3}
-
 \usepackage[bookmarks, bookmarksopen, bookmarksnumbered]{hyperref}
 \usepackage[all]{hypcap}
-\urlstyle{rm}
 
 \graphicspath{{figures/}}
 
@@ -31,28 +27,33 @@
 \def\bh#1{black hole#1 (BH#1)\gdef\bh{BH}}
 \def\ns#1{neutron star#1 (NS#1)\gdef\ns{NS}}
 \def\gt#1{Georgia Tech#1 (GaTech#1)\gdef\gt{GaTech}}
+
 \newcommand{\codename}[1]{\texttt{#1}}
-
 \newcommand{\todo}[1]{{\color{blue}$\blacksquare$~\textsf{[TODO: #1]}}}
 
 % Don't use tt font for urls
 \urlstyle{rm}
 
+% Why are we setting these sizes? This is almost (but not quite) A4 format.
+% If we are supposed to use A4, we should do it properly, and if we are not,
+% why don't we just use the letter format then?
+
 % 15 characters / 2.5 cm => 100 characters / line
 % Using 11 pt => 94 characters / line
 \setlength{\paperwidth}{216 mm}
 % 6 lines / 2.5 cm => 55 lines / page
 % Using 11pt => 48 lines / pages
 \setlength{\paperheight}{279 mm}
+
 \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}
 % You can use a baselinestretch of down to 0.9
-\renewcommand{\baselinestretch}{0.96}
+%\renewcommand{\baselinestretch}{0.96}
 
 \sloppypar
 
 \begin{document}
 
-\title[]{The Einstein Toolkit: A Community Computational Infrastructure for Relativistic Astrophysics}
+\title[The Einstein Toolkit]{The Einstein Toolkit: A Community Computational Infrastructure for Relativistic Astrophysics}
 
 \author{\textbf{TBD}}
 
@@ -77,16 +78,15 @@
 \thanks{{}$^{(3)}$ Center for Computation \& Technology,
   Louisiana State University, Baton Rouge, LA 70803, USA}
 
+% TODO: Already add a few affiliations which we know are going
+%       to be used
     
 \begin{abstract}
 \todo{ADDME}
 \end{abstract}
 
-
 \maketitle
 
-%\setcounter{tocdepth}{3}
-%\tableofcontents \newpage
 
 \section{Introduction}
 

File [modified]: make
Delta lines: +11 -0
===================================================================
--- make	2011-01-17 19:35:08 UTC (rev 6)
+++ make	2011-01-18 16:01:24 UTC (rev 7)
@@ -1,10 +1,21 @@
 #!/bin/bash
 
+REFRESH_HOSTS="numrel07.cct.lsu.edu topf.wg"
+
 function pdf {
   pdflatex $1.tex
   bibtex $1
   pdflatex $1.tex
   pdflatex $1.tex
+  # Only use/refresh xpdf on some hosts
+  if echo "$REFRESH_HOSTS" | grep -q `hostname`; then
+    pgrep -f "xpdf -remote 127.0.0.1 $1.pdf" 2>&1 > /dev/null
+    if [ $? == 0 ]; then
+      xpdf -remote 127.0.0.1 -reload -raise
+    else
+      xpdf -remote 127.0.0.1 $1.pdf &
+    fi
+  fi
 }
 
 pdf ET



More information about the Commits mailing list