From MacOSX-TeX@email.esm.psu.edu Mon Aug  8 20:10:07 2005
Return-path: 
Received: from mac.com (smtpin04-en2 [10.13.10.149])
 by ms83.mac.com (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005))
 with ESMTP id <0IKX00EYTHSVZ5@ms83.mac.com>; Mon,
 08 Aug 2005 17:10:07 -0700 (PDT)
Received: from smtpout.mac.com (smtpout12-en1.mac.com [17.250.248.44])
	by mac.com (Xserve/smtpin04/MantshX 4.0) with ESMTP id j790A2Ph026411; Mon,
 08 Aug 2005 17:10:02 -0700 (PDT)
Received: from brightmail30-bge1 (brightmail30-bge1 [10.13.11.96])
	by smtpout.mac.com (Xserve/8.12.11/smtpout12/MantshX 4.0)
 with ESMTP id j790A2de019794; Mon, 08 Aug 2005 17:10:02 -0700 (PDT)
Received: from [130.203.201.4] by brightmail30 (bmifilter); Mon,
 08 Aug 2005 17:00:31 -0700 (PDT)
Received: from engremail2.engr.psu.edu ([130.203.201.116])
 by engremail.engr.psu.edu with Microsoft SMTPSVC(5.0.2195.6713); Mon,
 08 Aug 2005 20:00:13 -0400
Received: from email.esm.psu.edu ([130.203.247.204]) by engremail2.engr.psu.edu
 with Microsoft SMTPSVC(5.0.2195.6713); Mon, 08 Aug 2005 20:00:02 -0400
Date: Mon, 08 Aug 2005 20:00:13 -0400
From: TeX on Mac OS X Mailing List 
Subject: MacOSX-TeX Digest #1458 - 08/08/05
Sender: MacOSX-TeX@email.esm.psu.edu
To: TeX on Mac OS X Mailing List 
Message-id: <76013.37702@email.esm.psu.edu>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
Precedence: List
X-BLTSYMAVREINSERT: qllk9FD3X0KcSfBGCdbrjoXiouYA
X-LR-SENT-TO: mail.engr.psu.edu
List-Subscribe: 
List-Digest: 
List-Unsubscribe: 
List-Software: LetterRip Pro 4.05 (0531) by LetterRip Software, LLC.
X-OriginalArrivalTime: 09 Aug 2005 00:00:02.0988 (UTC)
 FILETIME=[4ACB6EC0:01C59C75]

MacOSX-TeX Digest #1458 - Monday, August 8, 2005

  Re: [OS X TeX] Two issues -- need help
          by "Claus Gerhardt" 

  Re: [OS X TeX] Two issues -- need help
          by "Claus Gerhardt" 

  Re: [OS X TeX] LaTeXiT 1.4.0 beta
          by "Bruno Voisin" 

  Re: [OS X TeX] LaTeXiT 1.4.0 beta
          by "Pierre Chatelier" 

  Re: [OS X TeX] LaTeXiT 1.4.0 beta
          by "Peter Dyballa" 

  Re: [OS X TeX] Two issues -- need help
          by "M. Tamer =D6zsu" 

  Re: [OS X TeX] Two issues -- need help
          by "M. Tamer =D6zsu" 

  enumerate in TeXShop
          by "Dilip Ninan" 

  Getting TeXshop to show full pathname in title bar?
          by "Timothy Van Zandt" 

  TeXShop Suggestion
          by "Ralph Martin" 

  Re: [OS X TeX] Getting TeXshop to show full pathname in title bar?
          by "Jan Hegewald" 

  Re: [OS X TeX] enumerate in TeXShop
          by "Nestor Aguilera" 


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

Subject: Re: [OS X TeX] Two issues -- need help
From: "Claus Gerhardt" 
Date: Mon, 8 Aug 2005 02:18:28 +0200

I would recommend to define a \newtheorem "example", then you don't =20
have to worry about numbering. Here are the definitions I use with =20
amsmath - insert your own spaces.

Claus

