Browse Source

updates to pdf generation

Caleb Fangmeier 7 years ago
parent
commit
bb66e39d77

+ 1 - 1
.flake8

@@ -1,3 +1,3 @@
 [flake8]
-ignore = E221, E222, E241, E225, E226
+ignore = E221, E222, E241, E225, E226, E402
 max_line_length=120

+ 2 - 2
CMakeLists.txt

@@ -70,14 +70,14 @@ IF(DOXYGEN_FOUND)
     )
 ENDIF(DOXYGEN_FOUND)
 
-ADD_SUBDIRECTORY(docs)
+ADD_SUBDIRECTORY(docs/intro/)
 
 FIND_PACKAGE(ROOT REQUIRED)
 INCLUDE_DIRECTORIES( SYSTEM ${ROOT_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
 
 # Adds the dictionary library for addiitonal type serialization
 SET( CLINGDICTFILE ${CMAKE_CURRENT_BINARY_DIR}/clingdict.cpp )
-ROOT_GENERATE_DICTIONARY( "" ${CMAKE_CURRENT_SOURCE_DIR}/filval_root/LinkDef.hpp ${CLINGDICTFILE} "" )
+ROOT_GENERATE_DICTIONARY( "" ${CMAKE_CURRENT_SOURCE_DIR}/filval/root/LinkDef.hpp ${CLINGDICTFILE} "" )
 ADD_LIBRARY( filval SHARED ${CLINGDICTFILE} )
 
 # Compiles main analysis routine

docs/presentations/.gitignore → docs/.gitignore


+ 0 - 12
docs/CMakeLists.txt

@@ -1,12 +0,0 @@
-
-IF(LATEX_COMPILER)
-    SET(LATEX_DEFAULT_BUILD pdf)
-    SET(PDFLATEX_COMPILER xelatex)
-    MESSAGE(STATUS "Found LaTeX compiler.")
-    INCLUDE(${CMAKE_SOURCE_DIR}/cmake/UseLATEX.cmake)
-
-    ADD_SUBDIRECTORY(presentations/intro/)
-
-ELSE(LATEX_COMPILER)
-    MESSAGE(STATUS "No LaTeX found, cannot compile LaTeX documents")
-ENDIF(LATEX_COMPILER)

docs/presentations/intro/.latexmkrc → docs/intro/.latexmkrc


docs/presentations/intro/16x9_seal03.jpg → docs/intro/16x9_seal03.jpg


docs/presentations/intro/CMSlogo.png → docs/intro/CMSlogo.png


+ 22 - 0
docs/intro/CMakeLists.txt

@@ -0,0 +1,22 @@
+# FIND_PACKAGE(LATEX)
+SET(LATEX_DEFAULT_BUILD pdf)
+SET(PDFLATEX_COMPILER xelatex)
+INCLUDE(${CMAKE_SOURCE_DIR}/cmake/UseLATEX.cmake)
+
+IF(LATEX_COMPILER)
+
+##############################################################################
+    SET(LATEX_OUTPUT_PATH ${CMAKE_BINARY_DIR}/intro)
+    ADD_LATEX_DOCUMENT(intro.tex
+                       INPUTS beamerthemebjeldbak.sty
+                       IMAGE_DIRS  . figures
+                       # Add the feynman diagrams manually because UseLATEX wants to 
+                       # generate the pngs if the eps files are included
+                       IMAGES figures/feynman-diagrams/T-b_W-ln.png
+                              figures/feynman-diagrams/T-b_W.png
+                              figures/feynman-diagrams/T-b_W-qq.png )
+##############################################################################
+
+ELSE(LATEX_COMPILER)
+    MESSAGE(STATUS "No LaTeX found, cannot compile LaTeX documents")
+ENDIF(LATEX_COMPILER)

docs/presentations/intro/beamerthemebjeldbak.sty → docs/intro/beamerthemebjeldbak.sty


docs/presentations/intro/figures/4t-branching-ratios.png → docs/intro/figures/4t-branching-ratios.png


docs/presentations/intro/figures/b-tagging.png → docs/intro/figures/b-tagging.png


docs/presentations/intro/figures/event-yields.png → docs/intro/figures/event-yields.png


docs/presentations/intro/figures/feynman-diagrams/T-b-jet_W.xml → docs/intro/figures/feynman-diagrams/T-b-jet_W.xml


docs/presentations/intro/figures/feynman-diagrams/T-b_W-ln.png → docs/intro/figures/feynman-diagrams/T-b_W-ln.png


docs/presentations/intro/figures/feynman-diagrams/T-b_W-ln.xml → docs/intro/figures/feynman-diagrams/T-b_W-ln.xml


docs/presentations/intro/figures/feynman-diagrams/T-b_W-qq.png → docs/intro/figures/feynman-diagrams/T-b_W-qq.png


docs/presentations/intro/figures/feynman-diagrams/T-b_W-qq.xml → docs/intro/figures/feynman-diagrams/T-b_W-qq.xml


docs/presentations/intro/figures/feynman-diagrams/T-b_W.png → docs/intro/figures/feynman-diagrams/T-b_W.png


docs/presentations/intro/figures/feynman-diagrams/T-b_W.xml → docs/intro/figures/feynman-diagrams/T-b_W.xml


docs/presentations/intro/figures/feynman-diagrams/axodraw4j.sty → docs/intro/figures/feynman-diagrams/axodraw4j.sty


docs/presentations/intro/figures/feynman-diagrams/generate_pngs → docs/intro/figures/feynman-diagrams/generate_pngs


docs/presentations/intro/figures/irreducible-backgrounds.png → docs/intro/figures/irreducible-backgrounds.png


docs/presentations/intro/figures/lhc-luminosity-2016.png → docs/intro/figures/lhc-luminosity-2016.png


docs/presentations/intro/figures/production-ew.png → docs/intro/figures/production-ew.png


docs/presentations/intro/figures/production-higgs.png → docs/intro/figures/production-higgs.png


docs/presentations/intro/figures/production-qcd.png → docs/intro/figures/production-qcd.png


docs/presentations/intro/figures/reducible-backgrounds.png → docs/intro/figures/reducible-backgrounds.png


docs/presentations/intro/figures/top-decay.png → docs/intro/figures/top-decay.png


+ 3 - 4
docs/presentations/intro/intro.tex

@@ -1,5 +1,5 @@
 \documentclass[english,aspectratio=169]{beamer}
-% \usepackage{fontspec}
+\usepackage{fontspec}
 \usepackage{graphicx}
 \usepackage{amssymb}
 \usepackage{booktabs}
@@ -18,7 +18,7 @@
 
 \begin{document}
 
-\title[4t X-Section]{Four Tops Cross Section Measurement}
+\title[4t X-Section]{Four Tops X Section Measurement}
 
 \subtitle{Trilepton Channel}
 
@@ -30,7 +30,7 @@
 
 \titlegraphic{%
 \begin{figure}
-\includegraphics[width=1in]{CMSlogo}\hspace{0.75in}\includegraphics[width=1in]{nebraska-n}
+  \includegraphics[width=1in]{CMSlogo.png}\hspace{0.75in}\includegraphics[width=1in]{nebraska-n}
 \end{figure}
 }
 
@@ -38,7 +38,6 @@
   \titlepage%
 \end{frame}
 
-% \begin{frame}
 \section{Introduction}
 \begin{frame}{Production}
   \begin{minipage}[c][\textheight]{0.45\textwidth}

docs/presentations/intro/nebraska-n.png → docs/intro/nebraska-n.png


+ 0 - 8
docs/presentations/intro/CMakeLists.txt

@@ -1,8 +0,0 @@
-
-ADD_LATEX_DOCUMENT(intro.tex
-                   IMAGE_DIRS . figures
-                   # Add the feynman diagrams manually because UseLATEX wants to 
-                   # generate the pngs if the eps files are included
-                   IMAGES figures/feynman-diagrams/T-b_W-ln.png
-                          figures/feynman-diagrams/T-b_W.png
-                          figures/feynman-diagrams/T-b_W-qq.png )