From dba0e4e272c12918f86376b4445e8b1c2f2af7e8 Mon Sep 17 00:00:00 2001 From: Laurent Saboret Date: Fri, 13 Mar 2009 17:08:29 +0000 Subject: [PATCH] Try: prettier function/method output but the generated Latex is harder to read (commented out) --- .../scripts/generate_reference_manual/copy_doxygen_latex_doc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Manual_tools/scripts/generate_reference_manual/copy_doxygen_latex_doc b/Manual_tools/scripts/generate_reference_manual/copy_doxygen_latex_doc index ca7f2ba93eb..eaa0543ba0c 100755 --- a/Manual_tools/scripts/generate_reference_manual/copy_doxygen_latex_doc +++ b/Manual_tools/scripts/generate_reference_manual/copy_doxygen_latex_doc @@ -462,6 +462,9 @@ sub format_comment_headings # with 1-item lists inside the second curly braces pair of \ccXXX expressions). $buf =~ s/(\\begin\{description\}.*?\\end\{description\})/flatten_one_item_list($1)/smge; +# # Set vertical spacing = 0 in (parameters) descriptions (prettier) +# $buf =~ s/\\begin\{description\}(.*?)\\end\{description\}/\\ccGlue\n\\begin\{description\}\\itemsep=0pt\\parskip=0pt$1\\end\{description\}/smg; + # Return the formatted string return $buf; }