\newtheoremstyle{normal}% name
   {\cba}%      Space above, empty =3D `usual value'
   {\cba}%      Space below
   {}% Body font
   {\thmskip}%Indent amount (empty =3D no indent, \parindent =3D para =20=

indent)
   {\bfseries}% Thm head font
   {.}%        Punctuation after thm head
   {\hsk}%     Space after thm head: " " =3D normal interword space;
         %       \newline =3D linebreak
   {}% Thm head spec
%

%\swapnumbers
\theoremstyle{normal}
%\newtheorem{abschnitt}[subsection]
\newtheorem{rem}[subsection]{Remark}
\newtheorem{definition}[subsection]{Definition}
\newtheorem{example}[subsection]{Example}
\newtheorem{examples}[subsection]{Examples}
\newtheorem{ex}[subsection]{Exercise}
\newtheorem{note}[subsection]{}
\newtheorem{axiom}[subsection]{Axiom}


On Aug 7, 2005, at 22:38, M. Tamer =D6zsu wrote:

> Thanks much. I can't believe I missed the \refstepcounter. However, =20=

> changing
> \stepcounter to \refstepcounter as follows gives an error:
>
> \newcounter{exmp}[chapter]
> \newcommand{\bex}{\renewcommand{\theexmp}{\refstepcounter{exmp}=20
> \thechapter.a
> rabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus =20=

> 0.5pt}
>
> However, if I do the following (pulling \refstepcounter{exmp} out =20
> of the
> definition of \renewcommand)
>
> \newcounter{exmp}[chapter]
> \newcommand{\bex}{\refstepcounter{exmp}\renewcommand{\theexmp}=20
> {\thechapter.\
> arabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus =20=

> 0.5pt}
>
> works without giving an error, assigns the correct example number, =20
> but the
> first \ref gives only the value of the example number, without the =20
> chapter
> prefix, i.e.,
>
> \bex\label{ex1}
> ...
> \eex
>
> generates (correctly)
>     Example 4.1 ...
>
> but "In Example \ref{ex1}" generates
>
>     In Example 1
>
> References to subsequent examples work properly, i.e., I do get
>
>     Example 4.2 ...
>
>     In Example 4.2
>
> Any further suggestions would be very much appreciated.
> --=20
> M. Tamer Ozsu
> University of Waterloo
>
>
>
>> From: Ross Moore 
>> Reply-To: TeX on Mac OS X Mailing List 
>> Date: Sun, 7 Aug 2005 17:40:10 +1000
>> To: TeX on Mac OS X Mailing List 
>> Subject: Re: [OS X TeX] Two issues -- need help
>>
>>
>> On 07/08/2005, at 3:49 AM, M. Tamer =D6zsu wrote:
>>
>>
>>> ---
>>> I wonder if someone can help me with two issues:
>>>
>>
>>
>>> \newcounter{exmp}[chapter]
>>> \newcommand{\bex}{\renewcommand{\theexmp}{\stepcounter{exmp}
>>> \thechapter.\a
>>> rabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
>>> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus
>>> 0.5pt}
>>>
>>> but this did not work either. The numbering is OK, but \ref{...}
>>> simply
>>> generates the number of the section within which the example occurs.
>>>
>>
>> Try using  \refstepcounter  instead of  \stepcounter .
>>
>>
>>>
>>> I would appreciate any help in changing the \bex definition so =20
>>> that it
>>> generates the numbers prefixed with chapter numbers and also
>>> handles the
>>> references right.
>>>
>>
>>
>> Hope this helps,
>>
>>      Ross Moore
>>
>>
>>
>>> Thanks for any suggestions.
>>> --=20
>>> M. Tamer Ozsu
>>> University of Waterloo
>>>
>>>
>>
>> ---------------------------------------------------------------------=20=

>> ---
>> Ross Moore                                         =20
>> ross@maths.mq.edu.au
>> Mathematics Department                             office: E7A-419
>> Macquarie University                               tel: +61 +2 =20
>> 9850 8955
>> Sydney, Australia  2109                            fax: +61 +2 =20
>> 9850 8114
>> ---------------------------------------------------------------------=20=

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


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

Subject: Re: [OS X TeX] Two issues -- need help
From: "Claus Gerhardt" 
Date: Mon, 8 Aug 2005 02:27:58 +0200

For labelling and referencing I use

\newcommand{\lab}[1]{\label{B:#1}}
\newcommand{\rb}[1]{Example~\ref{B:#1}}

Claus


On Aug 8, 2005, at 2:18, Claus Gerhardt wrote:

> I would recommend to define a \newtheorem "example", then you don't =20=

> have to worry about numbering. Here are the definitions I use with =20
> amsmath - insert your own spaces.
>
> Claus
>
> \newtheoremstyle{normal}% name
>   {\cba}%      Space above, empty =3D `usual value'
>   {\cba}%      Space below
>   {}% Body font
>   {\thmskip}%Indent amount (empty =3D no indent, \parindent =3D para =20=

> indent)
>   {\bfseries}% Thm head font
>   {.}%        Punctuation after thm head
>   {\hsk}%     Space after thm head: " " =3D normal interword space;
>         %       \newline =3D linebreak
>   {}% Thm head spec
> %
>
> %\swapnumbers
> \theoremstyle{normal}
> %\newtheorem{abschnitt}[subsection]
> \newtheorem{rem}[subsection]{Remark}
> \newtheorem{definition}[subsection]{Definition}
> \newtheorem{example}[subsection]{Example}
> \newtheorem{examples}[subsection]{Examples}
> \newtheorem{ex}[subsection]{Exercise}
> \newtheorem{note}[subsection]{}
> \newtheorem{axiom}[subsection]{Axiom}
>
>
> On Aug 7, 2005, at 22:38, M. Tamer =D6zsu wrote:
>
>
>> Thanks much. I can't believe I missed the \refstepcounter. =20
>> However, changing
>> \stepcounter to \refstepcounter as follows gives an error:
>>
>> \newcounter{exmp}[chapter]
>> \newcommand{\bex}{\renewcommand{\theexmp}{\refstepcounter{exmp}=20
>> \thechapter.a
>> rabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
>> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus =20=

>> 0.5pt}
>>
>> However, if I do the following (pulling \refstepcounter{exmp} out =20
>> of the
>> definition of \renewcommand)
>>
>> \newcounter{exmp}[chapter]
>> \newcommand{\bex}{\refstepcounter{exmp}\renewcommand{\theexmp}=20
>> {\thechapter.\
>> arabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
>> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus =20=

>> 0.5pt}
>>
>> works without giving an error, assigns the correct example number, =20=

>> but the
>> first \ref gives only the value of the example number, without the =20=

>> chapter
>> prefix, i.e.,
>>
>> \bex\label{ex1}
>> ...
>> \eex
>>
>> generates (correctly)
>>     Example 4.1 ...
>>
>> but "In Example \ref{ex1}" generates
>>
>>     In Example 1
>>
>> References to subsequent examples work properly, i.e., I do get
>>
>>     Example 4.2 ...
>>
>>     In Example 4.2
>>
>> Any further suggestions would be very much appreciated.
>> --=20
>> M. Tamer Ozsu
>> University of Waterloo
>>
>>
>>
>>
>>> From: Ross Moore 
>>> Reply-To: TeX on Mac OS X Mailing List >> TeX@email.esm.psu.edu>
>>> Date: Sun, 7 Aug 2005 17:40:10 +1000
>>> To: TeX on Mac OS X Mailing List 
>>> Subject: Re: [OS X TeX] Two issues -- need help
>>>
>>>
>>> On 07/08/2005, at 3:49 AM, M. Tamer =D6zsu wrote:
>>>
>>>
>>>
>>>> ---
>>>> I wonder if someone can help me with two issues:
>>>>
>>>>
>>>
>>>
>>>
>>>> \newcounter{exmp}[chapter]
>>>> \newcommand{\bex}{\renewcommand{\theexmp}{\stepcounter{exmp}
>>>> \thechapter.\a
>>>> rabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
>>>> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus
>>>> 0.5pt}
>>>>
>>>> but this did not work either. The numbering is OK, but \ref{...}
>>>> simply
>>>> generates the number of the section within which the example =20
>>>> occurs.
>>>>
>>>>
>>>
>>> Try using  \refstepcounter  instead of  \stepcounter .
>>>
>>>
>>>
>>>>
>>>> I would appreciate any help in changing the \bex definition so =20
>>>> that it
>>>> generates the numbers prefixed with chapter numbers and also
>>>> handles the
>>>> references right.
>>>>
>>>>
>>>
>>>
>>> Hope this helps,
>>>
>>>      Ross Moore
>>>
>>>
>>>
>>>
>>>> Thanks for any suggestions.
>>>> --=20
>>>> M. Tamer Ozsu
>>>> University of Waterloo
>>>>
>>>>
>>>>
>>>
>>> --------------------------------------------------------------------=20=

>>> ----
>>> Ross Moore                                         =20
>>> ross@maths.mq.edu.au
>>> Mathematics Department                             office: E7A-419
>>> Macquarie University                               tel: +61 +2 =20
>>> 9850 8955
>>> Sydney, Australia  2109                            fax: +61 +2 =20
>>> 9850 8114
>>> --------------------------------------------------------------------=20=

>>> ----
>>>
>>>
>>> --------------------- Info ---------------------
>>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>>            & FAQ: http://latex.yauh.de/faq/
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Post: 
>>>
>>>
>>>
>>
>>
>> --------------------- Info ---------------------
>> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>>            & FAQ: http://latex.yauh.de/faq/
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Post: 
>>
>>
>>
>>
>
> --------------------- 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] LaTeXiT 1.4.0 beta
From: "Bruno Voisin" 
Date: Mon, 8 Aug 2005 08:55:53 +0200

Le 7 ao=FBt 05 =E0 22:56, Peter Dyballa a =E9crit :

> Full success with this header:
>
>     \documentclass[10pt]{article}
>     \usepackage{color} %used for font color
>     \usepackage{osxfonts}
>     \DeclareFontFamily{U}{osx}{}
>     \DeclareFontShape{U}{osx}{m}{n}{<-> "Hoefler\space Text"}{}
>     \DeclareSymbolFont{break}{U}{osx}{m}{n}

I'm not sure about this preamble: osxfonts.sty is an example file =20
from the XeTeX distribution, in the Samples folder, not a part of the =20=

texmf tree. It is used in the other sample file LaTeX-font-=20
access.ltx, which contains the warning:

%%% NOTE that the osxfonts.sty package used here is a quick-and-dirty =20=

hack
%%% and should be replaced by Will Robertson's far more extensive =20
"fontspec" package
%%% (see http://scripts.sil.org/xetex_related)

I would suggest considering that a XeTeX user has always installed =20
the two additional packages fontspec (by Will Robertson) and xunicode =20=

(by Ross Moore), and hence to use a preamble like:

     \documentclass[10pt]{article}
     \usepackage{color} % for color
     \usepackage{amssymb} % for math symbol
     \usepackage{amsmath} % for math constructs
     \usepackage{fontspec} % for AAT/OT fonts
     \usepackage{xunicode} % for Unicode accents
     \setromanfont[Mapping=3Dtex-text]{Hoefler Text}

I'm cc'ing this message to the XeTeX list, in case people there have =20
suggestions on the issue.

Bruno Voisin




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

Subject: Re: [OS X TeX] LaTeXiT 1.4.0 beta
From: "Pierre Chatelier" 
Date: Mon, 8 Aug 2005 10:27:22 +0200

>
> Full success with this header:
>
>     \documentclass[10pt]{article}
>     \usepackage{color} %used for font color
>     \usepackage{osxfonts}
>     \DeclareFontFamily{U}{osx}{}
>     \DeclareFontShape{U}{osx}{m}{n}{<-> "Hoefler\space Text"}{}
>     \DeclareSymbolFont{break}{U}{osx}{m}{n}
>
> There are just two things that are not working: scaling and  
> colouring the output.

I have installed xelatex, to test problems.

For color, the problem is that with pdflatex, I was used to globally  
set the color by adding
\color[rgb]{red green blue} in the _preamble_. With xelatex, it seems  
required to put it in the body of the document. Am I wrong  with  
pdflatex and should I not put \color[rgb]{...} in the preamble ?

For scaling, it appears that the bounding box that I computed by :
gs -dNOPAUSE -sDEVICE=3Dbbox -dBATCH -q foo.pdf
fails on pdf files produced by xelatex.

Pierre

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

Subject: Re: [OS X TeX] LaTeXiT 1.4.0 beta
From: "Peter Dyballa" 
Date: Mon, 8 Aug 2005 10:56:50 +0200


Am 08.08.2005 um 10:27 schrieb Pierre Chatelier:

> For color, the problem is that with pdflatex, I was used to globally 
> set the color by adding
> \color[rgb]{red green blue} in the _preamble_. With xelatex, it seems 
> required to put it in the body of the document. Am I wrong  with 
> pdflatex and should I not put \color[rgb]{...} in the preamble ?

It wasn't that colour that I wrote about yesterday, I just imagined 
that the colour selector at the bottom of LaTeXiT would colour the 
output. I did not try to set colours in the XeLaTeX document ...

>
> For scaling, it appears that the bounding box that I computed by :
> gs -dNOPAUSE -sDEVICE=3Dbbox -dBATCH -q foo.pdf
> fails on pdf files produced by xelatex.
>

Right, that's what I thought I saw. Particularly when setting the font 
size to a high value a hard clipping seemed to happen, but only on the 
right. XeTeX uses two steps to convert the TeX file to PDF: first an 
extended DVI file is created and then this one is converted to PDF with 
a proprietary piece of software, xdv2pdf. Could be this one makes 
mistakes ... Jonathan Kew is thinking of producing real DVI output and 
then using dvipfdmx to convert this to PDF.


 From Wednesday on I might have some more time ...

--
Greetings

   Pete

Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we. -- Georges W. Bush


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

Subject: Re: [OS X TeX] Two issues -- need help
From: "M. Tamer =D6zsu" 
Date: Mon, 08 Aug 2005 07:31:45 -0400

Morten,

Thanks, this worked. I knew about the outdated \bf, but decided to put that
off until I got the other problems worked out.

Thanks again for your help.
--=20
M. Tamer Ozsu
University of Waterloo


> From: Morten H=F8gholm 
> Reply-To: TeX on Mac OS X Mailing List 
> Date: Sun, 07 Aug 2005 22:59:54 +0200
> To: TeX on Mac OS X Mailing List 
> Subject: Re: [OS X TeX] Two issues -- need help
>=20
> On Sun, 07 Aug 2005 22:38:17 +0200, M. Tamer =D6zsu 
> wrote:
>=20
>> Thanks much. I can't believe I missed the \refstepcounter. However,
>> changing
>> \stepcounter to \refstepcounter as follows gives an error:
>>=20
>> \newcounter{exmp}[chapter]
>> \newcommand{\bex}{\renewcommand{\theexmp}{\refstepcounter{exmp}\thechapt=
er.a
>> rabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
>> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus 0.5pt}
>>=20
>> However, if I do the following (pulling \refstepcounter{exmp} out of the
>> definition of \renewcommand)
>>=20
>> \newcounter{exmp}[chapter]
>> \newcommand{\bex}{\refstepcounter{exmp}\renewcommand{\theexmp}{\thechapt=
er.\
>> arabic{exmp}}\vspace{11pt}\par\noindent{\bf Example
>> \theexmp}\vspace{11pt}\par\noindent\begin{inpar}\parskip=3D2pt plus 0.5pt}
>>=20
>> works without giving an error, assigns the correct example number, but
>> the
>> first \ref gives only the value of the example number, without the
>> chapter
>> prefix, i.e.,
>=20
> \theexmp is supposed to give you the representation of the `exmp' counter=
.
> I think this is closer to what you want.
>=20
> \newcounter{exmp}[chapter]
> \renewcommand*\theexmp{\thechapter.\arabic{exmp}}
> \newcommand*\bex{%
>    \par \vspace{11pt}%
>    \noindent
>    \refstepcounter{exmp}%
>    \textbf{Example \theexmp}%
>    \par \vspace{11pt}%
>    \noindent \begin{inpar}%
>      \setlength\parskip{2pt plus 0.5pt}%
> }
>=20
> You may note that \bf has been obsolete for more than ten years.
> --=20
> Morten
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>            & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: 
>=20



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

Subject: Re: [OS X TeX] Two issues -- need help
From: "M. Tamer =D6zsu" 
Date: Mon, 08 Aug 2005 07:32:02 -0400

Thank you Bruno, this seems to have fixed the problem.
--=20
M. Tamer Ozsu
University of Waterloo


> From: Bruno Voisin 
> Reply-To: TeX on Mac OS X Mailing List 
> Date: Sun, 7 Aug 2005 11:14:01 +0200
> To: TeX on Mac OS X Mailing List 
> Subject: Re: [OS X TeX] Two issues -- need help
>=20
> Le 6 ao=FBt 05 =E0 19:49, M. Tamer =D6zsu a =E9crit :
>=20
>> 2. On one of my machines, files with .tex extension have defaulted
>> to open
>> with the Script Editor. When I try to reset this to TexShop or
>> iTexMac from
>> Get Info window, it asks me if I really wanted to change, but then it
>> reverts back to Script Editor. What might be going wrong? I did fix
>> the
>> permissions, etc, but I can't think of what else to try.
>>=20
>> (This is a more general problem with all file types, but I had to
>> make it
>> tex relevant for this list -) )
>=20
> You may try rebuilding the Launch Services database. I'm not quite
> sure it will help, but who knows?
>=20
> Before Tiger, this meant deleting the following files, then restarting:
>=20
>      /Library/Caches/com.apple.LaunchServices.6B.csstore
>      ~/Library/Caches/com.apple.LaunchServices.UserCache.csstore
>      ~/Library/Preferences/com.apple.LaunchServices.plist
>=20
> On Tiger the organization and naming of the files have changed, it
> should be something like:
>=20
>      /Library/Caches/com.apple.LaunchServices-0140.csstore
>      /Library/Caches/com.apple.LaunchServices-014501.csstore
>      /Library/Caches/com.apple.LaunchServices-014504.csstore
>      ~/Library/Preferences/com.apple.LaunchServices.plist
>=20
> The names of the files inside /Library/Caches/ will probably be
> different on your setup, the digits at the end of the name refer to
> the user ID; I think 0140 is general, and there should be one 0145**
> per user account.
>=20
> Bruno Voisin--------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>            & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: 
>=20



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

Subject: enumerate in TeXShop
From: "Dilip Ninan" 
Date: Mon, 8 Aug 2005 21:00:20 +0100

Question from a TeXShop/LaTeX novice:

I'm having trouble getting TeXShop to compile a document.  The  
document has several numbered sentences throughout the paper, that  
more or less run in sequence.  I was doing this using the  
covington.sty package, which works nicely, but now I'm submitting the  
paper for something and the editor wants me to do this by labeling  
each sentence using \label and then setting the counter by using  
enumi and the corresponding \ref.  The document will compile if I  
keep hitting ``return' each time I get an error message.  If I run  
LaTeX enough times, I get the desired result: all the right numbers  
with all the right sentences.  But is there any way to get it to  
compile more quickly?  (There are around 30 sentences, so I have to  
run LaTeX around 30 times to get it to come out right.)

Here is an example of what I'm doing:

\begin{enumerate}
\item Sam should/ought to go to confession, but he's not going to. 
\label{should1}
\end{enumerate}

Then later in the document:

\begin{enumerate}
\setcounter{enumi}{\ref{should1}}
\item I should/ought to go to confession, but I'm not going to.\label 
{shouldi}
\end{enumerate}


When I try to compile the document I get:


! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
...

l.58 \item I
              should/ought to go to confession, but I'm not going to. 
\label{s...

?
b.fd) (/usr/local/teTeX/share/texmf.tetex/tex/latex/misc/ustmry.fd)

Package natbib Warning: Citation `Chellas80' on page 1 undefined on  
input line
40.


LaTeX Warning: Reference `should1' on page 1 undefined on input line 54.

! Missing number, treated as zero.

                    \protect
l.57 \setcounter{enumi}{\ref{should1}}

?


Thanks.

Dilip Ninan
MIT, Department of Linguistics and Philosophy

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

Subject: Getting TeXshop to show full pathname in title bar?
From: "Timothy Van Zandt" 
Date: Mon, 08 Aug 2005 16:16:33 -0400

Hello.

With some big projects I am often editing files with the same name but 
in different directories. Is there any way to get TeXshop to show a full 
or at least truncated pathname in the title bar of the document's 
window? I noticed that such displaying of the pathname was added 
recently to the "Open Recent" menu...but not for the title bar.

thx.

tim van zandt

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

Subject: TeXShop Suggestion
From: "Ralph Martin" 
Date: Mon, 8 Aug 2005 22:13:18 +0100

Dick, everyone

Maybe I am missing something, but

While the TeXShop Log window has a very handy "Go To Error" button,  
there is no equivalent "Go To Warning" button. This would be very  
handy for fixing overfull lines and the like.

Any chance of providing this in the next release?

Best wishes

Ralph
--
Prof Ralph Martin                   Phone: +44(0)29 2087 5536
School of Computer Science          Fax:   +44(0)29 2087 4598
Cardiff University                  Email: mailto:ralph@cs.cf.ac.uk
5 The Parade, Roath                 WWW:   http://ralph.cs.cf.ac.uk/
Cardiff, CF24 3AA, United Kingdom   VOIP:  sip:rrmwork@iptel.org



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

Subject: Re: [OS X TeX] Getting TeXshop to show full pathname in title bar?
From: "Jan Hegewald" 
Date: Tue, 9 Aug 2005 00:04:08 +0200


Am 08.08.2005 um 22:16 schrieb Timothy Van Zandt:

> Hello.
>
> With some big projects I am often editing files with the same name =20
> but in different directories. Is there any way to get TeXshop to =20
> show a full or at least truncated pathname in the title bar of the =20
> document's window? I noticed that such displaying of the pathname =20
> was added recently to the "Open Recent" menu...but not for the =20
> title bar.

In case you don=B4t know already: one can command-klick the mini =20
document icon in the title bar to see and navigate thru the path.

HTH,
--Jan--=

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

Subject: Re: [OS X TeX] enumerate in TeXShop
From: "Nestor Aguilera" 
Date: Mon, 8 Aug 2005 20:23:29 -0300

Hi,

> I'm having trouble getting TeXShop to compile a document.  The 
> document has several numbered sentences throughout the paper, that 
> more or less run in sequence.  I was doing this using the 
> covington.sty package, which works nicely, but now I'm submitting the 
> paper for something and the editor wants me to do this by labeling 
> each sentence using \label and then setting the counter by using enumi 
> and the corresponding \ref.  The document will compile if I keep 
> hitting ``return' each time I get an error message.  If I run LaTeX 
> enough times, I get the desired result: all the right numbers with all 
> the right sentences.  But is there any way to get it to compile more 
> quickly?  (There are around 30 sentences, so I have to run LaTeX 
> around 30 times to get it to come out right.)

Are you allowed to keep the value of the counter as in

    \newcounter{savectr}
    \newcommand{\savectr}[1]{\setcounter{savectr}{\value{#1}}}
    \newcommand{\backctr}[1]{\setcounter{#1}{\value{savectr}}}
    ...
    \begin{document}
    \begin{enumerate}
    \item\label{should:1}
    This is~\ref{should:1}
    \savectr{enumi}
    \end{enumerate}
    ...
    \begin{enumerate}
    \backctr{enumi}
    \item\label{should:2}
    This is~\ref{should:2}
    \savectr{enumi}
    \end{enumerate}
    ...

so that you have to compile it only twice to get the references right?

Cheers,

                                                  Nestor Aguilera



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