MacOSX-TeX Digest #246 - 02/24/02

TeX on Mac OS X Mailing List MacOSX-TeX at email.esm.psu.edu
Sun Feb 24 20:00:01 EST 2002


MacOSX-TeX Digest #246 - Sunday, February 24, 2002

  Re: [Mac OS X TeX] landscape mode
          by "Paolo Ghirardato" <paolo at hss.caltech.edu>
  Re: [Mac OS X TeX] prosper
          by "Gerben Wierda" <sherlock at rna.nl>
  latex2rtf on mac os x
          by <christoph.lehmann at unifr.ch>
  Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
          by "Chip Brock" <brock at pa.msu.edu>
  Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
          by "Enrico Franconi" <franconi at cs.man.ac.uk>
  Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
          by "Chip Brock" <brock at pa.msu.edu>
  Warning on Mac OS X 10.1.3 and TeX.dmg
          by "Gerben Wierda" <sherlock at rna.nl>
  Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer (experimental)
          by "Piet van Oostrum" <piet at cs.uu.nl>
  Re: [Mac OS X TeX] latex2rtf on mac os x
          by "Ross Moore" <ross at ics.mq.edu.au>
  False alarm: Warning on Mac OS X 10.1.3 and TeX.dmg
          by "Gerben Wierda" <sherlock at rna.nl>
  Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
          by "Enrico Franconi" <franconi at cs.man.ac.uk>


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

Subject: Re: [Mac OS X TeX] landscape mode
From: "Paolo Ghirardato" <paolo at hss.caltech.edu>
Date: Sun, 24 Feb 2002 08:53:39 +0100

>  > The question is this: I have a slide document that starts
>>
>>  \documentclass[landscape]{slides}
>   \usepackage{hyperref}
>   ^^^^^^^^^^^^^^^^^^^^^-----  try this, even if you don't use
>                               any of the special features that
>                               the  hyperref  package provides.
>
>>
>>  However, when I typeset it with TeXShop (and iTeXMac, for that
>>  matter), the final output is vertical, with the obvious cropping of
>>  long equations, etc.
>>  I tried changing the page setup (within the program) and typesetting
>>  again, but unsurprisingly that changed nothing. I tried looking at
>>  the pdf file with Acrobat, again to find vertical slides.
>
>The problem is that you need to rotate the paper,
>not just change the shape of the typesetting rectangle.
>
>With pdfTeX this means setting 
>   \pdfpageheight  and  \pdfpagewidth
>to agree with the \paperheight and \paperwidth  parameters
>(not the \textheight and \textwidth ).
>
>BTW, the "Page Setup" is irrelevant, as this is not connected
>to the coding inside the TeX source of your document
>  --- though perhaps it could be; it would have to be done
>carefully, to not conflict with coding from packages.
>
>
>>  Can anyone remind me how to fix this?
>
>If simply loading  hyperref  isn't enough, then in LaTeX try:
>
>\AtBeginDocument{\pdfpageheight=\paperheight
>  \pdfpagewidth=\paperwidth}
>
>In Plain TeX, just drop the \AtBeginDocument{....} wrapping.
>
>Hope this helps,

Just loading hyperref solved the problem.
Thanks a lot, Ross!

Paolo

PS: I also got an email from Dick Koch, who told me that he's trying 
to look into how to fix this in future releases of TeXShop.

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

Subject: Re: [Mac OS X TeX] prosper
From: "Gerben Wierda" <sherlock at rna.nl>
Date: Sun, 24 Feb 2002 10:19:14 +0100

On Friday, February 22, 2002, at 01:18 , Michel Durinx wrote:

> 1. I never got prosper to work with OzTeX under OS 9
> 2. However, it worked perfectly from day one under OS X with 
> teTeX/texshop, and I really like the ease + result.
> [ Only choose the 'dvips + ghostscript' option every time you open the 
> file. Why does a file not remember which option it prefers?]

The simple answer is: because TeX is a portable format that does not 
know anything about frontends. There is a very simple mechanism to tell 
a file what frmat it needs (LATeX, plain TeX, etc) but it cannot handle 
the tex/pdftex difference.

I have been working on a solution for this, but it is not finished yet.

G


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

Subject: latex2rtf on mac os x
From: <christoph.lehmann at unifr.ch>
Date: Sun, 24 Feb 2002 14:01:41 +0100

Hi
I need a good! tool which lets  me convert my .tex or my .pdf in .rtf or 
.doc. Anybody who could recommend me a good tool!
thanks a lot
christoph


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

Subject: Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
From: "Chip Brock" <brock at pa.msu.edu>
Date: Sun, 24 Feb 2002 09:39:08 -0500

