From MacOSX-TeX@email.esm.psu.edu Sun Jun 26 19:56:31 2005
Received: from engremail.engr.psu.edu ([130.203.201.4]) by ENGRMAIL1.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Sun, 26 Jun 2005 19:56:31 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by engremail.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Sun, 26 Jun 2005 19:56:31 -0400
Date: Sun, 26 Jun 2005 20:00:13 -0400
Message-ID: <60813.83881@email.esm.psu.edu>
Subject: MacOSX-TeX Digest #1415 - 06/26/05
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: List
List-Software: LetterRip Pro 4.05 (0531) by LetterRip Software, LLC.
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 
X-LR-SENT-TO: mail.engr.psu.edu
Return-Path: MacOSX-TeX@email.esm.psu.edu
X-OriginalArrivalTime: 26 Jun 2005 23:56:31.0149 (UTC) FILETIME=[ACC41DD0:01C57AAA]

MacOSX-TeX Digest #1415 - Sunday, June 26, 2005

  Re: [OS X TeX] TeX request
          by "George Dorner" 

  Re: [OS X TeX] TeX to word on Mac
          by "George Ghio" 

  Re: [OS X TeX] installing font for Latex June 5
          by "Peter Dyballa" 

  Re: [OS X TeX] TeX to word on Mac
          by "Herbert Schulz" 

  Re: [OS X TeX] TeX to word on Mac
          by "Jonas Wellendorf" 

  Re: [OS X TeX] LaTeX Books
          by "Maarten Sneep" 

  Re: [OS X TeX] pstricks question
          by "Timothy Van Zandt" 

  Re: [OS X TeX] pstricks question
          by "Christopher Allen" 


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

Subject: Re: [OS X TeX] TeX request
From: "George Dorner" 
Date: Sat, 25 Jun 2005 20:27:43 -0500

I enjoyed reading this thread since CS students here I teach like to =20
(or are required to) do such computations and the more ways to do it, =20=

the more interesting the problem to them.

I called up my Maple and couldn't get a reading on how fast it =20
computed 200!, so I entered tim():=3Dtop:2000!:tim()-top; and got 0.001 =20=

sec, while tim():=3Dtop:2000!;tim()-top;  actually shows the digits and =20=

takes 0.004 seconds. This was on a dual processor G4. That's all the =20
time I plan to spend on the problem.  8-)


geo


On Jun 24, 2005, at 9:49 AM, Jean-Claude DE SOZA wrote:

> Gerben,
>
> In a text file, enter :
>
> #!/usr/local/bin/ruby
> class Integer
>   def factorial
>     (1..self).inject(1) { |f, n| f * n }
>   end
> end
> puts 200.factorial
>
> Save it as fact.rb and run it with ./fact.rb or ruby fact.rb
> Jean-Claude DE SOZA
>
> Le 23 juin 05 =E0 22:24, Gerben Wierda a =E9crit :
>
>
>> Hello folks,
>>
>> I need help with a trick I want to perform. I want to be able to =20
>> display all the digits of
>>
>> 2!
>> 10!
>> 200!
>>
>> I need some sort of perl, ruby, bc or other way to produce all the =20=

>> digits. Then I can use some TeX trickery (maybe from the =20
>> diminuendo trick from the showcase, or crescendo) to display them
>>
>> G
>> --------------------- Info ---------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>           & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Post: 
>>
>>
>> ---------------------------------------------------------------------=20=

>> ------------------
>> Wanadoo vous informe que cet  e-mail a ete controle par l'anti-=20
>> virus mail.Aucun virus connu a ce jour par nos services n'a ete =20
>> detecte.
>>
>>
>>
>>
>>
>
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: 
>
>
>


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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "George Ghio" 
Date: Sun, 26 Jun 2005 14:49:46 +1000

Hi Bob

Elementary is fine.

It has all worked out this way.

Open terminal and type;

Welcome to Darwin!
George-Ghios-Computer:~ georgeghio$ cd /Users/georgeghio/Desktop/TeX

Hit return & type

George-Ghios-Computer:~/Desktop/TeX georgeghio$ htlatex 
/Users/georgeghio/Desktop/TeX/TheFlight.tex

Hit return I then get the html file,

I then open the html file with Explorer,

Select all,

Copy,

Paste into word.

If I try to open the html file with word  MS does what it does best and 
crashes.

Oh well, it works and I end up with a word document.

Thank you and everyone else for taking the time to keep me from 
becoming a basket case.

George L Ghio
On 25/06/2005, at 2:10 PM, Bob Kerstetter wrote:

> Hi George,
>
> If the following stuff is too elementary, I apologize. The 
> instructions use examplefile.tex as the input file name and 
> ~/Documents/examplefolder as the folder name.
>
> 1. Open the OS X terminal.
>
> 2. In the terminal type:  cd ~/Documents/examplefolder
>
> 3. Press return.
>     this changes your folder to ~/Documents/examplefolder
>
> 4. In the terminal type: htlatex examplefile
>
> 5. Press return.
>      tex4ht makes three runs and creates an output file named: 
> examplefile.html
>
> 6. In the terminal type: open .
>      after the word "open" is a space and a period (.)
>
> 7.  Press return.
>      this opens the examplefolder folder in a Finder window.
>       you should be able to find the file named examplefile.html in 
> the folder.
>
> Does this help?
>
> Bob
>
>
>
> On Jun 24, 2005, at 7:23 PM, George Ghio wrote:
>
>> Bob
>>
>> Thank you,I was sure that was right. Doesn't work It makes the DVI 
>> file but not the html. It seems that I have a problem with finding 
>> files.  Working on it. Thank you very much for your help.
>>
>> George L Ghio
>> On 25/06/2005, at 3:15 AM, Bob Kerstetter wrote:
>>
>>
>>> Correct. The file to convert is the source TeX or LaTaX file.
>>>
>>>
>>> On Jun 24, 2005, at 5:14 AM, George Ghio wrote:
>>>
>>>
>>>> I may be slow but I will get there. The file to convert is the 
>>>> "source" file not the "output"(PDF) file?
>>>>
>>>> And thank you for putting up with my ignorance.
>>>>
>>>> George L Ghio
>>>>
>>>> On 24/06/2005, at 3:11 AM, Bob Kerstetter wrote:
>>>>
>>>>
>>>>
>>>>>
>>>>> On Jun 23, 2005, at 9:27 AM, Peter Dyballa wrote:
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> Am 23.06.2005 um 15:45 schrieb George Ghio:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> htlatex filename
>>>>>>>
>>>>>>> Too easy, just one question. Which file am I converting?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> LaTeX -> HTML
>>>>>>
>>>>>>
>>>>>
>>>>> when filename is the name of your file it does some thing like 
>>>>> this, i think:
>>>>>
>>>>> filename.tex ---> filename.dvi ---> filename.html
>>>>>
>>>>>
>>>>> --------------------- Info ---------------------
>>>>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>>>>           & FAQ: http://latex.yauh.de/faq/
>>>>> TeX FAQ: http://www.tex.ac.uk/faq
>>>>> List Post: 
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --------------------- Info ---------------------
>>>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>>>           & FAQ: http://latex.yauh.de/faq/
>>>> TeX FAQ: http://www.tex.ac.uk/faq
>>>> List Post: 
>>>>
>>>>
>>>>
>>>>
>>>
>>> Bob Kerstetter
>>> http://homepage.mac.com/bkerstetter/
>>>
>>> --------------------- Info ---------------------
>>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>>           & FAQ: http://latex.yauh.de/faq/
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Post: 
>>>
>>>
>>>
>>
>> --------------------- Info ---------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>           & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Post: 
>>
>>
>>
>
> Bob Kerstetter
> http://homepage.mac.com/bkerstetter/
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: 
>
>


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

Subject: Re: [OS X TeX] installing font for Latex June 5
From: "Peter Dyballa" 
Date: Sun, 26 Jun 2005 10:29:32 +0200


Am 26.06.2005 um 00:07 schrieb Charles Chapman Pugh:

> I have read Bruno Voisin's notes on doing such font installations, 
> which can be found by googling "Installing Fonts for Latex on OS X," 
> but to the Unix novice they are daunting, and the probability of 
> success (for me) seems low.  Is there not a simple way to install a 
> font in OS X, which can be used easily in Latex?  In fact, at the 
> beginning of Bruno's tutorial several things the reader is assumed to 
> be familiar with are listed, including  other necessary installation 
> guides!  It looks like a long road.
>

No, there is no easier way yet with PostScript fonts! If the logo would 
be a TrueType or OpenType font you might be able to use it without 
complications in XeTeX/XeLateX, but PostScript seems to be declared 
dead by Apple. (There is Fontforge that could convert PostScript to 
TrueType)

To repeat: to use a PostScript font you need its accompanying AFM file, 
because that's the basis to create the TFM file for TeX use. If you use 
dvips or pdfTeX you too need an entry in a MAP file that tells dvips or 
pdfTeX that this font in not MF (METAFONT) based but a scalable vector 
based font. This missing MAP file entry is the reason that pdfTeX 
invokes mf to create a bitmap font (PK font) from an MF file for that 
font in a general ljfour mode.

It's really not complicated to work in Terminal and on its command 
line. Since you're already able to google, you best try to find some 
introduction into the use of Terminal and the command line. I remember 
there were a few when Mac OS X 10.0 came out. When you've installed TeX 
with Gerben Wierda's i-Installer then your system is made ready to use 
TeX from the command line. If not -- you know this list's address!

--
Greetings

   Pete

Bake Pizza not war!


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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "Herbert Schulz" 
Date: Sun, 26 Jun 2005 09:04:44 -0500


On Jun 25, 2005, at 11:49 PM, George Ghio wrote:

