summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-05 22:29:42 +0000
committerRalph Amissah <ralph@amissah.com>2010-05-05 22:29:42 +0000
commit2e5503ebe5297f5a0add32ee17b03c7e365d0b0c (patch)
treebe0d095ec97f9e4a9812687afb005c6ea6916010
parentdefaults, reduce image sizes to fit landscape pdfs, (however, also used in eq... (diff)
downloadsisu-2e5503ebe5297f5a0add32ee17b03c7e365d0b0c.zip
sisu-2e5503ebe5297f5a0add32ee17b03c7e365d0b0c.tar.xz
texpdf, special word optional break point detailsisu_2.3.3
-rw-r--r--lib/sisu/v2/texpdf_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/texpdf_format.rb b/lib/sisu/v2/texpdf_format.rb
index 2beb49b..1d2e891 100644
--- a/lib/sisu/v2/texpdf_format.rb
+++ b/lib/sisu/v2/texpdf_format.rb
@@ -1101,7 +1101,7 @@ WOK
def special_word_break_points
str=@txt
str.gsub!(/([_,.;:\/|=])/,'\1\-')
- #str.gsub!(/([_,.;:|=])/,'\1\-')
+ str.gsub!(/(--)(\S{4,)/,'\1\-\2')
@txt=str
end
def special_number_break_points