<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="http://rss.egloos.com/style/blog.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
	<title>Pensées</title>
	<link>http://sodomau.egloos.com</link>
	<description>내 생활, 내 생각, 내 이야기</description>
	<language>ko</language>
	<pubDate>Fri, 23 Oct 2009 19:29:42 GMT</pubDate>
	<generator>Egloos</generator>
	<image>
		<title>Pensées</title>
		<url>http://pds10.egloos.com/logo/200901/09/15/d0025015.jpg</url>
		<link>http://sodomau.egloos.com</link>
		<width>80</width>
		<height>60</height>
		<description>내 생활, 내 생각, 내 이야기</description>
	</image>
  	<item>
		<title><![CDATA[ 내가 좋아하는 것들... ]]> </title>
		<link>http://sodomau.egloos.com/2456526</link>
		<guid>http://sodomau.egloos.com/2456526</guid>
		<description>
			<![CDATA[ 
  내가 정말로 좋아하는 것들...<br />
<br />
그냥 오늘 밤에 쓰고 싶었다... (다음 리스트는 여친님 제외한 목록... 여친님이 물론 당연히 1순위겠지? ㅋㅋ)<br />
<br />
컴퓨터... 프로그래밍은 역시 재미있다. 컴퓨터를 처음 접했을 때 부터 푹 빠져버렸고, 지금은 대학원에서 뭐빠지게 구르고 있지만 여전히 좋아하고 있으니...<br />
<br />
우주.. 특히 별보기, 별 사진 보기..<br />
이건 정말로 어렸을 때부터 좋아하던 것들이다. 아버지가 어렸을 때 밤마다 집 옆에 벤치에 데려나가서 같이 밤하늘을 감상할 때부터인가...? 볼 때마다 가슴이 두근거린다... 흡사 어렸을 때 저 골목 너머에는 무엇이 있을까 설레이던 기분이 든다고나 할까? 특히 태양계 관련 얘기보다는 더 먼 우주 얘기가 더 좋다. 내가 인생을 한 번 더 살 수 있다면 천문학이나 천체물리학을 전공하고 싶다. 물리학도 참 좋아하니까...)<br />
<br />
자연... 이것도 정말 날 두근거리게 만든다. 아프리카의 동물들이 나오는 티비 다큐멘터리를 볼 때마다 두근거린다. 아프리카에도 꼭 한번 가보고 싶다. 또는 그냥 정말 자연.. 눈 쌓인 풍경도 좋고.. 아무튼 좋다.<br />
<br />
역사... 역사적인 유물로 가득찬 .. 또는 그런 것들을 느낄 수 있는 곳으로 여행을 떠나고 싶다. 베이징도 정말 좋았고.. 시안도 가보고 싶다. 실크로드를 따라서 여행도 해 보고 싶고...<br />
<br />
영화... 이것은 확실히 좋은 영화여야지만 된다. 아무 영화는 안 된다.<br />
<br />
충청도 사투리... 내가 대전 사람이라 그런가, 충청도 사투리는 정말 날 포근하고 친숙한 기분이 들게 만든다. 그런 의미에서 "짝패"라는 영화는 정말 대단히 재미있게 봤던 영화! 아무튼 좋다 좋아. ㅎㅎ<br />
<br />
자전거... 자전거는 이곳 저곳 신선한 공기를 쐬며 여러 곳을 편하게 다니게 해 준다. 뭐 특별히 자전거 타는 것을 좋아하는 것인지 자전거 타고 이곳저곳 다니는 것을 좋아하는지는 잘 모르겠다. 아마도 다니는 것을 더 좋아하는 것 같다. 당장은 차가 없어서 모르겠지만, 차를 갖게 되면 알 수 있겠지... 아무튼 내일은 자전거 좀 타고 싶네.<br />
<br />
인생을 여러 번 살 수 있다면 얼마나 좋을까? 다음 생에는 천문학이나 천체물리학을 전공해 보고 싶네. 으음...&nbsp; 지금 생에도 가능할까?<br />
<br />
<br />
<br />
<br />
<br />
그에 반해 내가 싫어하는 것들은... 사람들 바글바글한 서울같은 뭐 그런거... 길게 쓰기 싫다. 아무튼 그런 것들...<br />
			 ]]> 
		</description>
		<category>잡다한 생각들</category>

		<comments>http://sodomau.egloos.com/2456526#comments</comments>
		<pubDate>Fri, 23 Oct 2009 19:24:18 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 이중기준, 더블스탠다드, 표리부동 ? ]]> </title>
		<link>http://sodomau.egloos.com/2441412</link>
		<guid>http://sodomau.egloos.com/2441412</guid>
		<description>
			<![CDATA[ 
  타인을 판단할 때에는 그 사람의 겉모습보다는 속을 보고 판단해야 한다. 겉모습은 그냥 한겹의 껍데기일 뿐이다.<br />
<br />
그러나 자신의 외모를 방치해서는 안된다.......<br />
<br />
<br />
????<br />
<br />
			 ]]> 
		</description>
		<category>잡다한 생각들</category>

		<comments>http://sodomau.egloos.com/2441412#comments</comments>
		<pubDate>Sun, 04 Oct 2009 18:14:39 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 파워포인트에 tex 수식 집어넣기 2 ]]> </title>
		<link>http://sodomau.egloos.com/2433665</link>
		<guid>http://sodomau.egloos.com/2433665</guid>
		<description>
			<![CDATA[ 
  <div>이전글 :&nbsp;<a href="http://sodomau.egloos.com/2429722" title="">파워포인트에 tex equation 집어넣기</a></div><div><br />
</div><div>업데이트 버전</div><div><br />
</div><div>이번에는 cygwin용 bash 스크립트다.</div><div>eps가 파워포인트에서 렌더링이 하도 구리게 되서 다시 이미지 파일로 쓰기로 변경했다.</div><div>최종은 equation.png 파일로 저장되는데, 이미지 크기와 함께 dpi를 높게 설정해서 파워포인트에 붙일 때 적절한 크기로 붙으면서 어느 크기에서든 잘 보이게 업데이트했다.</div><div><br />
</div><div>아직 해결 못 한 문제가 하나 있는데 이놈들을 이용하려면 cygwin 아래에서만 이용 가능하다는 점이다. 흐음...;;</div><div><br />
</div><div>.vimrc</div><div><div>=====================================================</div><div>function! TexEq_CurrentLine()</div><div>&nbsp;&nbsp; &nbsp;let l = getline('.')</div><div>&nbsp;&nbsp; &nbsp;let list = [l]&nbsp;</div><div>&nbsp;&nbsp; &nbsp;call writefile(list, '.texeq_temp.eq')</div><div>&nbsp;&nbsp; &nbsp;call system("bash -c /usr/bin/texeq.sh")</div><div>endfunction</div><div><br />
</div></div><div><div>=====================================================</div><div>texeq.sh</div></div><div><div>=====================================================</div><div>#!/bin/bash</div><div><br />
</div><div>echo "\\documentclass[48pt]{article}" &gt; .texeq_temp.tex</div><div>echo "\\pagestyle{empty}" &gt;&gt; .texeq_temp.tex</div><div>echo "\\begin{document}" &gt;&gt; .texeq_temp.tex</div><div>echo "\\begin{displaymath}" &gt;&gt; .texeq_temp.tex</div><div>cat .texeq_temp.eq &gt;&gt; .texeq_temp.tex</div><div>echo "\\end{displaymath}" &gt;&gt; .texeq_temp.tex</div><div>echo "\\end{document}" &gt;&gt; .texeq_temp.tex</div><div><br />
</div><div>latex .texeq_temp.tex</div><div>dvips -f -E -o .texeq_temp.eps .texeq_temp.dvi</div><div>epstool -t6p --gs-args "-dTextAlphaBits=4 -dGraphicsAlphaBits=4" --dpi 300 .texeq_temp.eps equation.eps</div><div>convert -density 2400 equation.eps .texeq_temp.bmp</div><div>convert .texeq_temp.bmp equation.png</div><div>cygstart .</div><div><br />
</div><div>rm .texeq_temp.*</div><div><div>=====================================================</div><div><br />
</div></div></div>			 ]]> 
		</description>

		<comments>http://sodomau.egloos.com/2433665#comments</comments>
		<pubDate>Wed, 23 Sep 2009 19:02:07 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 파워포인트에 tex equation 집어넣기 ]]> </title>
		<link>http://sodomau.egloos.com/2429722</link>
		<guid>http://sodomau.egloos.com/2429722</guid>
		<description>
			<![CDATA[ 
  파워포인트 2007에 있는 equation editor의 불편함에 치를 떨다가, latex을 이용해 발표 자료를 만들었다.<div>덴장.. 이것은 이것 나름대로 불편하기에, 짜증내다가 결국 방법을 하나 만들었다.</div><div><br />
</div><div>인터넷 검색을 해 보니 &nbsp;tex2gif 라는 게 있더군.</div><div><a href="http://www.wag.caltech.edu/home/rpm/projects/tex2gif/">http://www.wag.caltech.edu/home/rpm/projects/tex2gif/</a></div><div><br />
</div><div>그런데 써 보니 편하긴 한데, gif 포맷이라는게 좀 흠이다. 그래서 또다시 웹을 검색하다 보니 eps 포맷은 파워포인트에 또 깔끔하게 붙는다는군. 그래서 tex2gif.py 소스를 좀 고쳐서 tex2eps.py 를 만들었다. 유후~ 이렇게 깔끔할 수가...</div><div><br />
</div><div>그리고 문득 든 생각... tex2eps.py 의 UI가 너무 불편하다. 수식도 완전 일회용으로 사용해야 되고... 그래서 vim에서 불러 쓸 수 있는 코드를 만들었다. 일단 .vimrc 에 추가한 내용. 마지막에 map 을 이용해서 \eq 를 누르면 현재 편집하고 있는 라인에 대해 수식을 eps 파일로 만들어 준다.<br />
</div><div><br />
</div><div><div>==================================================================</div><div>function! TexEq_CurrentLine()</div></div><div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>let l = getline('.')</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>let list = [l]</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>call writefile(list, '.texeq_temp.eq')</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>call system('texeq.py .texeq_temp.eq')</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>call delete('.texeq_temp.eq')</div><div>endfunction</div><div><div><div><br />
</div></div><div>au BufNewFile,BufReadPost *.tex<span class="Apple-tab-span" style="white-space: pre;">	</span>map \eq :call TexEq_CurrentLine()&lt;CR&gt;</div><div><div>==================================================================</div><div><br />
</div></div><div>그리고 eps를 만들어 주는 python 스크립트</div><div>C:\WINDOWS 에 넣어놓고 사용중이다.</div><div><br />
</div><div>==================================================================</div><div>texeq.py</div><div>==================================================================</div><div>#!/usr/bin/python<br />
#<br />
# texeq<br />
#<br />
# Sunghyun Cho<br />
# http://home.postech.ac.kr/~sodomau<br />
# sodomau__at__postech.ac.kr<br />
</div><div><div><br />
</div><div>header = """\</div><div>\documentclass[12pt]{article}</div><div>\pagestyle{empty}</div><div>\\begin{document}</div><div>\\begin{displaymath}</div><div>"""</div><div><br />
</div><div>footer = """\</div><div>\end{displaymath}</div><div>\end{document}</div><div>"""</div><div><br />
</div><div>import string,os,sys</div><div><br />
</div><div>if len(sys.argv) == 1:</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>latexstring = raw_input()</div><div>else:</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>f = open(sys.argv[1], 'r')</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>latexstring = f.readline().strip()</div><div><span class="Apple-tab-span" style="white-space: pre;">	</span>f.close()</div><div><br />
</div><div># make a latex file</div><div>f = open('.texeq_temp.tex','w')</div><div>f.write('%s' % header)</div><div>f.write('%s\n' % latexstring)</div><div>f.write('%s\n' % footer)</div><div>f.close()</div><div><br />
</div><div># make an eps file</div><div>os.system('latex .texeq_temp.tex')</div><div>os.system('dvips -f .texeq_temp.dvi &gt; .texeq_temp.ps')</div><div>os.system('ps2eps.bat -f .texeq_temp.ps')</div><div><br />
</div><div># enlarge the bounding box of the eps file a little bit</div><div>f = open('.texeq_temp.eps', 'r')</div><div>lines = f.readlines()</div><div>f.close()</div><div><br />
</div><div>tokens = lines[1].strip().split(' ')</div><div>l = int(tokens[1])</div><div>d = int(tokens[2])</div><div>r = int(tokens[3])</div><div>u = int(tokens[4])</div><div>lines[1] = "%s %d %d %d %d\n" % (tokens[0], l-1, d-1, r+1, u+1)</div><div><br />
</div><div>tokens = lines[1].strip().split(' ')</div><div>l = float(tokens[1])</div><div>d = float(tokens[2])</div><div>r = float(tokens[3])</div><div>u = float(tokens[4])</div><div>lines[2] = "%s %f %f %f %f\n" % (tokens[0], l-1.0, d-1.0, r+1.0, u+1.0)</div><div><br />
</div><div>f = open('equation.eps', 'w')</div><div>f.writelines(lines)</div><div>f.close()</div><div><br />
</div><div># cleanup</div><div>os.unlink('.texeq_temp.tex')</div><div>os.unlink('.texeq_temp.aux')</div><div>os.unlink('.texeq_temp.log')</div><div>os.unlink('.texeq_temp.ps')</div><div>os.unlink('.texeq_temp.dvi')</div><div>os.unlink('.texeq_temp.eps')</div><div><br />
</div></div><div><div>==================================================================</div><div><br />
</div></div></div><div><br />
</div></div>			 ]]> 
		</description>

		<comments>http://sodomau.egloos.com/2429722#comments</comments>
		<pubDate>Fri, 18 Sep 2009 20:00:34 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 자유선진당.. 대학원 나온 사람이 한 명도 없구나... ]]> </title>
		<link>http://sodomau.egloos.com/2426185</link>
		<guid>http://sodomau.egloos.com/2426185</guid>
		<description>
			<![CDATA[ 
  <a href="http://news.naver.com/main/read.nhn?mode=LSD&amp;mid=sec&amp;sid1=001&amp;oid=303&amp;aid=0000001199">http://news.naver.com/main/read.nhn?mode=LSD&amp;mid=sec&amp;sid1=001&amp;oid=303&amp;aid=0000001199</a><div><br />
</div><div>나 원...</div><div><br />
</div><div><br />
</div>			 ]]> 
		</description>

		<comments>http://sodomau.egloos.com/2426185#comments</comments>
		<pubDate>Mon, 14 Sep 2009 10:18:02 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 시그랩 아시아 2009 논문 됐다! ]]> </title>
		<link>http://sodomau.egloos.com/2417424</link>
		<guid>http://sodomau.egloos.com/2417424</guid>
		<description>
			<![CDATA[ 
  그동안 고생 많았다. 후후<br />
<br />
앞으로도 잘 하자!<br />
<br />
			 ]]> 
		</description>
		<category>매일매일</category>

		<comments>http://sodomau.egloos.com/2417424#comments</comments>
		<pubDate>Thu, 03 Sep 2009 19:23:49 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Science TV 세계의 날씨에 나오는 장소 ]]> </title>
		<link>http://sodomau.egloos.com/2403255</link>
		<guid>http://sodomau.egloos.com/2403255</guid>
		<description>
			<![CDATA[ 
  Science TV 채널의 세계의 날씨 프로그램에서 음악과 함께 나오는 장소가 너무 이쁘고 평화로워 보여서 세계의 날씨가 나올 때마다 뚫어지게 쳐다 봤다. 도대체 저기가 어딜까?<br />
<br />
오늘 드디어 알아내는 데 성공했다. 뚫어지게 보다가 눈 깜짝할 새 지나가는 Wainwright Hotel 이라는 호텔 이름을 드디어 식별해 내고.. -_- 그리고 지나가는 버스에 적힌 Calgary 라는 지명을 보고 검색해 보니 캐나다 Calgary의 Heritage park라는 곳이었다. 이 곳에 민속촌 비슷하게 있는 장소라는 걸 알아냈다!! 후후... 실제로 사람이 사는 마을이 아니었단 말인가... -_-<br />
<br />
아무튼 나중에 꼭 한번 가보고 싶네. ㅋ<br />
<br />
			 ]]> 
		</description>
		<category>매일매일</category>

		<comments>http://sodomau.egloos.com/2403255#comments</comments>
		<pubDate>Wed, 19 Aug 2009 18:09:18 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 고인의 명복을 빕니다. ]]> </title>
		<link>http://sodomau.egloos.com/2401711</link>
		<guid>http://sodomau.egloos.com/2401711</guid>
		<description>
			<![CDATA[ 
  한분 더 가셨구나...<div><br />
</div><div>씁쓸하구만.</div><div><br />
</div>			 ]]> 
		</description>
		<category>매일매일</category>

		<comments>http://sodomau.egloos.com/2401711#comments</comments>
		<pubDate>Tue, 18 Aug 2009 04:52:17 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 빌어먹을 성격때문에.. ]]> </title>
		<link>http://sodomau.egloos.com/2377750</link>
		<guid>http://sodomau.egloos.com/2377750</guid>
		<description>
			<![CDATA[ 
  힘들다 힘들어.<div>아효.. 왜 이리 겁은 많고 약해 빠져가지고</div><div>비관적이기 까지 하고 말이지</div><div><br />
</div><div>아직 나이도 충분히 젊은데 뭐가 그리 두렵다고 원</div><div><br />
</div><div>암튼 힘내자!</div><div><br />
</div>			 ]]> 
		</description>

		<comments>http://sodomau.egloos.com/2377750#comments</comments>
		<pubDate>Sun, 19 Jul 2009 16:03:45 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
	<item>
		<title><![CDATA[ 아.. 그냥 때려치고 싶다. ]]> </title>
		<link>http://sodomau.egloos.com/2373310</link>
		<guid>http://sodomau.egloos.com/2373310</guid>
		<description>
			<![CDATA[ 
  대학원 때려 치고 싶다. 진짜<div><br />
</div><div>석사 졸업 할 껄</div><div><br />
</div>			 ]]> 
		</description>

		<comments>http://sodomau.egloos.com/2373310#comments</comments>
		<pubDate>Tue, 14 Jul 2009 11:23:13 GMT</pubDate>
		<dc:creator>ㅅㅎ</dc:creator>
	</item>
</channel>
</rss>
