From adeba428e96bb38070df119b7bea5e55f5de1b15 Mon Sep 17 00:00:00 2001 From: Virgile Prevosto <virgile.prevosto@m4x.org> Date: Wed, 12 May 2021 18:36:37 +0200 Subject: [PATCH] [devman] fix formatting --- doc/developer/developer.tex | 2 +- doc/developer/refman.tex | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/developer/developer.tex b/doc/developer/developer.tex index af1cae1b8bb..26c80c5c03c 100644 --- a/doc/developer/developer.tex +++ b/doc/developer/developer.tex @@ -4,7 +4,7 @@ %%MODERN \documentclass[a4paper,11pt,twoside,openright]{report} \documentclass[web,svgnames]{frama-c-book} -\usepackage{xspace,alltt,calc,multirow,tabularx,bigdelim} +\usepackage{xspace,alltt,calc,multirow,tabularx,bigdelim,spverbatim} \usepackage{amsmath} \IfFileExists{diagbox.sty} % Compatibility with newer diagbox and older slashbox {\usepackage{diagbox} diff --git a/doc/developer/refman.tex b/doc/developer/refman.tex index 8cf2ca0c3f7..13ef1b07ffc 100644 --- a/doc/developer/refman.tex +++ b/doc/developer/refman.tex @@ -842,7 +842,7 @@ to your needs. See \texttt{ocamlmerlin -help} for the list of flags. Ptests pre-defines a certain number of macros for each test about to be run. Figure~\ref{fig:ptests-macros} gives their definition. \begin{figure}[htbp] -\begin{tabular}{|p{3cm}|p{10cm}|} +\begin{tabular}{|p{4.5cm}|p{10cm}|} \hline Name & Expansion \\ \hline @@ -865,29 +865,29 @@ fact two independent numbering schemes: one for \verb|EXECNOW| commands and one for regular tests (if more than one \verb|OPT|).\\ \hline \verb|PTEST_RESULT| & shorthand alias to \verb|@PTEST_DIR@/result@PTEST_CONFIG@| -(the result directory dedicated to the tested configuration) +(the result directory dedicated to the tested configuration)\\ \hline -\verb|@PTEST_ORACLE| & basename of the current oracle file (macro only usable in FILTER directives) +\verb|PTEST_ORACLE| & basename of the current oracle file (macro only usable in FILTER directives)\\ \hline -\verb|PTEST_MODULE| & current list of module defined by the \verb|MODULE| directive +\verb|PTEST_MODULE| & current list of module defined by the \verb|MODULE| directive\\ \hline -\verb|PTEST_PLUGIN| & current list of plugins defined by the \verb|PLUGIN| directive +\verb|PTEST_PLUGIN| & current list of plugins defined by the \verb|PLUGIN| directive\\ \hline -\verb|PTEST_DEFAULT_OPTIONS| & the default option list: \verb|-journal-disable| \verb|-check| \verb|-no-autoload-plugins| +\verb|PTEST_DEFAULT_OPTIONS| & the default option list: \verb|-journal-disable| \verb|-check| \verb|-no-autoload-plugins|\\ \hline -\verb|PTEST_LOAD_MODULE| & the \verb|-load-module| option related to the \verb|MODULE| directive +\verb|PTEST_LOAD_MODULE| & the \verb|-load-module| option related to the \verb|MODULE| directive\\ \hline -\verb|PTEST_LOAD_PLUGIN| & the \verb|-load-module| option related to the \verb|PLUGIN| directive +\verb|PTEST_LOAD_PLUGIN| & the \verb|-load-module| option related to the \verb|PLUGIN| directive\\ \hline -\verb|PTEST_LOAD_OPTIONS| & shorthand alias to \verb|@PTEST_LOAD_PLUGIN@ @PTEST_LOAD_MODULE@| +\verb|PTEST_LOAD_OPTIONS| & shorthand alias to \spverb|@PTEST_LOAD_PLUGIN@ @PTEST_LOAD_MODULE@|\\ \hline -\verb|PTEST_OPTIONS| & the current list of options related to \verb|OPT| and \verb|STDOPT| directives (for \verb|CMD| directives) +\verb|PTEST_OPTIONS| & the current list of options related to \verb|OPT| and \verb|STDOPT| directives (for \verb|CMD| directives)\\ \hline -\verb|frama-c| & shortcut defined as follow: \verb|@frama-c-exe@ @PTEST_DEFAULT_OPTIONS@ @PTEST_LOAD_OPTIONS@| +\verb|frama-c| & shortcut defined as follows: \spverb|@frama-c-exe@ @PTEST_DEFAULT_OPTIONS@ @PTEST_LOAD_OPTIONS@|\\ \hline -\verb|frama-c-cmd| & shortcut defined as follow: \verb|@frama-c-exe@ @PTEST_DEFAULT_OPTIONS@| +\verb|frama-c-cmd| & shortcut defined as follows: \spverb|@frama-c-exe@ @PTEST_DEFAULT_OPTIONS@|\\ \hline -\verb|frama-c-exe| & set to the value of the \verb|TOPLEVEL_PATH| variable from \verb|./tests/ptests_config| file +\verb|frama-c-exe| & set to the value of the \verb|TOPLEVEL_PATH| variable from \verb|./tests/ptests_config| file\\ \hline \end{tabular} \caption{Predefined macros for ptests}\label{fig:ptests-macros} -- GitLab