emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#34790: closed (LaTeX mode \href bug)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#34790: closed (LaTeX mode \href bug)
Date: Mon, 01 Apr 2019 19:23:01 +0000

Your message dated Mon, 01 Apr 2019 21:15:26 +0200
with message-id <address@hidden>
and subject line Re: bug#34790: LaTeX mode \href bug
has caused the debbugs.gnu.org bug report #34790,
regarding LaTeX mode \href bug
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
34790: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34790
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: LaTeX mode \href bug Date: Fri, 8 Mar 2019 23:51:02 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hi!

I am sorry if this is the wrong place to report this but:

When editing in LaTeX mode in Emacs, if an href link has a percent sign, it will display the rest of the line as if it were a comment.
Everything still "compiles" correctly, but in terms of the "visual effect", it is wrong, since percent signs in the link should not give the impression of "commenting out" the rest of the line.
Here is an example:

This is what actually happens:
\href{https://en.wikipedia.org/wiki/Wigner%E2%80%93Seitz_cell}{Wigner-Seitz cell}

This is how it should be:
\href{https://en.wikipedia.org/wiki/Wigner%E2%80%93Seitz_cell}{Wigner-Seitz cell}

Could someone forward this report/query to the right location...
(Also, in case it's relevant I'm using Emacs 25.2.2 on Ubuntu 18.04.2 GNU/Linux.)

Best,
/Nathan


--- End Message ---
--- Begin Message --- Subject: Re: bug#34790: LaTeX mode \href bug Date: Mon, 01 Apr 2019 21:15:26 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50
Arash Esbati <address@hidden> writes:

> Thanks for catching this.  I've added to patch to hyperref.el fixing
> this issue[1].  As an intermediate solution, you can add the following
> lines to your init file until the next release of AUCTeX:
>
>     (with-eval-after-load "hyperref"
>       (add-to-list 'LaTeX-verbatim-macros-with-braces-local "href")
>       (font-latex-update-font-lock t))

Following up myself, this was an AUCTeX issue which is resolved.  Hence
I'm closing this report.

Best, Arash


--- End Message ---

reply via email to

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