summaryrefslogtreecommitdiff
path: root/src/generators/latex/paragraph_g.h
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2011-09-08 11:09:39 +0200
committerGrégoire Duchêne <gduchene@fastmail.net>2011-09-08 16:32:49 +0200
commitab24e62128d9cdb633f6457665451070053c7b6d (patch)
tree64bbb7724c86cce33047e0f8073c4206eaa215ca /src/generators/latex/paragraph_g.h
parent027031a505f9f0e5c8c5fafc94c4440667159e3c (diff)
Added heading support.
So far, the LaTeX generator will output unnumbered headings, but this may change in the future.
Diffstat (limited to 'src/generators/latex/paragraph_g.h')
-rw-r--r--src/generators/latex/paragraph_g.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/generators/latex/paragraph_g.h b/src/generators/latex/paragraph_g.h
index 5546ffe..dc42654 100644
--- a/src/generators/latex/paragraph_g.h
+++ b/src/generators/latex/paragraph_g.h
@@ -17,6 +17,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define _MPPDOWN_LATEX_PARAGRAPH_G
#include <boost/spirit/include/karma.hpp>
#include "../../elements.h"
+#include "heading_g.h"
#include "line_g.h"
namespace ka = boost::spirit::karma;
@@ -24,6 +25,7 @@ namespace ka = boost::spirit::karma;
namespace latex {
struct paragraph_g : ka::grammar<oiterator, paragraph_t()> {
ka::rule<oiterator, paragraph_t()> paragraph_;
+ heading_g heading_;
line_g line_;
paragraph_g();