Document directory
- Ctex Introduction
- Ctex Chinese font installation
- Beamer Chinese bookmarks garbled Solution
Ctex-Introduction to the Chinese Tex System ctex in Windows
Ctex is a Tex System with the Chinese environment configured. The ctex website consists of the following three parts:
Http://www.ctex.org |
Home page to publish the latest software and messages |
Http://bbs.ctex.org |
Forums, questions, and discussions |
Ftp://ftp.ctex.org |
FTP provides software resource download |
Ctex Chinese font installation
The following method is successfully tested on ctex 2.4.2.
- Use the Windows version of gbkfonts to generate various font files required by Tex from the. TTF font file. Note:Gbkfonts. iniAndGo. batModify different fonts and then runGo. batIn the directory.Dvips dvipdfm fonts vertex TexThese directories andCid-x.map CJK. Map ttfonts. Map.These files
- EnterDvipdfm \ configDirectory, copy the map fileCtex \ localtexmf \ dvipdfm \ ChineseDirectory
- SetGbkfontsGeneratedCid-x.mapFile ContentCtex \ localtexmf \ dvipdfm \ config \ cid-x.mapBehind
- SetGbkfontsGeneratedCJK. MapSave the fileCtex \ localtexmf \ dvips \ ChineseDirectory, and thenCtex \ localtexmf \ web2c \ updmap. cfgAdd to file
Map cjk.map
Save and open the command line window to run
initexmf --mkmaps
- SetGbkfontsGeneratedFontsDirectoryIBS \ Chinese, TFM \ Chinese, type1 \ ChineseCopy contents to the directoryCtex \ localtexmf \ FontsDirectory. Note that the TFM font files must be manually created and placed separately.
- SetGbkfontsGeneratedDvips \ ChineseCopy contents under the DirectoryCtex \ localtexmf \ pdftex \ ChineseDirectory
- SetGbkfontsGeneratedTex \ latex \ CJK \ GBCopy files under the DirectoryCtex \ localtexmf \ Tex \ latex \ CJK \ GBDirectory
- SetGbkfontsGeneratedTtfonts. MapAdd File ContentCtex \ localtexmf \ ttf2tfm \ base \ ttfonts. MapMedium
- Refresh the file name database, and then you can add the font.
- In this caseDvipdfmxThe Italic font cannot be generated and needs to be modified.Ctex \ localtexmf \ dvipdfm \ config \ cid-x.mapFile, for example:
gbksongsl@UGBK@ UniGB-UCS2-H :0:!simsun.ttc,Italic
However, Chinese characters generally do not use italics. They are not very nice-looking. You can use a simhei to emphasize the content.
Beamer Chinese bookmarks garbled Solution
There are two solutions:
- Directly use pdflatex. The command execution process is as follows:
pdflatex filename.texpdflatex filename.texgbk2uni filename.outpdflatex filename.tex
- UseLatex-> dvips-> ps2pdf. First, changeBeamerThe defaultHyperrefSettings are as follows:
\documentclass[cjk,hyperref={dvips}]{beamer}
In this way, you can generate a ps with bookmarks, and then execute the command process as follows:
latexlatexdvipsps2pdf
These commands require some parametersWinedtThe default parameters of the button.
[Transfer] http://apps.hi.baidu.com/share/detail/31537634