From 36ee655d031ce707f28ea785fba3b70d13d95b7c Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Mon, 13 May 2013 16:28:02 +0200
Subject: [PATCH] reporting: change showdate to showDate
---
matlab/reports/@report/report.m | 4 ++--
matlab/reports/@report/write.m | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/matlab/reports/@report/report.m b/matlab/reports/@report/report.m
index 2f440ebba..9497ce998 100644
--- a/matlab/reports/@report/report.m
+++ b/matlab/reports/@report/report.m
@@ -40,7 +40,7 @@ o.margin_unit = 'cm';
o.pages = pages();
o.filename = 'report.tex';
o.config = '';
-o.showdate = true;
+o.showDate = true;
o.compiler = '';
if nargin == 1
@@ -73,7 +73,7 @@ assert(ischar(o.title), '@report.report: title must be a string');
assert(ischar(o.filename), '@report.report: filename must be a string');
assert(ischar(o.config), '@report.report: config file must be a string');
assert(ischar(o.compiler), '@report.report: compiler file must be a string');
-assert(islogical(o.showdate), '@report.report: showdate must be either true or false');
+assert(islogical(o.showDate), '@report.report: showDate must be either true or false');
assert(isfloat(o.margin) && o.margin > 0, '@report.report: margin must be a float > 0.');
valid_margin_unit = {'cm', 'in'};
diff --git a/matlab/reports/@report/write.m b/matlab/reports/@report/write.m
index 2c1d9c84b..b5969a6cb 100644
--- a/matlab/reports/@report/write.m
+++ b/matlab/reports/@report/write.m
@@ -54,7 +54,7 @@ else
fprintf(fid, '\\usepackage{pgfplots}\n');
end
-if o.showdate
+if o.showDate
fprintf(fid, '\\usepackage{fancyhdr, datetime}\n');
fprintf(fid, '\\newdateformat{reportdate}{\\THEDAY\\ \\shortmonthname\\ \\THEYEAR}\n');
fprintf(fid, '\\pagestyle{fancy}\n');
--
GitLab