aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-05 18:29:42 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-05 18:29:42 -0400
commit2e5503ebe5297f5a0add32ee17b03c7e365d0b0c (patch)
treebe0d095ec97f9e4a9812687afb005c6ea6916010 /lib
parentdefaults, reduce image sizes to fit landscape pdfs, (however, also used in eq... (diff)
texpdf, special word optional break point detailsisu_2.3.3
Diffstat (limited to 'lib')
-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 2beb49b0..1d2e891f 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