MacOSX-TeX Digest #271 - 03/22/02

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


MacOSX-TeX Digest #271 - Friday, March 22, 2002

  Re: [OS X TeX] Equation Service
          by "Ullrich Steiner" <u.steiner at chem.rug.nl>
  Re: PDF presentations /again/ [was Re: [OS X TeX] Equation Service]
          by "Ullrich Steiner" <u.steiner at chem.rug.nl>
  Re: PDF presentations /again/ [was Re: [OS X TeX] Equation Service]
          by "Maarten Sneep" <sneep at nat.vu.nl>
  Re: OzTeX 5.0a is now available
          by "Andrew Trevorrow" <andrew at trevorrow.com>
  Re: PDF presentations /again/ [was Re: [OS X TeX] Equation Service]
          by "Bruno Voisin" <Bruno.Voisin at hmg.inpg.fr>
  Feature suggestion, bug report -Re: [OS X TeX] Equation Service
          by "Guido Mocken" <mocken at uni-freiburg.de>
  Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
          by "Ross Moore" <ross at ics.mq.edu.au>
  Re: [OS X TeX] Equation Service
          by "jerome LAURENS" <jerome.laurens at u-bourgogne.fr>
  Re: OzTeX 5.0a is now available
          by "John B. Thoo" <jb2 at ms.yuba.cc.ca.us>
  Re: [OS X TeX] Equation Service
          by "Piet van Oostrum" <piet at cs.uu.nl>
  Re: [OS X TeX] Equation Service
          by "Arun Mangalam" <arun_mangalam at mac.com>
  Disregard previous...
          by "Joseph C. Slater" <joseph.slater at wright.edu>
  (no subject)
          by "Arun Mangalam" <arun_mangalam at mac.com>
  Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
          by "Radhakrishnan CV" <cvr at river-valley.org>
  Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
          by "Hanspeter Schaub" <HanspeterSchaub at mac.com>
  Re: [OS X TeX] Disregard previous...
          by "Joseph C. Slater" <joseph.slater at wright.edu>
  RevTeX
          by "Sam Broderick" <sbroderick at mac.com>
  Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
          by "Guido Mocken" <mocken at uni-freiburg.de>
  TEX/LATEX
          by "Marie Nielse" <n.marie at noos.fr>
  Re: [OS X TeX] TEX/LATEX
          by "Oscar Chavez" <oc918 at mizzou.edu>
  Re: [OS X TeX] Help: Geometrical diagrams
          by "Oscar Chavez" <oc918 at mizzou.edu>
  Re: [OS X TeX] OzTeX 5.0a is now available
          by <get86 at mac.com>
  Re: Feature suggestion, bug report -Re: [OS X TeX] EquationService
          by "William Adams" <wadams at atlis.com>
  Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
          by "William Adams" <wadams at atlis.com>
  Re: PDF presentations /again/ [was Re: [OS X TeX] Equation  Service]
          by "Jon Guyer" <jguyer at his.com>
  Re: PDF presentations /again/ [was Re: [OS X TeX] Equation  Service]
          by "Jon Guyer" <jguyer at his.com>
  Re: PDF presentations /again/ [was Re: [OS X TeX] Equation  Service]
          by "Jon Guyer" <jguyer at his.com>
  metapost using pdflatex
          by "Joseph C. Slater" <joseph.slater at wright.edu>
  Re: [OS X TeX] metapost using pdflatex
          by "Gary L. Gray" <gray at engr.psu.edu>
  Re: [OS X TeX] metapost using pdflatex
          by "Joseph C. Slater" <joseph.slater at wright.edu>


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

Subject: Re: [OS X TeX] Equation Service
From: "Ullrich Steiner" <u.steiner at chem.rug.nl>
Date: Fri, 22 Mar 2002 08:50:32 +0100

I played with this a bit:  very useful little application.  I have been 
using Gerben's GWTeXServices.app, but Equation service is more versatile 
and more easy to use.

One of the features useful to me is the application window.  I sometimes 
need to import equations into Adobe Illustrator.  This can now easily be 
done using the Equation Service application. Typeset the equation in the 
Equation Service window and just drag and drop it onto the Illustrator 
window.  This probably works for many Carbon applications - try it with 
Powerpoint.

The only thing lacking is Illustrators inability to display Greek CM 
symbols...

- Ulli


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

Subject: Re: PDF presentations /again/ [was Re: [OS X TeX] Equation Service]
From: "Ullrich Steiner" <u.steiner at chem.rug.nl>
Date: Fri, 22 Mar 2002 08:57:33 +0100

