|
Document 555
How to write and typeset documents in Traditional Chinese
Version: 4.x & 5.x - Scientific WorkPlace & Scientific
Word
You can typeset SWP and SW documents written in non-Roman languages, including
Traditional Chinese, in two ways. You can
-
Typeset PDF documents using XeTeX, an adaptation of TeX
that is available with TeX Live, which includes support for many languages.
Typeset DVI documents are not available with XeTeX.
-
Typeset DVI documents using the Omega/Lambda system,
which is an extension of TeX and LaTeX and is provided with Versions 4.x and 5.x of SWP
and SW. Creating typeset PDF files from such documents isn't possible from
within SWP or SW.
Requirements for using Lambda to typeset Traditional Chinese
To write and typeset documents in Traditional Chinese, you need
-
Windows 2000 or Windows XP with the East Asian language support installed.
Note
Windows 2000 or Windows XP are the preferred platforms. You may be
able to write and typeset documents in Traditional Chinese using other
versions of Windows.
-
MingLiU, the Windows font for Traditional Chinese characters.
MingLiU is included in the East Asian language support for Windows 2000/XP.
-
A shell appropriate for documents in Traditional Chinese, a corresponding .cst
file, and several support files: PMingLiU.ofm, PMingLiU.ovf, pmingliu.sty, and
UT1pmingliu.fd.
The shell, .cst file, and support files are included with SWP and SW Version
5.x.
Downloading and installing files for Traditional Chinese
Make sure you are using Windows 2000 or Windows XP with the East Asian
language support installed.
-
If you're using Version 5.x of SWP or SW, all necessary files are already
included in your program directory.
-
If you're using Version 4.x of SWP or SW, you must download the files you need
to the indicated subdirectory of your program directory according to these
instructions:
-
Click each file name in the table below to download the file directly to your
computer.
or
-
Click each folder icon to open a new browser window on the ftp server, then
select and download each file using the standard procedures for your browser.
After you have downloaded the files to your program directory, follow the
instructions below to create and typeset Traditional Chinese documents.
Note
If you reinstall SWP or SW Version4.x on a new computer, you must
download the files again.
Creating documents with the Traditional Chinese shell
Because several packages and option settings are required to create documents
in Traditional Chinese, we recommend that you use Traditional Chinese
Article.shl as a base for your document. The shell document has the required
packages and option settings already in place.
-
From the File menu, choose
New.
-
From the International directory or the directory to which you downloaded the
Traditional Chinese shell document, select Traditional
Chinese Article and choose OK.
-
From the File menu, choose
Save As to save the shell file with a new name
in the directory of your choice.
-
Delete the contents of the Traditional Chinese Article shell document and
enter the contents of your document.
-
Save your document.
Typesetting documents in Traditional Chinese
You can produce your document with or without typesetting. If you typeset, you
must change the TeX formatter used with your installation before you typeset:
-
From the Typeset menu, choose
Expert Settings and then choose the
DVI Format Settings tab.
-
In the Select a formatter box, select
TeX Live Lambda and choose
OK.
-
From the Typeset menu, choose
Preview.
The Traditional Chinese characters should appear in the TrueTeX Previewer
window.
-
Print your document:
-
From the File menu in the TrueTeX Previewer,
choose Print.
or
-
From the Typeset menu in the SWP or SW document
window, choose Print.
Creating documents in Traditional Chinese using other
document shells
You can also use Traditional Chinese with other document shells, but you must
first add the packages and option settings to the other document and modify
the display fonts.
Step 1. Add packages and option settings
-
From the File menu, choose
New.
-
From the International directory or the directory to which you downloaded the
Traditional Chinese shell document, select Traditional
Chinese Article and choose OK.
-
From the Typeset menu, choose
Options and Packages, choose
Package Options and then choose
Go Native.
-
In the Packages box, select these lines, which specify the required packages:
{sw2unicode}
[UT1]{fontenc}
{pmingliu}
-
Copy the selected lines to the clipboard:
-
Press Ctrl+c.
or
-
Right-click the selected text and choose Copy.
-
Choose OK to close the Native LaTeX Packages and
Options and Packages dialogs and then close the Traditional Chinese Article
shell document.
-
From the File menu, choose
New.
-
Select the shell document in which you want to include Traditional Chinese
characters and choose OK.
-
From the Typeset menu, choose
Options and Packages, choose the
Package Options tab and then choose
Go Native.
-
In the Packages box, move the insertion point to
the end of the list of existing packages.
-
Paste the selected package specifications from the clipboard:
-
Press Ctrl+v.
or
-
Right-click the mouse and choose Paste.
-
Choose OK to close the dialog boxes and return to your document.
Step 2. Modify the display fonts
Although the document will correctly produce Traditional Chinese characters
when you typeset, it will not display Traditional Chinese characters in the
document window until you modify the fonts used in the document.
-
From the Tag menu, choose
Appearance.
-
Change the base font:
-
Choose Modify Style Defaults.
-
In the Tag Properties area, select
Font and choose
Modify.
-
In the Font Properties Specified area, choose
Face if it is not already selected.
-
In the Face area, select the font
PMingLiU if it is not already selected.
-
Choose OK.
-
Change the font used for plotting:
-
In the Tag Properties area, select
Special Objects.
-
From the Properties of Special Objects list,
select Plots and choose
Modify.
-
Choose Modify Plot Component Font.
-
As in steps 2c and 2d above, select the font PMingLiU
if it is not already selected.
-
Choose OK to return to the Tag Appearance
dialog.
-
Change the font used for formulas:
-
In the Tag Properties area, select
Special Objects.
-
From the Properties of Special Objects list,
select Formulas and choose
Modify.
-
In the General settings area, choose Font.
-
As in steps 2c and 2d above, select the font PMingLiU
if it is not already selected.
-
Choose OK to return to the Tag Appearance
dialog.
-
Repeat step 4 to change the font used for Cross References and Citations.
-
In the Tag Appearance dialog choose Save As to create a new .cst file with the
appropriate display settings for Traditional Chinese characters.
The Save As dialog will appear with the current .cst file name entered in the
dialog.
-
Enter a name for the new .cst file to indicate the Traditional Chinese version
of the .cst file and choose Save.
-
Save your document.
-
If you wish, save the document as a new shell:
-
From the File menu, choose
Export.
-
Enter a new shell name to save the document as a new shell in the directory of
your choice.
-
Choose OK..
See also
Last revised 07/09/07
The information in this frame was created with Scientific WorkPlace.
|