From 33e00f02d4ecd28ea5084fc553d2ad182a11ca52 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Wed, 6 Feb 2019 02:45:41 +0000 Subject: Better management for .tex directories to build from tarball In order to collaborate effectively in the project, even project members that don't necessarily want (or have the capacity) to do the whole analysis must be able to contribute to the project. Until now, the users of the distributed tarball could only modify the text and not the figures (built with PGFPlots) of the paper. With this commit, the management of TeX source files in the pipeline was slightly modified to allow this as cleanly as I could think of now! In short, the hand-written TeX files are now kept in `tex/src' and for the pipeline's generated TeX files (in particular the old `tex/pipeline.tex'), we now have a `tex/pipeline' symbolic-link/directory that points to the `tex' directory under the build directory. When packaging the project, `tex/pipeline' will be a full directory with a copy of all the necessary files. Therefore as far as LaTeX is concerned, having a build-directory is no longer relevant. Many other small changes were made to do this job cleanly which will just make this commit message too long! Also, the old `tarball' and `zip' targets are now `dist' and `dist-zip' (as in the standard GNU Build system). --- tex/src/preamble-necessary.tex | 75 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 tex/src/preamble-necessary.tex (limited to 'tex/src/preamble-necessary.tex') diff --git a/tex/src/preamble-necessary.tex b/tex/src/preamble-necessary.tex new file mode 100644 index 0000000..e6ac18e --- /dev/null +++ b/tex/src/preamble-necessary.tex @@ -0,0 +1,75 @@ +%% Necessary (independent of style) macros for this project. +%% +%% These are a set of packages that have been commonly necessary in most +%% LaTeX usages. However, if any are not needed in your work, please feel +%% free to remove them. + + + + + +%% Values from the analysis. +\input{tex/pipeline/macros/pipeline.tex} + + + + + +% Macros for to help in typing, remove them if you don't need them, but +% this can help as a demo on how you can simply writing of commonly used +% words that need special formatting (like software names). +\newcommand{\snsign}{{\small S}/{\small N}} +\newcommand{\originsoft}{\textsf{ORIGIN}} +\newcommand{\sextractor}{\textsf{SE\-xtractor}} +\newcommand{\noisechisel}{\textsf{Noise\-Chisel}} +\newcommand{\makecatalog}{\textsf{Make\-Catalog}} + + + + + +%% For highlighting updates. When this is set, text marked as \new +%% will be colored in dark green and text that is marked wtih \tonote +%% will be marked in dark red. +\ifdefined\highlightchanges +\newcommand{\new}[1]{\textcolor{green!60!black}{#1}} +\newcommand{\tonote}[1]{\textcolor{red!60!black}{[#1]}} +\else +\newcommand{\new}[1]{\textcolor{black}{#1}} +\newcommand{\tonote}[1]{{}} +\fi + + + + + +% Better than verbatim for displaying typed text. +\usepackage{alltt} + + + + + +% For arithmetic opertions within LaTeX +\usepackage[nomessages]{fp} + + + + + +%To add a code font to the text: +\usepackage{courier} + + + + + +%To add some enumerating styles +\usepackage{enumerate} + + + + + +%Including images if necessary +\usepackage{graphicx} -- cgit v1.2.1