From 277178ad7536a56f6984ad62cfa2cc9a95115e16 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 23 Jan 2014 09:20:06 +0100 Subject: [PATCH] =?utf8?q?KiviLatex-Plugin:=20\uline{=E2=80=A6}=20aus=20ul?= =?utf8?q?em-Package=20f=C3=BCr=20=C2=BBUnterstrichen=C2=AB=20nutzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Das Standard-\underline{…} setzt den Text in eine \hbox. Nebenwirkung ist, dass der Text darin weder der Silbentrennung noch dem Wortumbruch unterworfen wird. --- SL/Template/Plugin/KiviLatex.pm | 10 +++++++++- templates/print/Standard/requirement_spec.tex | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/SL/Template/Plugin/KiviLatex.pm b/SL/Template/Plugin/KiviLatex.pm index 21b0779df..21725cba0 100644 --- a/SL/Template/Plugin/KiviLatex.pm +++ b/SL/Template/Plugin/KiviLatex.pm @@ -40,7 +40,7 @@ my %html_replace = ( '' => "}", '' => "\\textit{", '' => "}", - '' => "\\underline{", + '' => "\\uline{", '' => "}", '' => "\\sout{", '' => "}", @@ -72,4 +72,12 @@ sub filter_html { return join('', @parts); } +sub required_packages_for_html { + my ($self) = @_; + + return <