aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/dal_syntax.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-09-21 00:12:01 -0400
committerRalph Amissah <ralph@amissah.com>2013-09-21 00:12:01 -0400
commit235f83d470866decff55a50c0ea380ab174457d8 (patch)
treedf87d1b2c9325016b1ee0ae33ec9ede42dbd66f7 /lib/sisu/v5/dal_syntax.rb
parentv4: dal, objects, store book index as hash (simplify downstream processing) (diff)
v4 v5: i18n CJK: zh ja ko, add languages Chinese, Japanese, Korean
* texpdf, has large texlive xetex dependencies (Korean untested)
Diffstat (limited to 'lib/sisu/v5/dal_syntax.rb')
-rw-r--r--lib/sisu/v5/dal_syntax.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v5/dal_syntax.rb b/lib/sisu/v5/dal_syntax.rb
index f6d01d22..1e1d8542 100644
--- a/lib/sisu/v5/dal_syntax.rb
+++ b/lib/sisu/v5/dal_syntax.rb
@@ -332,7 +332,7 @@ module SiSU_DAL_Syntax
dob
end
def fontface(dob)
- leader=/^|#{Mx[:gl_c]}|\s+|['"]|[#{Mx[:nbsp]}#{Mx[:fa_o_c]}#{Mx[:fa_c]}#{Mx[:lnk_o]}#{Mx[:br_nl]}#{Mx[:br_line]}#{Mx[:br_paragraph]}#{Mx[:tc_c]}#{Mx[:tc_p]}]|[\(\[\{]|\>/
+ leader=/^|#{Mx[:gl_c]}|\s+|['"]|[#{Mx[:nbsp]}#{Mx[:fa_o_c]}#{Mx[:fa_c]}#{Mx[:lnk_o]}#{Mx[:br_nl]}#{Mx[:br_line]}#{Mx[:br_paragraph]}#{Mx[:tc_c]}#{Mx[:tc_p]}]|[\(\[\{]|[、。]|\>/
dob=fontface_lines(dob,leader)
dob.obj=dob.obj.gsub(/(#{leader})\*\{(.+?)\}\*/m,
"\\1#{@emph[:o]}\\2#{@emph[:c]}"). #emphasis