 										   equationType: currType.2, range: range,
 										   innerRange:range, chunkNumber: chunkIndex)
 						chunks.append(ch); chunkIndex += 1
-						print("num=\(ch.chunkNumber)\t range=\(ch.parsedRange)\t inner=\(ch.innerRange)\t type=\(ch.chunkType),\(ch.equationType)")
+						// print("num=\(ch.chunkNumber)\t range=\(ch.parsedRange)\t inner=\(ch.innerRange)\t type=\(ch.chunkType),\(ch.equationType)")
 						begin = end
 					}
 					currType = newType

					let innerRange = NSMakeRange(beginInner, endInner-beginInner)
					ch = DocumentChunk(chunkType: currType.0, docType: currType.1,
									   equationType: currType.2, range: range,
									   innerRange:innerRange, chunkNumber: chunkIndex,
									   isInline: state == .eqIn || state == .codeIn)
					if currType.0 == .code && rOps.count > 0 {
						// print(rOps)
						ch.rOps = rOps; rOps = "" }
					chunks.append(ch); chunkIndex += 1
					print("num=\(ch.chunkNumber)\t range=\(ch.parsedRange)\t inner=\(ch.innerRange)\t type=\(ch.chunkType),\(ch.equationType)")
					begin = end
				}
				currType = (.docs, .rmd, .none)

			else if state == .frontMatter  {
				if token.stringValue == "---" {
					token = tok.nextToken()!
					end = Int(token.offset)-3
					if end > fullRange.length { end = fullRange.length }
					if end-begin > 0 {
						let range = NSMakeRange(begin, end-begin)
						frontMatter = textStorage.string.substring(from: range)!
						begin = end+3
					}
					beyondFrontMatter = true
				}
