diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi
index 68b843ac562523df9cd7c5f15f3ad9c0e9cf9573..8168800ecdc151f8818f4806527b38c91e6a111e 100644
--- a/doc/texinfo/gmsh.texi
+++ b/doc/texinfo/gmsh.texi
@@ -3657,12 +3657,13 @@ facilitate the detection of sparse or dense numberings when reading the
 file.
 @item
 The @code{$Periodic} section has been changed to always provide the
-number of values in the affine transform (which can be can be zero).
+number of values in the affine transform (which can be zero).
 @end itemize
 
 @example
 $MeshFormat // same as MSH version 2
-  version(ASCII double; currently 4.1) file-type(ASCII int; 1 for binary mode)
+  version(ASCII double; currently 4.1)
+    file-type(ASCII int; 0 for ASCII mode, 1 for binary mode)
     data-size(ASCII int; sizeof(size_t))
   <int with value one; only in binary mode, to detect endianness>
 $EndMeshFormat
@@ -3703,23 +3704,27 @@ $EndEntities
     ...
   numPoints(size_t) numCurves(size_t)
     numSurfaces(size_t) numVolumes(size_t)
-  pointTag(int) parentDim(int) parentTag(int) numPartitions(size_t) partitionTag(int) ...
+  pointTag(int) parentDim(int) parentTag(int)
+    numPartitions(size_t) partitionTag(int) ...
     X(double) Y(double) Z(double)
     numPhysicals(size_t) physicalTag(int) ...
   ...
-  curveTag(int) parentDim(int) parentTag(int) numPartitions(size_t) partitionTag(int) ...
+  curveTag(int) parentDim(int) parentTag(int)
+    numPartitions(size_t) partitionTag(int) ...
     minX(double) minY(double) minZ(double)
     maxX(double) maxY(double) maxZ(double)
     numPhysicals(size_t) physicalTag(int) ...
     numBoundingPoints(size_t) pointTag(int) ...
   ...
-  surfaceTag(int) parentDim(int) parentTag(int) numPartitions(size_t) partitionTag(int) ...
+  surfaceTag(int) parentDim(int) parentTag(int)
+    numPartitions(size_t) partitionTag(int) ...
     minX(double) minY(double) minZ(double)
     maxX(double) maxY(double) maxZ(double)
     numPhysicals(size_t) physicalTag(int) ...
     numBoundingCurves(size_t) curveTag(int) ...
   ...
-  volumeTag(int) parentDim(int) parentTag(int) numPartitions(size_t) partitionTag(int) ...
+  volumeTag(int) parentDim(int) parentTag(int)
+    numPartitions(size_t) partitionTag(int) ...
     minX(double) minY(double) minZ(double)
     maxX(double) maxY(double) maxZ(double)
     numPhysicals(size_t) physicalTag(int) ...
@@ -3757,7 +3762,9 @@ $EndElements
 
 <$GhostElements>
   numGhostElements(size_t)
-  elementTag(size_t) partitionTag(int) numGhostPartitions(size_t) ghostPartitionTag(int) ...
+  elementTag(size_t) partitionTag(int)
+    numGhostPartitions(size_t) ghostPartitionTag(int) ...
+  ...
 <$EndGhostElements>
 
 <$NodeData>
@@ -3768,6 +3775,7 @@ $EndElements
   numIntegerTags(ASCII int)
   integerTag(ASCII int) ...
   nodeTag(size_t) value(double) ...
+  ...
 <$EndNodeData>
 
 <$ElementData>
@@ -3778,6 +3786,7 @@ $EndElements
   numIntegerTags(ASCII int)
   integerTag(ASCII int) ...
   elementTag(size_t) value(double) ...
+  ...
 <$EndElementData>
 
 <$ElementNodeData>
@@ -3788,6 +3797,7 @@ $EndElements
   numIntegerTags(ASCII int)
   integerTag(ASCII int) ...
   elementTag(size_t) numNodesPerElement(int) value(double) ...
+  ...
 <$EndElementNodeData>
 
 <$InterpolationScheme>