Latex on Mac (한글로 쓰기는 방법도 포함)

2011.06.25 21:57
OS: Mac lion version

1. Download and install MacTex 2011 from #3


># unzip texmf.zip
># sudo mv texmf ~/Library/texmf

Install kotex using tlmgr
># sudo tlmgr --repository=http://ftp.ktug.or.kr/KTUG/texlive/2011 install collection-kotex
># sudo tlmgr update --all

Need to include Mac Fonts
># vim /usr/local/texlive/2011/texmf.cnf
OSFONTDIR = {~/Library/Fonts;/Library/Fonts;/System/Library/Fonts}
># sudo texhash
># sudo udpmap-sys --enable Map=kotex-base.map
># sudo udpmap-sys --enable Map=kotex-extra.map

2. latex template examples
 - English version (USENIX): require usenix.sty which is in the above file, texmf.*.egg 


># pdflatex camready.tex
># open camready.pdf



- Korean version (SNU thesis)



Cyberbit font is needed for SNU thesis template.
># sudo updmap --enable Map=cyberbit.map
># sudo chown -R ykoh ~/Library/texlive

># pdflatex thesis_template.tex
># open thesis_template.pdf



References
1. TeX on Mac OS, http://mactex-wiki.tug.org/wiki/index.php/Main_Page
2. Installing LaTeX on Mac, http://guides.macrumors.com/Installing_LaTeX_on_a_Mac
3. MacTeX, http://www.tug.org/mactex/
4. Tex on Mac OS X, http://ii2.sourceforge.net/tex-index.html
5.  Latex에 unicode와 cjk 패키지 적용하기, http://nineye.com/blog/archives/1340
6.  Mac에서 latex 쓰기, http://blog.windage.co.kr/103
저작자 표시
신고

'linux > latex' 카테고리의 다른 글

Latex on Linux (Including writing in Korean)  (0) 2011.10.04
Latex on Mac (한글로 쓰기는 방법도 포함)  (0) 2011.06.25
VIM Latex-Suite Reference Card  (0) 2011.05.31
Latex in VIM  (0) 2011.02.06
Latex 한글로 쓰기 (Windows 7)  (0) 2010.12.28
How to convert PNG to EPS for LaTex Graphic  (0) 2010.10.17

Frank kenshin579 linux/latex latex, mac, SNU latex 논문, SNU thesis latex template, SNU 석사논문 latex, 서울대 학위논문 포멧, 한글로 쓰기

Latex in VIM

2011.02.06 20:36
Great work by Agnos. This is somewhat re..

Here is a Latex-Suite Reference card.

Spell check in VM
 * ]s  - next misspelled word
 * [s  - previous misspelled word
 * z=  - view spelling suggestions for a misspelled word
 * zg  - add a word to the dictionary
 * zug - undo adding a word to the dictionary

Thesaurus feature in VIM
># unzip -d $HOME/thesaurus mthes10.zip
># vim ~/.vimrc
set thesaurus+=$HOME/thesaurus/mthesaur.txt

Press Ctrl x + Ctrl t to use thesaurus while in the insert mode. 

Blank screen after compilation with latex-suite
After typing \ll to compile the latex source, vim does not redraw the screen, ending up
with just a blank screen. 
># vim ~/.vim/ftplugin/tex.vim
# let g:Tex_MultipleCompileFormats='dvi,pdf'
 let g:Tex_MultipleCompileFormats='' 


References
1. Using latexmk, vim spell checking and vim latex-suite, http://www.tjansson.dk/?p=278
2. 
4. Using latexmk, vim spell, http://www.tjansson.dk/?p=278
저작자 표시
신고

'linux > latex' 카테고리의 다른 글

Latex on Mac (한글로 쓰기는 방법도 포함)  (0) 2011.06.25
VIM Latex-Suite Reference Card  (0) 2011.05.31
Latex in VIM  (0) 2011.02.06
Latex 한글로 쓰기 (Windows 7)  (0) 2010.12.28
How to convert PNG to EPS for LaTex Graphic  (0) 2010.10.17
How to use LaTeX on Windows  (0) 2010.09.28

Frank kenshin579 linux/latex blank screen after compile, latex, spellchecking, thesaurus, VIM

Latex 한글로 쓰기 (Windows 7)

2010.12.28 14:51
Latex에서 한글논문을 쓸 경우가 가끔 있을 것이다. 
TeXLive 버전은 한글을 포함하고 있지 않기 때문에 Ko TeXLive을 사용해야 한다. 


Download KoTeXLive 2009 버전 from the #2. 
And install the program by double-clicking on the executable. 


Setup Eclipse (plugin - Texlipse) as a TeX editor by installing the following plugin.




In case MiTek is already installed then, the eclipse may choose the MiTeK as the default LaTex program. 
You may need to change the latex program to Ko TexLive by changing the program location from  
the Window > Preference > Texlipse > Builder Settings  





References
저작자 표시
신고

'linux > latex' 카테고리의 다른 글

Latex on Mac (한글로 쓰기는 방법도 포함)  (0) 2011.06.25
VIM Latex-Suite Reference Card  (0) 2011.05.31
Latex in VIM  (0) 2011.02.06
Latex 한글로 쓰기 (Windows 7)  (0) 2010.12.28
How to convert PNG to EPS for LaTex Graphic  (0) 2010.10.17
How to use LaTeX on Windows  (0) 2010.09.28

Frank kenshin579 linux/latex Korean, latex

How to convert PNG to EPS for LaTex Graphic

2010.10.17 20:10
You can convert PNG to EPS by one of two following methods:

1. Using SAM2P 
># apt-get install sam2p
># sam2p sample.png EPS: sample.eps

2. Using Convert
># apt-get install convert
># convert sample.png eps3:diagram.eps


저작자 표시
신고

'linux > latex' 카테고리의 다른 글

Latex on Mac (한글로 쓰기는 방법도 포함)  (0) 2011.06.25
VIM Latex-Suite Reference Card  (0) 2011.05.31
Latex in VIM  (0) 2011.02.06
Latex 한글로 쓰기 (Windows 7)  (0) 2010.12.28
How to convert PNG to EPS for LaTex Graphic  (0) 2010.10.17
How to use LaTeX on Windows  (0) 2010.09.28

Frank kenshin579 linux/latex eps, latex