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
a41c1c02
Verified
Commit
a41c1c02
authored
Nov 28, 2019
by
Houtan Bastani
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report title was not being written
parent
f2fd7524
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
src/@report/write.m
src/@report/write.m
+8
-0
test/createReport.m
test/createReport.m
+1
-1
No files found.
src/@report/write.m
View file @
a41c1c02
...
...
@@ -105,6 +105,14 @@ end
if
fid_document
==
-
1
error
([
'@report.write: '
msg
]);
end
if
~
isempty
(
o
.
title
)
fprintf
(
fid_document
,
[
'\\begin{titlepage}\n\\centering\n'
...
'\\vspace*{0.5cm}\n\\huge\\bfseries\n%s\n'
...
'\\vspace*{\\fill}\n\\end{titlepage}\n\\clearpage\n'
],
...
o
.
title
);
end
if
isunix
&&
~
ismac
fprintf
(
fid_document
,
'\\pgfdeclarelayer{axis background}\n'
);
fprintf
(
fid_document
,
'\\pgfdeclarelayer{axis lines}\n'
);
...
...
test/createReport.m
View file @
a41c1c02
...
...
@@ -34,7 +34,7 @@ longNames = {'Coca Cola', 'Kinder Bueno', 'Pizza', ...
'Vegetarianism Is Good'
,
'OS X'
,
'Dothraki'
};
%% Begin Report
rep
=
report
(
'directory'
,
'my/report/dir'
);
rep
=
report
(
'directory'
,
'my/report/dir'
,
'title'
,
'Report Title'
);
%% Page 1: GDP
...
...
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