HowTo: Preparing your KAIST thesis in latex using MikTeX

A friend of mine was having issues preparing his thesis in latex using MikTex on Windows.
The problem was not easy to discover, but it involved three things:

  • The TeXnicenter latex editor did not support UTF-8 (Shame on you TeXnicenter!)
  • There were some Korean-related packages missing, and
  • The font format in one class was not compatible with his version of MikTex

If you are experiencing similar problems while writing your thesis, the solution is as follows:

  • Download MikTeX 2.9 from here and install it (It is important to download 2.9 and not 2.8, as the format for the fonts is not compatible with version 2.8 or versions before that one)
  • Download the Ko.TeX package from here and install it. This package includes all the needed styles, classes, fonts, etc to deal with Korean-document writing issues ^^
  • After installing both applications, we need to set up MikTeX to detect Ko.TeX packages
    • Go to Start->All Programs->MikTeX 2.9->Maintenance (Admin)->Settings (Admin)
    • Select the Roots tab and add \usr\w32tex\share\texmf-kotex (by default this path is c:\usr\w32tex\share\texmf-kotex). Click the ‘Apply‘ button
    • Select the General tab and press the ‘Refresh FNDB‘ button
    • Now, open a command line by going to Start->All Programs->Accesories->Command Prompt. If you are on Windows Vista or 7 I recommend you to run it as administrator. For this, right-click over ‘Command Prompt’ and select ‘Run as Administrator’
    • At the command prompt, run the following command: initexmf --edit-config-file udpmap
    • Update! Christian Tischler let me know that some times the command to launch the MikTex configuration for adding the mappings does not work. If that is your case, then run the following command instead:initexmf --admin --edit-config-file udpmap (note the –admin option)
    • Add the following lines to that file:
    • Save the file and close it
    • Now run the following at the command prompt: initextmf -u
    • MikTeX is ready! You can close the command prompt now by typing exit
  • Install TeXMaker or another UTF-8 compatible laTeX editor. The following instructions are if you are running TexMaker:
    • Install TeXMaker and open it
    • Select Options->Configure TeXMaker from the main menu at the top
    • Press the Editor button at the left side of the screen
    • Select UTF-8 for the ‘Editor Font Encoding‘ option (third one in the first box)
    • Press ‘OK
    • Done!
  • Now try it! Download KAIST’s Guidelines,Template for thesis that contains the latex format (and others too!). Extract the file and the latex format file included in it. Open the file ‘sample-ucs-final.tex’ using TeXMaker, and press the blueish arrow next to ‘Quick Build’.

If an error happened, then re-check this guide or contact me!

  1. No comments yet.

  1. No trackbacks yet.

WP-SpamFree by Pole Position Marketing