Skip to content

Include installation instruction in manual #145

Open

Description

@fredRos

We want to keep INSTALL.md the only file with instructions but it would be nice to also have it rendered in the manual's pdf instead of just refering to the source or line version.

One way to do this is to

  1. convert from markdown to latex via pandoc pandoc --from markdown_github-hard_line_breaks --to latex -o INSTALL.tex INSTALL.md. This command would have be invoked from make doc
  2. add an appendix to the manual in which that's included \input{INSTALL.TEX}
  3. add declarations to the manual's preamble to be able to render the output from pandoc
% pandoc definitions
\usepackage{fancyvrb}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
% Add ',fontsize=\small' for more characters per line
\newenvironment{Shaded}{}{}
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}}
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{{#1}}}
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{{#1}}}}
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{{#1}}}
\newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{{#1}}}
\newcommand{\RegionMarkerTok}[1]{{#1}}
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
\newcommand{\NormalTok}[1]{{#1}}

% --------------------------------------------------------
% document
% --------------------------------------------------------
\begin{document}

Activity

  1. self-assigned this
    on Feb 3, 2016
  2. added this to the 1.0 milestone on Nov 4, 2016
  3. fredRos commented on Nov 4, 2016

    @fredRos
    ContributorAuthor

    This is much easier to do with the new doxygen-based manual that is already in the manual branch

  4. fredRos commented on Jun 19, 2017

    @fredRos
    ContributorAuthor

    In fact the markdown INSTALL.md can be simply included without any conversion needed on our part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions