Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
reporting
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dynare
reporting
Commits
2d03c638
Verified
Commit
2d03c638
authored
Aug 09, 2019
by
Houtan Bastani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include timestamp in output files
parent
2079bbd5
Pipeline
#1592
failed with stage
in 55 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
11 deletions
+13
-11
src/@graph/writeGraphFile.m
src/@graph/writeGraphFile.m
+2
-1
src/@page/write.m
src/@page/write.m
+2
-2
src/@paragraph/write.m
src/@paragraph/write.m
+3
-2
src/@report/write.m
src/@report/write.m
+2
-2
src/@report_table/writeTableFile.m
src/@report_table/writeTableFile.m
+2
-2
src/@section/write.m
src/@section/write.m
+2
-2
No files found.
src/@graph/writeGraphFile.m
View file @
2d03c638
...
...
@@ -15,7 +15,7 @@ function o = writeGraphFile(o, pg, sec, row, col)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2013-201
7
Dynare Team
% Copyright (C) 2013-201
9
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -49,6 +49,7 @@ if fid == -1
error
([
'@graph.writeGraphFile: '
msg
]);
end
fprintf
(
fid
,
'%% Graph Object written %s\n'
,
datestr
(
now
));
fprintf
(
fid
,
'\\begin{tikzpicture}[baseline'
);
if
~
isempty
(
o
.
miscTikzPictureOptions
)
fprintf
(
fid
,
',%s'
,
o
.
miscTikzPictureOptions
);
...
...
src/@page/write.m
View file @
2d03c638
...
...
@@ -13,7 +13,7 @@ function o = write(o, fid, pg)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2013-201
7
Dynare Team
% Copyright (C) 2013-201
9
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -32,7 +32,7 @@ function o = write(o, fid, pg)
assert
(
fid
~=
-
1
);
fprintf
(
fid
,
'\n%% Page Object
\n'
);
fprintf
(
fid
,
'\n%% Page Object
written %s\n'
,
datestr
(
now
)
);
if
strcmpi
(
o
.
orientation
,
'landscape'
)
fprintf
(
fid
,
'\\begin{landscape}\n'
);
end
...
...
src/@paragraph/write.m
View file @
2d03c638
...
...
@@ -12,7 +12,7 @@ function o = write(o, fid)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2014-201
5
Dynare Team
% Copyright (C) 2014-201
9
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -30,7 +30,8 @@ function o = write(o, fid)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
assert
(
fid
~=
-
1
);
fprintf
(
fid
,
'%% Paragraph Object\n\\multicolumn{1}{p{\\linewidth}}{%%\n'
);
fprintf
(
fid
,
'%% Paragraph Object written %s\n'
,
datestr
(
now
));
fprintnf
(
fid
,
'\\multicolumn{1}{p{\\linewidth}}{%%\n'
);
if
o
.
cols
~=
1
bc
=
''
;
if
o
.
balancedCols
...
...
src/@report/write.m
View file @
2d03c638
...
...
@@ -11,7 +11,7 @@ function o = write(o)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2013-201
5
Dynare Team
% Copyright (C) 2013-201
9
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -33,7 +33,7 @@ if fid == -1
error
([
'@report.write: '
msg
]);
end
fprintf
(
fid
,
'%% Report Object
\n'
);
fprintf
(
fid
,
'%% Report Object
written %s\n'
,
datestr
(
now
)
);
fprintf
(
fid
,
'\\documentclass[11pt]{article}\n'
);
fprintf
(
fid
,
'\\usepackage[%spaper,margin=%f%s'
,
o
.
paper
,
o
.
margin
,
o
.
marginUnit
);
...
...
src/@report_table/writeTableFile.m
View file @
2d03c638
...
...
@@ -15,7 +15,7 @@ function o = writeTableFile(o, pg, sec, row, col)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2013-201
7
Dynare Team
% Copyright (C) 2013-201
9
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -50,7 +50,7 @@ if fid == -1
error
([
'@report_table.writeTableFile: '
msg
]);
end
fprintf
(
fid
,
'%% Report_Table Object
\n'
);
fprintf
(
fid
,
'%% Report_Table Object
written %s\n'
,
datestr
(
now
)
);
fprintf
(
fid
,
'\\setlength{\\parindent}{6pt}\n'
);
fprintf
(
fid
,
'\\setlength{\\tabcolsep}{4pt}\n'
);
...
...
src/@section/write.m
View file @
2d03c638
...
...
@@ -14,7 +14,7 @@ function o = write(o, fid, pg, sec)
% SPECIAL REQUIREMENTS
% none
% Copyright (C) 2013-201
7
Dynare Team
% Copyright (C) 2013-201
9
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -32,7 +32,7 @@ function o = write(o, fid, pg, sec)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
assert
(
fid
~=
-
1
);
fprintf
(
fid
,
'%% Section Object
\n'
);
fprintf
(
fid
,
'%% Section Object
written %s\n'
,
datestr
(
now
)
);
if
isempty
(
o
.
elements
)
warning
([
'reporting:section.write(): trying to print a section '
...
'with no elements. Perhaps you forgot to overwrite the report object.'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment