[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: After Debian upgrade labels not created
From: |
Janusz S . Bień |
Subject: |
Re: After Debian upgrade labels not created |
Date: |
Sat, 05 Aug 2023 11:20:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
On Sat, Aug 05 2023 at 10:43 +02, Arash Esbati wrote:
> Janusz S. Bień <jsbien@mimuw.edu.pl> writes:
>
>> I mean upgrage to Debian 12 (bookworm)
>
> Ah, Ok.
>
>> Yes. I've installed it from ELPA and was not aware it's not upgraded
>> automatically.
>
> M?ELPA packages are controlled by Emacs, 'M-x list-packages RET' should
> give a clue.
The clue could be more explicit...
>
>> I don't know how to load AUCTeX with "emacs -Q".
>
> The procedure is:
>
> • emacs -Q
> • M-x package-initialize RET
>
> which activates all your packages. Or
>
> • emacs -Q
> • M-: (progn (package-initialize t) (package-activate 'auctex)) RET
>
> to activate AUCTeX only.
Thanks!
>
>> Anyway I'm unable now to reproduce the problem.
>
> Problem solved ;-)
I hope so :-)
>
>> BTW, looks like when creating labels AUCTeX skips non-ASCII characters,
>> so you get something like
>>
>> \subsection{Żółć}
>> \label{sec:o}
>>
>> I can live with it, but I'm curious whether you are aware of it.
>
> Automatic insertion of labels is done by RefTeX and this particular
> behavior is controlled by the variable `reftex-label-illegal-re':
>
> ,----[ C-h v reftex-label-illegal-re RET ]
> | reftex-label-illegal-re is a variable defined in ‘reftex-vars.el’.
> |
> | Its value is "[^-a-zA-Z0-9_+=:;,.]"
> |
> | Regexp matching characters not valid in labels.
> |
> | You can customize this variable.
> |
> `----
>
> which means ignore non-ASCII chars. You can try to set it to something
> like this and see if it works:
>
> (setq reftex-label-illegal-re "[^-[:alnum:]_+=:;,.]")
Yes, it works! Thank you very much!
Best regards
--
,
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien
- After Debian upgrade labels not created, Janusz S . Bień, 2023/08/02
- Re: After Debian upgrade labels not created, Arash Esbati, 2023/08/04
- Re: After Debian upgrade labels not created, Janusz S . Bień, 2023/08/05
- Re: After Debian upgrade labels not created, Arash Esbati, 2023/08/05
- Re: After Debian upgrade labels not created,
Janusz S . Bień <=
- Re: After Debian upgrade labels not created, Arash Esbati, 2023/08/05
- Re: After Debian upgrade labels not created, Janusz S . Bień, 2023/08/05
- Re: After Debian upgrade labels not created, Arash Esbati, 2023/08/05
- Re: After Debian upgrade labels not created, Janusz S . Bień, 2023/08/05
- Re: After Debian upgrade labels not created, Ikumi Keita, 2023/08/05
- Re: After Debian upgrade labels not created, Janusz S . Bień, 2023/08/05