From 9259a6b9177dc5363864ee177b79ed27a1592120 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 15 Dec 2018 03:36:12 +0000 Subject: [PATCH] Minor changes --- .latexmkrc | 6 +++++- carreira_phd_thesis_gnuplot_template.cfg | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.latexmkrc b/.latexmkrc index 8c199ec..c9af74f 100644 --- a/.latexmkrc +++ b/.latexmkrc @@ -25,7 +25,6 @@ $force_mode = 0; add_cus_dep('glo', 'gls', 0, 'makeglossaries'); add_cus_dep('acn', 'acr', 0, 'makeglossaries'); - sub makeglossaries { system "makeglossaries $_[0]"; if ( -z "$_[0].glo" ) { @@ -35,5 +34,10 @@ sub makeglossaries { return 0; } +add_cus_dep('gnuplot','tex', 1, 'makegnu2tex'); +sub makegnu2tex { + system("gnuplot -e \"call '$_[0].gnuplot'\"") ; +} + $clean_ext = "out snm acn acr aux alg bbl blg fls ist log lof lot maf out toc nav xdy"; diff --git a/carreira_phd_thesis_gnuplot_template.cfg b/carreira_phd_thesis_gnuplot_template.cfg index 53769bc..ea402d9 100644 --- a/carreira_phd_thesis_gnuplot_template.cfg +++ b/carreira_phd_thesis_gnuplot_template.cfg @@ -1,4 +1,10 @@ # Gnuplot template + +# Textwidth 15.558125475 +# Textwidth 23.9896219611 + +# set term epslatex monochrome font ",7" size 10cm,8cm +#set term cairolatex color font ",7" size 15cm,8cm reset set size {1,1} set grid