Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/staging/doc/report/manpage.sty
ViewVC logotype

Diff of /branches/staging/doc/report/manpage.sty

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2745, Sun Sep 28 12:50:50 2014 UTC revision 2746, Wed Oct 1 21:08:30 2014 UTC
# Line 58  Line 58 
58  \newcommand{\MP@Options@Arg}[1]{\textit{#1}}  \newcommand{\MP@Options@Arg}[1]{\textit{#1}}
59  \newcommand{\MP@Options@Opt}[1]{\texttt{\textbf{#1}}}  \newcommand{\MP@Options@Opt}[1]{\texttt{\textbf{#1}}}
60  \newcommand{\MP@Options@File}[1]{\textit{#1}}  \newcommand{\MP@Options@File}[1]{\textit{#1}}
61    \newenvironment{MP@OptionList}{%
62      \begin{list}{}{
63        \setlength{\leftmargin}{\MPindent}%
64        \setlength{\itemindent}{0em}%
65        \setlength{\itemsep}{0em}%
66        \setlength{\topsep}{0em}%
67      % redefine external commands
68        \renewcommand{\Opt}[1]{\MP@Options@Opt{##1}}
69        \renewcommand{\Arg}[1]{\MP@Options@Arg{##1}}
70        \renewcommand{\OptEqArg}[2]{\MP@Options@Opt{##1=}\MP@Options@Arg{##2}}
71        \newenvironment{Flag}[1]{%
72          \item[##1]\mbox{}\\
73        }{}
74      }%
75    }{%
76      \end{list}%
77    }
78  \newenvironment{MP@Options}{%  \newenvironment{MP@Options}{%
79    \begin{MP@Section}{OPTIONS}%    \begin{MP@Section}{OPTIONS}%
80      \begin{list}{}{      \begin{list}{}{
# Line 74  Line 91 
91        }{}        }{}
92      }%      }%
93  }{%  }{%
94      \end{list}%      \end{MP@OptionList}%
95    \end{MP@Section}%    \end{MP@Section}%
96  }  }
97    
# Line 102  Line 119 
119    \newenvironment{BUGS}{\begin{MP@Section}{BUGS}}{\end{MP@Section}}    \newenvironment{BUGS}{\begin{MP@Section}{BUGS}}{\end{MP@Section}}
120    \newenvironment{SEEALSO}{\begin{MP@Section}{SEEALSO}}{\end{MP@Section}}    \newenvironment{SEEALSO}{\begin{MP@Section}{SEEALSO}}{\end{MP@Section}}
121    \newenvironment{SECTION}[1]{\begin{MP@Section}{##1}}{\end{MP@Section}}    \newenvironment{SECTION}[1]{\begin{MP@Section}{##1}}{\end{MP@Section}}
122      \newenvironment{OptionList}{\begin{MP@OptionList}}{\end{MP@OptionList}}
123    % define external command names    % define external command names
124    \newcommand{\Opt}[1]{\MP@Opt{##1}}                    % Option    \newcommand{\Opt}[1]{\MP@Opt{##1}}                    % Option
125    \newcommand{\Arg}[1]{\MP@Arg{##1}}                    % Argument    \newcommand{\Arg}[1]{\MP@Arg{##1}}                    % Argument

Legend:
Removed from v.2745  
changed lines
  Added in v.2746

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0