From MacOSX-TeX@email.esm.psu.edu Wed Jun 22 19:57:20 2005
Received: from engremail.engr.psu.edu ([130.203.201.4]) by ENGRMAIL1.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 22 Jun 2005 19:57:20 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by engremail.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 22 Jun 2005 19:57:19 -0400
Date: Wed, 22 Jun 2005 20:00:13 -0400
Message-ID: <15213.47881@email.esm.psu.edu>
Subject: MacOSX-TeX Digest #1411 - 06/22/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: 22 Jun 2005 23:57:19.0475 (UTC) FILETIME=[1FEB1430:01C57786]

MacOSX-TeX Digest #1411 - Wednesday, June 22, 2005

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

  TeX to word on Mac
          by "George Ghio" 

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

  Re: [OS X TeX] TeX to word on Mac
          by "scheissenochmal2003@yahoo.de" 

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

  Tex4ht Problem?
          by "Herbert Schulz" 

  Re: [OS X TeX] TeX to word on Mac
          by "Adam R. Maxwell" 

  [OS X TeX] Tex4ht Problem?
          by "Eitan Gurari" 


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

Subject: Re: [OS X TeX] Printing wrong from Acrobat, right from TeXShop
From: "Peter Dyballa" 
Date: Wed, 22 Jun 2005 10:46:27 +0200


Am 21.06.2005 um 23:46 schrieb Josep M.Font:

> Since some weeks, a strange problem happens to me from time to 
> time--not always: If I try to print from Acrobat Reader a pdf file 
> produced by some TeX variety, some fonts, not all, seem to be missing 
> and are substituted by courier, with wrong spacing, etc. This seems to 
> happen with only some sizes of cmr, since \Large, \textbf, \textsc, 
> maths, etc. print OK. The file is correctly viewed on screen, and 
> moreover if I open it with TeXShop--even when it was produced in 
> another computer with another TeX--then it prints correctly!
>

Hello!

At the end you mention some details about your system, but nothing 
about the Acrobat or Adobe Reader's version.

The things you describe shouldn't happen because the CM fonts are 
embedded as PostScript fonts (I assume that you're not using the PK 
bitmaps). A failure can happen when you're already viewing the PDF 
output of your TeX source, correct a little mistake, and invoke pdfTeX 
again. The Adobe products are not reliably handling this! It helps to 
close this file and re-open it from the list of recent documents.

There too is a chance that Adobe adds something to the data stream sent 
to the printer, particularly when it's an HP LaserJet. These have a 
'pre-processor' that tries to guess what kind of data it is that 
arrives now, in case it's not marked being of any kind. It can be ASCII 
data, it can be PCL, it can be PostScript -- and it can be PDF. You 
should make some experiments with other printers, EPSON EPL-5800/5900 
are quite reliable and exact. You too could install an HP software, HP 
WebJetAdmin, to control, serve (firmware updates), and survey the 
printer. Maybe it produces some error report that can be sent to you by 
eMail.

There too is cmap.sty from Vladimir Volovich (with help from Han The 
Thanh, Werner Lemberg et al). This package manipulates the embedded 
fonts in the PDF file by adding a cmap property, that translates the 
code points to Unicode. It makes pdfTeX output searchable, and 
cut&paste pastes the right characters into the target document. It's 
usage is easy:

	\usepackage{cmap}

just after the \documentclass line.

--
Greetings

   Pete

"Whatever you do will be insignificant, but it is very important that
  you do it."  Mahatma Ghandi


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

Subject: TeX to word on Mac
From: "George Ghio" 
Date: Wed, 22 Jun 2005 21:07:24 +1000

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?

George L Ghio
Solar Power Consultant


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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "Peter Dyballa" 
Date: Wed, 22 Jun 2005 13:35:14 +0200


Am 22.06.2005 um 13:07 schrieb George Ghio:

> Question;  How do I get output from TeX to RTF or word on my Mac? or 
> convert PDF to RTF or word?
>

