diff options
| author | Ralph Amissah <ralph@amissah.com> | 2010-07-13 11:18:34 -0400 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2010-07-13 18:12:42 -0400 | 
| commit | 2b27e5ae1c9e69715be42ea575d4d334ddb03dbd (patch) | |
| tree | 87177970df25ef096256acc43a07d129790d6129 | |
| parent | sisu-harvest, alias for sisu --harvest (with man page) (diff) | |
texpdf, codeblocks, left margin flush
| -rw-r--r-- | lib/sisu/v2/texpdf.rb | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/lib/sisu/v2/texpdf.rb b/lib/sisu/v2/texpdf.rb index 531cc5c9..91cd84b6 100644 --- a/lib/sisu/v2/texpdf.rb +++ b/lib/sisu/v2/texpdf.rb @@ -437,16 +437,15 @@ module SiSU_TeX              sp_char=SiSU_TeX_Pdf::Special_characters.new(@md,dob.tmp,dob.is)              dob.tmp=sp_char.special_characters_safe              dob.tmp.gsub!(/#{Mx[:nbsp]}/,'{~}') -            dob.tmp.gsub!(/(?:#{Mx[:br_nl]}\s*)+/,"\n\n") #watch +            #dob.tmp.gsub!(/#{Mx[:nbsp]}\s*/,'{~}') +            dob.tmp.gsub!(/(?:#{Mx[:br_nl]}\s*)+/,' \\\\\\ ') #watch              dob.tmp.gsub!(/\n\n\n/m," \\newline\n\n") #watch              ocn=SiSU_TeX_Pdf::Format_text_object.new(@md).ocn_display(dob)              dob.tmp = ocn \              + @tex_ml.paraskip_small \ -            + "\n" \ -            + ' \\begin{Codeblock}' \ -            + "\n" \ +            + '\begin{Codeblock}' \              + dob.tmp \ -            + ' \\end{Codeblock}' \ +            + ' \end{Codeblock}' \              + "\n" \              + @tex_ml.paraskip_normal              dob | 
