From MacOSX-TeX@email.esm.psu.edu Sat May 24 20:05:55 2003
Received: from ENGRMAIL1.engr.psu.edu ([130.203.201.25]) by engrmail3.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.5329);
	 Sat, 24 May 2003 20:01:04 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by ENGRMAIL1.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.5329);
	 Sat, 24 May 2003 20:00:54 -0400
Date: Sat, 24 May 2003 20:00:01 -0400
Subject: MacOSX-TeX Digest #667 - 05/24/03
From: "TeX on Mac OS X Mailing List" 
To: "TeX on Mac OS X Mailing List" 
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
Sender: 
Precedence: Bulk
List-Software: LetterRip Pro 4.0p2.4 by LetterRip Software, LLC.
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 
X-LR-SENT-TO: engr.psu.edu
Return-Path: MacOSX-TeX@email.esm.psu.edu
Message-ID: 
X-OriginalArrivalTime: 25 May 2003 00:00:56.0557 (UTC) FILETIME=[B75D29D0:01C32250]

MacOSX-TeX Digest #667 - Saturday, May 24, 2003

  Re: [OS X TeX] Failure in setting up Unicode on TeX on OS X
          by "Cyril Niklaus" 
  Web Page Capture for a handbook
          by "Nigel King" 
  Re: [OS X TeX] Failure in setting up Unicode on TeX on OS X
          by "Julien Salort" 
  Weird behaviour
          by "Ernesto Trajano de Lima" 
  twoside  \markboth
          by "Hendrik Chaltin" 
  Re: [OS X TeX] twoside  \markboth
          by "Maarten Sneep" 
  Re: [OS X TeX] Failure in setting up Unicode on TeX on OS X
          by "Issio" 


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Failure in setting up Unicode on TeX on OS X
From: "Cyril Niklaus" 
Date: Sat, 24 May 2003 09:01:38 +0900

Have a look at Vincent Zoonekynd's page at 
. I'm 
in a bit of a hurry now to really go over it again, but I had it 
working on my machines here. And since one inputs in unicode, don't be 
turned away by the fact that he focusses on Japanese (and usually the 
IME for Japanese work OK for Chinese don't they?).
I'll be happy to provide details offlist if needed.
HTH
Cyril


----------------------------------------------------------------------

Subject: Web Page Capture for a handbook
From: "Nigel King" 
Date: Sat, 24 May 2003 10:59:49 +0100

Dear Texnicians,
I am nearing the final stages of producing a handbook for a product which =
is
managed via the product's internal web server. Screenshots are therefore
required. I am looking for a method that has small files and yet does not
have nasty pixelations and is also readable.

The method that I was having some success with was printing the page to =
pdf
and then using pdftex to combine the pictures into the document. I found
that the Mac print from IE lost some of the picture elements such as radio
buttons, and 'text entry' windows and text.

I then got the PC users to create pdfs instead. This created the correct
picture but when incorporated using pdftex into the final document the =
same
elements were missing.

Now I have reprinted the captured pictures to postscript and used =
Distiller
4.05 to recreate the pdfs I have then cropped the spare space off using
Acrobat 4.05. All elements are now there BUT pdftex seems to have found =
the
wrong bounding box and the incorporated picture is offset from its correct
position (I am using context \externalfigure[xxx.pdf]).

It seems as though I should have started by capturing the pictures as
postscript and distilling them. Publication date is Tuesday and I can see
that approaching rather rapidly!

Has anybody found a good procedure for doing this?

TIA
-- 
Nigel 



----------------------------------------------------------------------

Subject: Re: [OS X TeX] Failure in setting up Unicode on TeX on OS X
From: "Julien Salort" 
Date: Sat, 24 May 2003 14:08:38 +0200

> I tried to find ways to add this capability (such as trying 
> to figure out how to install a Unicode package), but everything failed.

The package ucs is installed by default.
To invoke it, just write
\usepackage[utf8]{inputenc}

It works for greek and ancient greek. I don't know for chinese.

-- 
Julien Salort
http://julien.salort.free.fr

----------------------------------------------------------------------

Subject: Weird behaviour
From: "Ernesto Trajano de Lima" 
Date: Sat, 24 May 2003 15:52:17 -0300

Hi,

I'm having a weird problem with a citation. I'm citing the following 
bib entry in my document:

@book{Schal92,
	Year =3D {1992},
	Title =3D {Pattern Recognition: Statistical, Structural and Neural 
Approaches},
	Address =3D {New York},
	Publisher =3D {John Wiley \& Sons},
	Author =3D {Schalkoff, Robert J.}}

The problem is that bibtex (apalike style) somehow modifies the title 
of the book to "Pattern Recognition: Statistical, **Strucutral** and 
Neural Approaches" (see http://www.cin.ufpe.br/~etl/citation.pdf to see 
this citation only in pdf format).

