From MacOSX-TeX@email.esm.psu.edu Thu Jun 23 19:57:08 2005
Received: from engremail2.engr.psu.edu ([130.203.201.116]) by ENGRMAIL1.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Thu, 23 Jun 2005 19:57:08 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by engremail2.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Thu, 23 Jun 2005 19:57:07 -0400
Date: Thu, 23 Jun 2005 20:00:13 -0400
Message-ID: <1613.31882@email.esm.psu.edu>
Subject: MacOSX-TeX Digest #1412 - 06/23/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: 23 Jun 2005 23:57:07.0984 (UTC) FILETIME=[437B7100:01C5784F]

MacOSX-TeX Digest #1412 - Thursday, June 23, 2005

  Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
          by "Christian Heine" 

  Re: [OS X TeX] MacTeX Toolbox mailing list is up
          by "J=E9r=F4me Laurens" 

  Re: [OS X TeX] LaTeX Books
          by "Paulo Ferreira" 

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

  Re: [OS X TeX] LaTeX Books
          by "Alain Schremmer" 

  Re: [OS X TeX] TeX to word on Mac
          by "Peter Dyballa" 

  Re: [OS X TeX] TeX to word on Mac
          by "Bob Kerstetter" 

  TeX request
          by "Gerben Wierda" 

  Re: [OS X TeX] TeX request
          by "Gary L. Gray" 

  Re: [OS X TeX] TeX request
          by "Johannes Brauer" 

  Re: [OS X TeX] TeX request
          by "Christopher Allen" 

  Re: [OS X TeX] TeX request
          by "Chris Goedde" 

  Re: [OS X TeX] TeX request
          by "Bruno Voisin" 

  Re: [OS X TeX] TeX request
          by "Aaron Jackson" 

  Re: [OS X TeX] TeX request
          by "Justin C. Walker" 

  Re: [OS X TeX] TeX request
          by "Jonathan Kew" 

  Re: [OS X TeX] TeX request
          by "Gary L. Gray" 

  Re: [OS X TeX] TeX request
          by "Bruno Voisin" 

  Re: [OS X TeX] TeX request
          by "Peter Dyballa" 

  Re: [OS X TeX] TeX request
          by "Martin Costabel" 


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

Subject: Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
From: "Christian Heine" 
Date: Thu, 23 Jun 2005 10:23:59 +1000

Hi list

On 22/06/2005, at 8:08 AM, Bruno Voisin wrote:

>> Le 21 juin 05 =E0 23:46, Josep M.Font a =E9crit :
>>
>>> Since some weeks, a strange problem happens to me from time to =20
>>> time--not always: If I try to print from Acrobat Reader a pdf =20
>>> file produced by some TeX variety, some fonts, not all, seem to =20
>>> be missing and are substituted by courier, with wrong spacing, =20
>>> etc. This seems to happen with only some sizes of cmr, since =20
>>> \Large, \textbf, \textsc, maths, etc. print OK. The file is =20
>>> correctly viewed on screen, and moreover if I open it with =20
>>> TeXShop--even when it was produced in another computer with =20
>>> another TeX--then it prints correctly!
>>>
>
> Thinking more about it, I observed the same behaviour once =20
> (characters substituted by Helvetica upon printing). But it was =20
> with Pages, not TeXShop. Thus it seems a Tiger bug.
>

I experience similar problems in OS X 10.4.1, but basically in all =20
PDF viewers: TeXShop, BibDesk (the LaTeX preview window) Preview, =20
Acrobat and the Schubert-IT's Browser Plug-in. Thus it seems to me =20
that this is rather a bug in OS X than some application specific thing.
Sometimes just certain parts of the documents show up on the screen, =20
for example I just opened my thesis with TeXShop and all I can see in =20=

the PDF viewer is the chapter, section and subsection headings - even =20=

after I typeset the document. Typesetting it for the 3rd time =20
actually displays everything fine. I haven't had any problems when =20
printing PDFs though.

Cheers,
Christian

--
Christian Heine
ph.d. student

         USIMS       |    University of Sydney
                     |    Institute of Marine Science
                     |    Sydney, Australia



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