hi
I liked the sound of this, so I installed it. There was a warning on
installation:

[me:~/Desktop/mac-emacs-install] me% sudo ./mac-emacs-install myg4
* Binary installed on the Desktop
* Scripting addition installed
* Library installed in ~me/Library/mac-emacs
Warning: /myg4 already exists
* Root link not installed
[me:~/Desktop/mac-emacs-install] me%

When I open a file (the Latex2e.tex file from the examples in iTeXmac), I
indeed see the pretty color-coded file. I choose Latex2e and then View from
Command and I get

Running `View' on `/_region_' with ``~/Library/mac-emacs/bin/dvipdf
_region_.dvi;open -a 'Acrobat Reader 5.0' _region_.pdf ''
/Users/brock/Library/mac-emacs/bin/dvipdf: command not found: dvips [33]
/Users/brock/Library/mac-emacs/bin/dvipdf: command not found: gs [34]
2002-02-24 09:35:35.742 open[482] No such file: /_region_.pdf


and indeed a _region_.tex file on my desktop, but nothing happens. If I do
LatexPDF, the same stuff happens. If I then do C-c C-l, I get Acrobat reader
opening, but no file, as there isn't one to open.

I'm doing something stupid?

thanks

Ray Brock



On 2/23/02 7:26 PM, "Enrico Franconi" <franconi at cs.man.ac.uk> wrote:

> Download at: http://www.cs.man.ac.uk/~franconi/mac-emacs/
> 
> This is a wrapper around the emacs-21.1 for MacOSX available at
> http://www.porkrind.org/emacs/
> providing a complete fully customisable LaTeX editing environment.
> This is intended only to play with LaTeX on the MacOSX port of
> emacs-21. Do not take it seriously, since the port is still alpha
> software. It is nice, since it does not require X11. However, if you
> want a really robust environment, you should use it with emacs-20.7 on
> X11 (from fink); I use it every day since months. If somebody is
> interested, I can post the installer for emacs-20.7 on X11 as well.
> 
> To install type from a terminal:
> sudo ./mac-emacs-install machine-name
> where machine-name is the name of your computer;
> type your password when requested.
> 
> The installer will:
> - install the mac-emacs program on the Desktop
> - install "OSX PowerAddOns Lite.osax" in /System/Library/ScriptingAdditions
> - install the mac-emacs library in ~/Library/mac-emacs
> (it overwrites a previous installation)
> - create the symbolic link /machine-name --> /
> 
> Notes:
> - you can drag-and-drop files on the mac-emacs icon.
> - mac-emacs requires to have the Emacs program installed in /Applications.
> - mac-emacs requires a working installation of teTeX and ghostview (no X11).
> - mac-emacs can be copied anywhere.
> - mac-emacs loads automatically the file ~/.mac-emacs if it exists.
> You can study the file ~/Library/mac-emacs/site-lisp/loadup.el
> - To edit the LaTeX Command menu, look at
> ~/Library/mac-emacs/site-lisp/auctex/tex-site.el
> - You can customise also the dvipdf converter in
> ~/Library/mac-emacs/bin/dvipdf
> - To have full spelling checking capabilities, install "ispell" from
> fink. The latest precompiled binary is usually available with dselect.
> - If you have emacs for X11 installed, you can use it as follows:
> emacs -q -l ~/Library/mac-emacs/site-lisp/loadup.el
> 
> Documented limitations of http://www.porkrind.org/emacs/ :
> - This port of Emacs does not support 3 buttons mice.
> - Serious bug: if you start a subordinate process (for example a LaTeX
> compilation), the window for the output of that process is not
> always updated to the end. This means that the auctex interface does
> not always correctly capture the end of the process, even if it is
> finished.
> 
> To play with it, open a .tex file; from the command menu (or with C-c
> C-c) select "latex" and, if the compilation is successful, then "view".
> 
> COMMENTS and SUGGESTIONS WELCOME!
> 
> Enrico Franconi                     - franconi at cs.man.ac.uk
> University of Manchester            - http://www.cs.man.ac.uk/~franconi/
> Department of Computer Science      - Phone: +44 (161) 275 6170
> Manchester M13 9PL, UK              - Fax:   +44 (161) 275 6204
> 
> -----------------------------------------------------------------
> 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.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
> 

----------------------------------------------------------------------------
Raymond Brock  *  Professor of Physics
Department of Physics and Astronomy
Michigan State University  *  East Lansing, MI  48824
brock at pa.msu.edu

