GNU bug report logs - #36313
12.1.2; percent symbol in \url{}

Previous Next

Package: auctex;

Reported by: Ryo Furue <ryofurue <at> gmail.com>

Date: Thu, 20 Jun 2019 16:41:01 UTC

Severity: normal

Tags: notabug

Found in version 12.1.2

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 36313 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Ryo Furue <ryofurue <at> gmail.com>
Cc: 36313 <at> debbugs.gnu.org
Subject: Re: bug#36313: 12.1.2; percent symbol in \url{}
Date: Sun, 23 Jun 2019 21:53:50 +0200
Ryo Furue <ryofurue <at> gmail.com> 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




This bug report was last modified 5 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.