Subject: Re: [OS X TeX] MacTeX Toolbox mailing list is up
From: "J=E9r=F4me Laurens" 
Date: Thu, 23 Jun 2005 08:43:38 +0200


Le 22 juin 05, =E0 00:23, Bruno Voisin a =E9crit :

> Le 22 juin 05 =E0 00:10, Maarten Sneep a =E9crit :
>
>> One page of the Mac TeX toolbox has been mentioned already recently=20=

>> on this list. you can find the (temporary) home over here:=20
>> http://www.xs4all.nl/~msneep/. I'll move it over to sourceforge once=20=

>> I find the time.
>>
>> The part of the project that is working now is the mailing list, the=20=

>> subscription list can be found on the temporary home. Note that this=20=

>> is intended for developer talk - basic TeX/LaTeX help will not be=20
>> offered on this list. The recent threads on the/an equation editor=20
>> are a prime example of what this mailing list is intended for=20
>> (although the number of subscribers is low at the moment (1), I hope=20=

>> this situation will improve.
>
> Hi Maarten,
>
> Due to time shortage/stress/not being a developer, I won't be able to=20=

> join this list. But I would like to let you know how useful it seems,=20=

> and if claims of support are welcome -- here is one!

Bruno,

TeX and LaTeX developers are welcome and more general what is usually=20
called a geek, even a first degree geek.
May I suggest you to be a passive listener of the list: create a filter=20=

to read only the mails that may concern you (including "bruno" for=20
example) and the first mail of any thread (which is not an answer)


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

Subject: Re: [OS X TeX] LaTeX Books
From: "Paulo Ferreira" 
Date: Thu, 23 Jun 2005 11:33:10 +0100


>>Some time ago (15th of June) Herb Schultz wrote among other things:



>
>The TeX primitive \mark is associated with the ability to pick out 
>first and last marks in a page for use in the heading. If you don't 
>already have it, get `The LaTeX Companion,' 2nd Edition, by 
>Mittelbach, Goosens, Braams, Carlisle and Rowley; a must have to get 
>quite deep into LaTeX. For many things `Guide to LaTeX,' 4th 
>Edition, by Kopka and Daley, is wonderful although not as detailed. 
>I'd say get both!
>


Just a tip about these books. "LaTeX Companion 2nd ed" has a list price of
$59.99 USD and "Guide to LaTeX 4th ed" has a list price of $49.99 USD.

They are very good books (for me) and they complement each other).


BUT, there is a box called "The LaTeX Companions, Revised Set" that has
both books plus "The LaTeX Graphics Companion" and "The Latex Web =
Companion",
in a total of four LaTeX books.

The ISBN is 0321269446 and there is a page about it at:



Doing a search with google the box can be bought for $134.00 USD
from:
http://www.nerdbooks.com/isbn/0321269446

No experience with the above store.

My box was bought from http://www.ecampus.com on January at $122.49 USD.
Now they want $164.49 USD.  OUCH !!!!!!

http://www.ecampus.com/bk_detail.asp?ISBN=3D0321269446

One good thing of the box is that the shipping to pay is only
for one "book" usually.


Greetings
Paulo  Ferreira


-- 


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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "George Ghio" 
Date: Thu, 23 Jun 2005 23:45:24 +1000

Hi Bob

OK

htlatex filename

Too easy, just one question. Which file am I converting?

George L Ghio
On 22/06/2005, at 10:21 PM, Bob Kerstetter wrote:

>
> On Jun 22, 2005, at 6:07 AM, George Ghio wrote:
>
>> Hi folks
>>
>> MS conspiracy has caught me. My editing course requires that all work 
>> be submitted in word. Yes I know. It is enough to turn ones stomach. 
>> But I have no control in the matter. I love my TeX. The thought of 
>> working in MS is not good for my nerves.
>>
>> Question;  How do I get output from TeX to RTF or word on my Mac? or 
>> convert PDF to RTF or word?
>>
>
> Another way:
>
> Install the 2005 version using i-installer. There are some problems in 
> the 2004 version for doing the process described below.
>
> Using tex4ht convert your document to HTML:
>
> htlatex filename
>
> Open in Word or TextEdit or Pages.
>
> After opening in TextEdit or Pages you can save as a Word document.
>
> You can also go from (La)TeX to Open Office to Word by using tex4ht to 
> convert to Open Office.
>
> I have found TeX to HTML to Word to be very effective. I use a config 
> file that converts to simple html 3.2 or 4.01, depending on the 
> command line option.
>
> 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] LaTeX Books
From: "Alain Schremmer" 
Date: Thu, 23 Jun 2005 10:09:42 -0400

