summaryrefslogtreecommitdiff
path: root/src/common/doc/file_formats.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-08-10 09:22:04 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2017-08-10 09:22:04 +0000
commit6166aad3e082119ead02413659cfb6ea2e661ef7 (patch)
treebc4aeae0b364890eff6aec52e7dccae34b056677 /src/common/doc/file_formats.h
parentb633404a13fe7acd2f0518b88219212f93758a49 (diff)
Some modifications to file format documentation (utf8 test)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@2608 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 2590184676603521a3ab175834670bb47a80c93b
Diffstat (limited to 'src/common/doc/file_formats.h')
-rw-r--r--src/common/doc/file_formats.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/common/doc/file_formats.h b/src/common/doc/file_formats.h
index e1d1426e..9d0415b1 100644
--- a/src/common/doc/file_formats.h
+++ b/src/common/doc/file_formats.h
@@ -34,18 +34,19 @@ namespace Gudhi {
Such a file, whose extension is usually `.pers`, contains a list of persistence intervals.<br>
Lines starting with `#` are ignored (comments).<br>
Other lines might contain 2, 3 or 4 values (the number of values on each line must be the same for all lines):
- \code{.unparsed}
+ \verbatim
[[field] dimension] birth death
- \endcode
+ \endverbatim
Here is a simple sample file:
- \code{.unparsed}
- # Beautiful persistence diagram
+ \verbatim
+ # Persistence diagram example
2 2.7 3.7
2 9.6 14.
+ # Some comments
3 34.2 34.974
4 3. inf
- \endcode
+ \endverbatim
Other sample files can be found in the `data/persistence_diagram` folder.
*/