From 2c12c0652d2b8c8440e1e908f004826840ed14ab Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 18 Oct 2019 17:33:06 +0300 Subject: [texo] Semi-working. --- examples/plain_to_html.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'examples/plain_to_html.cpp') diff --git a/examples/plain_to_html.cpp b/examples/plain_to_html.cpp index 9a81652..d123a84 100644 --- a/examples/plain_to_html.cpp +++ b/examples/plain_to_html.cpp @@ -2,14 +2,15 @@ #include #include #include +#include int main() { - TexoFileExporter exporter(stdout); - TexoHTMLProducer producer(exporter); - TexoPlainImporter importer(producer); - importer.PutStr( + TexoExporterFile exporter(stdout); + TexoProducerHTML producer(exporter); + TexoImporterPlain importer(producer); + importer.Put( "I am a little cute line. \n" "I am another and that's fine. \n" "But I am as long as a pine,\n" -- cgit v1.2.3