From MacOSX-TeX@email.esm.psu.edu Sat Sep 21 12:52:47 2002
Received: from engremail.engr.psu.edu ([130.203.201.4]) by engrmail1.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.5329);
	 Fri, 20 Sep 2002 20:00:27 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by engremail.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.5329);
	 Fri, 20 Sep 2002 20:00:27 -0400
Date: Fri, 20 Sep 2002 20:00:01 -0400
Subject: MacOSX-TeX Digest #432 - 09/20/02
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: 
Return-Path: MacOSX-TeX@email.esm.psu.edu
Message-ID: 
X-OriginalArrivalTime: 21 Sep 2002 00:00:27.0295 (UTC) FILETIME=[E44DA2F0:01C26101]

MacOSX-TeX Digest #432 - Friday, September 20, 2002

  Re: Changing Textures files to std TeX - fugures?
          by "david craig" 
  OT: presentations for math
          by 
  Re: [OS X TeX] OT: presentations for math
          by "Ross Moore" 
  Accent bug with times
          by "Ralph Martin" 
  Re: [OS X TeX] Accent bug with times
          by "Bruno Voisin" 
  Re: Changing Textures files to std TeX
          by "Larry Paulson" 
  Re: [OS X TeX] Changing Textures files to std TeX - fugures?
          by "Bruno Voisin" 
  Re: [OS X TeX] OT: presentations for math
          by "Luis Sequeira" 
  Re: [OS X TeX] Accent bug with times
          by "Martin Costabel" 
  Re: [OS X TeX] Accent bug with times
          by "Ralph Martin" 
  Re: [OS X TeX] Accent bug with times
          by "Bruno Voisin" 
  Re: [OS X TeX] OT: presentations for math
          by "Themis Matsoukas" 
  Re: [OS X TeX] OT: presentations for math
          by "Arun" 
  Re: [OS X TeX] OT: presentations for math
          by "Bruno Voisin" 


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

Subject: Re: Changing Textures files to std TeX - fugures?
From: "david craig" 
Date: Thu, 19 Sep 2002 20:17:31 -0400 (EDT)


I don't know if I can help with the font question, but I have had to
convert large numbers of Textures files to a form compatible with OzTeX
before.  If the files I had in hand were any guide, Textures keeps
copies of the figures in the corresponding TeX files's resource fork.  I
extracted them with CanOpener, and used a script (long lost, I fear) to
convert the Textures special to something more LaTeX compatible.

Are copies of your figures in your Textures files' resource forks?  Any
chance Textures embedded the fonts in them?

David Craig





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

Subject: OT: presentations for math
From: 
Date: Thu, 19 Sep 2002 23:31:21 -0400

Most of you know how much this list has has helped, as I support the 
Mac OS X users here at our Math Dept.  They use these wonderful teX 
packages sand programs that I install (thanks Gerben, Richard, Fink, 
Gnu and Open Source).

I have professor who doesn't know teX (I have showed how much more 
beautiful things could look), alas....

He has several grad students, one of whom makes plots and adds 
captioning on the left, vertically, and at the bottom.  he saves this 
as a .ps file.

Here's the rub and here is where I ask for ideas, solutions, 
alternatives, as I am not a graphics expert either, oh dear!
Hold on to your stomach!
He, the professor, wants to bring the .ps files into PowerPoint.  So, I 
use PhotoShop to run up the quality of the jpeg conversion and it looks 
"OK" when displayed on screen, I guess, rather he thinks so.
However, he has, it seems, now learned to use PowerPoint's built in 
capabilities and if you ask me those slides (text and titles, scans) 
just don't help make his imported graphic files look really good.

Besides the idea I JUST had (maybe to *scan* in his .ps files!... 
hmm... still makes it a jpeg, but maybe I can produce a better and 
bigger one) anyone have any ideas?

We tried converting ps/pdf but it seems PowerPoint doesn't much ps or 
pdf.

I simply thought, though that I *must* be missing some GOOD idea or 
solution.

