Scribble PDF/Latex: Hangul support
original commit: 008f476210498537dc4e6812b154aadb9cf4e864
This commit is contained in:
parent
e9ed7ce065
commit
b951c48fca
|
@ -965,6 +965,10 @@
|
|||
[(#\u2079) "$^9$"]
|
||||
[(#\u207a) "$^+$"]
|
||||
[(#\u207b) "$^-$"]
|
||||
[else
|
||||
(cond
|
||||
[(char<=? #\uAC00 c #\uD7AF) ; Korean Hangul
|
||||
(format "\\begin{CJK}{UTF8}{mj}~a\\end{CJK}" c)]
|
||||
[else
|
||||
;; Detect characters that can be formed with combining characters
|
||||
;; and translate them to Latex combinations:
|
||||
|
@ -992,7 +996,7 @@
|
|||
(= 1 (string-length base)))
|
||||
(format combiner (char-loop (string-ref base 0)))
|
||||
c)]
|
||||
[else c])])
|
||||
[else c])])])
|
||||
c)])))
|
||||
(loop (add1 i)))))))
|
||||
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
\usepackage[htt]{hyphenat}
|
||||
\usepackage[usenames,dvipsnames]{color}
|
||||
\hypersetup{bookmarks=true,bookmarksopen=true,bookmarksnumbered=true}
|
||||
\IfFileExists{tocstyle.sty}{\usepackage{tocstyle}\usetocstyle{standard}}
|
||||
\IfFileExists{tocstyle.sty}{\usepackage{tocstyle}\usetocstyle{standard}}{}
|
||||
\IfFileExists{CJK.sty}{\usepackage{CJK}}{}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Configuration that is especially meant to be overridden:
|
||||
|
|
Loading…
Reference in New Issue
Block a user