From d34dea05f8e9af3e85c45067bad9990c0040946d Mon Sep 17 00:00:00 2001
From: Jonathan Wakely pool_size
variable in the configuration file texmf.cnf
may
- need to be increased by a minimum factor of two.
+ need to be increased by a minimum factor of two. Alternatively, using
+ LATEX_CMD=lualatex
might allow the docs to be
+ build without running out of memory.
The following Makefile rules run Doxygen to generate HTML
docs, XML docs, XML docs as a single file, PDF docs, and the
@@ -269,9 +271,12 @@
purpose. See stl_iterator.h
for a good example of the “other” kind of grouping.
- Please use markup tags like @p and @a when referring to things - such as the names of function parameters. Use @e for emphasis - when necessary. Use @c to refer to other standard names. + Markdown can be used for formatting text. Doxygen is configured to + support this, and it is a good compromise between readable comments + in the C++ source and nice formatting in the generated HTML. + Please format the names of function parameters in either code font + or italics. Use underscores or @e for emphasis when necessary. + Use backticks or @c to refer to other standard names. (Examples of all these abound in the present code.)
Complicated math functions should use the multi-line format. @@ -322,8 +327,8 @@ writing Doxygen comments. Single and double quotes, and separators in filenames are two common trouble spots. When in doubt, consult the following table. -
Table B.2. HTML to Doxygen Markup Comparison
HTML | Doxygen |
---|---|
\ | \\ |
" | \" |
' | \' |
<i> | @a word |
<b> | @b word |
<code> | @c word |
<em> | @a word |
<em> | <em>two words or more</em> |
Table B.3. Docbook Prerequisites
Tool | Version | Required By |
---|---|---|
docbook5-style-xsl | 1.76.1 | all |
xsltproc | 1.1.26 | all |
xmllint | 2.7.7 | validation |
dblatex | 0.3 | pdf output |
pdflatex | 2007-59 | pdf output |
docbook2X | 0.8.8 | info output |
epub3 stylesheets | b3 | epub output |
- Editing the DocBook sources requires an XML editor. Many +
Table B.2. HTML to Doxygen Markup Comparison
HTML | Doxygen | Markdown |
---|---|---|
\ | \\ | \\ |
" | \" | \" |
' | \' | \' |
<i> | @a word | _word_ or *word* |
<b> | @b word | **word** or __word__ |
<code> | @c word | `word` |
<em> | @a word | _word_ or *word* |
<em> | <em>two words or more</em> | _two words or more_ |
Table B.3. Docbook Prerequisites
Tool | Version | Required By |
---|---|---|
docbook5-style-xsl | 1.76.1 | all |
xsltproc | 1.1.26 | all |
xmllint | 2.7.7 | validation |
dblatex | 0.3 | pdf output |
pdflatex | 2007-59 | pdf output |
docbook2X | 0.8.8 | info output |
epub3 stylesheets | b3 | epub output |
+ An XML editor is recommended for editing the DocBook sources. Many
exist: some notable options
include emacs, Kate,
or Conglomerate.
@@ -386,8 +391,8 @@
build directory, based on the output format. For instance, the
HTML docs will be in doc/docbook/html
.
- The
doc-html-docbook-regenerate
target will generate
- the HTML files and copy them back to the libstdc++ source tree.
+ The doc-html-docbook-regenerate
target will
+ generate the HTML files and copy them back to the libstdc++ source tree.
This can be used to update the HTML files that are checked in to
version control.
diff --git a/libstdc++-v3/doc/xml/manual/documentation_hacking.xml b/libstdc++-v3/doc/xml/manual/documentation_hacking.xml
index 776d5e857b5..44672f6e26d 100644
--- a/libstdc++-v3/doc/xml/manual/documentation_hacking.xml
+++ b/libstdc++-v3/doc/xml/manual/documentation_hacking.xml
@@ -286,7 +286,9 @@
formatting system, and will require the expansion of TeX's memory
capacity. Specifically, the