Thank you,
Ted Rogers 
   


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

Subject: Re: [OS X TeX] OT: presentations for math
From: "Ross Moore" 
Date: Fri, 20 Sep 2002 16:17:15 +1000 (EST)

> 
> Here's the rub and here is where I ask for ideas, solutions, 
> alternatives, as I am not a graphics expert either, oh dear!
> Hold on to your stomach!
> He, the professor, wants to bring the .ps files into PowerPoint.  So, I 

Use Acrobat Reader instead.
Generate PDFs, with incremental page-builds, then use AR as the reader.
You get the full capability of TeX typesetting and PDF rendering,
with most of the same functionality of PowerPoint that he's likely
to want to use.

> use PhotoShop to run up the quality of the jpeg conversion and it looks 
> "OK" when displayed on screen, I guess, rather he thinks so.

You don't need to convert to JPEG this way, so the quality stays
as high as it can be.

> However, he has, it seems, now learned to use PowerPoint's built in 
> capabilities and if you ask me those slides (text and titles, scans) 
> just don't help make his imported graphic files look really good.
 
> We tried converting ps/pdf but it seems PowerPoint doesn't much ps or 
> pdf.

Use AR as a presentation tool.
Check out the Full Screen mode, and associated menu options.
 
> I simply thought, though that I *must* be missing some GOOD idea or 
> solution.


For some example documents done this way, with TeX of course:

http://www.maths.mq.edu.au/texdev/MATHS/MATH237/StudyGuide2K1e2/

click on 'Unit Outline', then find the links to 'slides'.
(There are several of them, each for a different lecture.)


For more information on this technique, using the same macros
or several other macro packages, consult:

  http://www.tug.org/tug2001/bulletin/slides.html


I think you will like what you find there.


All the best,

	Ross Moore


> Thank you,
> Ted Rogers 
>    
> 
> 
> -----------------------------------------------------
> Mac TeX info, resources, and news can be found at:
> 
> -----------------------------------------------------
> List archives can be found at:
> 
> Threaded list archives can be found at:
> 
> -----------------------------------------------------
> See message headers for list info.
> -----------------------------------------------------
> 


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

Subject: Accent bug with times
From: "Ralph Martin" 
Date: Fri, 20 Sep 2002 08:51:09 +0100

Anyone else seen this apparent bug when using the times package, 
Texshop, and Gerben Weirda's distribution? Who should I report it to?

> Typeset the latex file below using tex and Ghostscript (7), rather 
> than pdftex.
>
> In Section 1, note that the accent over the first "a" in Varady's name 
> comes out in the correct place, over the a. However, in the 
> References, it is displaced to the left, and not over the a.
>
> -----
> \documentclass[10pt]{article}
>
> \usepackage{times}
>
> \begin{document}
>
> \title{Approximate Congruence Detection}
>
> \maketitle
>
> \section{Acknowledgements}
>
> The authors wish to thank Tam\'as V\'arady.
>
> \begin{thebibliography}{00}
>
> \small
>
> \bibitem{VMC97}
>   T.~V\'arady,
>   Reverse engineering.
> \end{thebibliography}
>
> \end{document}

--
Prof Ralph Martin
Dept of Computer Science            Phone: +44(0)29 2087 5536
Cardiff University                  Fax:   +44(0)29 2087 4598
PO Box 916, 5 The Parade            Email: mailto:ralph@cs.cf.ac.uk
Cardiff, CF24 3XF, United Kingdom   WWW:   http://ralph.cs.cf.ac.uk/


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

Subject: Re: [OS X TeX] Accent bug with times
From: "Bruno Voisin" 
Date: Fri, 20 Sep 2002 10:38:37 +0200

Le vendredi, 20 sep 2002, =E0 09:51 Europe/Paris, Ralph Martin a =E9crit =
:

