summaryrefslogtreecommitdiff
path: root/src/generators/latex/paragraph_g.cpp
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.cpp
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.cpp')
-rw-r--r--src/generators/latex/paragraph_g.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generators/latex/paragraph_g.cpp b/src/generators/latex/paragraph_g.cpp
index 47f6e7e..adf3a26 100644
--- a/src/generators/latex/paragraph_g.cpp
+++ b/src/generators/latex/paragraph_g.cpp
@@ -16,5 +16,5 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "paragraph_g.h"
latex::paragraph_g::paragraph_g() : paragraph_g::base_type(paragraph_) {
- paragraph_ = +line_ << ka::eol;
+ paragraph_ = heading_ | (+line_ << ka::eol);
}