cell..............(517)927-5447
hep office........(517)353-1693
open fax..........(517)355-6661
secure fax........(517)351-0688
Fermilab office...(630)840-2286
CERN Office:...40 5-C31 * 76-71258

Home:     http://www.pa.msu.edu/~brock/
Snowmass: http://snowmassserver.snowmass2001.org/Working_Group_E4/




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

Subject: Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
From: "Enrico Franconi" <franconi at cs.man.ac.uk>
Date: Sun, 24 Feb 2002 15:27:41 +0000

On February 24, Chip Brock writes:
> When I open a file (the Latex2e.tex file from the examples in
> iTeXmac), I indeed see the pretty color-coded file. I choose Latex2e
> and then View from Command and I get
> 
> Running `View' on `/_region_' with ``~/Library/mac-emacs/bin/dvipdf
> _region_.dvi;open -a 'Acrobat Reader 5.0' _region_.pdf ''
> /Users/brock/Library/mac-emacs/bin/dvipdf: command not found: dvips [33]
> /Users/brock/Library/mac-emacs/bin/dvipdf: command not found: gs [34]
> 2002-02-24 09:35:35.742 open[482] No such file: /_region_.pdf

Most likely you don't have dvips and gs installed, or they are not
accessible thru the PATH shell variable. What happens if you do a 
which dvips
from the terminal?

cheers
-- e.

Enrico Franconi                     - franconi at cs.man.ac.uk
University of Manchester            - http://www.cs.man.ac.uk/~franconi/
Department of Computer Science      - Phone: +44 (161) 275 6170
Manchester M13 9PL, UK              - Fax:   +44 (161) 275 6204

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

Subject: Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
From: "Chip Brock" <brock at pa.msu.edu>
Date: Sun, 24 Feb 2002 10:34:21 -0500

hi
This is what happens:

[me:~/Desktop/mac-emacs-install] me% dvips
This is dvips(k) 5.86d Copyright 1999 Radical Eye Software
(www.radicaleye.com)
Missing DVI file argument (or -f).
Try --help for more information.
[me:~/Desktop/mac-emacs-install] me% gs
Aladdin Ghostscript 6.01 (2000-03-17)
Copyright (C) 2000 Aladdin Enterprises, Menlo Park, CA.  All rights
reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>

also

[me:~/Desktop/mac-emacs-install] me% echo $PATH
/Users/me/bin/powerpc-apple-darwin:/Users/me/bin:/usr/local/bin:/usr/bin:/bi
n:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/teTeX/bin/powerpc-apple-darwin-
current
[me:~/Desktop/mac-emacs-install] me% which dvips
/usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips
[me:~/Desktop/mac-emacs-install] me%

I've a pretty standard TexShop installation with of course tetex...

thanks,
Ray

On 2/24/02 10:27 AM, "Enrico Franconi" <franconi at cs.man.ac.uk> wrote:

> On February 24, Chip Brock writes:
>> When I open a file (the Latex2e.tex file from the examples in
>> iTeXmac), I indeed see the pretty color-coded file. I choose Latex2e
>> and then View from Command and I get
>> 
>> Running `View' on `/_region_' with ``~/Library/mac-emacs/bin/dvipdf
>> _region_.dvi;open -a 'Acrobat Reader 5.0' _region_.pdf ''
>> /Users/brock/Library/mac-emacs/bin/dvipdf: command not found: dvips [33]
>> /Users/brock/Library/mac-emacs/bin/dvipdf: command not found: gs [34]
>> 2002-02-24 09:35:35.742 open[482] No such file: /_region_.pdf
> 
> Most likely you don't have dvips and gs installed, or they are not
> accessible thru the PATH shell variable. What happens if you do a
> which dvips
> from the terminal?
> 
> cheers
> -- e.
> 
> Enrico Franconi                     - franconi at cs.man.ac.uk
> University of Manchester            - http://www.cs.man.ac.uk/~franconi/
> Department of Computer Science      - Phone: +44 (161) 275 6170
> Manchester M13 9PL, UK              - Fax:   +44 (161) 275 6204
> 
> -----------------------------------------------------------------
> 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.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------
> 

----------------------------------------------------------------------------
Raymond Brock  *  Professor of Physics
Department of Physics and Astronomy
Michigan State University  *  East Lansing, MI  48824
brock at pa.msu.edu

cell..............(517)927-5447
hep office........(517)353-1693
open fax..........(517)355-6661
secure fax........(517)351-0688
Fermilab office...(630)840-2286
CERN Office:...40 5-C31 * 76-71258

Home:     http://www.pa.msu.edu/~brock/
Snowmass: http://snowmassserver.snowmass2001.org/Working_Group_E4/




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

