unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: richard.banach@manchester.ac.uk (Richard Banach)
To: richard.banach@manchester.ac.uk, rgm@gnu.org
Cc: 28277@debbugs.gnu.org
Subject: bug#28277: emacs -nw bug?
Date: Tue, 29 Aug 2017 17:36:10 +0100	[thread overview]
Message-ID: <20170829163610.6B412301033@cspc120.cs.man.ac.uk> (raw)
In-Reply-To: <63tw0qfjvu.fsf@fencepost.gnu.org>

Glenn Morris <rgm@gnu.org> wrote:

| Richard Banach wrote:
|
| > I use   emacs -nw  and see what looks like a bug
| >
| > * in tex mode, if I type   $\it identifiername$   it doesn't recognise
| > the second $ as closing the scope of \it ... and wants to underline
| > everything that follows ... i haven't found how to turn this off
|
| Thanks for the report. This is not specific to emacs -nw.
| Relevant forms that tex-mode does understand are:
|
| $foo$
| \textit{foo}
| {\it foo}
|
| I'm not sure what you are trying to achieve with an \it inside math mode?
| I don't think I've seen that form used before.


hi,

here's the explanation .....

ideally, you could use

  \usepackage{oz}

which gives exactly the result i'd like inside any  $_math_scope_$

unfortunately, publishers (springer, elsevier,etc) as a rule don't
recognise oz and remove it, without compensating ... result ugly

you can do it the hard way ....

  $\mathit{identifiername}$

or slightly less good

  $\textit{identifiername}$

or (same)

  ${\it identifiername}$

or (lazy way)

  $\it identifiername$

the last three of which give basically the same results, but
the last of which requires the least typing (if, like me, you're
a bit annoyed at not being able to have \usepackage{oz})

cheers,

richard.

ps. in ordinary emacs (i.e. not -nw) it doesn't try to underline
\it stuff, so the problem doesn't arise visually (in my installation)





  reply	other threads:[~2017-08-29 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 12:46 bug#28277: emacs -nw bug? Richard Banach
2017-08-29 15:56 ` Glenn Morris
2017-08-29 16:36   ` Richard Banach [this message]
2017-08-29 16:53     ` Glenn Morris
2017-08-30  9:45       ` Richard Banach
2017-08-30 16:48         ` Glenn Morris
2019-10-30 16:43 ` Lars Ingebrigtsen
2019-11-04 14:53   ` Richard Banach
2020-08-10 14:28   ` Lars Ingebrigtsen

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=20170829163610.6B412301033@cspc120.cs.man.ac.uk \
    --to=richard.banach@manchester.ac.uk \
    --cc=28277@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /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).