What may be happening? Is it a bug?

Softwares I'm using: Mac OS X 10.2.5 + Bibdesk 0.80b + TeXShop 1.28 + 
Mr Wierda's teTeX (don't know the version but the changelog at 
/usr/local/teTeX/share/texmf.macosx/ChangeLog.texmf.macosx is from 
2002/Dec/15).

Cheers,
Ernesto.


----------------------------------------------------------------------

Subject: twoside  \markboth
From: "Hendrik Chaltin" 
Date: Sat, 24 May 2003 22:06:50 +0200

Hello!



Q1

From Kopka-Daly (3d ed.) p. 31-32:

In the book-class with option =B3twoside=B2, \markboth puts, by default it seem=
s
=AD and as I was able to check =AD the name of the chapter on the left pages
(even page numbers) and the name of the section on the right page (in a way
different from what K-D describe, but that=B9s even better).

In the article-class with option =B3twoside=B2, \markboth
(with no additional specifications, which seem only necessary for
\myheadings, if I understand well)
puts, according to my trials, the name of the section on the left pages but
only the page number on the right, although K-D claim that the name of the
subsection should appear next to the page number.
Did I do something wrong?



Q2=20

=B3See the LaTeX manual or LaTeX Companion for explanation.=B2
Where can I find these?




Thanks a lot

HC
=20
                                                 =20


----------------------------------------------------------------------

Subject: Re: [OS X TeX] twoside  \markboth
From: "Maarten Sneep" 
Date: Sat, 24 May 2003 22:16:30 +0200


On zaterdag, mei 24, 2003, at 22:06 Europe/Amsterdam, Hendrik Chaltin=20
wrote:

> Q2
>
> =93See the LaTeX manual or LaTeX Companion for explanation.=94
> Where can I find these?

Those are probably the book by Leslie Lamport (LaTeX, A document=20
preparation system, ISBN: 0-201-52983-1) and the book by Goossens,=20
Mittelbach and Samarin (The LaTeX Companion, ISBN 0-201-54199-8), both=20=

published by Addison Wesley.

Since you already have Kopka and Daly, you probably can find the=20
answers in there, no need for these books.

Maarten

When you're up to your ass in alligators, it's hard to remember your=20
initial objective was to drain the swamp.


----------------------------------------------------------------------

Subject: Re: [OS X TeX] Failure in setting up Unicode on TeX on OS X
From: "Issio" 
Date: Sat, 24 May 2003 23:52:49 +0200

Bonjour,

Here is the way I installed Unicode and CJK packages, in order to be able t=
o
use both French and Japanese with TeXShop. It should also work for Chinese.

1. Installation of UCS Package
- Download "ucs" package from :
  http://www.unruh.de/DniQ/latex/unicode/
- uncompress/untar the file
- move the whole "ucs" directory to an appropriate directory on your local
TeX-tree (I put it in /usr/local/teTeX/share/texmf.local/tex/latex/ucs)

2. Installation of CJK Package
- download "cjk" package from :
  http://cjk.ffii.org/
- uncompress/untar the "cjk-4.5.1.tar.gz" file
- move the whole directory to an appropriate directory on your local
TeX-tree (I put it in /usr/local/teTeX/share/texmf.local/tex/latex/cjk)

3. Installation of Unicode True Type font (Cyberbit)
- download "Cyberbit.ZIP" file from :
  ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/
- uncompress it
- download "Unicode.sfd" file from :
  http://delloye.free.fr/Unicode.sfd
- make sure "Cyberbit.ttf" file and "Unicode.sfd" files are in the same
directory
- from the terminal, go to that directory and run
  "ttf2tfm cyberbit.ttf -w cyberbit@Unicode@", in order to create ".tfm" an=
d
".enc" files
- move all the ".tfm" files to an appropriate directory on your local
TeX-tree (I put them in
/usr/local/teTeX/share/texmf.local/fonts/tfm/bitstrea/cyberbit)
- move all the ".enc" files to an appropriate directory on your local
TeX-tree (I put them in /usr/local/teTeX/share/texmf.local/pdftex/enc)
- download "cyberbit.map" file from :
  http://delloye.free.fr/cyberbit.map
- move it to an appropriate directory on your local TeX-tree (I put it in
/usr/local/teTeX/share/texmf.local/pdftex/config)
- download "c70cyberbit.fd" file from :
  http://delloye.free.fr/c70cyberbit.fd
- move it to an appropriate directory on your local TeX-tree (I put it in
/usr/local/teTeX/share/texmf.local/tex/latex/misc)
- move the "Cyberbit.ttf" to an appropriate directory on your local TeX-tre=
e
(I put it in /usr/local/teTeX/share/texmf/fonts/truetype) (check in your
/usr/local/teTeX/share/texmf/web2c/texmf.cnf file the "%TrueType outline
fonts" line and the "TTFONTS" value. You have to copy the Cybebrbit.ttf fil=
e
in a directory included in the TTFONTS path.)

