Reiner Steib | 1 Oct 2006 01:10
X-Face

Re: TeX input method in LaTeX

On Sat, Sep 30 2006, Alan Ristow wrote:

> Reiner Steib wrote:
>> I wonder what's the point of using the TeX input method in LaTeX
>> files.  What's the advantage to have e.g. $α$ in the file instead of
>> $\alpha$.
>
> It actually never even occurred to me to use it in math mode. 

Out of curiosity: Are you saying that you switch on and off TeX input
method when entering or leaving math mode when typing LaTeX files?

> I find that it makes accented characters in text mode easier to
> read, though -- for example, Münich instead of M\"{u}nich.

Wouldn't some input method like latin-prefix ("a -> ä) be more
suitable?  (BTW, it's either Munich or München.  :-))

Bye, Reiner.
--

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
Christophe FARGES | 1 Oct 2006 15:49
Picon

Latex counters

Hello,

I've got a question about latex (not auctex). I'm sorry to post here but 
I need an answer very soon and I know that this mailing list usually 
answer fast. Here is my question: is it possible to share a counter 
between 2 or more latex environments, and how can I do so? More 
precisely, I'm finishing writing my thesis, and I've got those environments:

\newtheorem{theoreme}{Th\'eor\`eme}[chapter]
\newtheorem{corollaire}{Corollaire}[chapter]
\newtheorem{lemme}{Lemme}[chapter]

So when I create the first theorem, I've got:
Theorem I.1
After that, if I create the first lemma , I've got:
Lemma I.1

But I would like to have: Lemma I.2 ....

Thanks in advance for your help,
Christophe

Remark: I'd like to keep the reinitialization of the counter at the 
beginning of each chapter as it works right now (for example: first 
theorem of chapter II is: Theorem II.1)
Alan Ristow | 1 Oct 2006 20:09
Picon

Re: TeX input method in LaTeX

Reiner Steib wrote:
> On Sat, Sep 30 2006, Alan Ristow wrote:
> 
>> Reiner Steib wrote:
>>> I wonder what's the point of using the TeX input method in LaTeX
>>> files.  What's the advantage to have e.g. $α$ in the file instead of
>>> $\alpha$.
>> It actually never even occurred to me to use it in math mode. 
> 
> Out of curiosity: Are you saying that you switch on and off TeX input
> method when entering or leaving math mode when typing LaTeX files?

No, I set the default input method to TeX, but I don't have it turned on 
by default. I only switch it on when I need it, which is typically when 
I'm writing proper names from a language other than English. I'm kind of 
tempted to try it in math mode now, as it might make complicated 
equations easier to read -- is there a particular reason that you would 
recommend against it?

>> I find that it makes accented characters in text mode easier to
>> read, though -- for example, Münich instead of M\"{u}nich.
> 
> Wouldn't some input method like latin-prefix ("a -> ä) be more
> suitable? 

I don't think so. I need characters from both Western and Eastern 
European languages. I haven't studied the various input methods all that 
closely, but it seems like when I looked through them the TeX input mode 
was the only one that included both ć and ç (for example). Plus it has 
the advantage that I can use a syntax I'm already familiar with instead 
(Continue reading)

David Kastrup | 1 Oct 2006 21:52
Picon
Picon

Re: Latex counters

Christophe FARGES <chris256 <at> club-internet.fr> writes:

> I've got a question about latex (not auctex). I'm sorry to post here
> but I need an answer very soon and I know that this mailing list
> usually answer fast.

comp.text.tex answers faster.

> Here is my question: is it possible to share a counter between 2 or
> more latex environments, and how can I do so?  More precisely, I'm
> finishing writing my thesis, and I've got those environments:
>
> \newtheorem{theoreme}{Th\'eor\`eme}[chapter]
> \newtheorem{corollaire}{Corollaire}[chapter]
> \newtheorem{lemme}{Lemme}[chapter]
>
> So when I create the first theorem, I've got:
> Theorem I.1
> After that, if I create the first lemma , I've got:
> Lemma I.1
>
> But I would like to have: Lemma I.2 ....
>
> Thanks in advance for your help,
> Christophe

texdoc amsthdoc

and read section 3.

(Continue reading)

Christophe FARGES | 1 Oct 2006 23:21
Picon

Re: Latex counters

Thanks everyone for your answer! This helps me very much!

Christophe

Ps: Next time I'll use comp.text.tex for latex questions

> Christophe FARGES <chris256 <at> club-internet.fr> writes:
>
>   
>> I've got a question about latex (not auctex). I'm sorry to post here
>> but I need an answer very soon and I know that this mailing list
>> usually answer fast.
>>     
>
> comp.text.tex answers faster.
>
>   
>> Here is my question: is it possible to share a counter between 2 or
>> more latex environments, and how can I do so?  More precisely, I'm
>> finishing writing my thesis, and I've got those environments:
>>
>> \newtheorem{theoreme}{Th\'eor\`eme}[chapter]
>> \newtheorem{corollaire}{Corollaire}[chapter]
>> \newtheorem{lemme}{Lemme}[chapter]
>>
>> So when I create the first theorem, I've got:
>> Theorem I.1
>> After that, if I create the first lemma , I've got:
>> Lemma I.1
>>
(Continue reading)

Reiner Steib | 2 Oct 2006 01:02
X-Face

Re: TeX input method in LaTeX

On Sun, Oct 01 2006, Alan Ristow wrote:

> I'm kind of tempted to try it in math mode now, as it might make
> complicated equations easier to read -- is there a particular reason
> that you would recommend against it?

Depending on your TeX distribution, there might be problems with UTF-8
encoded files.  I don't know if it works for math at all.  But I never
tried so correct me if I'm wrong.

This test file doesn't work for me:

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\begin{document}
München

$α$ % <== Error here!
\end{document}

Bye, Reiner.
--

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
Alan Ristow | 2 Oct 2006 03:40
Picon

Re: TeX input method in LaTeX

Reiner Steib wrote:
> On Sun, Oct 01 2006, Alan Ristow wrote:
> 
>> I'm kind of tempted to try it in math mode now, as it might make
>> complicated equations easier to read -- is there a particular reason
>> that you would recommend against it?
> 
> Depending on your TeX distribution, there might be problems with UTF-8
> encoded files.

Hmm. I hadn't heard that before, but good to know. I guess before I 
submit a UTF-8 encoded file to a publisher I should make sure it's 
acceptable to them.

> I don't know if it works for math at all.  But I never
> tried so correct me if I'm wrong.
> 
> This test file doesn't work for me:

Doesn't work for me either. That's certainly a good reason not to do it!

Thanks for the advice,

Alan
Shanks N | 2 Oct 2006 12:55
Picon

Re: 11.82; local texmf tree path not picked up when compiling

Ralf Angeli wrote:
> * Shanks N. (2006-09-30) writes:

[...]

> I doubt this is the right solution.  TEXMFLOCAL should be part of
> TEXMF and therefore the above changes shouldn't be necessary.  In my
> texmf.cnf TEXMF is defined as
> TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEX
> MFLOCAL,!!$TEXMFMAIN,!!$TEXMFDIST}
> 
> Is this similar in your case?  In particular, is $TEXMFLOCAL
> contained?  Does
> kpsexpand \$TEXMF
> list all relevant directories?
> 

Yes,certainly not the correct solution; Yes and Yes.  Which is why I 
mentioned that I don't have any bash init scripts in $HOME directory as 
I thought that MIGHT be relevant.

Apart from my changes, there is no change to the canonical .cnf file and
checking each of the vars of the cnf did not show any errors.

regards,
Shanks
--

-- 
Adam Johnson | 2 Oct 2006 22:07
Picon
Favicon

RE: Re: Any new version of Emacs/AUCTeX bundleforWindowsavailable?

>
>>From: Ralf Angeli <angeli <at> caeruleus.net>
>> >>
>> >> > The current version I am using was provided on June 24, 2006.  But 
>>the
>> >>Emacs
>> >> > always crashes (i.e., exits exceptionally).  I don't know any 
>>specific
>> >> > reasons.  Other previous versions worked more stably than this one.
>> >>
>> >>Are you using the menus?
>> >
>> > I do use the menus.  But emacs does not always crash when I am using 
>>the
>> > menus.  It may crash even when I am not using any menus sometimes.  Not 
>>sure
>> > why.
>>
>>The menus are a very likely cause.  We've had more than one bug report
>>pointing to them.  Of course we could only be sure if you provided a
>>backtrace from the crash.  I am not sure if the crash dialog of
>>Windows provides this kind of information or if you have to run Emacs
>>under a debugger.
>>
>>If the cause is in the menus a new version of the bundle won't help,
>>because this issue hasn't been fixed yet.
>>
>>You could try not to use the menus for some time and see if this makes
>>the crashes go away.
>>
(Continue reading)

MrJ Man | 9 Oct 2006 09:09
Picon
Favicon

Problem with preview-latex and ghostscript in suse 10

I have installed auctex-emacs-11.83-1.suse in suse 10,
ESP Ghostscript 8.15.0 (2004-09-22) and the auctex
part works fine, yet the preview-latex part displays
the error images; in particular, the gs process is
stalled after the generation of the preview.ps file. I
checked the variable preview-gs-init-string and input
it on the gs command prompt and nothing happened, yet
if I run the same command line with the path of the
preview.ps file appended to it, the png images are
generated normally, though with white background
colour. I have read the other reports about
ghostscript problems, however the problem appears to
have nothing to do with /invalidfileaccess (bear in
mind I am not quite familiar with postscript). What do
you think?

One more thing: I have written a minor environment
(about 100 lines, see the attached file) in emacs lisp
in order to change the input language automatically
between latex macros and the document text. I have
been using it for a couple of years and it works
pretty well; it probably has a few bugs and needs some
code cleaning, so I thought maybe someone with more
lisp experience could take a look and give me some
suggestions.

Regards

__________________________________________________
Do You Yahoo!?
(Continue reading)


Gmane