Date: Thu, 22 Nov 2001 20:00:01 -0500
Subject: MacOSX-TeX Digest #160 - 11/22/01
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 3.0.7 by Fog City Software, Inc.
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 

MacOSX-TeX Digest #160 - Thursday, November 22, 2001

  Re: [Mac OS X TeX] editors
          by "david craig" 
  Vim (Vi IMproved) for tex on OS X
          by "Benji Fisher" 
  Re: [Mac OS X TeX] editors
          by "Michael Murray" 
  ae fonts vs ze fonts (OT)
          by "Paulo Abreu" 
  Re: [Mac OS X TeX] ae fonts vs ze fonts (OT)
          by "Michel Bovani" 
  Re: [Mac OS X TeX] ae fonts vs ze fonts (OT)
          by "Bruno Voisin" 
  TtH on OS X
          by "Jorgen Haug" 
  !Dimensions too large ??
          by "Martin Bauer" 
  Re: [Mac OS X TeX] !Dimensions too large ??
          by "Ross Moore" 
  Re: [Mac OS X TeX] !Dimensions too large ??
          by "Martin A. Bauer" 
  Re: [Mac OS X TeX] !Dimensions too large ??
          by "Ross Moore" 


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

Subject: Re: [Mac OS X TeX] editors
From: "david craig" 
Date: Wed, 21 Nov 2001 20:53:10 -0500 (EST)


> you should make sure you download the LaTex glossary for BBEdit

I find that it slows down switching back and forth between BBEdit and
other applications terribly, so much so that I just can't bear it.  (I
find it much more limiting than Alpha's rich TeX environment anyhow.
I, too, am sticking with Alpha in Classic.  Somehwat to my surprise,
it's almost the only Classic application I find myself using.)

Apropos of nothing, Mathematica for OS X 10.1 is due out next week....

David Craig





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

Subject: Vim (Vi IMproved) for tex on OS X
From: "Benji Fisher" 
Date: Wed, 21 Nov 2001 22:06:05 -0500

      Vim (Vi IMproved) is a very powerful, free text editor that runs on 
many platforms.  The carbon version for Mac OS X is a little rough around 
the edges, but works fine for me.  (Perhaps the most glaring problem is 
that you can quit from the File menu, but not from the Vim menu.)

      I have uploaded the following to my i-disk,
http://homepage.mac.com/fisherbb/
or, in the Connect to Server dialog (Finder's Go menu), type in:
http://idisk.mac.com/fisherbb/Public

	vim60.093-macosx.dmg.gz
	tex_menu.vim
	tex_menu.txt

The dmg.gz file, when opened, gives a folder vim/ containing Vim.app and 
support files.  The .vim file (plain text) allows you to typeset and view 
tex files from inside vim.  Since vim runs shell commands (such as pdftex,
  bibtex, and so on) directly, there is no wait for Terminal.app to start 
up.  The .txt file contains installation instructions.  There is also an 
uncompressed vim/ folder on the i-disk; some of its files are slightly 
less current than those in the disk image.

      I'll be happy to give help getting started with vim, and I plan to 
add functionality to tex_menu.vim, especially if anyone else is =
interested.
   For more information on vim, see
http://vim.sourceforge.net

					--Benji Fisher


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

Subject: Re: [Mac OS X TeX] editors
From: "Michael Murray" 
Date: Thu, 22 Nov 2001 14:50:03 +1030

>>There's Pepper and a couple of ports of Emacs on Gary Gray's mac-TeX
>>website. For myself I'm going to stick with classic mode until Alpha is
>>ported, which should be very soon.
>>John Burt
>>
>
>I hope you are right and AlphaX comes out soon. I thought we
>were getting Alpha* and AlphaX.  Do you have some inside info :-)
>
>
>Michael
>--

