From 7acf15c1f0623f157e6abdf4a9bff5b050add967 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 20 Feb 2011 15:02:16 +0100 Subject: Forced line break support added. --- src/generators/latex/text_g.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/generators/latex') diff --git a/src/generators/latex/text_g.cpp b/src/generators/latex/text_g.cpp index e65d80d..cdebe9f 100644 --- a/src/generators/latex/text_g.cpp +++ b/src/generators/latex/text_g.cpp @@ -32,7 +32,7 @@ latex::text_g::text_g() : text_g::base_type(text_) { | &uint_(QUOTE) << L"``" << +text_ << L"''" | &uint_(SUB) << L"_{" << +text_ << '}'; - atom_ = &uint_(NBSP) << '~'; + atom_ = &uint_(NBSP) << '~' | &uint_(NEWLINE) << L"\\\\" << eol; pstext_ = &uint_(LINK) << L"\\href{" << ptext_[_1 = ph::at_c<2>(_val)] << L"}{" << (+text_)[_1 = ph::at_c<1>(_val)] << '}'; -- cgit v1.2.3-70-g09d2