Paulo Ferreira wrote:

> BUT, there is a box called "The LaTeX Companions, Revised Set" that has
> both books plus "The LaTeX Graphics Companion" and "The Latex Web 
> Companion",
> in a total of four LaTeX books.

I have "both books" and I do all my graphics in Intaglio, save them as 
pdf and "include" them. Am I missing something and should I buy "The 
LaTeX Graphics Companion"?

Thanks and regards
--schremmer

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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "Peter Dyballa" 
Date: Thu, 23 Jun 2005 16:27:13 +0200


Am 23.06.2005 um 15:45 schrieb George Ghio:

> htlatex filename
>
> Too easy, just one question. Which file am I converting?
>

LaTeX -> HTML

--
Greetings

   Pete

"Let's face it; we don't want a free market economy either."
         James Farley, president, Coca-Cola Export Corp., 1959


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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "Bob Kerstetter" 
Date: Thu, 23 Jun 2005 12:11:21 -0500


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



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

Subject: TeX request
From: "Gerben Wierda" 
Date: Thu, 23 Jun 2005 22:24:10 +0200

Hello folks,

I need help with a trick I want to perform. I want to be able to  
display all the digits of

2!
10!
200!

I need some sort of perl, ruby, bc or other way to produce all the  
digits. Then I can use some TeX trickery (maybe from the diminuendo  
trick from the showcase, or crescendo) to display them

G

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

Subject: Re: [OS X TeX] TeX request
From: "Gary L. Gray" 
Date: Thu, 23 Jun 2005 16:28:34 -0400


On Jun 23, 2005, at 4:24 PM, Gerben Wierda wrote:

> I need help with a trick I want to perform. I want to be able to  
> display all the digits of
>
> 2!
> 10!
> 200!
>
> I need some sort of perl, ruby, bc or other way to produce all the  
> digits. Then I can use some TeX trickery (maybe from the diminuendo  
> trick from the showcase, or crescendo) to display them

I can send them to you as generated by Mathematica. Does that help?

-- Gary


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

Subject: Re: [OS X TeX] TeX request
From: "Johannes Brauer" 
Date: Thu, 23 Jun 2005 22:32:02 +0200

Hi,

evaluate "200 factorial" in a Smalltalk workspace. You will get the 
faculty of any size.

Johannes

Am 23.06.2005 um 22:24 schrieb Gerben Wierda:

