Technical Support
Forums and Mailing Lists
Search Mackichan Web

SWP & SW
Version 5/5.5

Installation
Word Processing
Computations
Typesetting
File Issues
Graphics
Exam Builder
Style Editor
Other
Free Updates
Technical Articles

Scientific Notebook
Support Information
Troubleshooting

TeXnology
BibDB
TeXnology links

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.

File Folder    Destination Directory in SWP or SW
Traditional Chinese article.shl dir.png Shells\Articles\SW or a new directory in Shells
Traditional Chinese.cst dir.png Styles\article
PMingLiU.ofm dir.png TCITex\fonts\tfm
PMingLiU.ovf dir.png TCITex\fonts\vf
pmingliu.sty dir.png TCITeX\TeX\LaTeX\TCIomega
UT1pmingliu.fd dir.png TCITeX\TeX\LaTeX\TCIomega



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.

  1. From the File menu, choose New.
  2. From the International directory or the directory to which you downloaded the Traditional Chinese shell document, select Traditional Chinese Article and choose OK.
  3. From the File menu, choose Save As to save the shell file with a new name in the directory of your choice.
  4. Delete the contents of the Traditional Chinese Article shell document and enter the contents of your document.
  5. 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:

  1. From the Typeset menu, choose Expert Settings and then choose the DVI Format Settings tab.
  2. In the Select a formatter box, select TeX Live Lambda and choose OK.
  3. From the Typeset menu, choose Preview.
    The Traditional Chinese characters should appear in the TrueTeX Previewer window.
  4. 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

  1. From the File menu, choose New.
  2. From the International directory or the directory to which you downloaded the Traditional Chinese shell document, select Traditional Chinese Article and choose OK.
  3. From the Typeset menu, choose Options and Packages, choose Package Options and then choose Go Native.
  4. In the Packages box, select these lines, which specify the required packages:
    {sw2unicode}
    [UT1]{fontenc}
    {pmingliu}
  5. Copy the selected lines to the clipboard:
    • Press Ctrl+c.
      or
    • Right-click the selected text and choose Copy.
  6. Choose OK to close the Native LaTeX Packages and Options and Packages dialogs and then close the Traditional Chinese Article shell document.
  7. From the File menu, choose New.
  8. Select the shell document in which you want to include Traditional Chinese characters and choose OK.
  9. From the Typeset menu, choose Options and Packages, choose the Package Options tab and then choose Go Native.
  10. In the Packages box, move the insertion point to the end of the list of existing packages.
  11. Paste the selected package specifications from the clipboard:
    • Press Ctrl+v.
      or
    • Right-click the mouse and choose Paste.
  12. 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.

  1. From the Tag menu, choose Appearance.
  2. Change the base font:
    1. Choose Modify Style Defaults.
    2. In the Tag Properties area, select Font and choose Modify.
    3. In the Font Properties Specified area, choose Face if it is not already selected.
    4. In the Face area, select the font PMingLiU if it is not already selected.
    5. Choose OK.
  3. Change the font used for plotting:

    1. In the Tag Properties area, select Special Objects.
    2. From the Properties of Special Objects list, select Plots and choose Modify.
    3. Choose Modify Plot Component Font.
    4. As in steps 2c and 2d above, select the font PMingLiU if it is not already selected.
    5. Choose OK to return to the Tag Appearance dialog.
  4. Change the font used for formulas:
    1. In the Tag Properties area, select Special Objects.
    2. From the Properties of Special Objects list, select Formulas and choose Modify.
    3. In the General settings area, choose Font.
    4. As in steps 2c and 2d above, select the font PMingLiU if it is not already selected.
    5. Choose OK to return to the Tag Appearance dialog.
  5. Repeat step 4 to change the font used for Cross References and Citations.
  6. 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.
  7. Enter a name for the new .cst file to indicate the Traditional Chinese version of the .cst file and choose Save.
  8. Save your document.
  9. If you wish, save the document as a new shell:
    1. From the File menu, choose Export.
    2. Enter a new shell name to save the document as a new shell in the directory of your choice.
    3. Choose OK..

See also

Last revised 07/09/07

The information in this frame was created with Scientific WorkPlace.



MacKichan Software, Inc. 19689 7th Avenue NE, Suite 183 #238 Poulsbo, WA 98370
Phone: 360-394-6033 Toll-free: 877-724-9673 Fax: 360-394-6039

Please email comments and suggestions regarding this site to webmaster@mackichan.com.
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.