> but my figures look horrible [*]. Anything rendered from PS vector 
> files gets scaled and rendered horribly by Acrobat (reader or full, 
> Mac, Mac OS X, 'doze, etc.). What should be smooth lines come out all 
> clumpy looking.

I have been using Acrobat for presentations for quite a while now - it 
works without a glitch.  In fact, in terms of display quality, my 
presentations look better than most PowerPoint presentations.

To assemble the presentation, I use pdf and eps material from various 
sources.  I use Arobat to get the material in the right sequence and do 
the final editing in Illustrator.  The main nuisance in this is that 
Illustrator does not display some of the fonts (but we had this earlier 
in this forum).

- Ulli


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

Subject: Re: PDF presentations /again/ [was Re: [OS X TeX] Equation Service]
From: "Maarten Sneep" <sneep at nat.vu.nl>
Date: Fri, 22 Mar 2002 10:57:28 +0100 (MET)

> I didn't see this in earlier discussions of PDF presentations, which 
> seemed to focus on font problems (which I wasn't having): When I've 
> tried to do PDF presentations, using both Utopia and something else 
> (P4?), my fonts look fine (as long as I use PS variants), but my 
> figures look horrible [*]. Anything rendered from PS vector files 
> gets scaled and rendered horribly by Acrobat (reader or full, Mac, 
> Mac OS X, 'doze, etc.). What should be smooth lines come out all 
> clumpy looking. Complex graphics (like a particular logo used here in 
> the lab) could actually be seen rendering element-by-element (I think 
> because they were using gradients) on every flipping slide. 

[snip]

> [*] These are generally Encapsulated PostScript figures generated 
> from Igor Pro, either directly or with the LW8 driver. I pretty much 
> went through this hell and gave up on it before Mac OS X was a 
> credible platform, so perhaps this issue is moot now. Igor Pro is now 
> Carbon, so I can print directly to PDF and thus use pdflatex, 
> skipping ps->pdf translation altogether. I'll have to try it and see. 
> Also, I often decide it's not worth the trouble, but it can be nice 
> to be able to label graphs with TeX. Is there a "pdffrag" equivalent 
> to psfrag?

I hate to break the news to you: The Igor Pro Carbon doen't (yet) 
support output to pdf. You can of course _print_ to pdf, but that produces 
a whole page, with the figure on it. As far as encapsulated postscript is 
concerned: epstopdf usually does it for me, but yes: Acrobat's display of 
line-art is horrible.

I know there are several code samples floating about showing how to produce 
full-screen display on X. If only Apple's pdf-routines could use hyperlinks...

But if the aim is just to have a run-through, a one-liner should work.

Take care,

Maarten Sneep

>>>--------------------------------------------------
2 + 2 = 5                       (George Orwell, 1984)


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

Subject: Re: OzTeX 5.0a is now available
From: "Andrew Trevorrow" <andrew at trevorrow.com>
Date: Fri, 22 Mar 2002 21:00:23 +1100

>> There is a new config file in :TeX:Configs: called "Use texmf tree".
>> It shows how to tell the Oz* apps to search the texmf trees created by
>> Gerben Wierda's teTeX installer.  Before using the config file you'll
>> need to make a few changes -- see the comments inside the file.
> 
> I haven't d/l'd the alpha, yet, but I wanted to ask, how may this affect those of us who either installed Wierda's teTeX using fink (so that it is in fink's /sw directory) or who installed another version of teTeX?  Thanks.

No problem.  Every search path in the config file starts with

   OSX:usr:local:teTeX:share:...

so just replace that prefix with the correct path for your teTeX.
Even users of Gerben's installer will have to replace "OSX" with the
name of their OS X start-up volume.

NB. When I drop support for OS 8/9 (probably in 5.1) I will allow
Unix paths in OzTeX config files so you can do things like

input_folders = |
   ~/Library/texmf/tex/** |
   /usr/local/teTeX/share/texmf.local/tex/** |
   etc...

Andrew

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

Subject: Re: PDF presentations /again/ [was Re: [OS X TeX] Equation Service]
From: "Bruno Voisin" <Bruno.Voisin at hmg.inpg.fr>
Date: Fri, 22 Mar 2002 11:11:24 +0100

> I hate to break the news to you: The Igor Pro Carbon doen't (yet)
> support output to pdf. You can of course _print_ to pdf, but that 
> produces
> a whole page, with the figure on it. As far as encapsulated postscript 
> is
> concerned: epstopdf usually does it for me, but yes: Acrobat's display 
> of
> line-art is horrible.

Dragging EPS files onto TeXShop produces PDF files of exactly the same 
size as the original EPS. That's what I do now for creating PDF figures 
(suitable for inclusion in pdfTeX) out of Mathematica graphs: save all 
the graphs as EPS files, then drag them onto TeXShop. I think this 
launches a script ps2pdf in the background, I'm not quite sure; but 
whatever it does, it does it very efficiently!

Bruno Voisin


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

Subject: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
From: "Guido Mocken" <mocken at uni-freiburg.de>
Date: Fri, 22 Mar 2002 11:31:42 +0100

Am Donnerstag den, 21. März 2002, um 19:59, schrieb Doug Rowland:
> I just wanted to let you know about a new OS X app I have written.  It's
> called "Equation Service" and it's a specialized front-end to pdflatex 
> meant
> for typesetting equations and small amounts of text.

For me it crashes when I try to typeset something like

\begin{eqnarray}
	a&=&b \\
	c&=&c
\end{eqnarray}

Gerben's GWTeXService at least reports an error:

! Undefined control sequence.
l.4 ^^I\begin
              {eqnarray}
?
! Emergency stop.

Which tells me that maybe I am doing something wrong (some package 
missing?!), but anyway - Equation Service shouldn't *crash* on this.

> The main feature of Equation Service is that it is a system service.  
> Any
> services-aware app that supports string output and PDF/TIFF input will 
> gain
> the ability to turn a highlighted string into a small typeset PDF from
> pdflatex.

This is already very nice, however I would like to suggest one 
additional feature that both your Equation Service and Gerben's 
GWTeXService lack so far:

Both provide a service "tex --> pdf". It would be very nice if they 
would also offer the reverse way: "pdf --> tex".
Of course, it's impossible to generate tex code for an arbitrary 
pdf-image, but maybe (I do not know the PDF specs for this) it would be 
possible to include the tex source as an invisible comment inside the 
resulting pdf when you do the tex --> pdf conversion. If so, to go the 
reverse way one would only have to extract this comment and return it as 
a text string to the calling application.

Is this feasable?

	Guido


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

Subject: Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
From: "Ross Moore" <ross at ics.mq.edu.au>
Date: Fri, 22 Mar 2002 22:09:30 +1100 (EST)


> This is already very nice, however I would like to suggest one 
> additional feature that both your Equation Service and Gerben's 
> GWTeXService lack so far:
> 
> Both provide a service "tex --> pdf". It would be very nice if they 
> would also offer the reverse way: "pdf --> tex".
> Of course, it's impossible to generate tex code for an arbitrary 
> pdf-image, but maybe (I do not know the PDF specs for this) it would be 
> possible to include the tex source as an invisible comment inside the 
> resulting pdf when you do the tex --> pdf conversion. If so, to go the 
> reverse way one would only have to extract this comment and return it as 
> a text string to the calling application.
> 
> Is this feasable?

Yes, indeed it *is* feasible.

I'm doing pretty much that, and more, at this very moment.

Have a look at:  

   http://www-texdev.ics.mq.edu.au/PDF/mathsave.pdf

Don't read it directly in the browser; download to disc first,
and get also

     http://www-texdev.ics.mq.edu.au/PDF/mathdljs.fdf

You need *both* files; put them in the same directory.
Now open the PDF file in Acrobat (Reader).


Note that the .fdf file is not necessary for what you asked-for.
It just controls aspects of the user-interface.

Enjoy.


	Ross Moore


 
> 	Guido
> 
> 
> -----------------------------------------------------------------
> 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.
> -----------------------------------------------------------------


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

Subject: Re: [OS X TeX] Equation Service
From: "jerome LAURENS" <jerome.laurens at u-bourgogne.fr>
Date: Fri, 22 Mar 2002 14:20:47 +0100


Le jeudi 21 mars 2002, à 08:21 PM, Hemant Bhargava a écrit :

> Excellent service ... and works very well (where it does).
>
> May I request something that might help a lot of people ...
>
> Imagine that this service could work from within your favorite LaTeX 
> editor. So, you might be working on a large document, and have this 
> complicated equation you are typesetting, and you want to see how it 
> looks. Right now you basically have to compile the whole file (there 
> are clumsy solutions to avoid that) - but with this service, you could 
> simply highlight the piece of text and then have it typeset. 
> Unfortunately, at the moment, the service doesn't work with TeXShop or 
> Pepper, the two editors I tried it with. Any chance it could?
>

This service will only work with apps accepting rich text format. 
Unfortunately the rich text format is not tex aware so...

However, some acceptable solution à la alpha should not need more than 
10 lines of code.


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

Subject: Re: OzTeX 5.0a is now available
From: "John B. Thoo" <jb2 at ms.yuba.cc.ca.us>
Date: Fri, 22 Mar 2002 05:29:31 -0800

On Friday, March 22, 2002, at 02:00 AM, Andrew Trevorrow wrote:

>> I haven't d/l'd the alpha, yet, but I wanted to ask, how may this 
>> affect those of us who either installed Wierda's teTeX using fink (so 
>> that it is in fink's /sw directory) or who installed another version 
>> of teTeX?  Thanks.
>
> No problem.  Every search path in the config file starts with
>
>    OSX:usr:local:teTeX:share:...
>
> so just replace that prefix with the correct path for your teTeX.
> Even users of Gerben's installer will have to replace "OSX" with the
> name of their OS X start-up volume.

I am d/l'ing 5.0a as I write, so this may be answered in the new docs.  
Forgive me if it is, but would I put the correct path in my LocalX 
file?  Thanks.

---John.


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

Subject: Re: [OS X TeX] Equation Service
From: "Piet van Oostrum" <piet at cs.uu.nl>
Date: 22 Mar 2002 14:32:05 +0100

I have a few suggestions:

- Copying to the clipboard might be supported so that the equations can be
  pasted to other apps like Powerpoint, Appleworks or drawing programs that
  don't accept PDF. This would probably be in a Bitmap format (I'm not sure
  what MacOSX supports on the clipboard). You can copy and paste from
  Acrobat reader so this shouldn't be too difficult.
- Zooming (especially for the above).
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl


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

Subject: Re: [OS X TeX] Equation Service
From: "Arun Mangalam" <arun_mangalam at mac.com>
Date: Fri, 22 Mar 2002 08:56:26 -0500

I think this service uses exclusively LaTeX primitives vs. Gerben's 
service uses ConTeXt & LaTeX primitives [since ConTeXt includes some 
LaTeX compatibility]. I haven't tried in a long time, but I imagine you 
could even include some native MetaPost code in Gerben's utility, given 
that you are somewhat aware of the simple ConTeXt syntax...

In any case, all this depends on how you are enclosing the "copied TeX" 
code and compiling it. I think both can use AMS-LaTeX extensions.

Also, maybe I'm wrong, this service has a cropping box that is not as 
tight as the one from Gerben. Maybe there's a way to be as tight, as an 
option perhaps.

However, looking at the source code would make comparisons and 
improvements a lot easier. :-)

- Arun

On Thursday, March 21, 2002, at 02:16 PM, Bruno Voisin wrote:

> Seems very nice and powerful. Is it related to Gerben's 
> GWTeXServices.app, from December last year?
>
> Bruno Voisin


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

Subject: Disregard previous...
From: "Joseph C. Slater" <joseph.slater at wright.edu>
Date: Fri, 22 Mar 2002 09:00:15 -0500

I don't know what the problem was, but here's the entertaining solution. 
What you do is wait a few minute for the kernel panic. You then restart, 
do an fsck a couple of times, log in, and it works again. Apparently I 
had a strong need to reboot. I thought I was done with this in OS X, but 
I guess I was wrong.
Thanks and sorry to bother you,
Joe


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

Subject: 
From: "Arun Mangalam" <arun_mangalam at mac.com>
Date: Fri, 22 Mar 2002 09:05:11 -0500

Ray,

Why don't you try copying the pasted Equation, and pasting it in 
Preview.app. You can export it in many different formats within Preview. 
The native TIFF format works quite well ... PowerPoint can use this 
format [just drag & drop from the desktop].

If you want a better resolution, get the cropped pdf version of your 
equation, and convert it with ImageMagick to a jpg to whatever 
resolution you desire.

- Arun

On Thursday, March 21, 2002, at 03:07 PM, Chip Brock wrote:

Hi
Yeah, I know...however, as much as I have to do this, it's sooo much 
easier
to use otherwise crumby powerpoint. For example, a class I gave last fall
had >700 ppt slides. Any scientific talk has at least 50... My brain 
finds
it much easier to use the mouse to set things up, and then mess with 
them. I
have theorist friends who use latex talk styles and acrobat, but they're
much smarter than I am...!

Thanks,
Ray


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

Subject: Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
From: "Radhakrishnan CV" <cvr at river-valley.org>
Date: Fri, 22 Mar 2002 19:38:31 +0530 (IST)

On Fri, 22 Mar 2002 at 11:31, Guido Mocken wrote:

[...]

   ! Undefined control sequence.
   l.4 ^^I\begin
                 {eqnarray}
   ?
   ! Emergency stop.
   
   Which tells me that maybe I am doing something wrong (some
   package missing?!), but anyway - Equation Service shouldn't
   *crash* on this.

I'm afraid, you are using plain TeX instead of LaTeX.
   
[...]
   
   Both provide a service "tex --> pdf". It would be very nice if they 
   would also offer the reverse way: "pdf --> tex".
   Of course, it's impossible to generate tex code for an arbitrary 
   pdf-image, but maybe (I do not know the PDF specs for this) it would be 
   possible to include the tex source as an invisible comment inside the 
   resulting pdf when you do the tex --> pdf conversion. If so, to go the 
   reverse way one would only have to extract this comment and return it as 
   a text string to the calling application.
   
I have put a specimen pdf file at:

  http://www.tug.org.in/download/pdf2tex.pdf

which has the TeX sources of this document in full in this pdf as
object number 1. And also has the TeX sources of three equations as
object numbers 2 to 4. If you open this pdf in a text editor you can
see the text stream.

These sources can be extracted from the pdf by running pdftosrc 
which is distributed with pdfTeX binaries by giving the following 
command from the shell prompt:

 pdftosrc pdf2tex.pdf 1   ==> pdf2tex.1 the entire source.tex
 pdftosrc pdf2tex.pdf 2   ==> pdf2tex.2 the first equation
 pdftosrc pdf2tex.pdf 3   ==> pdf2tex.3 the second equation
 pdftosrc pdf2tex.pdf 4   ==> pdf2tex.4 the third equation

The syntax being

 pdftosrc <pdffile name> <object number>

Is this what you wanted?

-- 
Radhakrishnan


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

Subject: Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
From: "Hanspeter Schaub" <HanspeterSchaub at mac.com>
Date: Fri, 22 Mar 2002 07:07:37 -0700

I really like Equation Service.  It could become the Equation Editor of 
choice for LaTeX users.  In particular, I just tried importing equation pdf 
files that Equation Service generates into Freehand 9 (classic version, don'
t have the carbon version 10 yet).   During the import, it complains that 
it find the various CMMxx fonts.  I then replace them with Times 
equivalents (plain, italic, bold-italic) and the output looks ok.  What 
would be great though is if Equation Service could supply the required font 
information in the pdf file itself?  Is this possible?  I thought that 
ghostscript can now include the required fonts when converting from ps to 
pdf?  Anyway, it this were possible, then I could use Equation Service to 
include equation labels that match my typeset equations precisely.  Using 
the MS Mathtype right now, the equations in my figures never look as good 
as the ones in the text.

thanks,

Hanspeter Schaub


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

Subject: Re: [OS X TeX] Disregard previous...
From: "Joseph C. Slater" <joseph.slater at wright.edu>
Date: Fri, 22 Mar 2002 09:25:34 -0500

In case you're wondering, that was an oops on a reply to Gerben.  
texlive wasn't working anymore, and I don't know what was wrong, but the 
resolution is below.

On Friday, March 22, 2002, at 09:00  AM, Joseph C. Slater wrote:

> I don't know what the problem was, but here's the entertaining 
> solution. What you do is wait a few minute for the kernel panic. You 
> then restart, do an fsck a couple of times, log in, and it works again. 
> Apparently I had a strong need to reboot. I thought I was done with 
> this in OS X, but I guess I was wrong.
> Thanks and sorry to bother you,
> Joe
>
__________________________________________________
Joseph C. Slater, PhD
Associate Professor
Dept. of Mechanical and Materials Engg, Wright State University,
3640 Colonel Glenn Highway, Dayton, OH 45435
Phone: (+1) 937-775-5040, Fax: (+1) 937-775-5009,
http://www.engineering.wright.edu/~jslater


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

Subject: RevTeX
From: "Sam Broderick" <sbroderick at mac.com>
Date: Fri, 22 Mar 2002 16:52:29 +0100

I'm trying to install RevTex, but BibTeX seems to be choking on me. I get
the following message:

> This is BibTeX, Version 0.99c (Web2C 7.3.3.1)
> The top-level auxiliary file: apssamp.aux
> I couldn't open style file apsrev.bst
> ---line 48 of file apssamp.aux
> : \bibstyle{apsrev
> :                 }
> I'm skipping whatever remains of this command
> I found no style file---while reading file apssamp.aux
> (There were 2 error messages)


Any idea what the problem is? The apssamp.tex compiles OK except for the
references...


Cheers


Sam Broderick
Solid State Physics Laboratory
ETH-Zurich
Switzerland


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

Subject: Re: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
From: "Guido Mocken" <mocken at uni-freiburg.de>
Date: Fri, 22 Mar 2002 17:10:16 +0100

Am Freitag den, 22. März 2002, um 15:08, schrieb Radhakrishnan CV:

 > pdftosrc <pdffile name> <object number>
 >
 > Is this what you wanted?

Yes - in principle. (However, I have no pdftosrc on my machine to test 
this. Is this included in tetex/TeXShop?).

The question is, whether this can be made a MaxOS X Service item, so you 
can select a formerly typeset equation, choose the "pdf -> tex" service 
which I am suggesting to get back the source, modify it and re-typeset 
it using the already existing service "TeX to PDF" (GWTeXServices) or 
"Equation Service -> ..." (Doug Rowland's).

Wouldn't that be nice?

Guido


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

Subject: TEX/LATEX
From: "Marie Nielse" <n.marie at noos.fr>
Date: Fri, 22 Mar 2002 17:36:32 +0100


Hello,

1° Thanks for TexShop and TeTex ( Bravo !!)

2°  With Latex my document begin with :

\documentclass[a4paper,11pt]{article}
\usepackage[applemac]{inputenc}
\usepackage[french]{babel}
\usepackage{amssymb}
\usepackage{times}
\usepackage[pdftex]{graphicx}


and i would like to make the same things under Tex, is-it possible ?

Thanks  Marie Nielse


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

Subject: Re: [OS X TeX] TEX/LATEX
From: "Oscar Chavez" <oc918 at mizzou.edu>
Date: Fri, 22 Mar 2002 11:19:41 -0600

At 10:36 AM -0600 3/22/02, Marie Nielse wrote:
>Hello,
>
>1° Thanks for TexShop and TeTex ( Bravo !!)
>
>2°  With Latex my document begin with :
>
>\documentclass[a4paper,11pt]{article}
>\usepackage[applemac]{inputenc}
>\usepackage[french]{babel}
>\usepackage{amssymb}
>\usepackage{times}
>\usepackage[pdftex]{graphicx}
>
>
>and i would like to make the same things under Tex, is-it possible ?
>
>Thanks  Marie Nielse

It is possible, and more: read the documentation, and you could have 
this as a template. Although some it has always been possible in 
MacOS to use "stationery" or templates of some sort, the way TeXShop 
handles them beats them all.

Oscar Chávez

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

Subject: Re: [OS X TeX] Help: Geometrical diagrams
From: "Oscar Chavez" <oc918 at mizzou.edu>
Date: Fri, 22 Mar 2002 12:39:37 -0600

At 8:14 PM -0600 3/18/02, Ross Moore wrote:

>Xypic is an excellent package for this kind of thing, especially
>if you need accurate layouts, with intersections calculated
>automatically.
>Use the  \xygraph  extension, rather than \xymatrix .
>
>If you want a point-and-click type package, relying on your eyes
>to judge the location of lines and intersections,
>then Adobe Illustrator is probably best.
>You can then use Xy-pic and WaRMreader to put labels onto these
>Illustrator images.

Metagraf could be the solution that you are looking for:

http://w3.mecanica.upm.es/metapost/metagraf.php

Oscar Chávez

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

Subject: Re: [OS X TeX] OzTeX 5.0a is now available
From: <get86 at mac.com>
Date: Fri, 22 Mar 2002 13:50:54 -0500

sorry... where is the 5.0a version of OzTeX?
(i misplaced the post)


On Thursday, March 21, 2002, at 03:54  PM, Joseph C. Slater wrote:

> Been carbon for a while.
> On Thursday, March 21, 2002, at 10:24  AM, Oliver Hardt wrote:
>
>> Is oz5 carbonized or does it need classic?  olli.
>>
>>
>> 3/22/02, Andrew Trevorrow wrote:
>>
>>> An alpha version of OzTeX 5.0 is now available for download (12.2Mb):


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

Subject: Re: Feature suggestion, bug report -Re: [OS X TeX] EquationService
From: "William Adams" <wadams at atlis.com>
Date: Fri, 22 Mar 2002 15:33:39 -0500

Hanspeter Schaub said:
>...In particular, I just tried importing equation pdf
>files that Equation Service generates into Freehand 9 (classic version,
don'
>t have the carbon version 10 yet).   During the import, it complains
that
>it find the various CMMxx fonts. I then replace them with Times
>equivalents (plain, italic, bold-italic) and the output looks ok.

1 - don't bother to get FH10 if the only reason is wanting Services
support---it doesn't have it.

2 - you're parsing the .pdf and translating it into a native Freehand
file, so naturally it wants the fonts to be in the system and can only
use fonts which are installed, hence available to it. If you merely want
to place the file as is, belike the best thing to do would be to convert
it to .eps (including the fonts) and place that (might need to uncheck
parse editable .eps for file import)

>What
>would be great though is if Equation Service could supply the required
font
>information in the pdf file itself?

They proably are, FreeHand just can't make use of it.

>Is this possible?

If you work differently, with different tools, you could directly edit /
manipulate the .pdf (get OneVision, or Adobe Acrobat and Enfocus
PitStop)

>Anyway, it this were possible, then I could use Equation Service to
>include equation labels that match my typeset equations precisely.

Get from pdf to eps and you'll be set (or switch to a NeXT box running
Altsys Virtuoso and use TeXView.app, or switch to a vector graphics
program with Services support)

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: Feature suggestion, bug report -Re: [OS X TeX] Equation Service
From: "William Adams" <wadams at atlis.com>
Date: Fri, 22 Mar 2002 15:37:27 -0500

Guido asked:
>Both provide a service "tex --> pdf". It would be very nice if they
>would also offer the reverse way: "pdf --> tex".

Work-around - use a drawing program with layers, create a layer called,
``TeX - source'' send it to the background. Clone (if necessary) a text
box with text which one is going to feed into the Service and send it to
that layer, then work on the original.

The pdftosrc solution sounds really elegant though.

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: PDF presentations /again/ [was Re: [OS X TeX] Equation  Service]
From: "Jon Guyer" <jguyer at his.com>
Date: Fri, 22 Mar 2002 15:48:24 -0500

At 8:22 AM +1100 3/22/02, Ross Moore wrote:

>Report it on:  http://www.tug.org/twg/tfaa/
>Provide a description and an example (or two).

Good idea (although I don't think it's a TeX-specific problem at all).

>If your logo is built up as a vector graphic, with many elements,
>why don't you just render it as a JPEG at a resolution suitable
>for your presentation slides.
>Then put this .jpg as the logo that repeats on every page.
>
>Besides, the result obtained this way will be useful also for web pages.

And not useful for printing... I know how to work around it; I'm just 
disgusted by what's needed to work around it (and particularly 
disgusted that the most practical solution is ditching the whole 
thing and doing it in PowerPoint). Adobe invented PostScript. Adobe 
invented PDF as a derivative of PostScript. Adobe created Acrobat. 
The whole point of vector graphics is that they're scalable and 
resolution independent. Is there some reason Adobe is unclear on this 
concept? I understand that gracefully rendering at everything from 
72dpi to 12000dpi is non-trivial, but other apps can handle it and 
Adobe of all things is renowned for it.

>Logos can be annoying, since they look like single graphics,
>but are usually constructed from smaller pieces that need high-quality
>rendering to show the desired information.
>Expect to have to spend time getting it looking the best.

Uh, yeah... 8^P. This is where you lose me. I have work to do. 
Preview.app and flipping PowerPoint can take these graphics /as is/ 
and render them beautifully. Wasting time fiddling with every one of 
my graphics to work around bugs in Acrobat just ain't going to 
happen. If it were just one logo (which is no longer used (it was a 
one-year thing)), no big deal, but every figure I generate has this 
problem.

>Yes. It's called WaRMreader, built on top of Xy-pic.

Cool, I'll look into it.

-- 


   Jonathan E. Guyer
   <http://www.his.com/jguyer/>


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

Subject: Re: PDF presentations /again/ [was Re: [OS X TeX] Equation  Service]
From: "Jon Guyer" <jguyer at his.com>
Date: Fri, 22 Mar 2002 15:56:47 -0500

At 10:57 AM +0100 3/22/02, Maarten Sneep wrote:

>I hate to break the news to you: The Igor Pro Carbon doen't (yet)
>support output to pdf. You can of course _print_ to pdf, but that produces
>a whole page, with the figure on it.

Ugh. I hadn't thought about that (I knew Igor didn't export PDF 
itself, but I was naively thinking that print-to-PDF would do the 
trick).

>yes: Acrobat's display of line-art is horrible.

Glad to hear I'm not crazy.

>I know there are several code samples floating about showing how to produce
>full-screen display on X. If only Apple's pdf-routines could use hyperlinks...
>
>But if the aim is just to have a run-through, a one-liner should work.

Full-screen would be adequate in most cases. I'll look.

-- 


   Jonathan E. Guyer
   <http://www.his.com/jguyer/>


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

Subject: Re: PDF presentations /again/ [was Re: [OS X TeX] Equation  Service]
From: "Jon Guyer" <jguyer at his.com>
Date: Fri, 22 Mar 2002 15:54:21 -0500

At 12:58 AM +0000 3/22/02, Enrico Franconi wrote:

>I don't know whether this could be the cause of your problem, but some
>similar bad behaviour of gs can be fixed by avoiding the automatic
>encoding in jpeg of internal figures. I use the following settings:
>
>  -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode
>  -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode

I'll look into that, thanks.
-- 


   Jonathan E. Guyer
   <http://www.his.com/jguyer/>


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

Subject: metapost using pdflatex
From: "Joseph C. Slater" <joseph.slater at wright.edu>
Date: Fri, 22 Mar 2002 17:03:08 -0500

I've tried using metapost to generate eps files, convert them to pdf, 
and embed them into pdflatex, but the text doesn't show up in the eps or 
the pdf file. Going the old latex->dvi->ps->pdf works fine, but I'd like 
to stick to pdflatex if possible (I'm getting comfortable with it). Is 
there another way at it using metapost (like metapdf?).
thanks,
Joe
__________________________________________________
Joseph C. Slater, PhD
Associate Professor
Dept. of Mechanical and Materials Engg, Wright State University,
3640 Colonel Glenn Highway, Dayton, OH 45435
Phone: (+1) 937-775-5040, Fax: (+1) 937-775-5009,
http://www.engineering.wright.edu/~jslater


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

Subject: Re: [OS X TeX] metapost using pdflatex
From: "Gary L. Gray" <gray at engr.psu.edu>
Date: Fri, 22 Mar 2002 17:08:01 -0500

On 3/22/02 5:03 PM, "Joseph C. Slater" <joseph.slater at wright.edu> wrote:

> I've tried using metapost to generate eps files, convert them to pdf,
> and embed them into pdflatex, but the text doesn't show up in the eps or
> the pdf file. Going the old latex->dvi->ps->pdf works fine, but I'd like
> to stick to pdflatex if possible (I'm getting comfortable with it). Is
> there another way at it using metapost (like metapdf?).

Can't you just use Ghostscript to convert the EPS files to PDF? In fact, you
can either use Tom Kiffe's version or simply drop the EPS file onto TeXShop
and it will call Ghostscript from Gerben's distribution to convert it. Am I
missing something here?

-- Gary


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

Subject: Re: [OS X TeX] metapost using pdflatex
From: "Joseph C. Slater" <joseph.slater at wright.edu>
Date: Fri, 22 Mar 2002 18:14:22 -0500


On Friday, March 22, 2002, at 05:08  PM, Gary L. Gray wrote:

> On 3/22/02 5:03 PM, "Joseph C. Slater" <joseph.slater at wright.edu> wrote:
>
>> I've tried using metapost to generate eps files, convert them to pdf,
>> and embed them into pdflatex, but the text doesn't show up in the eps 
>> or
>> the pdf file. Going the old latex->dvi->ps->pdf works fine, but I'd 
>> like
>> to stick to pdflatex if possible (I'm getting comfortable with it). Is
>> there another way at it using metapost (like metapdf?).
>
> Can't you just use Ghostscript to convert the EPS files to PDF? In 
> fact, you
> can either use Tom Kiffe's version or simply drop the EPS file onto 
> TeXShop
> and it will call Ghostscript from Gerben's distribution to convert it. 
> Am I
> missing something here?

Yeah. The fonts don't end up in the eps file. When you embed the eps 
file in a ps file that has the ps fonts (dvips), it's OK, but when you 
embed the pdf file (which doesn't have the fonts) into another pdf file, 
the text/equations are missing (pdflatex). l don't get it myself.
Joe

__________________________________________________
Joseph C. Slater, PhD
Associate Professor
Dept. of Mechanical and Materials Engg, Wright State University,
3640 Colonel Glenn Highway, Dayton, OH 45435
Phone: (+1) 937-775-5040, Fax: (+1) 937-775-5009,
http://www.engineering.wright.edu/~jslater


----------------------------------------------------------------------
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.
-----------------------------------------------------------------


More information about the macostex-archives mailing list