From ab24e62128d9cdb633f6457665451070053c7b6d Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Thu, 8 Sep 2011 11:09:39 +0200 Subject: Added heading support. So far, the LaTeX generator will output unnumbered headings, but this may change in the future. --- src/generators/latex/paragraph_g.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/generators/latex/paragraph_g.h') 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 #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 { ka::rule paragraph_; + heading_g heading_; line_g line_; paragraph_g(); -- cgit v1.2.3-70-g09d2