> Anyone else seen this apparent bug when using the times package,=20
> Texshop, and Gerben Weirda's distribution? Who should I report it to?
>
>> Typeset the latex file below using tex and Ghostscript (7), rather=20
>> than pdftex.
>>
>> In Section 1, note that the accent over the first "a" in Varady's=20
>> name comes out in the correct place, over the a. However, in the=20
>> References, it is displaced to the left, and not over the a.
>>
>> -----
>> \documentclass[10pt]{article}
>>
>> \usepackage{times}
>>
>> \begin{document}
>>
>> \title{Approximate Congruence Detection}
>>
>> \maketitle
>>
>> \section{Acknowledgements}
>>
>> The authors wish to thank Tam\'as V\'arady.
>>
>> \begin{thebibliography}{00}
>>
>> \small
>>
>> \bibitem{VMC97}
>>   T.~V\'arady,
>>   Reverse engineering.
>> \end{thebibliography}
>>
>> \end{document}

I can think of no other explanation than a bad OT1 metric file=20
ptmr7t.tfm, or some bug in dvips. But that remains a mystery to me.

Yes I see the same problem, when I typeset your file in TeX +=20
GhostScript mode. This problem disappears with either of the following=20=

changes:

(1) add

	\usepackage[T1]{fontenc}

before

	\usepackage{times}

(2) suppress

	\small

after

	\begin{thebibliography}{00}

(3) add

	\small

after

	\section{Acknowledgements}

Bruno Voisin=


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

Subject: Re: Changing Textures files to std TeX
From: "Larry Paulson" 
Date: Fri, 20 Sep 2002 10:42:38 +0100


> Question: does anybody have any suggestions on how to transition with 
> the least amount of pain?  I know that I can open super paint docs in 
> classic, print to .ps and then convert to pdf, but this will cause lots 
> of headaches with the bounding boxes, etc. - this was the draw of 
> Textures in the first place. 

Textures runs fine in Classic mode, where it provides much more =
functionality
than TeXShop does.  It is also easier to use; in particular you don't need =
to
create your own tetex tree in order to store your macro files.

Textures always uses Mac-style line breaks, which can cause problems for
people using other computers.  BBEdit Lite lets you convert line breaks,
though.  Open the file and use the first button from the left of the =
toolbar.
You can even convert to DOS line breaks (horror).

Larry Paulson

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

Subject: Re: [OS X TeX] Changing Textures files to std TeX - fugures?
From: "Bruno Voisin" 
Date: Fri, 20 Sep 2002 11:44:19 +0200

First, maybe you are not aware of this, but an OS X Textures is 
informally announced for about the end of this year, see 
. That doesn't answer the 
issue about interacting with the rest of the world (one of the reasons 
why I started using OzTeX, DirectTeX and now TeXShop over the years, in 
addition to Textures), but we all don't know what the features of this 
new Textures will be.

About figures: here is a procedure I just tried, and it seems to work, 
for KaleidaGraph graphs included in a Textures document:

- From Textures (in Classic), print a page with the figures you want to 
convert, selecting the output of this operation to be a standard Mac 
EPS file.

- Open this EPS file in Illustrator. Illustrator is able to recognize 
all the letters, points, curves, axes etc. as individual elements which 
you can manipulate. You can then edit the KaleidaGraph graph as any 
figure.

- After doing all the required editing, save your work as an 
Illustrator EPS file.

- Open the file in MacGSView and save as PDF. Or run the script 
epstopdf provided in Gerben Wierda's teTeX distribution, from 
Terminal.app, using the syntax:

	epstopdf test-illustrator.eps

for an individual file, or for a folder containing several EPS files to 
be processed all in one go:

	apply epstopdf *.eps

By either procedure the resulting PDF file has the correct bounding 
box, and you will also notice it is much, much smaller than the 
intermediary EPS files.

I assume this works for KaleidaGraph files because KaleidaGraph, when 
exporting graphs to PostScript PICT format which I think is the 
default, includes an EPS representation of the file as comments in the 
PICT resource which is the basic constituant of the file. This hidden 
EPS representation is used for printing, hence the good printed quality.

