This repository contains the source files used to build to the official CDMI 2.0 specification document.
The document is written using reStructuredText, and built using the Sphinx (http://www.sphinx-doc.org/en/master/).
Currently, the document is optimized for PDF output via LaTeX.
When installing the various applications, it is recommended to choose the current user only installation in contrast to the all users installation. This prevents later issues around the need for Administrative Access.
-
Download & Install Python https://www.python.org/downloads/windows/ Tested with Python 3.6.5
-
From the Windows command line, run:
pip install sphinx sphinxcontrib-bibtexThis should also pull in any dependencies
-
Download and install MikTeX https://miktex.org/download Tested with MikTeX 2.9
-
Download and install Perl Tested with ActiveState Perl https://www.activestate.com/activeperl/downloads
-
Install required MikTeX packages as follows:
- Open MikTeX console from Windows Start menu
- Click on 'Stay in user mode'
- Choose the tab "Packages" on the left side of the window
- Find the package 'latexmk' in the list and install via right-clicking and choosing 'install package'
- Close the window
- Other MikTeX packages will be automatically installed during the LaTeX build later on.
- Download the .zip archive of the CDMI-spec repository from Github
- In the "CDMI-spec-master" directory, run
make latex - In the "CDMI-spec-master\_build\latex" directory, run
latexmk -pdf - Run
start _build\latex\CDMI_v2.0.0.pdfto open the newly built PDF
- Install xcode from the Macintosh App Store
- From the Mac Terminal, run
xcode-select --installto install the xcode Command Line Tools - From the Mac Finder, run the xcode application to accept the license
- Download macports from https://www.macports.org/install.php
- From the Mac Finder, run the macports Installer application
- From the Mac Terminal, run
sudo port install py38-sphinxto install sphinx - From the Mac Terminal, run
sudo port select --set python python38to set python 3.6 as default - From the Mac Terminal, run
sudo port select --set sphinx py38-sphinxto set python 3.6 as the default for Sphinx - From the Mac Terminal, run
sudo port install py38-sphinxcontrib-bibtexto install the bibtex bibliography extension to sphinx
The following additional pacakges may be required:
sudo port install py36-sphinxcontrib-qthelpsudo port install py36-sphinxcontrib-serializinghtmlsudo port install py36-sphinxcontrib-htmlhelpsudo port install py36-sphinxcontrib-jsmathsudo port install py36-sphinxcontrib-devhelpsudo port install py36-sphinxcontrib-applehelp
- From the Mac Terminal, run
sudo port install texlive-latexto install latex - From the Mac Terminal, run
sudo port install texlive-xetexto install xelatex - From the Mac Terminal, run
sudo port install latexmkto install latexmk - From the Mac Terminal, run
sudo port install texliveto install texlive - From the Mac Terminal, run
sudo port install texlive-latex-extrato install texlive extras
- Download the .zip archive of the CDMI-spec repository from the snia-spec github repository (https://github.com/SNIA/CDMI-spec)
- From the Mac Terminal, in the CDMI-spec-master directory, run
make latexpdfto build the document - From the Mac Terminal, in the CDMI-spec-master directory, run
open _build/latex/CDMI_v2.0.0.pdfto open the newly built PDF