Including graphics into title page using customize title page stylesheet in report generator
3 ビュー (過去 30 日間)
古いコメントを表示
I am using the Matlab report generator. I wanted to create a custom title page so I used the Custom Titlepage stylesheet. I'm looking to include a graphic on this page, but using the custom titlepage stylesheet seems to disable the graphics that I included from the "Image" option in the Titlepage component. All other inputs from the Titlepage component work, Title, Subtitle, Author, Abstract, Legal Notice and the timestamp, but not the graphic. Any help on how to modify the Value(XML) to include the image specified in the titlepage component would be appreciated. Currently the Value(XML) code for content reads as follows, there is a graphics option specified, but it appears to do nothing:
<title font-family="{$title.fontset}" margin-left="{$title.margin.left}"/>
<subtitle font-family="{$title.fontset}"/>
<graphic/>
<author/>
<copyright/>
<legalnotice/>
<pubdate/>
<abstract/>
</t:titlepage-content>
2 件のコメント
回答 (1 件)
Phil Goddard
2015 年 9 月 14 日
Came across the same problem recently, and found that within the XML (generated by temporarily using the DocBook target), you'll find that the tag used is called <imageobject> not <graphic>.
Hence, within the Custom Titlepage stylesheet, if you change all occurrences of <graphic/> to <imageobject/> then the image will get put into the report.
That works for me in R2015a.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!