<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><![if mso 9]><style>p.MsoNormal
        {margin-left:3.0pt;}
</style><![endif]><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple style='margin-left:3.0pt;margin-top:3.0pt;margin-right:3.0pt;margin-bottom:.75pt'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Simon,<br>I think that the theme files are compiled into the auto-3.3.12.css from their location in ~/lib/themes/… – if you look at that file, you can see where the files are coming from – e.g. <br>/* From: /usr/share/eprints/lib/themes/lul/static/style/auto/z_lul.css */<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You might want to look at: <a href="http://bazaar.eprints.org/118/">http://bazaar.eprints.org/118/</a> and <a href="http://bazaar.eprints.org/232/">http://bazaar.eprints.org/232/</a> as examples of themes.<br>If you’ve got a test archive, try installing one of them and see where the files go.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers,<br>John<o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] <b>On Behalf Of </b>Simon Jennings<br><b>Sent:</b> 07 October 2014 16:18<br><b>To:</b> eprints-tech@ecs.soton.ac.uk<br><b>Subject:</b> [EP-tech] Creating bazaar packages which contain .css files<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Hi everyone,<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>very sorry, another eprints tutorial another question!<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>I'm completing the Style (CSS) and Eloquence (Languages) page for bazaar package development.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><a href="http://wiki.eprints.org/w/Style_%28CSS%29_and_Eloquence_%28Languages%29">http://wiki.eprints.org/w/Style_%28CSS%29_and_Eloquence_%28Languages%29</a><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Unlike the screen based bazaar packages this one simply contains a .css file. The instructions are not specific on how to package this file.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>The cfg file is copied over to cfg.d local directory, but I was wondering what happens to the .css file. The tutorial instructs us to<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>create it in the local directory:<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><eprints_root>/archives/<archive_name>/cfg/themes/<my_theme/static/style/auto/foo.css<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>and then "To package your theme simply remove the files you have created from the archive and package them in the same way you have in the earlier excises".<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>If I place it in the lib directory:<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><eprints_root>/lib/themes/<my_theme/static/style/auto/foo.css <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>and then create and enable the package. The css is not copied to a local directory and then is no change in the interface.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Is this the correct thing to do, and as general question do bazaar package files other than the cfg get copied to the local subdirectories.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Many thanks again,<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Simon.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>---------------------------------------------<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Simon Jennings.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Research Data Management Software Developer<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>Library & Archives Service<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'>London School of Hygiene and Tropical Medicine<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'><a href="mailto:simon.jennings@lshtm.ac.uk">simon.jennings@lshtm.ac.uk</a><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span style='font-size:10.0pt;font-family:"Segoe UI","sans-serif"'> <o:p></o:p></span></p></div></div></body></html>