diff options
Diffstat (limited to 'src/generators/latex/text_g.cpp')
| -rw-r--r-- | src/generators/latex/text_g.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/generators/latex/text_g.cpp b/src/generators/latex/text_g.cpp index 90471ae..e65d80d 100644 --- a/src/generators/latex/text_g.cpp +++ b/src/generators/latex/text_g.cpp @@ -19,7 +19,7 @@ latex::text_g::text_g() : text_g::base_type(text_) { using namespace ka; using ka::standard_wide::char_; - text_ = stext_ | pstext_ | ptext_; + text_ = stext_ | pstext_ | atom_ | ptext_; stext_ = &uint_(EMPH) << L"\\emph{" << +text_ << '}' | &uint_(SEMPH) << L"\\textit{\\emph{" << +text_ << L"}}" @@ -32,6 +32,8 @@ latex::text_g::text_g() : text_g::base_type(text_) { | &uint_(QUOTE) << L"``" << +text_ << L"''" | &uint_(SUB) << L"_{" << +text_ << '}'; + atom_ = &uint_(NBSP) << '~'; + pstext_ = &uint_(LINK) << L"\\href{" << ptext_[_1 = ph::at_c<2>(_val)] << L"}{" << (+text_)[_1 = ph::at_c<1>(_val)] << '}'; |