Subject: Warning on Mac OS X 10.1.3 and TeX.dmg
From: "Gerben Wierda" <sherlock at rna.nl>
Date: Sun, 24 Feb 2002 21:58:00 +0100

I have just discovered that the ncurses tcdialog utility that is behind 
the interactive part of texconfig crashes on Mac OS X 10.1.3 (where it 
works fine on earlier versions of Mac OS X).

I will try to investigate, but this might be a tough nut to crack. So be 
warned: when upgrading to Mac OS X 10.1.3 you might actually loose the 
ability to run the interactive mode of texconfig.

Yours,

G


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

Subject: Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer (experimental)
From: "Piet van Oostrum" <piet at cs.uu.nl>
Date: 24 Feb 2002 22:12:39 +0100

>>>>> Enrico Franconi <franconi at cs.man.ac.uk> (EF) writes:

EF> - Serious bug: if you start a subordinate process (for example a LaTeX
EF>   compilation), the window for the output of that process is not
EF>   always updated to the end. This means that the auctex interface does
EF>   not always correctly capture the end of the process, even if it is
EF>   finished.

Andrew Choi has a patch for this.
-- 
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: [Mac OS X TeX] latex2rtf on mac os x
From: "Ross Moore" <ross at ics.mq.edu.au>
Date: Mon, 25 Feb 2002 08:44:13 +1100 (EST)

> Hi
> I need a good! tool which lets  me convert my .tex or my .pdf in .rtf or 
> .doc. Anybody who could recommend me a good tool!
> thanks a lot

The recommended ways are to process your .tex file into HTML first,
using either TeX4ht or LaTeX2HTML (my preference),
then read the HTML document using M$Word, and resave as RTF or whatever.

This way you get a reliable translation of the text and TeX-typeset
images of the mathematics and figures.
Also, you get an HTML version that can be read on any platform,
without requiring proprietary software. (Indeed, it may be that
you decide that you don't really need to go the last step.)

Expect to do some adjustment of optional parameters for the translation
to HTML, to suit the contents of your document, and/or adjust the 
resolution of the generated images.


Better still is to convince your intended recipient to accept PDF;
so just use pdfTeX for the best possible quality that your
manuscript deserves.


Hope this helps,

	Ross Moore


> christoph
> 
> 
> -----------------------------------------------------------------
> 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.
> This list is not moderated, and I am not responsible for
> messages posted by third parties.
> -----------------------------------------------------------------


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

Subject: False alarm: Warning on Mac OS X 10.1.3 and TeX.dmg
From: "Gerben Wierda" <sherlock at rna.nl>
Date: Sun, 24 Feb 2002 23:10:05 +0100

False alarm.

On Sunday, February 24, 2002, at 09:58 , Gerben Wierda wrote:

> I have just discovered that the ncurses tcdialog utility that is behind 
> the interactive part of texconfig crashes on Mac OS X 10.1.3 (where it 
> works fine on earlier versions of Mac OS X).
>
> I will try to investigate, but this might be a tough nut to crack. So 
> be warned: when upgrading to Mac OS X 10.1.3 you might actually loose 
> the ability to run the interactive mode of texconfig.

I have discovered the reason for this problem and it was a local setting.

G


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

Subject: Re: [Mac OS X TeX] Emacs (no X11) with LaTeX installer	(experimental)
From: "Enrico Franconi" <franconi at cs.man.ac.uk>
Date: Sun, 24 Feb 2002 23:06:45 +0000

On Sun, 24 Feb, 2002 Chip Brock wrote:
>I've a pretty standard TexShop installation with of course tetex...

OK, I've found the problem, sorry. I can't upload the patch now, 
but you can patch it yourself. You should add 
tcsh -c "..."
to the last two lines of the file ~/Library/mac-emacs/bin/dvipdf
The last two lines should look as follows:

tcsh -c "dvips -ta4 -Ppdfq -G0 -f $infile -o $base.ps"
tcsh -c "gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -
dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -
dAutoFilterGrayImages=false -dGrayImageFilter=FlateEncode -
sOutputFile=$outfile -sPAPERSIZE=a4 $base.ps"

cheers
-- e.

Enrico Franconi                     - franconi at cs.man.ac.uk
University of Manchester            - http://www.cs.man.ac.uk/~franconi/
Department of Computer Science      - Phone: +44 (161) 275 6170
Manchester M13 9PL, UK              - Fax:   +44 (161) 275 6204



----------------------------------------------------------------------
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.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------


More information about the MacOSX-TeX mailing list