unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: 23102@debbugs.gnu.org
Subject: bug#23102: Wrong usage of underscore in .tex files
Date: Mon, 24 Jan 2022 12:39:50 +0100	[thread overview]
Message-ID: <87wnip8ird.fsf@gnus.org> (raw)
In-Reply-To: <56F32728.1000105@alice.it> (Angelo Graziosi's message of "Thu, 24 Mar 2016 00:30:48 +0100")

Angelo Graziosi <angelo.graziosi@alice.it> writes:

> Attached is how Emacs displays the usage of underscore out of
> mathematics and friends, for example:
>
> \href{http://www.foo.it/bla_bla.html}{BLA_BLA}
>
> here the underscore is not used to display a subscript as in $A_n$ so
> the result, in my opinion, is wrong. At first sight, it is also almost
> unreadable...

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I've now fixed this in Emacs 29, but it's a kind of gross hack.
tex-mode doesn't seem to have that much infrastructure for handling
stuff like this, but I may be missing something.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      parent reply	other threads:[~2022-01-24 11:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-23 23:30 bug#23102: Wrong usage of underscore in .tex files Angelo Graziosi
2016-03-27  0:40 ` John Wiegley
2016-03-27 19:53   ` Angelo Graziosi
2016-03-28  9:46     ` Tassilo Horn
2016-03-29  8:44       ` Angelo Graziosi
2016-03-29  6:52     ` John Wiegley
2016-03-29  8:42       ` Angelo Graziosi
2022-01-24 11:39 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnip8ird.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=23102@debbugs.gnu.org \
    --cc=angelo.graziosi@alice.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).