aboutsummaryrefslogtreecommitdiff
path: root/tex/src/preamble-pgfplots.tex
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-05-02 04:38:55 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-05-02 04:42:58 +0100
commit2bfa3a043dcf394492a33bbcb16121dcb227b5ed (patch)
tree703896fad24fa47300d8b4d378cbaa3e582476e2 /tex/src/preamble-pgfplots.tex
parent7fee88631998449ba9572dc491e4401189bdedfe (diff)
First implementation of style in IEEEtran style
The paper is no longer using LuaLaTeX, but raw LaTeX (that saves a DVI), it is so much faster! Initially I had used LuaLaTeX to use special fonts to resemble the CODATA Data Science Journal, but all that overhead is no longer necessary. Therefore I also removed the MANY extra LaTeX packages we were importing. The paper builds and is able to construct one of its images (the git-branching figure) with only 7 packages beyond the minimal TeX/LaTeX installation. Also in terms of processing it is so much faster. The text is just temporary now, and mainly just a place holder. With the next commit, I'll fill it with proper text.
Diffstat (limited to 'tex/src/preamble-pgfplots.tex')
-rw-r--r--tex/src/preamble-pgfplots.tex22
1 files changed, 12 insertions, 10 deletions
diff --git a/tex/src/preamble-pgfplots.tex b/tex/src/preamble-pgfplots.tex
index 0a7b5d5..eabdeb7 100644
--- a/tex/src/preamble-pgfplots.tex
+++ b/tex/src/preamble-pgfplots.tex
@@ -84,7 +84,7 @@
\tikzsetnextfilename{#1}%
\input{tex/src/#1.tex}%
\else
- \includegraphics[width=\linewidth]{tex/tikz/#1.pdf}
+ \includegraphics[width=\linewidth]{tex/tikz/#1.eps}
\fi
}
@@ -92,15 +92,17 @@
-%% Uncomment the following lines for EPS and PS images. Note that you still
-%% have to use the `pdflatex' executable and also add a `[dvips]' option to
-%% graphicx.
-
-%% \tikzset{external/system call={rm -f "\image".eps "\image".ps
-%% "\image".dvi; latex \tikzexternalcheckshellescape -halt-on-error
-%% -interaction=batchmode -jobname "\image" "\texsource";
-%% dvips -o "\image".ps "\image".dvi;
-%% ps2eps "\image.ps"}}
+%% Uncomment the following lines for TiKZ external images to be saved as
+%% EPS and PS images.
+\tikzset{
+ external/system call={
+ rm -f "\image".eps "\image".ps "\image".dvi;
+ latex \tikzexternalcheckshellescape -halt-on-error
+ -interaction=batchmode -jobname "\image" "\texsource";
+ dvips -o "\image".ps "\image".dvi;
+ ps2eps "\image.ps"
+ }
+}