From MacOSX-TeX@email.esm.psu.edu Fri May 27 19:57:35 2005
Received: from engremail2.engr.psu.edu ([130.203.201.116]) by ENGRMAIL1.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Fri, 27 May 2005 19:57:35 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by engremail2.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713);
	 Fri, 27 May 2005 19:57:32 -0400
Date: Fri, 27 May 2005 20:00:13 -0400
Message-ID: <68813.11362@email.esm.psu.edu>
Subject: MacOSX-TeX Digest #1385 - 05/27/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 (0522) 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: 27 May 2005 23:57:32.0903 (UTC) FILETIME=[D92E8770:01C56317]

MacOSX-TeX Digest #1385 - Friday, May 27, 2005

  Re: [OS X TeX] A suggestion for NewPdftricks (or for pdftricks in general
          by "Ross Moore" 

  Re: [OS X TeX] A suggestion for NewPdftricks (or for pdftricks in general
          by "Herbert Schulz" 

  Re: [OS X TeX] A suggestion for NewPdftricks (or for pdftricks in general
          by "Franck Pastor" 

  Multiple bibliographies
          by "Johan Almqvist" 

  Re: [OS X TeX] Multiple bibliographies
          by "Dominique Thillaud" 

  [OT] Re: [OS X TeX] Multiple bibliographies
          by "Johan Almqvist" 

  custom bib styles in bibdesk
          by "Bilal Barakat" 

  Re: [OS X TeX] custom bib styles in bibdesk
          by "Martin Stokhof" 

  Re: [OS X TeX] custom bib styles in bibdesk
          by "Johan Almqvist" 

  Re: [OS X TeX] custom bib styles in bibdesk
          by "Peter Dyballa" 

  [OT] Mail & Top Posting
          by "Herbert Schulz" 

  X11
          by "Rodrigo Banuelos" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Bruno Voisin" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Justin Walker" 

  Re: [OS X TeX] X11
          by "Joseph C. Slater" 

  Re: [OS X TeX] X11
          by "Herbert Schulz" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Herbert Schulz" 

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

  OT -- Spotlight
          by "Rene Borgella" 

  Re: [OS X TeX] OT -- Spotlight
          by "Herbert Schulz" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Bruno Voisin" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Herbert Schulz" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Bruno Voisin" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Herbert Schulz" 

  Re: [OS X TeX] X11
          by "Gerben Wierda" 

  Re: [OS X TeX] [OT] Tiger
          by "Gerben Wierda" 

  Re: [OS X TeX] [OT] Mail & Top Posting
          by "Bruno Voisin" 

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

  Re: [OS X TeX] X11
          by "Ettore Aldrovandi" 

  Auto-abort in TeXShop
          by "Chris Goedde" 

  What encoding should I use?
          by "Friedrich Vosberg" 


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

Subject: Re: [OS X TeX] A suggestion for NewPdftricks (or for pdftricks in general)
From: "Ross Moore" 
Date: Fri, 27 May 2005 10:15:00 +1000


On 26/05/2005, at 4:47 PM, Franck Pastor wrote:

>
> Le 26-mai-05, =E0 03:28, Herb Schulz a =E9crit :
>
> 
>>  You can pick up the changed file
>> from my download site, , as
>> NewPdftricks.zip. I will try to make this an option to pdftricks with=20=

>> the
>> default being no auto-rotation but I'll need a little time.
>>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs@wideopenwest.com)
>
> What about making an option to NewPdftricks for the font size (if you=20=

> have time enough, of course, and if it's possible) ? i.e, something=20
> like
>
> \usepackage[12pt]{pdftricks}
>
>  Up to know, even if the principal document begins with=20
> "\documentclass[12pt]{article}", the header of each pdftricks file=20
> ("file-fig1.tex", "file-fig2.tex") still is  "\documentclass{article}"=20=

> only, without the font size option :-( Hence the labels in the figures=20=

> are far too small...
>
> I have found a workaround : I add "\fontsize{12pt}\selectfont" at the=20=

> beginning of each pspicture :

There is a much easier way to solve this.

  pdftricks.sty  has a macro  \BeforeStream  that determines what goes
at the beginning of each job that creates an image; viz.

\def\BeforeStream
    {\message{Opening PDFStream=3D\PDFTfigname.tex}%
     \immediate\write\verbatim@out{\string\documentclass{article}}
     \immediate\write\verbatim@out{\string\input\space tmp.inputs}
     \immediate\write\verbatim@out{\string\pagestyle{empty}}
     \immediate\write\verbatim@out{\string\begin{document}}
     }

This is defined when the package is loaded.
So to get 12pt sizes, just do a redefinition to include the desired=20
option;
as follows:


\makeatletter  %  not necessary if done within a package

\def\BeforeStream
    {\message{Opening PDFStream=3D\PDFTfigname.tex}%
     \immediate\write\verbatim@out{\string\documentclass[12pt]{article}}
     \immediate\write\verbatim@out{\string\input\space tmp.inputs}
     \immediate\write\verbatim@out{\string\pagestyle{empty}}
     \immediate\write\verbatim@out{\string\begin{document}}
     }

\makeatother


This should fix it for all the images.

>
> \begin{pdfdisplay}
> \begin{pspicture}(0,0),(5,5)
> 	\fontsize{12pt}\selectfont
> 	....
> \end{pspicture}
> \end{pspicture}
>
> But it's a bit annoying if you  numerous pictures...

Of course. Doing something in every picture is not the desirable
way to go.

Modifying the  \BeforeStream  header is one way to avoid this.


Another is to place the  \fontsize{12pt}\selectfont   coding
into the   tmp.inputs  file.
This can be done using the  {psinputs} environment.

One or more of the following, when placed into your LaTeX
document's preamble,  should do what you want:

   \begin{psinputs}
     \fontsize{12pt}\selectfont
   \end{psinputs}

   \begin{psinputs}
     \AtBeginDocument{\fontsize{12pt}\selectfont}
   \end{psinputs}

   \begin{psinputs}
     \renewcommand{\normalsize}{\fontsize{12pt}\selectfont}
   \end{psinputs}


   \begin{psinputs}
     \AtBeginDocument{%
      \renewcommand{\normalsize}{\fontsize{12pt}\selectfont}%
      \normalsize }
   \end{psinputs}


However, this only affects the size of your main font.
Any other font-switches, such as  \small  \large, \LARGE,
\footnotesize  etc.  as well as  super-/subscripts in math
will still be setup for a 10pt document.

So it's probably better to use the  \BeforeStream  solution.

>
> However, NewPdftricks remains the most reliable way (IMO) to get=20
> pstricks pictures with pdflatex.

An option to  NewPdftricks , as Herb says he is preparing,
should be based on adjusting the contents of  \BeforeStream .


>  For example, ps4pdf still works very badly pst-3dplot, the pstricks=20=

> package I use most of the time...
>

I've not encountered such problems with ps4pdf , which I use extensively
in a very large Encyclopaedia project.
Can you please post an example that gives bad results.



> Best regards,


Hope this helps,

	Ross Moore


>
> Franck Pastor
>
> --------------------- 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: 
>
>
>
>
------------------------------------------------------------------------
Ross Moore                                         ross@maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------


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

Subject: Re: [OS X TeX] A suggestion for NewPdftricks (or for pdftricks in general)
From: "Herbert Schulz" 
Date: Thu, 26 May 2005 20:16:10 -0500


On May 26, 2005, at 7:15 PM, Ross Moore wrote:

> ... There is a much easier way to solve this.
>
>  pdftricks.sty  has a macro  \BeforeStream  that determines what goes
> at the beginning of each job that creates an image; viz.
>
> \def\BeforeStream
>    {\message{Opening PDFStream=3D\PDFTfigname.tex}%
>     \immediate\write\verbatim@out{\string\documentclass{article}}
>     \immediate\write\verbatim@out{\string\input\space tmp.inputs}
>     \immediate\write\verbatim@out{\string\pagestyle{empty}}
>     \immediate\write\verbatim@out{\string\begin{document}}
>     }
> ...

Howdy,

I was planning on doing something like

\ifnum\@ptsize=3D0\relax
     \immediate\write\verbatim@out{\string\documentclass{article}}
\else\ifnum\@ptsize=3D1\relax
     \immediate\write\verbatim@out{\string\documentclass[11pt]{article}}
\else
     \immediate\write\verbatim@out{\string\documentclass[12pt]{article}}
\fi\fi

since any other choice would be caught earlier by the class.  
Simpleminded but it should work. This could be extended for the  
memoir class, etc. I don't think it makes too much difference what  
the class is since the figure(s) would be passed through pdfcrop  
(latex->dvips->ps2pdf13(with the auto-rotate off)->pdfcrop) anyway.

By the way, in pdftricks each figure is in its own files; quite  
different than the case with ps4pdf. I've set up a TeXShop engine for  
ps4pdf that uses the same processing for the figure file as I use for  
pdftricks; that seems to solve a cropping problem I've seen in both  
cases. I can't say why I prefer pdftricks better than ps4pdf; maybe I  
understand how pdftricks works a bit better.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] A suggestion for NewPdftricks (or for pdftricks in general)
From: "Franck Pastor" 
Date: Fri, 27 May 2005 07:02:09 +0200


Le 27-mai-05, =E0 02:15, Ross Moore a =E9crit :

> \makeatletter  %  not necessary if done within a package
>
> \def\BeforeStream
>    {\message{Opening PDFStream=3D\PDFTfigname.tex}%
>     =
\immediate\write\verbatim@out{\string\documentclass[12pt]{article}}
>     \immediate\write\verbatim@out{\string\input\space tmp.inputs}
>     \immediate\write\verbatim@out{\string\pagestyle{empty}}
>     \immediate\write\verbatim@out{\string\begin{document}}
>     }
>
> \makeatother
>
>
> This should fix it for all the images.

Thanks !!! I'll try that later today.


> I've not encountered such problems with ps4pdf , which I use=20
> extensively
> in a very large Encyclopaedia project.
> Can you please post an example that gives bad results.
>>

Here ! This is an example I gave on this list some months ago ;-)

\documentclass[12pt,a4paper]{article}
\usepackage{ps4pdf}
\PSforPDF{%
\usepackage{pstricks}
\usepackage{pst-3dplot}
}
\begin{document}
\PSforPDF{%
\begin{pspicture}(-6,-6)(6,6)
\psset{unit=3D7.5cm,hiddenLine=3Dtrue,drawCoor=3Dtrue}
\pstThreeDCoor[drawing=3Dtrue, linewidth=3D1pt,linecolor=3Dblack,%
    xMin=3D0,xMax=3D1.1, yMin=3D0,yMax=3D1.1, zMin=3D0,zMax=3D1.1]
\end{pspicture}
}
\end{document}


I use TeXShop 1.40 with 10.3.9, and the latter Gerben's distribution of=20=

TeX. I compile it with the following script, kindly given by Herb to=20
the list :

#!/bin/sh
location=3D$(dirname "$1")
basefname=3D"${location}/`basename "$1" .tex`"
# process the figures
latex --shell-escape "$1"
dvips -Ppdf -o "${basefname}-pics.ps" "${basefname}.dvi"
ps2pdf13 "${basefname}-pics.ps" "${basefname}-pics.pdf"
/bin/rm "${basefname}-pics.ps" "${basefname}.dvi"
#process the file (once)
pdflatex --shell-escape "$1"


The figure is cropped in my resulting file. There should have been "x",=20=

"y", "z" written in front of the arrow, but they have disappeared, and=20=

moreover the arrow of the z-axis is gone :-(((
This also happens with the last version of pst-pdf, which is based on=20
ps4pdf... No problems with Newpdftricks !

Thanks again for your help !

F. Pastor=


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

Subject: Multiple bibliographies
From: "Johan Almqvist" 
Date: Fri, 27 May 2005 10:03:02 +0200

Hello

I am in the process of writing my Master's thesis, and for diverse  
reasons I would like to have several (two) bibliographies.

This works quite fine with multibib and some hacking (that is:

\usepackage[resetlabels]{multibib}
\makeatletter
\newcommand\biblabelprefix{}
\renewcommand\@biblabel[1]{[\biblabelprefix#1]}
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout{\string 
\bibcite{#1}{\biblabelprefix\the\value{\@listctr}}}\fi\ignorespaces}
\makeatother
\newcites{ref}{References}
\newcites{survey}{Surveyed articles}

...

\renewcommand\biblabelprefix{R-}
\bibliographystyleref{plain}
\bibliographyref{references}

\renewcommand\prebibhook{Below, the reader will find a list of the  
articles reviewed
as a basis for chapter \ref{an-eval}. They are listed separately  
because the creation
of this collection has been a significant investment in time and money.}
\renewcommand\biblabelprefix{S-}
\bibliographystylesurvey{plain}
\bibliographysurvey{secret}


However, I would like not only the numbers in the list of references  
to be prefixed by R- and S-, but also the actual references in the  
text [R-15] (they now just say [15]).

-Johan
-- 
Johan Almqvist
johan@almqvist.net



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

Subject: Re: [OS X TeX] Multiple bibliographies
From: "Dominique Thillaud" 
Date: Fri, 27 May 2005 10:35:44 +0200

Protecting time and money in a Master's thesis ? Interresting !
Dominique

Le vendredi, 27 mai 2005, =E0 10:03 Europe/Paris, Johan Almqvist a =E9crit=
 :

> Hello
>
> I am in the process of writing my Master's thesis, and for diverse =20
> reasons I would like to have several (two) bibliographies.
>
> This works quite fine with multibib and some hacking (that is:
>
> \usepackage[resetlabels]{multibib}
> \makeatletter
> \newcommand\biblabelprefix{}
> \renewcommand\@biblabel[1]{[\biblabelprefix#1]}
> \def\@bibitem#1{\item\if@filesw =20
> =
\immediate\write\@auxout{\string\bibcite{#1}{\biblabelprefix\the\value{=20=

> \@listctr}}}\fi\ignorespaces}
> \makeatother
> \newcites{ref}{References}
> \newcites{survey}{Surveyed articles}
>
> ...
>
> \renewcommand\biblabelprefix{R-}
> \bibliographystyleref{plain}
> \bibliographyref{references}
>
> \renewcommand\prebibhook{Below, the reader will find a list of the =20
> articles reviewed
> as a basis for chapter \ref{an-eval}. They are listed separately =20
> because the creation
> of this collection has been a significant investment in time and =20
> money.}
> \renewcommand\biblabelprefix{S-}
> \bibliographystylesurvey{plain}
> \bibliographysurvey{secret}
>
>
> However, I would like not only the numbers in the list of references =20=

> to be prefixed by R- and S-, but also the actual references in the =20
> text [R-15] (they now just say [15]).
>
> -Johan
> --=20
> Johan Almqvist
> johan@almqvist.net
>
>
> --------------------- 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: [OT] Re: [OS X TeX] Multiple bibliographies
From: "Johan Almqvist" 
Date: Fri, 27 May 2005 10:44:19 +0200

Hej

On May 27, 2005, at 10:35, Dominique Thillaud wrote:
> Protecting time and money in a Master's thesis ? Interresting !
>
> Le vendredi, 27 mai 2005, =E0 10:03 Europe/Paris, Johan Almqvist a =20
> =E9crit :
>> Below, the reader will find a list of the articles reviewed
>> as a basis for chapter X. They are listed separately because the =20
>> creation
>> of this collection has been a significant investment in time and =20
>> money.

Not my own time and money, unfortunately :( but that of the institute =20=

where I do the thesis.

:)

-Johan
--=20
Johan Almqvist
johan@almqvist.net



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

Subject: custom bib styles in bibdesk
From: "Bilal Barakat" 
Date: Fri, 27 May 2005 10:52:31 +0100

Apologies for the daft question, but where do I need to put new .bst 
bibliography style files in order for them to be available in BibDesk's 
preview?
I've tried the ~/Library/texmf  tree, the /usr/local/teTeX/share .. 
texmf tree, rehashed with texhash, all to no avail. Maybe I'm missing 
something obvious....

Bilal.


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

Subject: Re: [OS X TeX] custom bib styles in bibdesk
From: "Martin Stokhof" 
Date: Fri, 27 May 2005 12:15:49 +0200


On 27 May, 2005, at 11:52, Bilal Barakat wrote:

> Apologies for the daft question, but where do I need to put new .bst 
> bibliography style files in order for them to be available in 
> BibDesk's preview?
> I've tried the ~/Library/texmf  tree, the /usr/local/teTeX/share .. 
> texmf tree, rehashed with texhash, all to no avail. Maybe I'm missing 
> something obvious....
>
> Bilal.
>
>

Maybe this is superflous, bu when you put them in ~/Library/texmf 
(preferred location because that doesn't get overwritten when you 
update your teTeX), did you mimic the relevant part of the structure of 
the system Library? My .bst styles files live in: 
~/Library/texmf/bibtex/bst and BibDesk can find them there.

Martin


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

Subject: Re: [OS X TeX] custom bib styles in bibdesk
From: "Johan Almqvist" 
Date: Fri, 27 May 2005 12:20:42 +0200


On May 27, 2005, at 11:52, Bilal Barakat wrote:

> Apologies for the daft question, but where do I need to put  
> new .bst bibliography style files in order for them to be available  
> in BibDesk's preview?
> I've tried the ~/Library/texmf  tree, the /usr/local/teTeX/share ..  
> texmf tree, rehashed with texhash, all to no avail. Maybe I'm  
> missing something obvious....

You can try entering the complete filename to the .bst file in the  
preferences panel.

-Johan
-- 
Johan Almqvist
johan@almqvist.net



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

Subject: Re: [OS X TeX] custom bib styles in bibdesk
From: "Peter Dyballa" 
Date: Fri, 27 May 2005 14:01:01 +0200


Am 27.05.2005 um 11:52 schrieb Bilal Barakat:

> Apologies for the daft question, but where do I need to put new .bst 
> bibliography style files in order for them to be available in 
> BibDesk's preview?
>

/usr/local/teTeX/share/texmf.local/bibtex/bst/
~/Library/texmf/bibtex/bst/

Both are secure, the first one needs a texhash.

--
Greetings

   Pete

"A mathematician is a machine that turns coffee into theorems."


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

Subject: [OT] Mail & Top Posting
From: "Herbert Schulz" 
Date: Fri, 27 May 2005 08:57:57 -0500

Howdy,

I'm switching over to Mail from (gasp) Entourage v.X and, after  
setting up some Rules to mimic the list handling I have under  
Entourage things are looking pretty nice. The main reason for the  
switch is that Entourage v.X is acting a bit buggy under 10.4.1  
(which has its own problems... Sigh) with occasional display slow  
downs, etc.

One thing I don't like is that Mail encourages top posting in replies  
since the cursor is initially at the top of the page. I've got my  
Signature at the bottom of the page, where I want it, but I'd like  
the cursor to start just below the quoted text. Is there a way for me  
to have Mail do that?

P.S. In all previous reincarnations of OS X I was able to get away  
with a nice stable system by simply doing an Update. With Tiger I  
ended up doing an Archive & Install because of the horrible  
instability I was seeing. Spending most of a day figuring out what I  
had to carry over from the Previous System folder was a pain but  
things where better although one more thing really helped out (and  
Spotlight helped me find the information which I forgot I had!).  
Delete everything in your ~/Library/Preferences/ByHost/ directory.  
Anything that is needed will be recreated. I had to reset a few  
Preferences, e.g., my Screen Saver, but things have been much better  
since I did that.

There are a few other gripes, e.g., the Finder Find is crippled since  
it is Spotlight based and won't look into ``hidden'' folders like / 
bin/. I'm back to using Locator, which uses the locate database  
(updated automatically by Macaroni every week), to do those kinds of  
searches.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: X11
From: "Rodrigo Banuelos" 
Date: Fri, 27 May 2005 10:39:13 -0500

I am sure the following problem has come up (and solved) before
but I have not been able to find it in the list. I installed Tex (using
Gerben Wierda's i-installer) on a new machine before installing Apple's
X11.  Now, when I type "latex", "tex" or xdvi on an X11 terminal I  
get back
"bash: latex: command not found," and the same for the others.  I  
know this
to do with bash vs tcsh but, what is the permanent solution?

Thanks,
Rodrigo

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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Bruno Voisin" 
Date: Fri, 27 May 2005 18:10:32 +0200

Le 27 mai 05 =E0 15:57, Herbert Schulz a =E9crit :

> One thing I don't like is that Mail encourages top posting in =20
> replies since the cursor is initially at the top of the page. I've =20
> got my Signature at the bottom of the page, where I want it, but =20
> I'd like the cursor to start just below the quoted text. Is there a =20=

> way for me to have Mail do that?

I thought there was an option in Mail to control that (top-posting or =20=

bottom-posting), but I can't find it any longer now.

Another solution is Thunderbird , with the advantage of getting multi-platform but the =20
disadvantage of losing access to some OS X niceties, like SpotLight =20
for email messages. Thunderbird has an item for choosing top-posting =20
or bottom-posting, in the pref "Composition and Addressing" for each =20
account.

One more thing about Mail in Tiger: it uses a custom format for =20
mailboxes, no longer the Unix format which was the norm up to and =20
including Panther. Namely, you no longer have a single huge plain =20
text "mbox" file inside a .mbox bundle, but a multitude of .emlx =20
files, one per message. Which means, once your mailboxes will have =20
been converted by Mail for use in Tiger, that you will lose the =20
ability to migrate them afterwards to another mailer should you =20
decide a switch. The mbox file at the time of the conversion will be =20
kept, but none of the messages received afterwards will be added to it.

> P.S. In all previous reincarnations of OS X I was able to get away =20
> with a nice stable system by simply doing an Update. With Tiger I =20
> ended up doing an Archive & Install because of the horrible =20
> instability I was seeing. Spending most of a day figuring out what =20
> I had to carry over from the Previous System folder was a pain but =20
> things where better although one more thing really helped out (and =20
> Spotlight helped me find the information which I forgot I had!). =20
> Delete everything in your ~/Library/Preferences/ByHost/ directory. =20
> Anything that is needed will be recreated. I had to reset a few =20
> Preferences, e.g., my Screen Saver, but things have been much =20
> better since I did that.

After having done several Archive & Install over the years (for =20
Jaguar, Panther and Tiger), I now expect 2 to 3 days for the whole =20
process: downloading all the software (or finding the CDs on my =20
shelves) that installs through Apple or custom installers; backup =20
texmf.local; repair disk/permissions then install OS X and Xcode then =20=

run System Update; reinstall all installer-based software, including =20
TeX, XeTeX and additions to texmf.local; browse through Previous =20
Systems to ensure nothing has been forgotten; burn installers on CD =20
or DVD in case uninstall scripts are required afterwards.

For example, Windows Media Player, iWork, Adobe Reader, cocoAspell, =20
NeoOffice, ManOpen, etc., all install components inside the system =20
directories. For them I consider safer, though time-consuming, to =20
rerun the installer scripts or software rather than move back the =20
components from /Previous Systems/Previous System1/Library/Internet =20
Plug-Ins/ etc., in case I forget something.

> There are a few other gripes, e.g., the Finder Find is crippled =20
> since it is Spotlight based and won't look into ``hidden'' folders =20
> like /bin/. I'm back to using Locator, which uses the locate =20
> database (updated automatically by Macaroni every week), to do =20
> those kinds of searches.

It's not absolutely necessary to do this:

- Open a Finder window, launch a search and press the Other... "key" =20
in the "bookmark bar" at the top of the window. This will create a =20
panel in which you can add permanently, and then check, directories =20
to be searched.

- Open another window, use Go To Folder (Cmd-Shift-G) to make appear =20
a hidden directory such as /usr.

- Drag this directory to the panel, where it will be added permanently.

- Back at the top of the window, press the + button then click on the =20=

item in the first column and choose Other... in the menu that =20
appears. Then, in the new list that appears, locate the line starting =20=

with Visibility and select it.

You're done. I find this extremely inconvenient, and I do hope that, =20
at some point, a pref will be added to go back to good ole' Panther =20
Find window.

There is also, I think, another solution but that seems to be =20
discouraged by Apple on Tiger: make all files and directories =20
visible, including those with name starting by a dot or the /usr etc. =20=

directories. There are two ways to do this:

- =46rom the command line, using the "defaults" command. In Terminal, =
type

     defaults write com.apple.finder AppleShowAllFiles YES

See .

- Assuming you've installed Xcode, double-click on ~/Library/=20
Preferences/com.apple.finder.plist. This will open the file in =20
Property List editor. Click on the Root triangle at the top left of =20
the window, press the button "New Child", then enter =20
AppleShowAllFiles, then Boolean, then Yes. I found this this morning =20
in "OS X in a Nutshell" (extremely useful book, halfway between hard-=20
core Mac OS and GUI on one hand, and hard-core Unix and CLI on the =20
other hand), I can't wait for the Tiger version.

After either way, when you log out then on, or simply relaunch the =20
Finder, you'll see all normally invisible files and folders appear =20
magically. However, as some have remarked on the OS X forums , =20
all the icons, for either visible or invisible files, are dimmed =20
(though effective). It's open to interpretation whether that's a bug =20
or an intended behaviour, to discourage the user from activating the =20
option (knowing that trashing some invisible directories can render =20
the system completely unusable and irrecoverable, forcing a new =20
install).

Bruno=

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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Justin Walker" 
Date: Fri, 27 May 2005 09:18:07 -0700


On May 27, 2005, at 9:10, Bruno Voisin wrote:

> Le 27 mai 05 =E0 15:57, Herbert Schulz a =E9crit :
>
>> One thing I don't like is that Mail encourages top posting in replies=20=

>> since the cursor is initially at the top of the page. I've got my=20
>> Signature at the bottom of the page, where I want it, but I'd like=20
>> the cursor to start just below the quoted text. Is there a way for me=20=

>> to have Mail do that?
>
> I thought there was an option in Mail to control that (top-posting or=20=

> bottom-posting), but I can't find it any longer now.

I don't recall ever seeing such an option in Mail.  I've always just=20
snipped my way to the sites I want to insert comemnts...

[snip]
> One more thing about Mail in Tiger: it uses a custom format for=20
> mailboxes, no longer the Unix format which was the norm up to and=20
> including Panther

Not so custom; I think it's the old MH-style mailboxes (directory per=20
mailbox; file per message).  MH was a collection of "small" commands=20
for handling mail, and this approach seemed to work better (for MH, at=20=

any rate).  Not as old as the 'mbox' approach, but it's been around for=20=

20++ years.

Just another $0.02 (0.0005 euros ;-})

Cheers,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------


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

Subject: Re: [OS X TeX] X11
From: "Joseph C. Slater" 
Date: Fri, 27 May 2005 12:38:33 -0400


On May 27, 2005, at 11:39 AM, Rodrigo Banuelos wrote:

> I am sure the following problem has come up (and solved) before
> but I have not been able to find it in the list. I installed Tex  
> (using
> Gerben Wierda's i-installer) on a new machine before installing  
> Apple's
> X11.  Now, when I type "latex", "tex" or xdvi on an X11 terminal I  
> get back
> "bash: latex: command not found," and the same for the others.  I  
> know this
> to do with bash vs tcsh but, what is the permanent solution?

Run the configuration part of the TeX install and tell it "yes" when  
it asks if you want to enable command line interface.
Joe

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

Subject: Re: [OS X TeX] X11
From: "Herbert Schulz" 
Date: Fri, 27 May 2005 12:04:54 -0500


On May 27, 2005, at 10:39 AM, Rodrigo Banuelos wrote:

> I am sure the following problem has come up (and solved) before
> but I have not been able to find it in the list. I installed Tex  
> (using
> Gerben Wierda's i-installer) on a new machine before installing  
> Apple's
> X11.  Now, when I type "latex", "tex" or xdvi on an X11 terminal I  
> get back
> "bash: latex: command not found," and the same for the others.  I  
> know this
> to do with bash vs tcsh but, what is the permanent solution?
>
> Thanks,
> Rodrigo

Howdy,

I think the easiest thing to do is run the configuration for the TeX  
i-installer package again now that X11 is installed.

By the way, you might want to install Ghostscript, etc., again since  
they get special X11 configuration if the installer detects the  
presence of X11.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Herbert Schulz" 
Date: Fri, 27 May 2005 12:38:11 -0500


On May 27, 2005, at 11:10 AM, Bruno Voisin wrote:

> Le 27 mai 05 =E0 15:57, Herbert Schulz a =E9crit :
>
>
>> One thing I don't like is that Mail encourages top posting in =20
>> replies since the cursor is initially at the top of the page. I've =20=

>> got my Signature at the bottom of the page, where I want it, but =20
>> I'd like the cursor to start just below the quoted text. Is there =20
>> a way for me to have Mail do that?
>>
>
> I thought there was an option in Mail to control that (top-posting =20
> or bottom-posting), but I can't find it any longer now.
>

Howdy,

There seems to be an option that determines whether the Signature =20
goes before or after the quoted text but even with my Signature after =20=

the cursor starts before the quote. I guess I can live with it. Maybe =20=

it will get me to look over the quote better; a bright side to the =20
problem.

> ...
> One more thing about Mail in Tiger: it uses a custom format for =20
> mailboxes, no longer the Unix format which was the norm up to and =20
> including Panther. Namely, you no longer have a single huge plain =20
> text "mbox" file inside a .mbox bundle, but a multitude of .emlx =20
> files, one per message. Which means, once your mailboxes will have =20
> been converted by Mail for use in Tiger, that you will lose the =20
> ability to migrate them afterwards to another mailer should you =20
> decide a switch. The mbox file at the time of the conversion will =20
> be kept, but none of the messages received afterwards will be added =20=

> to it.
> ...

I know that and I thought I heard that there was an option somewhere =20
to Export the mailboxes and that would produce an .mbox file. I can't =20=

find it now... but the last message on  is =20
not very encouraging.

> ...
>
>> There are a few other gripes, e.g., the Finder Find is crippled =20
>> since it is Spotlight based and won't look into ``hidden'' folders =20=

>> like /bin/. I'm back to using Locator, which uses the locate =20
>> database (updated automatically by Macaroni every week), to do =20
>> those kinds of searches.
>>
>
> It's not absolutely necessary to do this:
>
>  (missing instructions on how to do this)
> You're done. I find this extremely inconvenient, and I do hope =20
> that, at some point, a pref will be added to go back to good ole' =20
> Panther Find window.
> ...

You said it!

> ...
> - =46rom the command line, using the "defaults" command. In Terminal, =20=

> type
>
>     defaults write com.apple.finder AppleShowAllFiles YES
>
> See  PortingUnix/additionalfeatures/chapter_10_section_7.html>.
>
> - Assuming you've installed Xcode, double-click on ~/Library/=20
> Preferences/com.apple.finder.plist. This will open the file in =20
> Property List editor. Click on the Root triangle at the top left of =20=

> the window, press the button "New Child", then enter =20
> AppleShowAllFiles, then Boolean, then Yes. I found this this =20
> morning in "OS X in a Nutshell" (extremely useful book, halfway =20
> between hard-core Mac OS and GUI on one hand, and hard-core Unix =20
> and CLI on the other hand), I can't wait for the Tiger version.
>
> After either way, when you log out then on, or simply relaunch the =20
> Finder, you'll see all normally invisible files and folders appear =20
> magically. However, as some have remarked on the OS X forums =20
>  68ade492/1>, all the icons, for either visible or invisible files, =20
> are dimmed (though effective). It's open to interpretation whether =20
> that's a bug or an intended behaviour, to discourage the user from =20
> activating the option (knowing that trashing some invisible =20
> directories can render the system completely unusable and =20
> irrecoverable, forcing a new install).
>

I thought about doing this but I don't really want to see all =20
the .xxx files too and the discussion you mention on the OS X Forum =20
seems to indicate that the side effects aren't good. I think once =20
someone finds what Tiger uses instead of the .hidden file a quick =20
piece of freeware will fix this problem.

So far when Tiger is good it's very, very good and when it's rotten...

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] X11
From: "Peter Dyballa" 
Date: Fri, 27 May 2005 20:31:55 +0200


Am 27.05.2005 um 17:39 schrieb Rodrigo Banuelos:

> Now, when I type "latex", "tex" or xdvi on an X11 terminal I get back
> "bash: latex: command not found," and the same for the others.  I know=20=

> this
> to do with bash vs tcsh but, what is the permanent solution?

/etc/csh.login needs:

## TeX modifications start at Sa M=E4r 19 17:57:34 CET 2005C
## Do not remove the previous line
if ("${uid}" !=3D "0") then
   set path =3D ( ${path}=20
/usr/local/teTeX/bin/powerpc-apple-darwin-current )
endif
## Do not remove the next line
## TeX modifications end at Sa M=E4r 19 17:57:34 CET 2005C


/etc/profile needs:

## TeX modifications start at Sa M=E4r 19 17:57:34 CET 2005T
## Do not remove the previous line
if [ `whoami` !=3D "root" ]
then
   PATH=3D"$PATH:/usr/local/teTeX/bin/powerpc-apple-darwin-current"
   export PATH
fi
## Do not remove the next line
## TeX modifications end at Sa M=E4r 19 17:57:34 CET 2005

--
Greetings

   Pete

Bake Pizza not war!


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

Subject: OT -- Spotlight
From: "Rene Borgella" 
Date: Fri, 27 May 2005 14:44:10 -0400


Hi all:


>
>There are a few other gripes, e.g., the Finder=20
>Find is crippled since it is Spotlight based and=20
>won't look into ``hidden'' folders like /bin/.=20
>I'm back to using Locator, which uses the locate=20
>database (updated automatically by Macaroni=20
>every week), to do those kinds of searches.



from a friend regarding if you want to turn Spotlight off:

if you want Spotlight really off you have to edit=20
/etc/hostconfig and change the line that reads=20
'SPOTLIGHT=3D-YES-' to 'SPOTLIGHT=3D-NO-'. The best=20
way of doing it might be to escalate to a root=20
shell and use vi.


also see 


HTH

Ren=E9

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

Subject: Re: [OS X TeX] OT -- Spotlight
From: "Herbert Schulz" 
Date: Fri, 27 May 2005 14:13:55 -0500


On May 27, 2005, at 1:44 PM, Rene Borgella wrote:

>
> Hi all:
>
>
>
>>
>> There are a few other gripes, e.g., the Finder Find is crippled =20
>> since it is Spotlight based and won't look into ``hidden'' folders =20=

>> like /bin/. I'm back to using Locator, which uses the locate =20
>> database (updated automatically by Macaroni every week), to do =20
>> those kinds of searches.
>>
>
>
>
> from a friend regarding if you want to turn Spotlight off:
>
> if you want Spotlight really off you have to edit /etc/hostconfig =20
> and change the line that reads 'SPOTLIGHT=3D-YES-' to 'SPOTLIGHT=3D-=20=

> NO-'. The best way of doing it might be to escalate to a root shell =20=

> and use vi.
>
>
> also see 
>
>
> HTH
>
> Ren=E9

Howdy,

Thanks for the information; especially the link to rixstep.com, that =20
was interesting reading.

I had heard about completely stopping Spotlight but I don't think =20
that is what I really want. I've gotten some very good information =20
using Spotlight but I just feel it's too restrictive and I should be =20
able to be setup to ``see'' and ``report on'' files in invisible =20
folders or which are invisible themselves. This is especially true =20
the Finder Find (Cmd-F) like it was before. I don't want to see all =20
the .xxx files (i.e., I don't want to see them all the time) but that =20=

option to find ``visible and invisible'' files in the 10.1--3 Finder =20
Find was very useful. Eventually (10.4.x) I'd guess Apple will have =20
``advanced'' options in the Spotlight Preference Pane.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Bruno Voisin" 
Date: Fri, 27 May 2005 22:21:55 +0200

Le 27 mai 05 =E0 19:38, Herbert Schulz a =E9crit :

> I know that and I thought I heard that there was an option =20
> somewhere to Export the mailboxes and that would produce an .mbox =20
> file. I can't find it now... but the last message on  discussions.info.apple.com/webx?13@385.pb9gaso8YoL.0@.68b06d6a/1> =20
> is not very encouraging.

Not sure what it's worth, but: .

In any case it's just a script, that a developer could probably look =20
at to see what it's doing. It's apparently written in Ruby, though =20
I've no idea what sort of scripting language that is.

Bruno=

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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Herbert Schulz" 
Date: Fri, 27 May 2005 15:28:12 -0500


On May 27, 2005, at 3:21 PM, Bruno Voisin wrote:

> Le 27 mai 05 =E0 19:38, Herbert Schulz a =E9crit :
>
>
>> I know that and I thought I heard that there was an option =20
>> somewhere to Export the mailboxes and that would produce an .mbox =20
>> file. I can't find it now... but the last message on > discussions.info.apple.com/webx?13@385.pb9gaso8YoL.0@.68b06d6a/1> =20
>> is not very encouraging.
>>
>
> Not sure what it's worth, but: .
>
> In any case it's just a script, that a developer could probably =20
> look at to see what it's doing. It's apparently written in Ruby, =20
> though I've no idea what sort of scripting language that is.
>
> Bruno

Howdy,

Thanks! I just downloaded the file and will take a look at it. If =20
it's really self-contained a Dropscript would work nicely. I've no =20
reason to leave Mail but it's nice to know that there is a way to =20
save back to .mbox format just in case.

I read that the .emlx format is definitely not new, about 20+ years =20
old, so this isn't totally random.

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Bruno Voisin" 
Date: Fri, 27 May 2005 22:35:07 +0200

Le 27 mai 05 =E0 22:21, Bruno Voisin a =E9crit :

> Le 27 mai 05 =E0 19:38, Herbert Schulz a =E9crit :
>
>> I know that and I thought I heard that there was an option =20
>> somewhere to Export the mailboxes and that would produce an .mbox =20
>> file. I can't find it now... but the last message on > discussions.info.apple.com/webx?13@385.pb9gaso8YoL.0@.68b06d6a/1> =20
>> is not very encouraging.
>
> Not sure what it's worth, but: .

It's actually simpler than this. If you got into Mail Help, and look =20
at "Exporting a message", you'll see at the end:

"If you export multiple messages at once using the Raw Message Source =20=

option, the exported file is in mbox format, and you can reimport it =20
into Mail or send it to someone else for their review. Only mbox =20
format can be imported into other applications; rich text and plain =20
text formats are useful for making backup copies of your mail."

I just tried and it works: selecting for example a whole thread or =20
the content of a whole mailbox, then "Save As..." and "Raw Message =20
Source"; take the file so created, move it to ~/Library/Thunderbird/=20
Profiles/default.wai/Mail/Local Folders/, start Thunderbird. Voil=E0. =20=

The saved mailbox appears, and its content seems fine (I didn't try =20
with attachments).

I won't try though with my OS X TeX mailbox, as it's currently =20
containing 23572 messages!

Bruno=

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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Herbert Schulz" 
Date: Fri, 27 May 2005 15:57:23 -0500


On May 27, 2005, at 3:35 PM, Bruno Voisin wrote:

>
> It's actually simpler than this. If you got into Mail Help, and =20
> look at "Exporting a message", you'll see at the end:
>
> "If you export multiple messages at once using the Raw Message =20
> Source option, the exported file is in mbox format, and you can =20
> reimport it into Mail or send it to someone else for their review. =20
> Only mbox format can be imported into other applications; rich text =20=

> and plain text formats are useful for making backup copies of your =20
> mail."
>
> I just tried and it works: selecting for example a whole thread or =20
> the content of a whole mailbox, then "Save As..." and "Raw Message =20
> Source"; take the file so created, move it to ~/Library/Thunderbird/=20=

> Profiles/default.wai/Mail/Local Folders/, start Thunderbird. Voil=E0. =20=

> The saved mailbox appears, and its content seems fine (I didn't try =20=

> with attachments).
>
> I won't try though with my OS X TeX mailbox, as it's currently =20
> containing 23572 messages!
>
> Bruno

Howdy,

And it gets even simpler!!! I just looked up mbox in Mail Help and =20
found that you can use the above mentioned method or, for a mailbox:

To create an mbox copy of a mailbox, drag the mailbox from the =20
mailbox list to your desktop.

Now that's simple!

Good Luck,

Herb Schulz
(herbs@wideopenwest.com)



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

Subject: Re: [OS X TeX] X11
From: "Gerben Wierda" 
Date: Fri, 27 May 2005 22:57:40 +0200

On 27 May 2005, at 17:39, Rodrigo Banuelos wrote:

> I am sure the following problem has come up (and solved) before
> but I have not been able to find it in the list. I installed Tex  
> (using
> Gerben Wierda's i-installer) on a new machine before installing  
> Apple's
> X11.  Now, when I type "latex", "tex" or xdvi on an X11 terminal I  
> get back
> "bash: latex: command not found," and the same for the others.  I  
> know this
> to do with bash vs tcsh but, what is the permanent solution?

It does not have to do with bash vs tcsh. The problem is that xterm  
does not create login shells, but subshells only and as a result  
parts of the initialization (e.g. /etc/csh.login) are not read at  
all. Since the TeX i-Package has modified the shell login scripts,  
you do not get the right PATH.

The solutions in the other replies (re-run TeX i-Package configure)  
will not help.

There is (or at least I do not know) no generic file I could patch  
for X11 that would change this for *all* users. And the TeX install I  
provide is multi-user.

Maybe some X11 guru can finally tell me how to do this system-wide.  
Maybe there is some personal .xinit file where you can change  
environment settings. I do not use X11, so I do not have the knowledge.

G

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

Subject: Re: [OS X TeX] [OT] Tiger
From: "Gerben Wierda" 
Date: Fri, 27 May 2005 23:02:21 +0200

On 27 May 2005, at 15:57, Herbert Schulz wrote:

> P.S. In all previous reincarnations of OS X I was able to get away  
> with a nice stable system by simply doing an Update. With Tiger I  
> ended up doing an Archive & Install because of the horrible  
> instability I was seeing. Spending most of a day figuring out what  
> I had to carry over from the Previous System folder was a pain but  
> things where better although one more thing really helped out (and  
> Spotlight helped me find the information which I forgot I had!).  
> Delete everything in your ~/Library/Preferences/ByHost/ directory.  
> Anything that is needed will be recreated. I had to reset a few  
> Preferences, e.g., my Screen Saver, but things have been much  
> better since I did that.

For Tiger Server update is currently the only way. Apple also offers  
a 'migration' set of instructions, but these are buggy as well (e.g.  
you install a fresh Tiger server and find out that the mail system  
cannot handle nor convert your old mail database you want to migrate,  
something that does work under Update because then it converts when  
the old programs are still around. I provide mail services for a few  
family members, so I need to be careful not to corrupt their mail.

Let's hope a 10.4.1 Full CD will find its way to my snail mail box soon.

G


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

Subject: Re: [OS X TeX] [OT] Mail & Top Posting
From: "Bruno Voisin" 
Date: Fri, 27 May 2005 23:09:54 +0200

Le 27 mai 05 =E0 22:57, Herbert Schulz a =E9crit :

> And it gets even simpler!!! I just looked up mbox in Mail Help and =20
> found that you can use the above mentioned method or, for a mailbox:
>
> To create an mbox copy of a mailbox, drag the mailbox from the =20
> mailbox list to your desktop.
>
> Now that's simple!

Alas that's not creating an mbox file, but a .mbox directory =20
containing the messages in individual .emlx format (there will =20
possibly be an mbox file if that's a pre-Tiger mbox imported in =20
Tiger). Thus, in fact it's only putting on the Desktop a copy of =20
the .mbox directory from ~/Library/Mail/.

Bruno=

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

Subject: Re: [OS X TeX] X11
From: "Aaron Jackson" 
Date: Fri, 27 May 2005 17:17:01 -0400

On May 27, 2005, at 4:57 PM, Gerben Wierda wrote:

> On 27 May 2005, at 17:39, Rodrigo Banuelos wrote:
>
>> I am sure the following problem has come up (and solved) before
>> but I have not been able to find it in the list. I installed Tex 
>> (using
>> Gerben Wierda's i-installer) on a new machine before installing 
>> Apple's
>> X11.  Now, when I type "latex", "tex" or xdvi on an X11 terminal I 
>> get back
>> "bash: latex: command not found," and the same for the others.  I 
>> know this
>> to do with bash vs tcsh but, what is the permanent solution?
>
> It does not have to do with bash vs tcsh. The problem is that xterm 
> does not create login shells, but subshells only and as a result parts 
> of the initialization (e.g. /etc/csh.login) are not read at all. Since 
> the TeX i-Package has modified the shell login scripts, you do not get 
> the right PATH.
>
> The solutions in the other replies (re-run TeX i-Package configure) 
> will not help.
>
> There is (or at least I do not know) no generic file I could patch for 
> X11 that would change this for *all* users. And the TeX install I 
> provide is multi-user.
>
> Maybe some X11 guru can finally tell me how to do this system-wide. 
> Maybe there is some personal .xinit file where you can change 
> environment settings. I do not use X11, so I do not have the 
> knowledge.

Not a real solution, but there is no reason to run a shell from within 
X11.  Xterm looks bad and anything you need to do within X can be done 
from an Apple terminal window as long as the DISPLAY environmental 
variable is set properly.  IMO, time would be better served modifying 
startx to *not* automatically start xterm in the first place, that way 
there is no temptation to use it.

Aaron


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

Subject: Re: [OS X TeX] X11
From: "Ettore Aldrovandi" 
Date: Fri, 27 May 2005 17:22:43 -0400

On Fri, May 27, 2005 at 10:57:40PM +0200, Gerben Wierda wrote:
> On 27 May 2005, at 17:39, Rodrigo Banuelos wrote:

> >I know this to do with bash vs tcsh but, what is the permanent
> >solution?
 
> It does not have to do with bash vs tcsh. The problem is that
> xterm does not create login shells, but subshells only and as a
> result parts of the initialization (e.g. /etc/csh.login) are
> not read at all. Since the TeX i-Package has modified the shell
> login scripts, you do not get the right PATH.
 
> There is (or at least I do not know) no generic file I could
> patch for X11 that would change this for *all* users. And the
> TeX install I provide is multi-user.

/etc/csh.cshrc

is read by non login shells.

/etc/bashrc

is read by interactive shells, I'm not sure if non-login--but I
don't use bash, so I can't say precisely. (In scripts I invoke it
as /bin/sh anyway.)

So one could set the path there, although that's probably an
inelegant solution.

A more elegant solution could be to set the path in the
.MacOSX/environment.plist file. In that way the correct
environment would be inherited by X11.app and its children (via
xinit).

> Maybe some X11 guru can finally tell me how to do this
> system-wide.  Maybe there is some personal .xinit file where
> you can change environment settings. I do not use X11, so I do
> not have the knowledge.

Well, I'm not a guru. Anyway, X executes the user's .xinitrc or,
missing that, /etc/X11/xinit/xinitrc. In the default
configuration the latter starts an xterm and execs quartz-wm. It
is a /bin/sh script, hence it's perfectly conceivable to set the
path there, like:

PATH=3D"$PATH:/usr/local/"
export PATH


I used to have this in my own .xinitrc, to add Darwinports plus
other stuff, but later on I erased it in favor of a stock
system-wide xinitrc plus .MacOSX/environment.plist.


Hope this helps

-- 
Ettore Aldrovandi
Department of Mathematics	http://www.math.fsu.edu/~ealdrov
Florida State University	      aldrovandi at math.fsu.edu
Tallahassee, FL 32306-4510, USA	   +1 (850) 644-9717 (FAX: 4053)

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

Subject: Auto-abort in TeXShop
From: "Chris Goedde" 
Date: Fri, 27 May 2005 17:13:50 -0500

Hi all,

Is there a way to "auto-abort" in TeXShop? By this I mean have TeXShop 
automatically act as if the "Abort" button in the console window was 
pressed whenever there is an error in texing a file?

Chris


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

Subject: What encoding should I use?
From: "Friedrich Vosberg" 
Date: Sat, 28 May 2005 01:14:55 +0200

Hi.

I'm using MacOSRoman since years. I think it would be more compatibel =20=

if I would use UTF-8 (or somewhat in that kind). How can I switch my =20
whole TeX-system including all templates, sty- and lco-files etc. =20
completely to that encoding (by one click ;-)?

Does it make sense?

Thanks in advance and kind regards. Friedrich

--
Der Himmel ist dort, wo die Polizisten Briten sind, die K=F6che =20
Franzosen, die Mechaniker Deutsche, die Liebhaber Italiener und alles =20=

von Schweizern organisiert wird.

Die H=F6lle ist dort, wo die K=F6che Briten sind, die Mechaniker =20
Franzosen, die Liebhaber Schweizer und die Polizisten Deutsche und =20
alles von Italienern organisiert wird.




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