docs/99260: Make Traditional Chinese PDF/PostScript of FreeBSD Documents
Intron
intron at intron.ac
Wed Jun 21 16:40:20 UTC 2006
>Number: 99260
>Category: docs
>Synopsis: Make Traditional Chinese PDF/PostScript of FreeBSD Documents
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 21 16:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Intron
>Release: 7.0-CURRENT
>Organization:
China
>Environment:
7.0-CURRENT i386
>Description:
Please forward this PR to vanilla at freebsd.org
Apply the following patch. And remove "zh_TW.Big5" after "NO_TEX_LANG?=" in
doc/share/mk/doc.docbook.mk.
If you have any question, please contact me or delphij at freebsd.org.
See:
1. The port chinese/docproj.
2. Comments of revision 1.125 on
http://www.freebsd.org/cgi/cvsweb.cgi/doc/share/mk/doc.docbook.mk
3. http://www.freebsd.org/cgi/cvsweb.cgi/doc/zh_CN.GB2312/share/mk/doc.local.mk
>How-To-Repeat:
>Fix:
Index: doc.local.mk
===================================================================
RCS file: /cvsroot/ncvs/doc/zh_TW.Big5/share/mk/doc.local.mk,v
retrieving revision 1.1
diff -u -r1.1 doc.local.mk
--- doc.local.mk 26 Jan 2006 16:13:46 -0000 1.1
+++ doc.local.mk 21 Jun 2006 16:27:06 -0000
@@ -2,4 +2,9 @@
SP_ENCODING?= ${LANGCODE:C,^.*\.,,}
-SGMLFLAGS+= -D ${IMAGES_EN_DIR}/${DOC}s/${.CURDIR:T}
+CJKTEXSTY?= ${PREFIX}/bin/cjktexsty
+CJKTEXSTY_TEX_FLAGS?= -e ${SP_ENCODING} -f t1song
+CJKTEXSTY_PDFTEX_FLAGS?= -c -e ${SP_ENCODING} -f song
+
+PDFJADETEX_PREPROCESS= ${CJKTEXSTY} ${CJKTEXSTY_PDFTEX_FLAGS}
+JADETEX_PREPROCESS= ${CJKTEXSTY} ${CJKTEXSTY_TEX_FLAGS}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list