diff --git a/matlab/reporting/@graph/createGraph.m b/matlab/reporting/@graph/createGraph.m index 4a14767b8b7c7b5644504050548de1ceee37f18d..e40eaddead1957f49d8a0c2e298fc9a6573b27c6 100644 --- a/matlab/reporting/@graph/createGraph.m +++ b/matlab/reporting/@graph/createGraph.m @@ -38,7 +38,6 @@ if ~o.seriesElements.numElements() return; end -disp('creating plot..........'); h = figure('visible','off'); hold on; box on; diff --git a/matlab/reporting/@pages/addPage.m b/matlab/reporting/@pages/addPage.m index e5fe7e556f6ddc6280575e795e7037b894a39e13..00d154a1f164af70adad5792ccd1c451444d8685 100644 --- a/matlab/reporting/@pages/addPage.m +++ b/matlab/reporting/@pages/addPage.m @@ -29,5 +29,6 @@ function o = addPage(o, varargin) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. +disp(['Processing Page: ' num2str(numPages(o)+1)]); o.objArray = o.objArray.addObj(page(varargin{:})); end \ No newline at end of file diff --git a/matlab/reporting/@pages/write.m b/matlab/reporting/@pages/write.m index 903e8b6b6ef2de589ec648f771e35928f68d4bdf..203060495ed5d8dc00135f13398344af89b700fb 100644 --- a/matlab/reporting/@pages/write.m +++ b/matlab/reporting/@pages/write.m @@ -33,6 +33,7 @@ assert(fid ~= -1); fprintf(fid, '\n%% Pages Object\n'); nps = numPages(o); for i=1:nps + disp(['Writing Page: ' num2str(i)]); o.objArray(i).write(fid); end fprintf(fid, '%% End Pages Object\n\n'); diff --git a/matlab/reporting/@report/write.m b/matlab/reporting/@report/write.m index d3b282ce6f7fbfe305f111e27d0d8ebf4c94efc8..031310d47585fc418f3d0e4ce57bb353d2fd75f5 100644 --- a/matlab/reporting/@report/write.m +++ b/matlab/reporting/@report/write.m @@ -72,4 +72,5 @@ status = fclose(fid); if status == -1 error('@report.wrie: closing %s\n', o.filename); end -end \ No newline at end of file +disp('Finished Writing Report!'); +end diff --git a/matlab/reporting/@section/addGraph.m b/matlab/reporting/@section/addGraph.m index 28e6e80b9b29afc33c5a56659c4a1924223fba9f..b8e3c03f2aac2a41cc2399b11f3bb8450a3679ed 100644 --- a/matlab/reporting/@section/addGraph.m +++ b/matlab/reporting/@section/addGraph.m @@ -30,5 +30,6 @@ function o = addGraph(o, varargin) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. +disp(['Processing Section Element: ' num2str(numElements(o)+1)]); o.elements = o.elements.addGraph(varargin{:}); end diff --git a/matlab/reporting/@section/addTable.m b/matlab/reporting/@section/addTable.m index 7e9390c96cf5a132da2282f1e457f8efa7ddd737..1668793ccc05d660dd711d76472be9dac8bf84b2 100644 --- a/matlab/reporting/@section/addTable.m +++ b/matlab/reporting/@section/addTable.m @@ -30,5 +30,6 @@ function o = addTable(o, varargin) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. +disp(['Processing Section Element: ' num2str(numElements(o)+1)]); o.elements = o.elements.addTable(varargin{:}); end diff --git a/matlab/reporting/@section/addVspace.m b/matlab/reporting/@section/addVspace.m index b572b194226d79d2130b4bac9a40c2ab0807aa1c..43ca6ac671aa0057b5b20e6a46f1b555467a8dae 100644 --- a/matlab/reporting/@section/addVspace.m +++ b/matlab/reporting/@section/addVspace.m @@ -29,5 +29,6 @@ function o = addVspace(o, varargin) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. +disp(['Processing Section Element: ' num2str(numElements(o)+1)]); o.elements = o.elements.addVspace(varargin{:}); end diff --git a/matlab/reporting/@section/write.m b/matlab/reporting/@section/write.m index 8a4d36d8e1f2e27a6b4c32172263bccb8b6a49fa..6a1f68dfca941fd4e9f353eee2574611af91ada8 100644 --- a/matlab/reporting/@section/write.m +++ b/matlab/reporting/@section/write.m @@ -51,6 +51,7 @@ ne = numElements(o); nvspace = numVspace(o); nlcounter = 0; for i=1:ne + disp(['Writing Section Element: ' num2str(i)]); if isa(o.elements(i), 'vspace') assert(rem(nlcounter, o.cols) == 0, ['@section.write: must place ' ... 'vspace command after a linebreak in the table ' ... diff --git a/matlab/reporting/@sections/addSection.m b/matlab/reporting/@sections/addSection.m index 08bf94813f5e04e37c64c682dfe2762d178894b9..d2190ae84845d83203999ab8741e2d514d677668 100644 --- a/matlab/reporting/@sections/addSection.m +++ b/matlab/reporting/@sections/addSection.m @@ -1,5 +1,5 @@ -function ss = addSection(ss, varargin) -% function ss = addSection(ss, varargin) +function o = addSection(o, varargin) +% function o = addSection(o, varargin) % Copyright (C) 2013 Dynare Team % @@ -18,5 +18,6 @@ function ss = addSection(ss, varargin) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. -ss.objArray = ss.objArray.addObj(section(varargin{:})); +disp(['Processing Section: ' num2str(numSections(o)+1)]); +o.objArray = o.objArray.addObj(section(varargin{:})); end \ No newline at end of file diff --git a/matlab/reporting/@sections/write.m b/matlab/reporting/@sections/write.m index 372ef6299d6be6ce8ae9b550eafc0bb077e6bb7d..d354d331f983092eb187e54a8480326206d998fc 100644 --- a/matlab/reporting/@sections/write.m +++ b/matlab/reporting/@sections/write.m @@ -33,6 +33,7 @@ assert(fid ~= -1); fprintf(fid, '\n%% Sections Object\n'); nps = numSections(o); for i=1:nps + disp(['Writing Section: ' num2str(i)]); o.objArray(i).write(fid); end fprintf(fid, '%% End Sections Object\n\n'); diff --git a/matlab/reporting/@table/write.m b/matlab/reporting/@table/write.m index ba5357c387bd720590d5dbabc7e10b95b8f3131c..af10ff79b45712888fb02f2165e056979d659217 100644 --- a/matlab/reporting/@table/write.m +++ b/matlab/reporting/@table/write.m @@ -49,7 +49,6 @@ else end ndates = dates.ndat; -disp('creating table.........'); fprintf(fid, '%% Table Object\n'); fprintf(fid, '\\setlength{\\tabcolsep}{4pt}\n'); fprintf(fid, '\\begin{tabular}{@{}l');