4. Declaration of the new font to pdfTeX

- open the "pdftex.cfg" file
(/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg) and add this
line "map +cyberbit.map" (without quotes) at the end of the file.
- run a "sudo mktexlsr"

5. Using the new environment in LaTeX
You just need to include the three following lines in the preamble :

\usepackage[encapsulated]{CJK}
\usepackage{ucs}
\usepackage[utf8]{inputenc}

It may also be a good idea to create a new command :
\newcommand{\cntext}[1]{\begin{CJK}{UTF8}{cyberbit}#1\end{CJK}}

Now, when you want to type chinese, you just have to use the command :
\cntext{enter your chinese text here}

Good luck,

Olivier Delloye



le 23/05/03 17:57, Roger Hart a rhart@mail.utexas.edu a ecrit=A0:

> After spending a substantial part of several days trying to get some
> version of TeX on Mac OS X to use Unicode, I have become very
> frustrated and still have not been able to produce a single Chinese
> character.
>=20
> I have tried the following:
>=20
> 1) Gerben Wierda's very helpful i-Installer, using teTeX-TeXLive was
> very easy to install and worked very well.  However, the choices in
> configuring languages is limited to languages using the Roman alphabet;
> Chinese, Japanese, Korean, Hebrew, Arabic, etc. are not among the
> options.  I tried to find ways to add this capability (such as trying
> to figure out how to install a Unicode package), but everything failed.
>=20
> 2)  Although TeXShop looks like a great program, and does support
> Unicode input since it is programmed in Cocoa, I have not been able to
> figure out how to make it typeset Unicode (e.g., convert Unicode in a
> TeX document to PDF).  The notes on "TeXShop 1.28 Release 01/29/2003"
> state "see the English version of the help file for tips on using
> unicode with TeX".  On rereading the instructions on Unicode in the
> TeXShop Help file, I noticed that it only tells how to change the input
> menu on Mac OS X to *experiment* with inputing Chinese, Arabic, etc.
> characters.  That is, it makes no mention whatsoever of how to actually
> typeset Unicode characters; they are converted to question marks, or to
> Unicode code numbers.
>=20
> 3)  I installed the TeXLive from the CD-image, which does allow you to
> choose to include Chinese, Japanese, and Korean in the language
> configuration.  However, I've not been able to figure out how to output
> Chinese, despite wasting considerable time on this.
>=20
> 4) I've not been able to locate documentation on CJK in the TeXLive man
> pages, though it must exist somewhere.  For example, man bg5conv states
> it converts Big5 (Chinese) but does not explain the declarations,
> fonts, etc. necessary for Chinese.
>=20
> 5) The books and other documentation I've found rarely do more than
> mention Unicode, if that.  For example, Knuth's TeXbook lists Child,
> Julia and Children's Television Workshop in the index, but there is no
> entry for Chinese, or for Unicode. LaTeX by Kopka does not list Chinese
> or Unicode in the index.  Lamport's LaTeX has no Chinese or Unicode
> entry in the index.
>=20
> 6) I have spent fruitless hours searching in vain on the web for
> instructions and other packages.
>=20
> 7) The only responses I have received (while much appreciated!) have
> been general ones, not specific instructions from someone who has
> actually succeeded in setting up Unicode on TeX on Mac OS X.
>=20
> Again, I would sincerely appreciate any help on how to run Chinese on
> any version of TeX for Mac OS X, preferably TeXLive (and TeXShop), but
> I am becoming more skeptical such a solution exists.
>=20
> Note:  While I have some experience with Mac OS, and with PERL, I know
> little about Unix.  Undoubtedly, this contributed to this ongoing
> nightmare.
>=20
> Thanks,
>=20
> Roger Hart
>=20
> ********************************
>=20
> Roger Hart
> Assistant Professor, Departments of History and Asian Studies
> University of Texas at Austin
>=20
> office: Room 405, Garrison Hall
> office phone: 512-475-7258
> department fax: 512-475-7222
> email: rhart@mail.utexas.edu
> http://uts.cc.utexas.edu/~rhart
>=20
> *********************************
>=20
>=20
> -----------------------------------------------------------
> Mac TeX info, resources, and news can be found at:
> 
> -----------------------------------------------------------
> List archives can be found at:
> 
> -----------------------------------------------------------
> List-Subscribe: 
> List-Digest: 
> List-Unsubscribe: 
> -----------------------------------------------------------
>=20


----------------------------------------------------------------------
End of MacOSX-TeX Digest

-----------------------------------------------------------
Mac TeX info, resources, and news can be found at:

-----------------------------------------------------------
List archives can be found at:

-----------------------------------------------------------
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 
-----------------------------------------------------------