diff --git a/man/buildman.sh b/man/buildman.sh
index e3674488d..5a0713a2e 100755
--- a/man/buildman.sh
+++ b/man/buildman.sh
@@ -2,6 +2,8 @@
# To install required tools in debian:
# sudo apt-get install pandoc texlive-latex-base texlive-fonts-recommended texlive-latex-extra
-pandoc manual.md -o manual.pdf -s --number-sections
-pandoc manual.md -o manual.html -s --number-sections
+pandoc manual.md -o manual.pdf -s --number-sections
+pandoc manual.md -o manual.html -s --number-sections
+pandoc reference-cfg-format.md -o reference-cfg-format.pdf -s --number-sections
+pandoc reference-cfg-format.md -o reference-cfg-format.html -s --number-sections
diff --git a/man/manual.md b/man/manual.md
index 7199d7270..bed246c15 100644
--- a/man/manual.md
+++ b/man/manual.md
@@ -638,540 +638,9 @@ Cppcheck already contains configurations for several libraries. They can be load
You can create and use your own .cfg files for your projects. Use `--check-library` and `--enable=information` to get hints about what you should configure.
-It is recommended that you use the `Library Editor` in the `Cppcheck GUI` to edit configuration files. It is available in the `View` menu. Not all settings are documented in this manual yet.
+You can use the `Library Editor` in the `Cppcheck GUI` to edit configuration files. It is available in the `View` menu.
-If you have a question about the .cfg file format it is recommended that you ask in the forum ().
-
-The command line cppcheck will try to load custom .cfg files from the working path - execute cppcheck from the path where the .cfg files are.
-
-The cppcheck GUI will try to load custom .cfg files from the project file path. The custom .cfg files should be shown in the Edit Project File dialog that you open from the `File` menu.
-
-## Memory and resource leaks
-
-Cppcheck has configurable checking for leaks, e.g. you can specify which functions allocate and free memory or resources and which functions do not affect the allocation at all.
-
-### `` and ``
-
-Here is an example program:
-
- void test()
- {
- HPEN pen = CreatePen(PS_SOLID, 1, RGB(255,0,0));
- }
-
-The code example above has a resource leak - CreatePen() is a WinAPI function that creates a pen. However, Cppcheck doesn't assume that return values from functions must be freed. There is no error message:
-
- $ cppcheck pen1.c
- Checking pen1.c...
-
-If you provide a configuration file then Cppcheck detects the bug:
-
- $ cppcheck --library=windows.cfg pen1.c
- Checking pen1.c...
- [pen1.c:3]: (error) Resource leak: pen
-
-Here is a minimal windows.cfg file:
-
-
-
-
- CreatePen
- DeleteObject
-
-
-
-The allocation and deallocation functions are organized in groups. Each group is defined in a `` or `` tag and is identified by its `` functions. This means, groups with overlapping `` tags are merged.
-
-### `` and `