Another procedure I tried is saving from Textures in PICT format 
(navigate to a page in the preview window, then "Save as..." and select 
PICT format). However, afterwards Illustrator has problems for opening 
the file, every KaleidaGraph figure is duplicated in two different 
sizes, which I assume are the two different PICT and EPS 
representations of the figure in the file.

Mathematica 2, at a time when the documentation for the Macintosh front 
end was decent, had a detailed description of the different graphic 
formats. PostScript PICT is called "PICT with Embedded PostScript" in 
Mathematica.

As for SuperPaint I don't know, I just used SuperPaint 1 and 2 for a 
couple of days around '88, if it doesn't support EPS format either 
directly or through PostScript PICT, the preceding procedure based on 
printing to EPS file from within Textures will probably work, but the 
quality of the output will be fairly low (markedly "bitmapped").

Hope this helps,

Bruno Voisin


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

Subject: Re: [OS X TeX] OT: presentations for math
From: "Luis Sequeira" 
Date: Fri, 20 Sep 2002 10:53:19 +0100

What about using GraphicConverter to do a batch conversion (it should 
at least work if these are .eps, which would make more sense than 
=2Eps). GraphicConverter's "Convert..." command can do any number of 
files at once, select the quality of the jpeg output, adjust 
contrast, and a lot more.

>Most of you know how much this list has has helped, as I support the 
>Mac OS X users here at our Math Dept.  They use these wonderful teX 
>packages sand programs that I install (thanks Gerben, Richard, Fink, 
>Gnu and Open Source).
>
>I have professor who doesn't know teX (I have showed how much more 
>beautiful things could look), alas....
>
>He has several grad students, one of whom makes plots and adds 
>captioning on the left, vertically, and at the bottom.  he saves 
>this as a .ps file.
>
>Here's the rub and here is where I ask for ideas, solutions, 
>alternatives, as I am not a graphics expert either, oh dear!
>Hold on to your stomach!
>He, the professor, wants to bring the .ps files into PowerPoint. 
>So, I use PhotoShop to run up the quality of the jpeg conversion and 
>it looks "OK" when displayed on screen, I guess, rather he thinks so.
>However, he has, it seems, now learned to use PowerPoint's built in 
>capabilities and if you ask me those slides (text and titles, scans) 
>just don't help make his imported graphic files look really good.
>
>Besides the idea I JUST had (maybe to *scan* in his .ps files!... 
>hmm... still makes it a jpeg, but maybe I can produce a better and 
>bigger one) anyone have any ideas?
>
>We tried converting ps/pdf but it seems PowerPoint doesn't much ps or pdf.
>
>I simply thought, though that I *must* be missing some GOOD idea or solutio=
n.
>
>Thank you,
>Ted Rogers  
>
>-----------------------------------------------------
>Mac TeX info, resources, and news can be found at:
>
>-----------------------------------------------------
>List archives can be found at:
>
>Threaded list archives can be found at:
>
>-----------------------------------------------------
>See message headers for list info.
>-----------------------------------------------------


-- 
Sauda=E7=F5es acad=E9micas

Lu=EDs Sequeira

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

Subject: Re: [OS X TeX] Accent bug with times
From: "Martin Costabel" 
Date: Fri, 20 Sep 2002 12:11:40 +0200

Bruno Voisin wrote:
> Le vendredi, 20 sep 2002, =E0 09:51 Europe/Paris, Ralph Martin a =E9cri=
t :
>=20
>> Anyone else seen this apparent bug when using the times package,=20
>> Texshop, and Gerben Weirda's distribution? Who should I report it to?
>>
>>> Typeset the latex file below using tex and Ghostscript (7), rather=20
>>> than pdftex.

Ah, so there remain bugs in ghostscript 7, after all. I thought it was=20
safe to switch from gs6 to gs7, now that the quartz preview bugs wrt gs7=20
were said to be fixed in jaguar. But this one shows up in Acrobat, too.