Aaaaaah stupid shift key.  I meant Alpha8 and then AlphaX :-(


Michael
-- 
_________________________________________________________
Assoc/Prof Michael Murray                                                  =
 
Department of Pure Mathematics       Fax: 61+ 8 8303 
3696                                      
University of Adelaide             Phone: 61+ 8 8303 4174       
Australia  5005      Email: mmurray@maths.adelaide.edu.au             
Home Page: http://www.maths.adelaide.edu.au/pure/mmurray
PGP public key:
http://www.maths.adelaide.edu.au/pure/mmurray/pgp.txt
_________________________________________________________


    



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

Subject: ae fonts vs ze fonts (OT)
From: "Paulo Abreu" 
Date: Thu, 22 Nov 2001 08:18:07 +0000

Sorry, this is a bit off-topic, but I was just wondering if anyone can 
elaborate on this.

Recently, on another thread, some one answered:

>> It only means that the PDF does not contain scalable versions of
>> Computer Modern fonts. If you want to use Computer Modern font, put
>> the following three lines into the document preamble:
>>
>> \usepackage[T1]{fontenc}
>> \usepackage{ae}
>> \usepackage{aecompl}

Two years ago, when I wanted T1 encoding with saclable fonts, I found the 
ae fonts and the ze fonts. Both used cm fonts with the T1 encoding, but =
had 
the following difference: when ae found a font with a glyph that didn't 
exist in cm, it left the font untouched; no substitution occurred; ze 
substitutes the glyph with one from the "standard" postscript fonts =
(Times,
  Helvetica, ...).

Both methods have advantages and disadvantages: in the ae method, more 
uniformity in the fonts, but once in a while a whole font might not be 
substituted and comes out as bitmap; with the ze method, some glyphs from 
other fonts might not fit perfectly and it hapened to me that changing a 
document from bitmap fonts to ze actually altered the pagination, because 
the new glyphs had different sizes.

This was 2 years ago, and I have been using ze fonts since then. Has the 
situation changed? Can ae now substitute a font even if some glyphs aren't =

there. What's the aecompl package for?

Thanks,

Paulo


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Subject: Re: [Mac OS X TeX] ae fonts vs ze fonts (OT)
From: "Michel Bovani" 
Date: Thu, 22 Nov 2001 09:32:38 +0100

Le 22/11/01 =E0 8:18 +0000 Paulo Abreu a =E9crit :
>Sorry, this is a bit off-topic, but I was just wondering if anyone=20
>can elaborate on this=2E
>
>Recently, on another thread, some one answered:
>
>>>  It only means that the PDF does not contain scalable versions of
>>>  Computer Modern fonts=2E If you want to use Computer Modern font, put
>>>  the following three lines into the document preamble:
>>>
>>>  \usepackage[T1]{fontenc}
>>>  \usepackage{ae}
>>>  \usepackage{aecompl}
>
>Two years ago, when I wanted T1 encoding with saclable fonts, I=20
>found the ae fonts and the ze fonts=2E Both used cm fonts with the T1=20
>encoding, but had the following difference: when ae found a font=20
>with a glyph that didn't exist in cm, it left the font untouched;

Not exactly : if you only call ae, black squares are substituted to=20
missing glyphs=2E If you call ae and aecompl, you get ec bitmaps chars=20
for missing ae glyphs=2E

>
>This was 2 years ago, and I have been using ze fonts since then=2E Has=20
>the situation changed?

Yes, indeed, there are now ec scalable free fonts (pfb format, made=20
with tex-trace) :

tex-archive/fonts/ps-type1/cm-super

but it's 73 Mo unzipped (includes also TC fonts)=2E
--=20
Michel Bovani

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

Subject: Re: [Mac OS X TeX] ae fonts vs ze fonts (OT)
From: "Bruno Voisin" 
Date: Thu, 22 Nov 2001 10:53:53 +0100

> Yes, indeed, there are now ec scalable free fonts (pfb format, made 
> with tex-trace) :
>
> tex-archive/fonts/ps-type1/cm-super

That's good news indeed! Does anybody know about the relative merits of 
the two implementations available on CTAN:

tex-archive/fonts/ps-type1/cm-super
tex-archive/fonts/ps-type1/ec

(The README file of the second implementation says it was done with 
TeXtrace by the author of TeXtrace, the README file of the first 
implementation mentions use of TeXtrace and additional hinting with 
FontLab.)

By the way, I just noticed on CTAN that errors in the BSR/Y&Y PostScript 
versions of some CM fonts have recently been corrected. From the README 
file: "An error in the PostScript code for the lasy*, line* and lcircle* 
fonts was corrected in June 2001". On CTAN the updated fonts reside in:

tex-archive/fonts/cm/ps-type1/bluesky/pfb

In teTeX the original fonts reside in:

/usr/local/teTeX/share/texmf/fonts/type1/bluesky/cm

Cheers,

Bruno Voisin


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

Subject: TtH on OS X
From: "Jorgen Haug" 
Date: Thu, 22 Nov 2001 17:04:34 +0100

Question: What character encoding is it necessary to use in OS X 
browsers to have TtH HTML-files show up correctly wrt. the symbol font?

I have TtH up and running neatly in OS X, using Terminal. One problem 
I've noticed is with how web browsers interpret mathematical symbols. 
The manual for TtH says that Netscape will work fine if set to 
document-encoding MacRoman. I've done this, and also tried ALL  other 
encodings, in Netscape 6.2 for OS X. Still, most greek symbols turn 
roman, and e.g. sums and squareroots show up with strange symbols.

IE fares better - using Western (Latin-1), but this browser also has 
trouble with sums. Opera and OmniWeb do not handle it well either.

I haven't got Classic browsers on this system, and have therefore not 
checked if my troubles are specific to OS X.


Jorgen Haug, associate professor
Department of Finance and Management Science
Norwegian School of Economics and Business Administration
Phone +47 5595 9426, Fax +47 5595 9647


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

Subject: !Dimensions too large ??
From: "Martin Bauer" 
Date: Thu, 22 Nov 2001 18:10:07 +0100

hi all,

i keep getting strange error messages in pdflatex that i cannot reolve:

Warning: /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex: 
arithmetic
: number too big
! Dimension too large.
 \wd \@tempboxa

l.804 .../detections/rowley/19990923114842000.jpg}


