View Single Post
Old 07-15-2014, 06:27 AM   #1
Arbait
Connoisseur
Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.Arbait ought to be getting tired of karma fortunes by now.
 
Posts: 73
Karma: 673502
Join Date: Jan 2012
Device: enTourage pocket eDGe,Pyrus mini, NOOK HD+, KAO, S6, S8, KP4, Note 10+
Question Roman Numerals for series and on book jacket

Please, advice.

My custom column show ok on my custom book jacket.


What to do to have the series with roman numeral like on info/metadata?


The code on \calibre\resources\jacket\template.xhtml is
Code:
<html xmlns="{xmlns}">
    <head>
        <title>{title_str}</title>
        <meta name="calibre-content" content="jacket"/>
        <style type="text/css" media="screen">{css}</style>
    </head>
    <body>
        <div class="cbj_banner">
            <table class="cbj_header">
            	<tr>
            		<td class="cbj_title" colspan="2">{title}</td>
            	</tr>
                <tr>
                    <td  class="cbj_series" colspan="2">{series}</td>
                </tr>
            	<tr>
            		<td class="cbj_author" colspan="2">{author}</td>
            	</tr>
                <tr>
                	<td class="cbj_pubdata" colspan="2">{publisher} ({pubdate})</td>
                </tr>

            	<tr>
            		<td class="cbj_author" colspan="2"><hr class="metadata_divider" /></td>
            	</tr>

                <tr class="cbj_rating">
                    <td class="cbj_label">{rating_label}:</td>
                    <td class="cbj_content">{rating}</td>
                </tr>
                <tr class="cbj_tags">
                    <td class="cbj_label">{tags_label}:</td>
                    <td class="cbj_content">{tags}</td>
                </tr>
                <div><b>{_fna_label}:</b> {_fna}</div>
            </table>
            <div class="cbj_footer">{footer}</div>
        </div>
        <hr class="cbj_kindle_banner_hr" />
        <!-- 
        In addition you can add code to show the values of custom columns here.
        The value is available as _column_name and the title as
        _column_name_label.  For example, if you have a custom column with
        label #genre, you can add it to this template with _genre_label and
        _genre. Note that the # is replaced by an underscore. For example
        
        <div><b>{_fna_label}:</b> {_fna}</div>
        -->
        
        <div class="cbj_comments">{comments}</div>
    </body>
</html>
Thank you
Arbait is offline   Reply With Quote