Leo | 8 Jan 10:47 2009
Face
Picon

Re: Determination of value for TeX-macro-private

The following output is tested with MiKTeX 2.7 on windows.

On 2008-12-16 05:17 +0800, Ralf Angeli wrote:
> kpsewhich --var-value=TEXMFHOME

findtexmf: --var-value=TEXMFHOME: unknown option

> or kpsewhich --expand-var=\$TEXMFHOME

[Nothing was returned]

Hope this helps,
--

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  I use Emacs  :.
Leo | 8 Jan 10:52 2009
Face
Picon

C-c ? is slow (was: C-c ? error)

Hi there,

Thank you for fixing the bug. I have been using C-c ? to open TeX/LaTeX
manuals and noticed that it has been very slow to use. My guess is that
C-c ? is building a completion list each time the command is invoked.

Can the performance of this command `TeX-doc' be improved?

Thank you,
--

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  I use Emacs  :.
Leo | 8 Jan 11:16 2009
Face
Picon

[proposal] Better Defaults When Inserting Some Macros

Hi there,

I have been using AUCTeX lately for my thesis and for taking various
notes. I have found AUCTeX indispensable when editting LaTeX. There are,
however, two minor improvements regarding inserting some macros I would
like to suggest.

1. \maketitle and the like

It is better that no braces are inserted in macros like this.

2. \LaTeX and the like

It is better leaving the point immediately after the closing '}'.

What do you think?

Best,
--

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  I use Emacs  :.
Leo | 10 Jan 04:55 2009
Picon

Syntax Spec (was: Happy Birthday 11.84)

Hi Ralf,

On 2008-02-06 06:15 +0800, Ralf Angeli wrote:
> My biggest fear at the moment is that the notation for specifying syntax
> alternatives is not flexible or intuitive enough.  This is currently
> done with a prefix notation.  So for example "|{\" means that the next
> token could either be a TeX group ("{") or a macro ("\").  There is
> currently only support for two alternatives.  If we wanted to allow more
> than two this might become ugly, i.e. with the example above one would
> have to write "|{|\_" meaning "{ or \ or _".

I came across this post while I was trying to figure out what is syntax
spec in `font-latex-add-keywords'. I also did search of that function as
well as "syntax" in the AUCTeX manual with no avail.

`font-latex-add-keywords' is not documented but is extensively used in
style files. It seems `font-latex-user-keyword-classes' and
`font-latex-built-in-keyword-classes' partially explain what syntax spec
is. But in some style files such as beamer.el, "<" is also used. Does
that mean one can supply any char as syntax spec?

     (font-latex-add-keywords '(("frametitle" "<[{")) 'slide-title)

I am new to AUCTeX although I am trying to be fairly familiar with it so
that I can easily create styles for my LaTeX editting.

Thanks again for making AUCTeX better and better.

Best wishes,
--

-- 
(Continue reading)

Leo | 11 Jan 14:50 2009
Picon

Re: pstricks.el

On 2007-07-10 04:32 +0800, Holger Sparr wrote:
> Hi,

Hi Holger.

> attached is an updated version of pstricks.el.
>
[...]

Any progress in getting this file into AUCTeX?

Best,
--

-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
Angelo Graziosi | 13 Jan 22:24 2009
Picon

Strange behaviour

I use Emacs-23+AUCTeX latest CVS and I see the following strange
behaviour, at least in my opinion.

Suppose that in my TeX doc (.tex) I have

... $e^{+}$...

and that I have to change the '+' (plus) sign with the '-' (minus). Then
I select[*] '+' and type '-', but I got

... $e^{+-}$...

and not ... $e^{-}$... I have to delete the extra '+' manually.

This happens only with the '-' (minus) character. If I type any other
character it works fine, i.e. selecting the '+' and typing 'a' or 'b'
or... whatever, I got (correctly)

... $e^{a}$... or ... $e^{b}$... or...

Another example: if in the word 'verbatim' I would change any character
(say the 'i') with the '-' (minus) then selecting 'i' and typing '-'
produces 'verbati-m' and not 'verbat-m'.

The above happens only with AUCTeX. If I write .F, .txt, .c, .cxx etc.,
the examples given work just fine.

Cheers,
    Angelo.

(Continue reading)

holger.sparr | 14 Jan 09:27 2009
Picon
Picon

Re: pstricks.el


Hi Leo,

sorry for not answering your first post in this thread. Thank you for
trying these style files and for bringing it back to my attention.

Leo schrieb:

> On 2007-07-09 21:32 +0100, Holger Sparr wrote:

[...]

> I am getting the following error:
>
> ,----
> | Debugger entered--Lisp error: (void-variable LaTeX-mode-map)

That is strange since this map is defined in AUCTeX itself and should be
present.

A workaround is to comment out all the "(define-key LaTeX-mode-map ...)"
lines.

> |   (define-key LaTeX-mode-map "\C-cpa" (quote LaTeX-pst-parameters-add))
> |   load("pstricks")
> |   load-library("pstricks")
> |   eval((load-library "pstricks"))
> |   do-after-load-evaluation("/usr/local/share/emacs/site-lisp/auctex-el/auctex/tex.elc")
> |   tex-mode()
> |   set-auto-mode-0(tex-mode nil)
(Continue reading)

Ralf Angeli | 14 Jan 20:59 2009
Picon

Re: Strange behaviour

* Angelo Graziosi (2009-01-13) writes:

> Suppose that in my TeX doc (.tex) I have
>
> ... $e^{+}$...
>
> and that I have to change the '+' (plus) sign with the '-' (minus). Then
> I select[*] '+' and type '-', but I got
>
> ... $e^{+-}$...
>
> and not ... $e^{-}$... I have to delete the extra '+' manually.

Fixed in CVS.  Thanks for the report.

--

-- 
Ralf
Angelo Graziosi | 14 Jan 22:32 2009
Picon

Re: Strange behaviour

Ralf Angeli ha scritto:
> * Angelo Graziosi (2009-01-13) writes:
> 
>> Suppose that in my TeX doc (.tex) I have
>>
>> ... $e^{+}$...
>>
>> and that I have to change the '+' (plus) sign with the '-' (minus). Then
>> I select[*] '+' and type '-', but I got
>>
>> ... $e^{+-}$...
>>
>> and not ... $e^{-}$... I have to delete the extra '+' manually.
> 
> Fixed in CVS.  Thanks for the report.
> 

Now it works just fine!

Many thanks,
    Angelo.
David Kastrup | 21 Jan 20:23 2009
Picon
Picon

Re: Re: pstricks.el

holger.sparr <at> gmx.net writes:

> Hi Leo,
>
> sorry for not answering your first post in this thread. Thank you for
> trying these style files and for bringing it back to my attention.
>
> Leo schrieb:
>
>> On 2007-07-09 21:32 +0100, Holger Sparr wrote:
>
> [...]
>
>> I am getting the following error:
>>
>> ,----
>> | Debugger entered--Lisp error: (void-variable LaTeX-mode-map)
>
> That is strange since this map is defined in AUCTeX itself and should be
> present.
>
> A workaround is to comment out all the "(define-key LaTeX-mode-map ...)"
> lines.
>
>> |   (define-key LaTeX-mode-map "\C-cpa" (quote LaTeX-pst-parameters-add))
>> |   load("pstricks")
>> |   load-library("pstricks")
>> |   eval((load-library "pstricks"))
>> |   do-after-load-evaluation("/usr/local/share/emacs/site-lisp/auctex-el/auctex/tex.elc")
>> |   tex-mode()
(Continue reading)


Gmane