>
> Open terminal and type;
>
> Welcome to Darwin!
> George-Ghios-Computer:~ georgeghio$ cd /Users/georgeghio/Desktop/TeX
>
> Hit return & type
>
> George-Ghios-Computer:~/Desktop/TeX georgeghio$ htlatex /Users/ 
> georgeghio/Desktop/TeX/TheFlight.tex
>
> Hit return I then get the html file,
>
> I then open the html file with Explorer,
>
> Select all,
>
> Copy,
>
> Paste into word.
>
> If I try to open the html file with word  MS does what it does best  
> and crashes.
>
> Oh well, it works and I end up with a word document.
>
> Thank you and everyone else for taking the time to keep me from  
> becoming a basket case.
>
> George L Ghio
>

Howdy,

Now that you know how to do it in terminal, here's a way to do it  
from within TeXShop.

Go to the ~/Library/TeXShop/Engines/ folder (~ is your HOME  
directory) and duplicate one of the .engine files there. Rename it  
htlatex.engine and open it up (double clicking will open it up in  
TeXShop). Remove the contents of the file and put the following lines  
into that file:

#!/bin/bash
htlatex "$1"

and save the file (again in ~/Library/TeXShop/engines and with the  
name htlatex.engine).

At the beginning of any .tex file you want to be processed with  
htlatex put the line

%!TEX TS-program =3D htlatex

and then process the file with Cmd-T (Typeset). As an alternative you  
can simply choose the htlatex engine in the dropdown menu in the  
toolbar.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "Jonas Wellendorf" 
Date: Sun, 26 Jun 2005 16:59:35 +0200


Den 26. jun. 2005 kl. 16.04 skrev Herbert Schulz:

> Howdy,
>
> Now that you know how to do it in terminal, here's a way to do it =20
> from within TeXShop.


This was really usefull. Thank you.

The html-document resembles my initial tex-document quite closely =20
when viewed in safari.
But how do I go from .html to .doc?
Word eats my footnotes and many (all?) the non standard english =20
characters such as =E6, =F8, =E5, =FC, =F0 and =FE.
Pages does a better job preserving the Scandinavian characters but my =20=

footnotes are gone.

Jonas=20
   =20=

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

Subject: Re: [OS X TeX] LaTeX Books
From: "Maarten Sneep" 
Date: Sun, 26 Jun 2005 20:01:38 +0200

On 24 Jun 2005, at 17:29, Alain Schremmer wrote:

> I did and I think that you are right but perhaps not for the reason  
> you might have thought of. /My/ reason is that XYPIC, PSTricks, and  
> METAPOST put the fear of the gods into me.

Well, they don't bite ;) It strongly depends on the type of graphics  
you need: I need mostly graphs, with axis labels, and the capability  
of using TeX to produce those labels is indispensable for me, and for  
me the main reason to use metapost. Since it is a companion program  
to TeX, the program has some features that you're already familiar  
with. (though the two languages are radically different).

> Maybe, one day I will though. But, if you would, could you point me  
> toward an explanation of the pro and con of doing graphics "within"  
> LaTeX.

Pro: any labels that appear within your figure will match the main  
body text.
Con: not wysiwyg (may be a pro, though for figures I'm not so sure  
there are many who will argue in favour).

> The only drawback I can see to doing graphic "without" and using  
> "include" as I am doing is having figures in dozens of separate pdf  
> files which might complicate downloads.

Although I still have all figures in separate files. It is a matter  
of organisation in the file-system (and don't let anyone tell you you  
don't need that with SpotLight).

> On the other hand, if there were a converter from one of   
> Intaglio's output formats to LaTeX, /that/ would be /very/ nice to  
> use at the end.

If you're happy with exporting Intaglio to pdf, by all means go for it.

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

Subject: Re: [OS X TeX] pstricks question
From: "Timothy Van Zandt" 
Date: Sun, 26 Jun 2005 22:38:44 +0200

Sergei Mariev wrote:
 > I am trying to typeset a tree using  pstricks. I have the following =
code:
 >
 >   \pstree[nodesep=3D2pt]{\Tr{EI}}{\Tr{P} \pstree{\Tr{a}}{\Tr{S}}}
 >
 > And I am getting the following error-message:
 >
 > PSTricks error.  See User's Guide for further information.
 >                  Type  H   for immediate help.
 > ! Graphics parameter `nodesep=3D2pt' not defined..
 > \@pstrickserr ... immediate help.}\errmessage {#1}
 >                                                   \endgroup
 > l.7     \pstree[nodesep=3D2pt]{\Tr{EI}}
 >                                      {\Tr{P} \pstree{\Tr{a}}{\Tr{S}}}
 > ? x

It is not a question of packages not being loaded; otherwise, the 
command \pstree wouldn't be recognized. Instead, PSTricks is not parsing 
the argument. It should separate `nodesep' as the graphics parameter, 
rather than `nodesep=3D2pt'. Are you using some strange encoding such that =

your =3D sign is not an ascii =3D sign?

tim van zandt




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

Subject: Re: [OS X TeX] pstricks question
From: "Christopher Allen" 
Date: Sun, 26 Jun 2005 18:01:23 -0400

The problem is that you're using node parameters for tree commands. If 
you have the LaTeX Graphics Companion, you want the parameters on page 
164 for use with trees.

Chris


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

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: