summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/lines.cpp4
-rw-r--r--examples/markdown.cpp4
-rw-r--r--examples/markdown.md4
-rw-r--r--examples/plain.cpp4
4 files changed, 14 insertions, 2 deletions
diff --git a/examples/lines.cpp b/examples/lines.cpp
index 5c24444..04d06ab 100644
--- a/examples/lines.cpp
+++ b/examples/lines.cpp
@@ -14,6 +14,7 @@ void plain()
TexoImporterLines importer(producer);
FILE *file = fopen("lines.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -25,6 +26,7 @@ void html()
TexoImporterLines importer(producer);
FILE *file = fopen("lines.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -36,6 +38,7 @@ void markdown()
TexoImporterLines importer(producer);
FILE *file = fopen("lines.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -47,6 +50,7 @@ void lines()
TexoImporterLines importer(producer);
FILE *file = fopen("lines.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
diff --git a/examples/markdown.cpp b/examples/markdown.cpp
index 2fbe37f..1e95db0 100644
--- a/examples/markdown.cpp
+++ b/examples/markdown.cpp
@@ -14,6 +14,7 @@ void plain()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -25,6 +26,7 @@ void html()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -36,6 +38,7 @@ void markdown()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -47,6 +50,7 @@ void lines()
TexoImporterMarkdown importer(producer);
FILE *file = fopen("markdown.md", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
diff --git a/examples/markdown.md b/examples/markdown.md
index d1413fd..341acb2 100644
--- a/examples/markdown.md
+++ b/examples/markdown.md
@@ -15,9 +15,9 @@ This was horizontal rule.
> *quote*.
```
-bool Block::is_code()
+bool Block::is\_code()
{
- return this->should_be();
+ **return** this->should\_be();
}
```
diff --git a/examples/plain.cpp b/examples/plain.cpp
index d91fcde..f03ee68 100644
--- a/examples/plain.cpp
+++ b/examples/plain.cpp
@@ -14,6 +14,7 @@ void plain()
TexoImporterPlain importer(producer);
FILE *file = fopen("plain.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -25,6 +26,7 @@ void html()
TexoImporterPlain importer(producer);
FILE *file = fopen("plain.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -36,6 +38,7 @@ void markdown()
TexoImporterPlain importer(producer);
FILE *file = fopen("plain.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}
@@ -47,6 +50,7 @@ void lines()
TexoImporterPlain importer(producer);
FILE *file = fopen("plain.txt", "r");
importer.Put(file);
+ importer.End();
fclose(file);
}