Index: trunk/doc/release.2015/inputs/lib.bib
===================================================================
--- trunk/doc/release.2015/inputs/lib.bib	(revision 39879)
+++ trunk/doc/release.2015/inputs/lib.bib	(revision 39880)
@@ -15997,53 +15997,2 @@
 }
 
-@ARTICLE{2014ApJ...795...45S,
-   author = {{Scolnic}, D. and {Rest}, A. and {Riess}, A. and {Huber}, M.~E. and 
-	{Foley}, R.~J. and {Brout}, D. and {Chornock}, R. and {Narayan}, G. and 
-	{Tonry}, J.~L. and {Berger}, E. and {Soderberg}, A.~M. and {Stubbs}, C.~W. and 
-	{Kirshner}, R.~P. and {Rodney}, S. and {Smartt}, S.~J. and {Schlafly}, E. and 
-	{Botticella}, M.~T. and {Challis}, P. and {Czekala}, I. and 
-	{Drout}, M. and {Hudson}, M.~J. and {Kotak}, R. and {Leibler}, C. and 
-	{Lunnan}, R. and {Marion}, G.~H. and {McCrum}, M. and {Milisavljevic}, D. and 
-	{Pastorello}, A. and {Sanders}, N.~E. and {Smith}, K. and {Stafford}, E. and 
-	{Thilker}, D. and {Valenti}, S. and {Wood-Vasey}, W.~M. and 
-	{Zheng}, Z. and {Burgett}, W.~S. and {Chambers}, K.~C. and {Denneau}, L. and 
-	{Draper}, P.~W. and {Flewelling}, H. and {Hodapp}, K.~W. and 
-	{Kaiser}, N. and {Kudritzki}, R.-P. and {Magnier}, E.~A. and 
-	{Metcalfe}, N. and {Price}, P.~A. and {Sweeney}, W. and {Wainscoat}, R. and 
-	{Waters}, C.},
-    title = "{Systematic Uncertainties Associated with the Cosmological Analysis of the First Pan-STARRS1 Type Ia Supernova Sample}",
-  journal = {\apj},
-archivePrefix = "arXiv",
-   eprint = {1310.3824},
- keywords = {dark energy, supernovae: general},
-     year = 2014,
-    month = nov,
-   volume = 795,
-      eid = {45},
-    pages = {45},
-      doi = {10.1088/0004-637X/795/1/45},
-   adsurl = {http://adsabs.harvard.edu/abs/2014ApJ...795...45S},
-  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
-}
-
-@ARTICLE{2013ApJS..205...20M,
-   author = {{Magnier}, E.~A. and {Schlafly}, E. and {Finkbeiner}, D. and 
-	{Juric}, M. and {Tonry}, J.~L. and {Burgett}, W.~S. and {Chambers}, K.~C. and 
-	{Flewelling}, H.~A. and {Kaiser}, N. and {Kudritzki}, R.-P. and 
-	{Morgan}, J.~S. and {Price}, P.~A. and {Sweeney}, W.~E. and 
-	{Stubbs}, C.~W.},
-    title = "{The Pan-STARRS 1 Photometric Reference Ladder, Release 12.01}",
-  journal = {\apjs},
-archivePrefix = "arXiv",
-   eprint = {1303.3634},
- primaryClass = "astro-ph.IM",
- keywords = {catalogs, instrumentation: photometers, standards, surveys: PS1, techniques: photometric},
-     year = 2013,
-    month = apr,
-   volume = 205,
-      eid = {20},
-    pages = {20},
-      doi = {10.1088/0067-0049/205/2/20},
-   adsurl = {http://adsabs.harvard.edu/abs/2013ApJS..205...20M},
-  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
-}
Index: trunk/doc/release.2015/ps1.analysis/Makefile
===================================================================
--- trunk/doc/release.2015/ps1.analysis/Makefile	(revision 39879)
+++ trunk/doc/release.2015/ps1.analysis/Makefile	(revision 39880)
@@ -1,6 +1,8 @@
 # $Id: Makefile,v 1.16 2006-01-16 01:11:40 eugene Exp $
 
-DO_PDFLATEX = 0
-DO_BIBTEX = 1
+# WARNING : pdflatex does not do .ps
+# 
+DO_PDFLATEX = 1
+DO_BIBTEX = 0
 
 help:
Index: trunk/doc/release.2015/ps1.analysis/analysis.tex
===================================================================
--- trunk/doc/release.2015/ps1.analysis/analysis.tex	(revision 39879)
+++ trunk/doc/release.2015/ps1.analysis/analysis.tex	(revision 39880)
@@ -1,9 +1,6 @@
-\documentclass[iop]{emulateapj}
-%\documentclass[iop,floatfix]{emulateapj}
-
+\documentclass[iop,floatfix]{emulateapj}
 % \pdfoutput=1
 
-% bounding box is not read correctly without 'graphicx'
-\RequirePackage{graphics}
+\RequirePackage{graphicx}
 \RequirePackage{color}
 \RequirePackage{code}
@@ -14,11 +11,17 @@
 %\def\plotmode{bw}
 
-\def\plotext{ps}
-\def\plottype{eps}
+% latex uses the .ps regardless of \plotext if passed with ext=.\plotext
+% pdflatex uses the png if it exists, pdf otherwise OK with pdf, png
+% independent of graphicx or graphics
+% pdflatex fails on files with multiple dots, protect with {file.name.long}.pdf
+% use ps2pdf -dEPSCrop input.ps to convert to pdf
+
+% \includegraphics[width=\hsize,clip]{peaks}
+% \includegraphics[width=\hsize]{temp.pdf}
+% \includegraphics[width=\hsize]{{FWHM.smooth.trend.ps1}.pdf}
+
+%\def\plotext{pdf}
+%\def\plotext{png}
 \def\plotext{pdf}
-\def\plottype{pdf}
-\def\plotext{png}
-\def\plottype{png}
-
 
 %\def\picdir{/home/eugene/chipresid.20140404}
@@ -581,7 +584,5 @@
 \begin{figure}[htbp]
   \begin{center}
-% \includegraphics[type=\plottype,ext=.\plotext,width=\hsize,clip]{peaks}
- \includegraphics[type=\plottype,ext=.\plotext,width=3.5in,clip]{peaks}
-%\includegraphics[type=\plottype,ext=.\plotext,width=\hsize,height=0.5\hsize,viewport=60 60 560 310,clip]{peaks}
+ \includegraphics[width=\hsize,clip]{peaks}
   \caption{\label{fig:peaks} Illustration of peak finding and culling peaks within a
     footprint.  Insignificant peaks within the footprint of a brighter
@@ -603,6 +604,4 @@
 contained (note by definition all peaks must be located in a
 footprint).  
-
-\end{document}
 
 For any peak which is not the brightest peak in that footprint it is
@@ -627,6 +626,5 @@
 \begin{figure}[htbp]
   \begin{center}
-%  \includegraphics[type=\plottype,ext=.\plotext,width=\hsize,height=2.0\hsize,viewport=60 60 413 760]{FWHM.smooth.trend.ps1}
-  \includegraphics[type=\plottype,ext=.\plotext,width=\hsize]{FWHM.smooth.trend.ps1}
+  \includegraphics[width=\hsize]{{FWHM.smooth.trend.ps1}.\plotext}
   \caption{\label{fig:moments.window} Example of the biases encountered when measuring the second
     moments.  A simulated image was generated using the PS1 PSF
@@ -915,6 +913,5 @@
 \begin{figure}[htbp]
   \begin{center}
-% \includegraphics[type=\plottype,ext=.\plotext,width=\hsize,height=\hsize,viewport=60 60 560 560]{moment.class}
-  \includegraphics[type=\plottype,ext=.\plotext,width=\hsize]{moment.class}
+  \includegraphics[width=\hsize]{{moment.class}.\plotext}
   \caption{\label{fig:moment.class} Illustration of PSF star selection using the FWHM derived
     from the second moments in $X_{\rm ccd}$ and $Y_{\rm ccd}$
@@ -1323,6 +1320,5 @@
 \begin{figure}[htbp]
   \begin{center}
-% \includegraphics[type=\plottype,ext=.\plotext,width=\hsize,height=\hsize,viewport=60 60 560 560]{radial.profiles}
-  \includegraphics[type=\plottype,ext=.\plotext,width=\hsize]{radial.profiles}
+  \includegraphics[width=\hsize]{{radial.profiles}.\plotext}
   \caption{\label{fig:radial.profiles} Radial profiles of stellar images from PS1.  These two
     profiles illustrate the radial trend of the PS1 PSFs for a star
Index: trunk/doc/release.2015/ps1.calibration/Makefile
===================================================================
--- trunk/doc/release.2015/ps1.calibration/Makefile	(revision 39879)
+++ trunk/doc/release.2015/ps1.calibration/Makefile	(revision 39880)
@@ -1,5 +1,5 @@
 # $Id: Makefile,v 1.16 2006-01-16 01:11:40 eugene Exp $
 
-DO_PDFLATEX = 0
+DO_PDFLATEX = 1
 # remember to set \pdfoutput at the top
 
@@ -20,6 +20,5 @@
 ../inputs/apj.bst \
 ../inputs/lib.bib \
-calibration.tex \
-calibration.bbl
+calibration.tex
 
 calibration.pdf: $(FILES)
Index: trunk/doc/release.2015/ps1.calibration/calibration.tex
===================================================================
--- trunk/doc/release.2015/ps1.calibration/calibration.tex	(revision 39879)
+++ trunk/doc/release.2015/ps1.calibration/calibration.tex	(revision 39880)
@@ -15,6 +15,6 @@
 %\def\plotmode{bw}
 
-%\def\plotext{pdf}
-\def\plotext{ps}
+\def\plotext{pdf}
+%\def\plotext{ps}
 
 %\def\picdir{/home/eugene/chipresid.20140404}
@@ -652,5 +652,5 @@
 on the reference photometric night of MJD 55744 (UT 02 July 2011).
 \cite{2014ApJ...795...45S} and \cite{2015ApJ...815..117S} have
-re-examined the photometry of Calspec standards \citep{Bohlin.1996} as
+re-examined the photometry of Calspec standards %% XXX FIX: \citep{Bohlin.1996} as
 observed by PS1.  \cite{2014ApJ...795...45S} reject 2 of the 7 stars
 used by \cite{2012ApJ...750...99T} and add photometry of 5 additional
@@ -955,4 +955,33 @@
 \subsubsection{Warp Photometry}
 
+\begin{figure*}[htbp]
+  \begin{center}
+ \includegraphics[width=0.48\hsize,clip]{{pics/DXT0.mean}.png}
+ \includegraphics[width=0.48\hsize,clip]{{pics/DXT1.mean}.png}
+ \includegraphics[width=0.48\hsize,clip]{{pics/DYT0.mean}.png}
+ \includegraphics[width=0.48\hsize,clip]{{pics/DYT1.mean}.png}
+  \caption{\label{fig:KHchip} Illustration of the Koppenh\"ofer Effect
+    on chip XY04.  In each plot, the solid line shows the measured
+    mean residual for stars detected on this chip as a function of the
+    instrumental magnitude / FWHM$^2$.  {\bf top left} X-direction before correction.  
+{\bf top right} Y-direction before correction.  
+{\bf bottom left} X-direction after correction.  
+{\bf bottom right} Y-direction after correction.  }
+  \end{center}
+\end{figure*}
+
+\begin{figure}[htbp]
+  \begin{center}
+ \includegraphics[width=\hsize,clip]{{pics/KHmap}.png}
+  \caption{\label{fig:KHmap} Map of the amplitude of the
+    Koppenh\"ofer Effect on chips across the focal plane.  In the
+    affected chips, bright stars are up to 0.2 \note{arcsec} deviant
+    from their expected positions. {\bf bottom left} X-direction before
+    correction.  {\bf bottom right} Y-direction before correction.  {\bf
+      top left} X-direction after correction.  {\bf top right}
+    Y-direction after correction.  }
+  \end{center}
+\end{figure}
+
 \section{PV3 DVO Master Database}
 
@@ -1051,4 +1080,17 @@
 stars which are not affected by the KE.  The trend is then stored in a
 form which can be applied to the database measurements.
+
+\begin{figure}[htbp]
+  \begin{center}
+ \includegraphics[width=\hsize,clip]{{pics/pv3.v1.dmag_g.sigma}.png}
+ \includegraphics[width=\hsize,clip]{{pics/pv3.v1.dmag_r.sigma}.png}
+ \includegraphics[width=\hsize,clip]{{pics/pv3.v1.dmag_i.sigma}.png}
+ \includegraphics[width=\hsize,clip]{{pics/pv3.v1.dmag_z.sigma}.png}
+ \includegraphics[width=\hsize,clip]{{pics/pv3.v1.dmag_y.sigma}.png}
+  \caption{\label{fig:dmag.measure} Consistency of photometry
+    measurements across the sky.  Each panel shows a map of the
+    standard deviation of photometry residuals for stars in each pixel.}
+  \end{center}
+\end{figure}
 
 \subsubsection{Differential Chromatic Refraction}