>>> In Section 1, note that the accent over the first "a" in Varady's=20
>>> name comes out in the correct place, over the a. However, in the=20
>>> References, it is displaced to the left, and not over the a.
[]
> I can think of no other explanation than a bad OT1 metric file=20
> ptmr7t.tfm, or some bug in dvips. But that remains a mystery to me.

But it is not in the ps file. And it is not in the pdf either, if you=20
use ps2pdf from ghostscript version 6. It is definitely a bug in ps2pdf=20
=66rom ghostscript 7.

I am talking about ghostscript 6.01 vs 7.04 here, installed by fink, on=20
top of tetex and dvips also installed by fink. So this is not a problem=20
of recent tetex and dvips from Gerben Wierda, either.

--=20
Martin


--=20
Martin



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

Subject: Re: [OS X TeX] Accent bug with times
From: "Ralph Martin" 
Date: Fri, 20 Sep 2002 11:16:16 +0100


On Friday, September 20, 2002, at 11:11 AM, Martin Costabel wrote:
>>> Anyone else seen this apparent bug when using the times package, 
>>> Texshop, and Gerben Weirda's distribution? Who should I report it >>> =
to?
>>>
>>>> Typeset the latex file below using tex and Ghostscript (7), rather 
>>>> than pdftex.

> But it is not in the ps file. And it is not in the pdf either, if you 
> use ps2pdf from ghostscript version 6. It is definitely a bug in 
> ps2pdf from ghostscript 7.
>
> I am talking about ghostscript 6.01 vs 7.04 here, installed by fink, 
> on top of tetex and dvips also installed by fink. So this is not a 
> problem of recent tetex and dvips from Gerben Wierda, either.

I used Gerben's Ghostscript 7 installer, for what its worth.

(Running Jaguar 10.2.1, which does fix certain errors in display / 
printing of pdf files).

Anyway, can anyone tell me to whom I should report this bug? Gerben, 
probably rightly, says not to him.

Ralph
--
Prof Ralph Martin
Dept of Computer Science            Phone: +44(0)29 2087 5536
Cardiff University                  Fax:   +44(0)29 2087 4598
PO Box 916, 5 The Parade            Email: mailto:ralph@cs.cf.ac.uk
Cardiff, CF24 3XF, United Kingdom   WWW:   http://ralph.cs.cf.ac.uk/


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

Subject: Re: [OS X TeX] Accent bug with times
From: "Bruno Voisin" 
Date: Fri, 20 Sep 2002 12:38:03 +0200

Le vendredi, 20 sep 2002, =E0 12:11 Europe/Paris, Martin Costabel a =
=E9crit=20
:

> But it is not in the ps file. And it is not in the pdf either, if you=20=

> use ps2pdf from ghostscript version 6. It is definitely a bug in=20
> ps2pdf from ghostscript 7.
>
> I am talking about ghostscript 6.01 vs 7.04 here, installed by fink,=20=

> on top of tetex and dvips also installed by fink. So this is not a=20
> problem of recent tetex and dvips from Gerben Wierda, either.

