bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36313: 12.1.2; percent symbol in \url{}


From: Arash Esbati
Subject: bug#36313: 12.1.2; percent symbol in \url{}
Date: Sun, 23 Jun 2019 21:53:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50

Ryo Furue <address@hidden> writes:

> Some valid URLs contain the percent symbol but the LaTeX mode (I don't
> know its official name) treats it as the beginning of a comment and uses
> the comment color as a result.
>
> Emacs  : GNU Emacs 26.2 (build 1, x86_64-apple-darwin18.2.0, NS
> appkit-1671.20 Version 10.14.3 (Build 18D109))
> of 2019-04-13
> Package: 12.1.2
>
> current state:
> ==============
> (setq
> AUCTeX-date "2019-02-08"
> window-system 'ns
> LaTeX-version "2e"
> TeX-style-path '("/usr/local/var/auctex"
>  "/Users/furue/.emacs.d/elpa/auctex-12.1.2/style"
>  "/Users/furue/.emacs.d/auctex/auto"
>  "/Users/furue/.emacs.d/auctex/style" "auto" "style")
> TeX-auto-save nil
> TeX-parse-self nil

Hi Ryo,

AUCTeX can DTRT here if you give her a chance.  Please customize the
variable `TeX-parse-self' to t, restart Emacs and open your .tex file
again.  AUCTeX will then load a support file for hyperref or url (or
both, depending on your .tex file) and the fontification will be
correct.

Best, Arash





reply via email to

[Prev in Thread] Current Thread [Next in Thread]