diff options
author | Karl Berry <karl@freefriends.org> | 2009-01-01 17:59:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-01-01 17:59:08 +0000 |
commit | cf88a21d6fd630740e594fe0c7f4a9d18889d559 (patch) | |
tree | 1fb1f60c7b5de113e1a37b4448cccb4dc2fcbaf1 /Master/texmf-dist/source/latex/cjk/utils/Bg5conv | |
parent | 06b1964526f9f21bba3b50c33085a434ecbc64d3 (diff) |
cjk 4.8.2 (29dec08)
git-svn-id: svn://tug.org/texlive/trunk@11791 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/cjk/utils/Bg5conv')
6 files changed, 5 insertions, 237 deletions
diff --git a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.1 b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.1 deleted file mode 100644 index ef9f806e71b..00000000000 --- a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.1 +++ /dev/null @@ -1,110 +0,0 @@ -.\" man page for bg5conv -.\" Copyright (C) 1994-2008 Werner Lemberg <wl@gnu.org> -.\" -.\" This program is free software; you can redistribute it and/or modify -.\" it under the terms of the GNU General Public License as published by -.\" the Free Software Foundation; either version 2 of the License, or -.\" (at your option) any later version. -.\" -.\" This program is distributed in the hope that it will be useful, -.\" but WITHOUT ANY WARRANTY; without even the implied warranty of -.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -.\" GNU General Public License for more details. -.\" -.\" You should have received a copy of the GNU General Public License -.\" along with this program in doc/COPYING; if not, write to the Free -.\" Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, -.\" MA 02110-1301 USA -. -.TH BG5CONV 1 10-Aug-2008 "CJK Version 4.8.1" -. -.\" ==== -.\" ==== macro definitions -.\" ==== -. -.\" here we define \TeX for troff and nroff -.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP -.if n .ds TX TeX -. -.\" and here the same for \LaTeX -.if t \{\ -.ie '\*(.T'dvi' \ -.ds LX \fRL\h'-0.36m'\v'-0.15v'\s-3A\s0\h'-0.15m'\v'0.15v'\fP\*(TX -.el .ds LX \fRL\h'-0.36m'\v'-0.22v'\s-2A\s0\h'-0.15m'\v'0.22v'\fP\*(TX -.\} -.if n .ds LX LaTeX -. -.\" \LaTeXe -.\" note that we need \vareps for TeX instead of \eps which can only be -.\" accessed with the \N escape sequence (in the Math Italic font) -.if t \{\ -.ie '\*(.T'dvi' .ds LE \*(LX\h'0.15m'2\v'0.20v'\f(MI\N'34'\fP\v'-0.20v' -.el .ds LE \*(LX\h'0.15m'2\v'0.20v'\(*e\v'-0.20v' -.\} -.if n .ds LE LaTeX\ 2e -. -.\" a typewriter font -.if t \{\ -.de C -\fC\\$1\fP\\$2 -.. -.\} -.if n \{\ -.de C -\\$1\\$2 -.. -.\} -. -.\" ==== -.\" ==== end of macro definitions -.\" ==== -. -. -. -.SH NAME -bg5conv \- convert a TeX document in Big\ 5 encoding into `preprocessed' -form. -. -. -.SH SYNOPSIS -.B bg5conv -< -.I infile -> -.I outfile -. -. -.SH DESCRIPTION -Big\ 5 encoding for traditional Chinese uses the characters -.C { , -.C } , -and -.C \e -which have special meanings in \*(TX -documents. -.PP -After processing a \*(LE -document which contains Big\ 5 characters with -.B bg5conv -you need not care about these special characters. -.PP -This filter is part of the -.B CJK -macro package for \*(LE. -. -. -.SH "SEE ALSO" -.BR \%sjisconv (1), -.BR \%cefconv (1), -.BR cef5conv (1), -.BR \%cefsconv (1), -.BR \%extconv (1), -.br -the -.B CJK -documentation files. -. -. -.SH AUTHOR -Werner Lemberg -.C <wl@gnu.org> diff --git a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.c b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.c deleted file mode 100644 index 8e0d8bf36a1..00000000000 --- a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.c +++ /dev/null @@ -1,36 +0,0 @@ -#define banner \ -"bg5conv (CJK ver. 4.8.1)" \ - -/*2:*/ -#line 94 "/home/wl/git/cjk/cjk-4.8.1/utils/Bg5conv/bg5conv.w" - -#include <stdio.h> -#include <stdlib.h> - - -int main(argc,argv) -int argc; -char*argv[]; - -{int ch; - -fprintf(stdout,"\\def\\CJKpreproc{%s}",banner); - -ch= fgetc(stdin); - -while(!feof(stdin)) -{if(ch>=0xA1&&ch<=0xFE) -{fprintf(stdout,"\177%c\177",ch); - -ch= fgetc(stdin); -if(!feof(stdin)) -fprintf(stdout,"%d\177",ch); -} -else -fputc(ch,stdout); - -ch= fgetc(stdin); -} -exit(EXIT_SUCCESS); -return 0; -}/*:2*/ diff --git a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.w b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.w index 5f2b521fcdf..ed6214a42f6 100644 --- a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.w +++ b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5conv.w @@ -1,4 +1,4 @@ -% This is the cweb file bg5conv.w of the CJK Package Ver. 4.8.1 10-Aug-2008 +% This is the cweb file bg5conv.w of the CJK Package Ver. 4.8.2 29-Dec-2008 % Copyright (C) 1994-2008 Werner Lemberg <wl@@gnu.org> % @@ -26,13 +26,13 @@ % output rules (look at the position of braces below!) the author (it's me % too :-) prefer. Otherwise this file will be formatted traditionally. -\def\title{bg5conv (CJK Version 4.8.1)} +\def\title{bg5conv (CJK Version 4.8.2)} \def\topofcontents{ \null\vfill \centerline{\titlefont The {\ttitlefont bg5conv} program} \vskip 20pt - \centerline{(CJK Version 4.8.1)} + \centerline{(CJK Version 4.8.2)} \vfill} \def\botofcontents{ @@ -89,7 +89,7 @@ which will see the output of \.{bg5conv} complains loudly if something is wrong. @d banner -"bg5conv (CJK ver. 4.8.1)" +"bg5conv (CJK ver. 4.8.2)" @c #include <stdio.h> diff --git a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5latex b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5latex deleted file mode 100644 index 30195776a87..00000000000 --- a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5latex +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sh - -# Copyright (C) 1994-2008 Werner Lemberg <wl@gnu.org> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program in doc/COPYING; if not, write to the Free -# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, -# MA 02110-1301 USA - -n=1 -argv= - -# get last argument -while test 1 -lt $#; do - eval argv$n=\$1 - argv="$argv \"\$argv$n\"" - n=`expr $n + 1` - shift -done - -# replace extension with .cjk or append .cjk if there is no extension -tex=$1 -case $tex in -""|*.cjk) - echo >&2 "Usage: $0 [options] latex-file" - exit 1;; -*) - aux=`expr "X$tex" : 'X\(.*\)\.[^/]*$' \| "X$tex" : 'X\(.*\)'`.cjk;; -esac - -bg5conv < "$tex" > "$aux" && eval latex "$argv" "\$aux" - -# EOF diff --git a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5latex.cmd b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5latex.cmd index a9456425e30..a4800ee4821 100644 --- a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5latex.cmd +++ b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5latex.cmd @@ -1,7 +1,7 @@ /*----------------------------------------------------------------------*\ bg5latex.cmd - This file is part of the CJK macro package for LaTeX2e ver. 4.8.1 + This file is part of the CJK macro package for LaTeX2e ver. 4.8.2 Copyright (C) 1994-2008 Wonkoo Kim <wkim+@pitt.edu> diff --git a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5pdflatex b/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5pdflatex deleted file mode 100644 index ae165527569..00000000000 --- a/Master/texmf-dist/source/latex/cjk/utils/Bg5conv/bg5pdflatex +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sh - -# Copyright (C) 1994-2008 Werner Lemberg <wl@gnu.org> -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program in doc/COPYING; if not, write to the Free -# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, -# MA 02110-1301 USA - -n=1 -argv= - -# get last argument -while test 1 -lt $#; do - eval argv$n=\$1 - argv="$argv \"\$argv$n\"" - n=`expr $n + 1` - shift -done - -# replace extension with .cjk or append .cjk if there is no extension -tex=$1 -case $tex in -""|*.cjk) - echo >&2 "Usage: $0 [options] pdflatex-file" - exit 1;; -*) - aux=`expr "X$tex" : 'X\(.*\)\.[^/]*$' \| "X$tex" : 'X\(.*\)'`.cjk;; -esac - -bg5conv < "$tex" > "$aux" && eval pdflatex "$argv" "\$aux" - -# EOF |