CTAN
Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/xcjk2uni

README.md

xCJK2uni

The xCJK2uni pack­age pro­vides com­mands to con­vert CJK char­ac­ter to Uni­code in non-UTF-8 en­cod­ing. It pro­vides hooks for hyperref to get the cor­rect book­marks. It also pro­vides some /ToUnicode map­ping file for CJK sub­font. They can be used with cmap pack­age and make CJK char­ac­ter search­able and copy­able in PDF files gen­er­ated by pdfLaTeX.

Ba­sic Usage

The pack­age pro­vides the fol­low­ing macros:

\useCJKencmap{<encoding>}

Set the cur­rent en­cod­ing. The de­fault en­cod­ing is GBK.

\CJKchartouni{<character>}

Con­vert a sin­gle CJK char­ac­ter to its Uni­code. It re­quires two steps of ex­pan­sion.

\CJKsfdtouni{<plane>}{<slot>}

Con­vert the .sfd co­or­di­nate to its Uni­code. It re­quires two steps of ex­pan­sion.

You can read the pack­age man­ual (in Chi­nese) for more de­tailed ex­pla­na­tions.

Con­tribut­ing

This pack­age is a part of the ctex-kit project.

Is­sues and pull re­quests are wel­come.

Copy­right and Li­cence

Copyright (C) 2013-2014, 2016 by Qing Lee <sobenlee@gmail.com>
----------------------------------------------------------------------
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.3c of this license or (at your option) any later
version. This version of this license is in
   http://www.latex-project.org/lppl/lppl-1-3c.txt
and the latest version of this license is in
   http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of
LaTeX version 2005/12/01 or later.
This work has the LPPL maintenance status `maintained'.
The Current Maintainer of this work is Qing Lee.
This package consists of the file  xCJK2uni.dtx,
             and the derived files xCJK2uni.pdf,
                                   xCJK2uni.sty,
                                   xCJK2uni.ins,
                                   xCJK2uni-make.tex,
                                   xCJK2uni-sfd.def,
                                   xCJK2uni-UBg5plus.def,
                                   xCJK2uni-UBig5.def,
                                   xCJK2uni-UGB.def,
                                   xCJK2uni-UGBK.def,
                                   xCJK2uni-UJIS.def,
                                   xCJK2uni-UKS.def,
                                   c****.cmap, and
                                   README.md (this file).

Down­load the con­tents of this pack­age in one zip archive (142.9k).

xcjk2uni – Con­vert CJK char­ac­ters to Uni­code, in pdfTeX

The pack­age pro­vides com­mands to con­vert CJK char­ac­ters to Uni­code in non-UTF-8 en­cod­ing; it pro­vides hooks to sup­port hy­per­ref in pro­duc­ing cor­rect book­marks.

The bun­dle also pro­vides /ToUni­code map­ping file(s) for a CJK sub­font; these can be used with the cmap pack­age, al­low­ing searches of, and cut-and-paste op­er­a­tions on a PDF file gen­er­ated by pdfTeX..

Pack­age De­tailsxcjk2uni
Ver­sion0.6
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerQing Lee
TDS archivexcjk2uni.tds.zip
Con­tained inTeX Live as xcjk2uni
MiKTeX as xcjk2uni
Topics ac­cess PDF fea­tures
...
Guest Book Sitemap Contact Contact Author