IMO HTML output is the better choice, seems to have better convertors; 
and you can edit the output to look more like you intended. teTeX has 
tex4ht, or it's in an i-Package, but there's also HEVEA, 
http://pauillac.inria.fr/~maranget/hevea/. Could be you'll need to 
compile the *latest* sources, for which you'll need an Ocaml compiler 
(Objective Caml, Fink provides). Hevea has also its own list: 
http://www3.inrets.fr/wws/info/hevea/.

--
Greetings

   Pete

 From error to error, one discovers the entire truth.
                                                             -Sigmund 
Freud


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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "scheissenochmal2003@yahoo.de" 
Date: Wed, 22 Jun 2005 13:35:19 +0200

Hi,

I had the same problem once. There are several possibilities.
A good overview is given an this page:
http://www.csit.fsu.edu/~mimi/tex/doc/guides/wp-conv/textopc.html

My experiences:
latex2rtf is available as an i-Installer package, but it requires some 
fiddling around with the latex sources in my experience.

To convert PDF to RTF, a commercial program is Textlightning, which does 
its job quite ok (but page numbers and column titles etc. are not 
recognized).
http://www.metaobject.com/Products.html#TextLightning

I am sure you can find something that matches your needs.

Stephan

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?
> 
> George L Ghio
> Solar Power Consultant
> 
> --------------------- 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: 
> 
> 
> 

	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier =
anmelden: http://mail.yahoo.de

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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "Bob Kerstetter" 
Date: Wed, 22 Jun 2005 07:21:36 -0500


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/


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

Subject: Tex4ht Problem?
From: "Herbert Schulz" 
Date: Wed, 22 Jun 2005 08:12:30 -0500

Howdy,

I used to get a nicely formatted table using htlatex on the source  
below. The compile options (i.e., first option list after the file  
name) to compile was "html, pic-m, pic-tabular, pic-fbox" (as in the  
commented out \usepackage) and it was compiled via CLI.  Of course  
the table and all of its contents were really graphical images but  
they looked nice on the screen. Somewhere along the line things went  
bad and with the latest 2005 gwTeX the image of the table isn't even  
built. If I leave out the options or change $...$ to \(...\) I get  
something but it's really ugly.

---------- snip ----------
%!TEX TS-program =3D htlatex
\documentclass[11pt]{article}
%\usepackage{tmmtmx}
%\usepackage[html, pic-m, pic-tabular, pic-fbox]{tex4ht}

\begin{document}
\noindent This is a fancy table from the \TeX Book written in \LaTeX 
\  which includes mathematics within it:
\begin{center}
\setlength\fboxrule{0.7pt}%
\setlength\fboxsep{0pt}%
\newcommand\tblstrut[2][0 pt]{\rule[-#1]{0 pt}{#1}\rule{0 pt}{#2}}%
\newcommand\erf{\mathop{\mathrm{erf}}}%
\fbox{%
\begin{tabular}{l|r@{$\displaystyle{}=3D{}$}l}
     \tblstrut[9 pt]{14 pt} \textit{Name} &
\multicolumn{2}{c}{\textit{Definition}} \\
     \hline
     \tblstrut[15 pt]{20 pt} Gamma & $\displaystyle\Gamma(z)$ & $ 
\displaystyle\int_0^\infty\!\!t^{z-1}e^{-t}\,dt$ \\
     \hline
     \tblstrut[15 pt]{20 pt} Sine & $\displaystyle\sin(x)$ &
$\displaystyle\frac1{2i}(e^{ix} - e^{-ix})$ \\
     \hline
     \tblstrut[15 pt]{20 pt} Error & $\displaystyle\erf(z)$ &
$\displaystyle\frac2{\sqrt\pi}\int_0^z\!\!e^{-z^2}\,dz$ \\
     \hline
     \tblstrut[15 pt]{20 pt} Bessel & $\displaystyle J_0(z)$ &
$\displaystyle\frac1{\pi}\int_0^\pi\!\!\cos(z\sin\theta)\,d\theta$ \\
     \hline
     \tblstrut[15 pt]{20 pt} Zeta & $\displaystyle\zeta(s)$ &
$\displaystyle\sum_{k=3D1}^\infty k^{-s}\quad(\Re s>1)$
\end{tabular}}
\end{center}
\end{document}
---------- snip ----------

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] TeX to word on Mac
From: "Adam R. Maxwell" 
Date: Wed, 22 Jun 2005 06:13:48 -0700


On Jun 22, 2005, at 04:35, Peter Dyballa wrote:

>
> Am 22.06.2005 um 13:07 schrieb George Ghio:
>
>
>> Question;  How do I get output from TeX to RTF or word on my Mac?  
>> or convert PDF to RTF or word?
>>
>>
>
> IMO HTML output is the better choice, seems to have better  
> convertors; and you can edit the output to look more like you  
> intended.

Are you now able to edit equations directly in Word?  I use latex2rtf  
for that reason (plus the support for natbib/apalike citations), and  
I've been quite happy with the output.  Not all packages or options  
are supported, but a motivated C programmer can fix that :).

