Ctex-solutions for garbled Beamer Chinese bookmarks in Windows

Source: Internet
Author: User
Tags italic font name database
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.

 

  1. 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
  2. EnterDvipdfm \ configDirectory, copy the map fileCtex \ localtexmf \ dvipdfm \ ChineseDirectory
  3. SetGbkfontsGeneratedCid-x.mapFile ContentCtex \ localtexmf \ dvipdfm \ config \ cid-x.mapBehind
  4. 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
  5. 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.
  6. SetGbkfontsGeneratedDvips \ ChineseCopy contents under the DirectoryCtex \ localtexmf \ pdftex \ ChineseDirectory
  7. SetGbkfontsGeneratedTex \ latex \ CJK \ GBCopy files under the DirectoryCtex \ localtexmf \ Tex \ latex \ CJK \ GBDirectory
  8. SetGbkfontsGeneratedTtfonts. MapAdd File ContentCtex \ localtexmf \ ttf2tfm \ base \ ttfonts. MapMedium
  9. Refresh the file name database, and then you can add the font.
  10. 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:

 

  1. Directly use pdflatex. The command execution process is as follows:

    pdflatex filename.texpdflatex filename.texgbk2uni filename.outpdflatex filename.tex
  2. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.