Friday, September 9, 2011

regular expression and sed/awk, bash, make, autotools

UNIX/Linux 스크립트 프로그래밍을 하다 보면 regular expression 쓸 일이 많아지지요.

Google하다가 찾아낸 regular expression이랑 sed/awk에 대한 짧은 자료입니다.
출처는 http://www.cs.umsl.edu/~sanjiv/classes/cs2750/lectures/re.pdf

GNU Korea의 온라인 sed 매뉴얼이 있습니다:
http://korea.gnu.org/manual/release/sed/

그리고 kldp의 Awk Wiki 페이지는 아래를 참조하세요:
http://wiki.kldp.org/wiki.php/Awk

Bash Shell Scripting에 대한 kldp 링크 모음:


http://wiki.kldp.org/wiki.php/%C0%C0%BF%EB%C7%C1%B7%CE%B1%D7%B7%A5#s-2.1

Python 프로그래밍에 대한 kldp 링크 모음:

http://wiki.kldp.org/wiki.php/%B0%B3%B9%DF%C0%DA%C4%DA%B3%CA#s-5.10


Make와 autotools에 대한 kldp 링크 모음:

http://wiki.kldp.org/wiki.php/%B0%B3%B9%DF%C0%DA%C4%DA%B3%CA#s-4.2

Friday, September 2, 2011

xelatex template compile error: Charis SIL font not found

I tested xelatex for the first time with the TeXWorks template using fontspec, and I got a compile error as below:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!
! fontspec error: "font-not-found"
!
! The font "Charis SIL" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H .
!...............................................

l.14 \setmainfont{Charis SIL}
% set the main body font (\textrm), assumes Ch...
? H
'''''''''''''''''''''''''''''''''''''''''''''''
A font might not be found for many reasons.
Check the spelling, where the font is installed etc. etc.
When in doubt, ask someone for help!
...............................................

The thing is that there actually exists "Charis SIL" font, but it's not installed in my Windows 7 or Ubuntu 10.04. Charis SIL font can be downloaded via : http://scripts.sil.org/cms/scripts/page.php?item_id=CharisSIL_download , and how to install can be found in : http://scripts.sil.org/cms/scripts/page.php?item_id=DecompressUtil

Xe(La)TeX & LuaTeX looked cool. I'll try more later.