-- 
Adam



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

Subject: [OS X TeX] Tex4ht Problem?
From: "Eitan Gurari" 
Date: Wed, 22 Jun 2005 10:32:49 -0400


Herbert,

Can the problem be related to tmmtmx.sty?  I couldn't locate that file
in ctan and google.  Without that file I get the output

    http://www.cse.ohio-state.edu/~gurari/temp/herb.html

which seems to be fine.

Can you email me the .log file, the messages issued by tex4ht.c, and a
pointer to tmmtmx, to allow me a closer look at the problem.

-eitan


 > I used to get a nicely formatted table using htlatex on the source  
 > below. The compile options (i.e., first option list after the file  
 > name) to compile was "html, pic-m, pic-tabular, pic-fbox" (as in the  
 > commented out \usepackage) and it was compiled via CLI.  Of course  
 > the table and all of its contents were really graphical images but  
 > they looked nice on the screen. Somewhere along the line things went  
 > bad and with the latest 2005 gwTeX the image of the table isn't even  
 > built. If I leave out the options or change $...$ to \(...\) I get  
 > something but it's really ugly.
 > 
 > ---------- snip ----------
 > %!TEX TS-program =3D htlatex
 > \documentclass[11pt]{article}
 > %\usepackage{tmmtmx}
 > %\usepackage[html, pic-m, pic-tabular, pic-fbox]{tex4ht}
 > 
 > \begin{document}
 > \noindent This is a fancy table from the \TeX Book written in \LaTeX 
 > \  which includes mathematics within it:
 > \begin{center}
 > \setlength\fboxrule{0.7pt}%
 > \setlength\fboxsep{0pt}%
 > \newcommand\tblstrut[2][0 pt]{\rule[-#1]{0 pt}{#1}\rule{0 pt}{#2}}%
 > \newcommand\erf{\mathop{\mathrm{erf}}}%
 > \fbox{%
 > \begin{tabular}{l|r@{$\displaystyle{}=3D{}$}l}
 >      \tblstrut[9 pt]{14 pt} \textit{Name} &
 > \multicolumn{2}{c}{\textit{Definition}} \\
 >      \hline
 >      \tblstrut[15 pt]{20 pt} Gamma & $\displaystyle\Gamma(z)$ & $ 
 > \displaystyle\int_0^\infty\!\!t^{z-1}e^{-t}\,dt$ \\
 >      \hline
 >      \tblstrut[15 pt]{20 pt} Sine & $\displaystyle\sin(x)$ &
 > $\displaystyle\frac1{2i}(e^{ix} - e^{-ix})$ \\
 >      \hline
 >      \tblstrut[15 pt]{20 pt} Error & $\displaystyle\erf(z)$ &
 > $\displaystyle\frac2{\sqrt\pi}\int_0^z\!\!e^{-z^2}\,dz$ \\
 >      \hline
 >      \tblstrut[15 pt]{20 pt} Bessel & $\displaystyle J_0(z)$ &
 > $\displaystyle\frac1{\pi}\int_0^\pi\!\!\cos(z\sin\theta)\,d\theta$ \\
 >      \hline
 >      \tblstrut[15 pt]{20 pt} Zeta & $\displaystyle\zeta(s)$ &
 > $\displaystyle\sum_{k=3D1}^\infty k^{-s}\quad(\Re s>1)$
 > \end{tabular}}
 > \end{center}
 > \end{document}

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