> Hello folks,
>
> I need help with a trick I want to perform. I want to be able to 
> display all the digits of
>
> 2!
> 10!
> 200!
>
> I need some sort of perl, ruby, bc or other way to produce all the 
> digits. Then I can use some TeX trickery (maybe from the 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: 
>
>


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

Subject: Re: [OS X TeX] TeX request
From: "Christopher Allen" 
Date: Thu, 23 Jun 2005 16:35:54 -0400

> I need help with a trick I want to perform. I want to be able to 
> display all the digits of
>
> 2!
> 10!
> 200!

Do you want all the digits, or do you want all the factors that 
generate them, or do you want some sort of summary of the digits? If 
you want all the digits, why not just use a computer to evaluate the 
factorials and print them? That's why I'm not sure what you want. If 
you want all the factors, why not use something like a for loop from 2 
to x with a print command inside of it? Start with a print command for 
"1," then print \times (index) or something like that on each iteration 
of the loop.

Chris 


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

Subject: Re: [OS X TeX] TeX request
From: "Chris Goedde" 
Date: Thu, 23 Jun 2005 15:41:55 -0500

On Jun 23, 2005, at 3:24 PM, Gerben Wierda wrote:

> Hello folks,
>
> I need help with a trick I want to perform. I want to be able to 
> display all the digits of
>
> 2!
> 10!
> 200!

Do you really need 200!?

A little googling turned up 
http://www.cs.umd.edu/Outreach/hsContest97/questions/node3.html which 
might provide a solution. I don't know if it will work for you, since 
their code may only work if the answer has fewer than 100 digits. (I'm 
also not sure what language it's written in.) I think that 200! has 
close to 400 digits in the answer, if my back-of-the-envelope answer is 
correct.

Chris


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

Subject: Re: [OS X TeX] TeX request
From: "Bruno Voisin" 
Date: Thu, 23 Jun 2005 22:53:29 +0200

Le 23 juin 05 =E0 22:41, Chris Goedde a =E9crit :

> On Jun 23, 2005, at 3:24 PM, Gerben Wierda wrote:
>
>> 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!
>
> Do you really need 200!?
>
> A little googling turned up http://www.cs.umd.edu/Outreach/=20
> hsContest97/questions/node3.html which might provide a solution. I =20
> don't know if it will work for you, since their code may only work =20
> if the answer has fewer than 100 digits. (I'm also not sure what =20
> language it's written in.) I think that 200! has close to 400 =20
> digits in the answer, if my back-of-the-envelope answer is correct.

In[1]:=3D
200!

Out[1]=3D
788657867364790503552363213932185062295135977687173263294742533244359449=20=

963403\
342920304284011984623904177212138919638830257642790242637105061926624952=20=

829931\
113462857270763317237396988943922445621451664240254033291864131227428294=20=

853277\
524242407573903240321257405579568660226031904170324062351700858796178922=20=

222789\
623703897374720000000000000000000000000000000000000000000000000

Which seems to make 376 digits. I'm impressed, and curious about your =20=

envelope: which algorithm did you use? Stirling's formula?

Bruno Voisin=

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

Subject: Re: [OS X TeX] TeX request
From: "Aaron Jackson" 
Date: Thu, 23 Jun 2005 16:53:53 -0400


On Jun 23, 2005, at 4:24 PM, Gerben Wierda wrote:

> Hello folks,
>
> I need help with a trick I want to perform. I want to be able to 
> display all the digits of
>
> 2!
> 10!
> 200!
>
> I need some sort of perl, ruby, bc or other way to produce all the 
> digits. Then I can use some TeX trickery (maybe from the diminuendo 
> trick from the showcase, or crescendo) to display them

I know this is late, but Googolator is a *very* nice Mac program for 
this type of calculation.

http://www.trevorrow.com/googolator/

Aaron


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

Subject: Re: [OS X TeX] TeX request
From: "Justin C. Walker" 
Date: Thu, 23 Jun 2005 13:57:08 -0700


On Jun 23, 2005, at 13:41 , Chris Goedde wrote:
> On Jun 23, 2005, at 3:24 PM, Gerben Wierda wrote:
>> Hello folks,
>>
>> I need help with a trick I want to perform. I want to be able to  
>> display all the digits of
>>
>> 2!
>> 10!
>> 200!
>
> Do you really need 200!?
>
> A little googling turned up http://www.cs.umd.edu/Outreach/ 
> hsContest97/questions/node3.html which might provide a solution. I  
> don't know if it will work for you, since their code may only work  
> if the answer has fewer than 100 digits. (I'm also not sure what  
> language it's written in.)

The language is Pascal; the 100-digit limit is a program limitation  
(the size of an array).

Maybe something like Ruby is useful, if you (Gerben) want to compute  
some function that will spit out potentially large numbers of digits.

e.g:

$ cat foo.rb
def fact(n) if n =3D=3D 1 then 1 else n*fact(n-1) end end
print fact(200), "\n"
$ ruby  foo.rb
788657867364790503552363213932185062295135977687173263294742533244359449 
963403342920304284011984623904177212138919638830257642790242637105061926 
624952829931113462857270763317237396988943922445621451664240254033291864 
131227428294853277524242407573903240321257405579568660226031904170324062 
351700858796178922222789623703897374720000000000000000000000000000000000 
000000000000000


>> I think that 200! has close to 400 digits in the answer, if my  
>> back-of-the-envelope answer is correct.

That's 375 :-}

Cheers,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
If you're not confused,
You're not paying attention
--------



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

Subject: Re: [OS X TeX] TeX request
From: "Jonathan Kew" 
Date: Thu, 23 Jun 2005 14:58:06 -0600


On 23 Jun 2005, at 2:24 pm, Gerben Wierda wrote:

> Hello folks,
>
> I need help with a trick I want to perform. I want to be able to  
> display all the digits of
>
> 2!
> 10!
> 200!
>

Something like this should give you the digits of 200!:

     dc -e "`perl -e 'print "1 ";foreach(2..200){print $_, "*"};print  
"p"'`"

(Works in bash; would need some adjustment for tcsh, I believe, as  
the quotes get confused.)

HTH,

JK


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

Subject: Re: [OS X TeX] TeX request
From: "Gary L. Gray" 
Date: Thu, 23 Jun 2005 17:01:36 -0400


On Jun 23, 2005, at 4:53 PM, Bruno Voisin wrote:

> Le 23 juin 05 =E0 22:41, Chris Goedde a =E9crit :
>
>
>> On Jun 23, 2005, at 3:24 PM, Gerben Wierda wrote:
>>
>>
>>> 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!
>>>
>>
>> Do you really need 200!?
>>
>> A little googling turned up http://www.cs.umd.edu/Outreach/=20
>> hsContest97/questions/node3.html which might provide a solution. I =20=

>> don't know if it will work for you, since their code may only work =20=

>> if the answer has fewer than 100 digits. (I'm also not sure what =20
>> language it's written in.) I think that 200! has close to 400 =20
>> digits in the answer, if my back-of-the-envelope answer is correct.
>>
>
> In[1]:=3D
> 200!
>
> Out[1]=3D
> 7886578673647905035523632139321850622951359776871732632947425332443594=20=

> 49963403\
> 3429203042840119846239041772121389196388302576427902426371050619266249=20=

> 52829931\
> 1134628572707633172373969889439224456214516642402540332918641312274282=20=

> 94853277\
> 5242424075739032403212574055795686602260319041703240623517008587961789=20=

> 22222789\
> 623703897374720000000000000000000000000000000000000000000000000
>
> Which seems to make 376 digits. I'm impressed, and curious about =20
> your envelope: which algorithm did you use? Stirling's formula?

I think it is 375. It got that with:

Norm[DigitCount[200!],1]

in Mathematica.

-- Gary

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

Subject: Re: [OS X TeX] TeX request
From: "Bruno Voisin" 
Date: Thu, 23 Jun 2005 23:20:29 +0200

Le 23 juin 05 =E0 23:01, Gary L. Gray a =E9crit :

> I think it is 375. It got that with:
>
> Norm[DigitCount[200!],1]
>
> in Mathematica.

You're of course perfectly right, I was using BBEdit to count =20
characters incorrectly. And thanks for pointing the use of =20
Mathematica itself for counting the digits. BTW, there's also:

Length[IntegerDigits[200!]]

Bruno=

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

Subject: Re: [OS X TeX] TeX request
From: "Peter Dyballa" 
Date: Fri, 24 Jun 2005 00:13:34 +0200


Am 23.06.2005 um 22:24 schrieb Gerben Wierda:

> I need help with a trick I want to perform. I want to be able to  
> display all the digits of
>
> 2!
> 10!
> 200!
>

calc in GNU Emacs used a few seconds for this:

200!  
788657867364790503552363213932185062295135977687173263294742533244359449 
963403342920304284011984623904177212138919638830257642790242637105061926 
624952829931113462857270763317237396988943922445621451664240254033291864 
131227428294853277524242407573903240321257405579568660226031904170324062 
351700858796178922222789623703897374720000000000000000000000000000000000 
000000000000000
  10! 3628800
   2! 2

The last two solutions look quite alright!

--
Greetings

   Pete

Remember: use logout to logout.


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

Subject: Re: [OS X TeX] TeX request
From: "Martin Costabel" 
Date: Fri, 24 Jun 2005 00:23:10 +0200

Gerben Wierda wrote:
> Hello folks,
> 
> I need help with a trick I want to perform. I want to be able to  
> display all the digits of
> 
> 2!
> 10!
> 200!

Here it is with bc:

echo 'n=3D200;k=3D1;while(n>0){k*=3Dn;n--};print k' | bc

-- 
Martin


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