It seems to be linked also with the PDF version. ps2pdf calls the=20
script ps2pdf12, which from the PS file produced by TeXShop produces=20
bad output in PDF 1.2 format. Now if ps2pdf13 is called directly, the=20
output is correct and in PDF 1.3 format. (I have both scripts in=20
/usr/local/bin. I installed first gs6, then gs7 on top of it, both=20
times with Gerben's i-Installer.)

But yes, it is definitely linked with the underlying script=20
/usr/local/bin/ps2pdfwr, or to gs called by it. I also ran Distiller on=20=

the PS file, asking for both PDF 1.2 and PDF 1.3 outputs, both are=20
correct.

Bruno Voisin


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

Subject: Re: [OS X TeX] OT: presentations for math
From: "Themis Matsoukas" 
Date: Fri, 20 Sep 2002 07:54:32 -0400


--Apple-Mail-17-528581131
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=3DUS-ASCII;
	format=3Dflowed

A math professor who uses Power Point..!? Truly amazing... (You're not 
making that up?)

> On Thursday, September 19, 2002, at 11:31 PM, trogers@math.fsu.edu 
> wrote:
>
> [snip] We tried converting ps/pdf but it seems PowerPoint doesn't much 
> ps or pdf.

You can import pdf figures into Power Point using Insert>Picture>From 
File... (worked with power point X).  Looks fine on the OS X screen but 
I have no idea how it will look when the same ppt file is viewed on a 
pc. Last time I exported a mac ppt file on a pc, the result was 
disappointing bordering to disastrous (however that case involved 
figures inserted as eps, not pdf).


Themis Matsoukas

--Apple-Mail-17-528581131
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=3DUS-ASCII

A math professor who uses Power Point..!? Truly amazing... (You're not
making that up?)


On Thursday, September 19, 2002, at 11:31 PM,
trogers@math.fsu.edu wrote:


[snip] 0000,0000,DEDEWe tried converting ps/pdf
but it seems PowerPoint doesn't much ps or pdf.



You can import pdf figures into Power Point using Insert>Picture>From
File... (worked with power point X).  Looks fine on the OS X screen
but I have no idea how it will look when the same ppt file is viewed
on a pc. Last time I exported a mac ppt file on a pc, the result was
disappointing bordering to disastrous (however that case involved
figures inserted as eps, not pdf). 



Themis Matsoukas


--Apple-Mail-17-528581131--


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

Subject: Re: [OS X TeX] OT: presentations for math
From: "Arun" 
Date: Fri, 20 Sep 2002 10:17:26 -0400

Importing to Microsoft products is done in 2 ways: eps or bitmap [jpeg]. 
If you want to only print the presentation into slides, then you can 
import the eps files into Word/Powerpoint [others have commented on how 
to do that].

As for conversion from .ps or .eps to jpeg, I do this A LOT, since most 
of my pictures from MatLab are exported into eps files [MatLab had 
horrible image exporting in my opinion, besides I want to modify 
sometimes with Illustrator]. The way I do it is using an open-source  
package called  ImageMagick. I'm sure, VersionTracker has it. Anyway, 
it's a terminal-based program that's immensely useful for batch jobs. 
For example [once you have installed ImageMagick], you can use the 
following tcsh shell script:

     foreach i (*.pdf)
         convert -density 288 $i `basename $i .pdf`.jpg
     end

What this does is gets all the pdf's [you can put eps in place of pdf] 
in the current directory, and converts them to jpeg's with a resolution 
of 288dpi [screen resolution is 72]. I end up giving the converted 
jpeg's for others to put into their presentations ... There are many 
other options other than density that you can use to 
crop/scale/resize/etc. your document before turning it into a bitmap 
[use ManOpen to look at the "convert" manfile]. Anyway, the jpeg's that 
are generated look great to me; you can increase the quality of 
compression if you wish [I keep at the default].

- Arun


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

Subject: Re: [OS X TeX] OT: presentations for math
From: "Bruno Voisin" 
Date: Fri, 20 Sep 2002 16:21:59 +0200

Le vendredi, 20 sep 2002, =E0 16:17 Europe/Paris, Arun a =E9crit :

> As for conversion from .ps or .eps to jpeg, I do this A LOT, since=20
> most of my pictures from MatLab are exported into eps files [MatLab=20
> had horrible image exporting in my opinion, besides I want to modify=20=

> sometimes with Illustrator]. The way I do it is using an open-source =20=

> package called  ImageMagick. I'm sure, VersionTracker has it. Anyway,=20=

> it's a terminal-based program that's immensely useful for batch jobs.=20=

> For example [once you have installed ImageMagick], you can use the=20
> following tcsh shell script:

Gerben has prepared a set of i-Installer packages for ImageMagick, see

http://www.rna.nl/ii.html

Bruno voisin


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

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

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

Threaded list archives can be found at:

-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------