MacOSX-TeX Digest #238 - 02/15/02

TeX on Mac OS X Mailing List MacOSX-TeX at email.esm.psu.edu
Sat Feb 16 02:00:01 CET 2002


MacOSX-TeX Digest #238 - Friday, February 15, 2002

  TeX + hash size
          by "Claus Gerhardt" <gerhardt at math.uni-heidelberg.de>
  Re: [Mac OS X TeX] How to get teTeX pdf mathematics read by  Illustrator 
          by "Dr. Paul Fons" <paul-fons at aist.go.jp>
  Re: [Mac OS X TeX] How to get teTeX pdf mathematics read by  Illustrator 
          by "Ross Moore" <ross at ics.mq.edu.au>
  Re: [Mac OS X TeX] How to get teTeX pdf mathematics read by Illustrator  
          by "William Adams" <wadams at atlis.com>
  Re: [Mac OS X TeX] TeXShop PDF Printing
          by "rincho kuma" <rincontek at hotmail.com>
  Italian hyphenation - more problems!
          by "andrea gamba" <agamba at mail.univr.it>


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

Subject: TeX + hash size
From: "Claus Gerhardt" <gerhardt at math.uni-heidelberg.de>
Date: Fri, 15 Feb 2002 02:22:08 +0100

--============_-1198386338==_ma============
Content-Type: text/plain; charset="iso-8859-1" ; format="flowed"
Content-Transfer-Encoding: quoted-printable

I recently got the error message TeX capacity exceeded, hash size 
=3D10000. The texmf.cfn file in share/texmf/web2c revealed that the 
value for  hash_extra was set to 0. After changing this value to 
30000 every thing ran fine.

I am asking Gerben if he could change the settings for hash_extra to 
30000 or at least to value different from 0. What is the drawback of 
setting this value to 30000 any way?

Regards,

Claus
-- 


Claus Gerhardt
Institut f=FCr Angewandte Mathematik
Ruprecht-Karls-Universit=E4t Heidelberg
Im Neuenheimer Feld 294
69120 Heidelberg
Germany

Homepage: http://www.math.uni-heidelberg.de/studinfo/gerhardt/
--============_-1198386338==_ma============
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type=3D"text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>TeX + hash size</title></head><body>
<div>I recently got the error message<i> TeX capacity exceeded, hash
size =3D10000</i>. The texmf.cfn file in share/texmf/web2c revealed that
the value for  hash_extra was set to 0. After changing this value
to 30000 every thing ran fine.</div>
<div><br></div>
<div>I am asking Gerben if he could change the settings for hash_extra
to 30000 or at least to value different from 0. What is the drawback
of setting this value to 30000 any way?</div>
<div><br></div>
<div>Regards,</div>
<div><br></div>
<div>Claus</div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div><br>
<br>
Claus Gerhardt<br>
Institut f=FCr Angewandte Mathematik<br>
Ruprecht-Karls-Universit=E4t Heidelberg<br>
Im Neuenheimer Feld 294<br>
69120 Heidelberg<br>
Germany<br>
<br>
Homepage: http://www.math.uni-heidelberg.de/studinfo/gerhardt/</div>
</body>
</html>
--============_-1198386338==_ma============--

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

Subject: Re: [Mac OS X TeX] How to get teTeX pdf mathematics read by  Illustrator X
From: "Dr. Paul Fons" <paul-fons at aist.go.jp>
Date: Fri, 15 Feb 2002 14:32:53 +0900


On Friday, February 15, 2002, at 02:19  AM, Michel Bovani wrote:

> Le 14/02/02 à 12:47 +0100 Piet van Oostrum a écrit :
>>  >>>>> "Dr. Paul Fons" <paul-fons at aist.go.jp> (PF) writes:
>>
>> PF> I would like to make some slides in Illustrator using mathematics 
>> typeset
>> PF> using pdftex (TeXShop). The pdf file looks great in preview as 
>> well as with
>> PF> Acrobat, but Illustrator, while able to open the file, does not 
>> display
>> PF> some characters (noninclusively specifically greek and minus 
>> signs).  The
>> PF> type 1 fonts exist in the system Library folder and Acrobat 
>> indicates that
>> PF> they are imbedded as well (CMSY10 and CMMI10).  What is the score 
>> here --
>> PF> how can I get Illustrator to read in the typeset mathematics 
>> correctly.  It
>> PF> should be added here that Illustrator 9 does apparently read in 
>> the file
>> PF> correctly (according to a colleague), but has trouble with 
>> printing.
>>
>> This is most probably caused by these characters occupying 
>> charactercodes <
>> 32. TeX uses these indeed for Greek characters and the minus sign. 
>> MacOS9
>> applications are know to have problems with this encoding. dvips has a
>> special option -G to remap these characters to codes > 128, which by 
>> the
>> way will not work with 256-character fonts like Times-Roman or the EC 
>> fonts.
>> Als dvipdfm has an option to do this. So I guess you would have to take
>> this route. I am not aware of an easy way to do it with pdftex.
>
> \pdfmovechars = 1 or \pdfmovechars = 2
> 1 : move the 32 lower chars only if the pont have less than 129 chars ,
> 2 : try to move them anyway.
>
> One may use move_chars = 1 or 2 in pdftex.cfg instead.
>
>>


I believe your identification of the problem is correct, namely that the 
characters in question are less than 32.  I confirmed this by copying 
and pasting from Illustrator X into vi.  My question is about the 
solution.  I already have realized that dvipdfm does the mapping in 
question by default (the fonts in question are all CM) and by running 
the dvi through dvipdfm I can get a file that is editable in 
Illustrator, however, I could not get the solution you typed above to 
have any positive effect (modifying 
/usr/local/teTeX/share/texmf.macosx/pdftex/config/pdftex.cfg to include 
the line "move_chars=2").  This should map the characters below 32 to 
above 128 regardless of the character set size.  When I use this 
command, however, I find that while the remapping does occur (e.g. 0x0b 
is mapped to 0xB4) Illustrator X still does not display the character 
correctly. When I use dvipdfm and open the file in Illustrator X and 
copy the character to a terminal editor the pasteboard contains a 16 bit 
entity, namely 0xc386 which is displayed (correctly) as a Greek alpha 
character in the CMMI10 font. Any ideas as to how to get pdftex to do a 
similar sort of thing? One last thing -- why does Acrobat display the 
equations correctly regardless of which typesetting variation I use?


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

Subject: Re: [Mac OS X TeX] How to get teTeX pdf mathematics read by  Illustrator X
From: "Ross Moore" <ross at ics.mq.edu.au>
Date: Fri, 15 Feb 2002 18:53:53 +1100 (EST)

> 
> 
> I believe your identification of the problem is correct, namely that the 
> characters in question are less than 32.  I confirmed this by copying 
> and pasting from Illustrator X into vi.  My question is about the 
> solution.  I already have realized that dvipdfm does the mapping in 
> question by default (the fonts in question are all CM) and by running 
> the dvi through dvipdfm I can get a file that is editable in 
> Illustrator, however, I could not get the solution you typed above to 
> have any positive effect (modifying 
> /usr/local/teTeX/share/texmf.macosx/pdftex/config/pdftex.cfg to include 
> the line "move_chars=2").  This should map the characters below 32 to 
> above 128 regardless of the character set size.  When I use this 
> command, however, I find that while the remapping does occur (e.g. 0x0b 
> is mapped to 0xB4) Illustrator X still does not display the character 
> correctly. When I use dvipdfm and open the file in Illustrator X and 
> copy the character to a terminal editor the pasteboard contains a 16 bit 
> entity, namely 0xc386 which is displayed (correctly) as a Greek alpha 
> character in the CMMI10 font. Any ideas as to how to get pdftex to do a 

> similar sort of thing? One last thing -- why does Acrobat display the 
> equations correctly regardless of which typesetting variation I use?

While Acrobat and Illustrator both use  CoolTypeLib  for handling
fonts; they currently use different versions.

Acrobat 5.05 has the latest, which fixes the "subroutine gaps"
problem that causes pdfTeX documents (prior to v1.00a) to substitute
fonts on printing, despite showing correctly on-screen.

Illustrator 10 does not yet have that fix; so far as I'm aware.
Doubtless there are other differences too.



Hope this helps,

	Ross Moore

 
> 
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------


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

