unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* AUCTeX: quotation marks in latex-mode
@ 2005-06-06 11:34 knubee
  2005-06-06 11:43 ` Ralf Angeli
  2005-06-06 11:44 ` David Kastrup
  0 siblings, 2 replies; 5+ messages in thread
From: knubee @ 2005-06-06 11:34 UTC (permalink / raw)


I use Auctex for editing documents that also include examples of
various kinds of programming code. And when writing such example code,
I will sometimes need to use a regular quotation mark rather than the
fancy quote marks:

"error" rather than ``error''

Is there some quick key-combination for inserting a regular quotation
while in latex-mode of Auctex?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AUCTeX: quotation marks in latex-mode
  2005-06-06 11:34 AUCTeX: quotation marks in latex-mode knubee
@ 2005-06-06 11:43 ` Ralf Angeli
  2005-06-06 11:44 ` David Kastrup
  1 sibling, 0 replies; 5+ messages in thread
From: Ralf Angeli @ 2005-06-06 11:43 UTC (permalink / raw)


* knubee@gmail.com (2005-06-06) writes:

> Is there some quick key-combination for inserting a regular quotation
> while in latex-mode of Auctex?

>From the manual:

,----[ (info "(auctex)Quotes") ]
| In TeX, literal double quotes `"like this"' are seldom used, instead
| two single quotes are used ```like this'''.  To help you insert these
| efficiently, AUCTeX allows you to continue to press `"' to insert two
| single quotes.  To get a literal double quote, press `"' twice.
`----

-- 
Ralf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AUCTeX: quotation marks in latex-mode
  2005-06-06 11:34 AUCTeX: quotation marks in latex-mode knubee
  2005-06-06 11:43 ` Ralf Angeli
@ 2005-06-06 11:44 ` David Kastrup
  2005-06-06 12:06   ` knubee
  1 sibling, 1 reply; 5+ messages in thread
From: David Kastrup @ 2005-06-06 11:44 UTC (permalink / raw)


"knubee" <knubee@gmail.com> writes:

> I use Auctex for editing documents that also include examples of
> various kinds of programming code. And when writing such example code,
> I will sometimes need to use a regular quotation mark rather than the
> fancy quote marks:
>
> "error" rather than ``error''
>
> Is there some quick key-combination for inserting a regular quotation
> while in latex-mode of Auctex?

""

And of course, what always works to bypass _any_ electric stuff in
Emacs is C-q ".

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AUCTeX: quotation marks in latex-mode
  2005-06-06 11:44 ` David Kastrup
@ 2005-06-06 12:06   ` knubee
  2005-06-06 12:31     ` David Kastrup
  0 siblings, 1 reply; 5+ messages in thread
From: knubee @ 2005-06-06 12:06 UTC (permalink / raw)


> From the manual:

doh! (I need to watch out this growing habit of searching Google
first/only for the answer to questions like this! :-))

> And of course, what always works to bypass _any_ electric stuff in Emacs is C-q ".

Ah, good to know.

Thank you both.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: AUCTeX: quotation marks in latex-mode
  2005-06-06 12:06   ` knubee
@ 2005-06-06 12:31     ` David Kastrup
  0 siblings, 0 replies; 5+ messages in thread
From: David Kastrup @ 2005-06-06 12:31 UTC (permalink / raw)


"knubee" <knubee@gmail.com> writes:

>> From the manual:
>
> doh! (I need to watch out this growing habit of searching Google
> first/only for the answer to questions like this! :-))

We need to poison Google's cache with references to the manual.  It's
really hopeless.

Actually, for technical questions you are often better off using
Google Groups: frequently asked questions get stronger weight there.

But the hyperlinked manual in Emacs beats this hands down.  In this
case, when in TeX mode,

C-c C-i i quotes RET

followed by "," a few times will give you more information than you
probably want, and quite faster and pointedly than Google could hope
to achieve.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-06-06 12:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-06 11:34 AUCTeX: quotation marks in latex-mode knubee
2005-06-06 11:43 ` Ralf Angeli
2005-06-06 11:44 ` David Kastrup
2005-06-06 12:06   ` knubee
2005-06-06 12:31     ` David Kastrup

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).