<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: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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 92.4pt 72.0pt 92.4pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:731197386;
        mso-list-type:hybrid;
        mso-list-template-ids:-572495474 1556663758 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-number-format:alpha-upper;
        mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[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-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoPlainText>How to for Windows users: git and docbook.&nbsp; <o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>There are other ways of doing this, but the following
worked.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Overview:<o:p></o:p></p>

<p class=MsoPlainText>A)Initial setup<o:p></o:p></p>

<p class=MsoPlainText>A1) Install Msys/Git<o:p></o:p></p>

<p class=MsoPlainText>A2) Git checkout of CellML spec docbook source<o:p></o:p></p>

<p class=MsoPlainText>A3) Installation of xsltproc<o:p></o:p></p>

<p class=MsoPlainText>A4) Installation of docbook-xsl<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>B)Routine operations<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Details:<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>A) <b>Initial setup</b>:<o:p></o:p></p>

<p class=MsoPlainText>A1) <b>MSys and Git</b>:<o:p></o:p></p>

<p class=MsoPlainText>A1.1) Note: the installer does not seem to work from behind
a firewall if the firewall blocks direct outward connections.<o:p></o:p></p>

<p class=MsoPlainText>A1.2) Note: in the next step, you can choose the install
target directory.&nbsp; I&#8217;ll assume the default was used &#8220;C:\msysgit&#8221;
and refer to it later.<o:p></o:p></p>

<p class=MsoPlainText>A1.3) Download and run <a
href="http://msysgit.googlecode.com/files/GitMe-0.4.2.exe">http://msysgit.googlecode.com/files/GitMe-0.4.2.exe</a><o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>A2) <b>Checkout</b>:<o:p></o:p></p>

<p class=MsoPlainText>A2.1) Run msys (see step B1)<o:p></o:p></p>

<p class=MsoPlainText>A2.2) Execute the git commands as per Andrew's e-mail,
repeated here:<o:p></o:p></p>

<p class=MsoPlainText>git clone git://repo.or.cz/cellml-draft-miller.git
andrews-spec-version<o:p></o:p></p>

<p class=MsoPlainText>cd andrews-spec-version<o:p></o:p></p>

<p class=MsoPlainText>git checkout -b normative remotes/origin/normative<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>A3) <b>xsltproc</b>: <o:p></o:p></p>

<p class=MsoPlainText>A3.1) Follow the instructions at <a
href="http://www.sagehill.net/docbookxsl/InstallingAProcessor.html#InstallXsltproc">http://www.sagehill.net/docbookxsl/InstallingAProcessor.html#InstallXsltproc</a>,
just the short section under &quot;Installing xsltproc on Windows&quot;<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>A4) <b>docbook-xsl<o:p></o:p></b></p>

<p class=MsoPlainText>A4.1) Note: The path in the next step assumes the default
was chosen for step A1.2, so adjust this as necessary.<o:p></o:p></p>

<p class=MsoPlainText>A4.2) Make the following subdirectories under the
Msys/share directory for the xsl files: C:\msysgit\share\xml\docbook\stylesheet\nwalsh<o:p></o:p></p>

<p class=MsoPlainText>A4.3) Download latest version (currently docbook-xsl-1.73.2.zip)
from <a href="http://sourceforge.net/projects/docbook/">http://sourceforge.net/projects/docbook/</a><o:p></o:p></p>

<p class=MsoPlainText>A4.4) Unzip the contents into the directory referred to
in A4.2<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><b><o:p>&nbsp;</o:p></b></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>B) <b>Routine use</b><o:p></o:p></p>

<p class=MsoPlainText>B1) Run &quot;msys.bat&quot; (it is located in the
directory chosen in step A1 above.&nbsp; It opens a terminal window, and one
can operate the command line tools in a similar fashion to a Linux/Unix like OS.<o:p></o:p></p>

<p class=MsoPlainText>B2) cd to &#8220;andrews-spec-version&#8221;<o:p></o:p></p>

<p class=MsoPlainText>B3) Get the latest updates if you want: &#8220;git pull&#8221;
(Note: I&#8217;m still new to git, so there may be variations here.)<o:p></o:p></p>

<p class=MsoPlainText>B4) Run &#8220;./genspec.sh&#8221;<o:p></o:p></p>

<p class=MsoPlainText>B5) This should have generated &#8220;toplevel.xhtml&#8221;<o:p></o:p></p>

<p class=MsoPlainText>B6) Browse the generated spec: &#8220;explorer toplevel.xhtml&#8221;&nbsp;
(Note that somehow Firefox will launch here if it is your default browser <span
style='font-family:Wingdings'>J</span>)<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>This should allow you to at least keep up with any
changes in the original repository.<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>Regards,<o:p></o:p></p>

<p class=MsoPlainText>Randall<o:p></o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText><o:p>&nbsp;</o:p></p>

<p class=MsoPlainText>&gt; -----Original Message-----<o:p></o:p></p>

<p class=MsoPlainText>&gt; From: cellml-discussion-bounces@cellml.org
[mailto:cellml-discussion-<o:p></o:p></p>

<p class=MsoPlainText>&gt; bounces@cellml.org] On Behalf Of Andrew Miller<o:p></o:p></p>

<p class=MsoPlainText>&gt; Sent: Monday, 12 November 2007 10:22 a.m.<o:p></o:p></p>

<p class=MsoPlainText>&gt; <o:p></o:p></p>

<p class=MsoPlainText>&gt; There is an MingW / MSYS based git port as well -<o:p></o:p></p>

<p class=MsoPlainText>&gt; http://msysgit.googlecode.com/files/GitMe-0.4.2.exe
- I haven't tried<o:p></o:p></p>

<p class=MsoPlainText>&gt; it&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p>

<p class=MsoPlainText>&gt; myself.<o:p></o:p></p>

<p class=MsoPlainText>&gt; <o:p></o:p></p>

</div>

</body>

</html>