aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/texpdf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-04 14:57:41 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-04 14:57:41 +0100
commitf7a6194ca54ce58a1f8162627513442da3e84bea (patch)
treeb5ba64663e538d2703d1ca5ed70811b02048c180 /lib/sisu/v0/texpdf.rb
parentsisu-0.58.0 + md5s (diff)
code-block exceptions
Diffstat (limited to 'lib/sisu/v0/texpdf.rb')
-rw-r--r--lib/sisu/v0/texpdf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/texpdf.rb b/lib/sisu/v0/texpdf.rb
index 8bd5b6f2..4faab502 100644
--- a/lib/sisu/v0/texpdf.rb
+++ b/lib/sisu/v0/texpdf.rb
@@ -432,7 +432,7 @@ WOK
if para =~/<:(code|alt|verse|group)>/
@lineone=case para
when /<:(alt|verse|group)>/; para
- when /<:code>/; "#{@tex.paraskip_small} \\begin{tiny} " + para
+ when /<:code>/; "#{@tex.paraskip_small} \\begin{scriptsize} " + para
#when /<:code>/; "#{@tex.paraskip_small} \\begin{footnotesize} " + para
##when /<:code>/; "#{@tex.paraskip_small} \\begin{texttt} " + para
#when /<:code>/; "#{@tex.paraskip_small} \\begin{small} \\begin{ttfamily} " + para
@@ -465,7 +465,7 @@ WOK
#@lineone.gsub!(/(.#{@@tilde}\S*\s*|<:\S+>|<!.*?!>|<!>)/,' ')
insert=[]
if para =~/<:code-end>/
- insert << y + @lineone << @group_collect << ' \end{tiny}' << " #{@tex.paraskip_normal}"
+ insert << y + @lineone << @group_collect << ' \end{scriptsize}' << " #{@tex.paraskip_normal}"
#insert << y + @lineone << @group_collect << ' \end{footnotesize}' << " #{@tex.paraskip_normal}"
#insert << y + @lineone << @group_collect << ' \end{texttt}' << " #{@tex.paraskip_normal}"
#insert << y + @lineone << @group_collect << ' \end{ttfamily} \end{small}' << " #{@tex.paraskip_normal}"