Subject: Re: [Mac OS X TeX] How to get teTeX pdf mathematics read by Illustrator  X
From: "William Adams" <wadams at atlis.com>
Date: Fri, 15 Feb 2002 14:13:47 -0500

Ross Moore said:
>Illustrator 10 does not yet have that fix; so far as I'm aware.
>Doubtless there are other differences too.

regarding Dr. Paul Fons having asked:
>...why does Acrobat display the
> equations correctly regardless of which typesetting variation I use?

Because Acrobat is a more contained / controlled environment, along the
order of a PostScript interpreter / environment.

By contrast, Illustrator is a more interactive / application and hence
more open / egalitarian and making more use of local resources (hence
fonts), and so is less able to do / handle things like re-encode a
typeface on the fly.

There's a movement on to work with Adobe to resolve this sort of
incompatibility (which Ross is involved in)---I believe there'll be an
announcement presently for a bug-tracking site / app, so save that
source code / problem description for that.

William

--
William Adams, publishing specialist
ATLIS Graphics & Design / 717-731-6707 voice / 717-731-6708 fax
Sphinx of black quartz, judge my vow.
http://www.atlis.com



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

Subject: Re: [Mac OS X TeX] TeXShop PDF Printing
From: "rincho kuma" <rincontek at hotmail.com>
Date: Fri, 15 Feb 2002 23:55:50 +0000

I had the same problem printing from acrobat until I installed
the latest driver for our HP laser jet 5si/5simx PS
printer. The driver was for OS 9 but it works great on OS X
too.


>From: Martin Stokhof <stokhof at hum.uva.nl>
>Reply-To: "TeX on Mac OS X Mailing List" <MacOSX-TeX at email.esm.psu.edu>
>To: "TeX on Mac OS X Mailing List" <MacOSX-TeX at email.esm.psu.edu>
>Subject: Re: [Mac OS X TeX] TeXShop PDF Printing
>Date: Thu, 31 Jan 2002 11:06:18 +0100
>
>Hello,
>
>Thanks to all for the suggestions concerning the printing problem I
>reported. I tried  printing through Acrobat, and that indeed
>eliminates the problem. Printing through Preview turned up the same
>problems as printing through TexShop.
>
>What still bugs me though (well, sort of), is that the phenomenon is
>so unpredictable. As I said in my first message, the same source uses
>in different LaTeX classes produced different results: the article
>document had no problems, the slides one did. This morning I again
>used two different documents to test, and to my surprise this time
>the slides document was faultless, and the article one had the
>mistakes. So it's not a matter of the fonts that are used. Also
>within one and the same document some occurrences of the same
>character with diacritic (is that called a "glyph"?) get printed
>correctly and others are messed up. Does anybody have any thoughts on
>how that can be?
>
>Anyway, thanks again for solving the practical problem for me.
>
>Martin
>
>
>
>--
>ILLC/Department of Philosophy, Faculty of Humanities, Universiteit
>van Amsterdam
>Nieuwe Doelenstraat 15, NL-1012 CP Amsterdam, The Netherlands
>phone: +31 20 5254540, fax:  +31 20 5254503
>e-mail: stokhof at hum.uva.nl, www: http://turing.science.uva.nl/~stokhof/
>
>-----------------------------------------------------------------
>To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
>"unsubscribe macosx-tex" (no quotes) in the body.
>For additional HELP, send email to <info at email.esm.psu.edu> with
>"help" (no quotes) in the body.
>This list is not moderated, and I am not responsible for
>messages posted by third parties.
>-----------------------------------------------------------------




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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

Subject: Italian hyphenation - more problems!
From: "andrea gamba" <agamba at mail.univr.it>
Date: Sat, 16 Feb 2002 00:15:47 GMT

Hi everybody!

I followed the instructions posted on Mac OS X TeX Mailing List  on 
01-02-02. 

Unfortunately, not everything seems to work properly: when I compile an 
italian latex file, I got the following message in the log file: 

Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `Italian'
(babel)                I will use the patterns loaded for \language=0 
instead. 

Did I do something wrong?
Did anybody already fixed this problem?
Thanks in advance for your help 

        Andrea Gamba 


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

-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------


More information about the macostex-archives mailing list