where the latex-source is a simple
\includegraphics[width=3D4cm]{Figures/detections/rowley/19990923114842000.j=
pg}

inside a {tabular} environment...

any ideas?

(the same source compiles on a linux box without problems)

--
martin.


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

Subject: Re: [Mac OS X TeX] !Dimensions too large ??
From: "Ross Moore" 
Date: Fri, 23 Nov 2001 08:04:36 +1100 (EST)

> hi all,
> 
> i keep getting strange error messages in pdflatex that i cannot reolve:
> 
> Warning: /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex: 
> arithmetic
> : number too big
> ! Dimension too large.
>  \wd \@tempboxa
> 
> l.804 .../detections/rowley/19990923114842000.jpg}
> 
> 
> where the latex-source is a simple
> =
\includegraphics[width=3D4cm]{Figures/detections/rowley/19990923114842000.j=
pg}

It's rather dangerous to use filenames that start with numbers.
The possibility is small, but non-existent, that the name will
follow directly after another number, and macro expansion might
be such as to make the two concatenate into a single number.

So try renaming the image file, and try again.

If that solves the problem in this case, then it gives an indication
of where some internal coding is a bit sloppy.
It also gives you an effective work-around.
 
> inside a {tabular} environment...
> 
> any ideas?
> 
> (the same source compiles on a linux box without problems)

Interesting.
Is it pdfTeX under Linux ?
Yes, I suppose it must be, to be working with a .jpg image.
Is it the same version of pdfTeX ?


Hope this helps,

	Ross Moore


> --
> martin.
> 
> 
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to  with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to  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] !Dimensions too large ??
From: "Martin A. Bauer" 
Date: Thu, 22 Nov 2001 22:45:38 +0100

On Thursday, November 22, 2001, at 10:04 PM, Ross Moore wrote:

> It's rather dangerous to use filenames that start with numbers.
> The possibility is small, but non-existent, that the name will
> follow directly after another number, and macro expansion might
> be such as to make the two concatenate into a single number.
>
> So try renaming the image file, and try again.

nope, sorry. doesnt work either :(
seems to be something inside the jpg file?
(created with matlab and then cropped to smaller size with xv, btw.)
now i get the following:

> Warning: /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex: 
> arithmetic
> : number too big
>
> ! Dimension too large.
>  \ht \@tempboxa
>
> l.49 ...2.5cm]{test.jpg}


the file test.jpg can be found at
http://www.hcii.de/test.jpg
if somebody cares to try...

%%%%%%% text.tex   %%%%%%%

\documentclass{report}

\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse % we are not running PDFLaTeX
\else
\pdfoutput=3D1 % we are running PDFLaTeX
\pdftrue
\fi

\ifpdf
\usepackage[pdftex]{graphicx}
\DeclareGraphicsExtensions{.pdf, .jpg, .tif}
\else
\usepackage{graphicx}
\DeclareGraphicsExtensions{.eps}
\fi

\begin{document}


\includegraphics[height=3D2.5cm]{test.jpg}


\end{document}


%%%%%%%%


> Interesting.
> Is it pdfTeX under Linux ?
> Yes, I suppose it must be, to be working with a .jpg image.
> Is it the same version of pdfTeX ?

on linux:
This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)

on os x:
This is pdfTeX, Version 3.14159-1.00a-pretest-20010806 (Web2C 7.3.3.1)


--
cheers, martin.


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

Subject: Re: [Mac OS X TeX] !Dimensions too large ??
From: "Ross Moore" 
Date: Fri, 23 Nov 2001 09:44:50 +1100 (EST)

> On Thursday, November 22, 2001, at 10:04 PM, Ross Moore wrote:
> 
> now i get the following:
> 
> > Warning: /usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex: 
> > arithmetic
> > : number too big
> >
> > ! Dimension too large.
> >  \ht \@tempboxa
> >
> > l.49 ...2.5cm]{test.jpg}
> 
> 
> the file test.jpg can be found at
> http://www.hcii.de/test.jpg
> if somebody cares to try...

It seems that "JPEGs ain't JPEGs".
I get the same error.
But on converting to a JPEG at 99% quality, using GraphicConverter,
the resulting file works fine.
However, it is almost twice the size: 110k instead of 55k.
see:
  http://www-texdev.mpce.mq.edu.au/BAUER/

compare images:  test.jpg  and  test2.jpg .
The document  jtest.pdf includes them both.


So I'd say that your original file has an encoding that pdfTeX
currently doesn't understand, but GraphicConverter and other software
does understand OK. Thankfully, GraphicConverter writes to the
older (?) format, which pdfTeX *does* understand.

I've hit these kinds of problems before, with JPG images;
mainly with black/white images rather than colored
(though some of these can give problems too!)


> > Is it the same version of pdfTeX ?
> 
> on linux:
> This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)
> 
> on os x:
> This is pdfTeX, Version 3.14159-1.00a-pretest-20010806 (Web2C 7.3.3.1)

I'm using the latter, under Digital Unix, OSF1.


Hope this helps,

	Ross Moore



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


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

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