Fix curved quotes in printed manual
* doc/emacs/text.texi (Quotation Marks): Fix curved quote characters in the printed version of the manual.
This commit is contained in:
parent
e4a881b5cf
commit
2ebc8dc3b6
1 changed files with 15 additions and 6 deletions
|
@ -424,22 +424,31 @@ beginning of a line.
|
||||||
@cindex curved quotes
|
@cindex curved quotes
|
||||||
@cindex guillemets
|
@cindex guillemets
|
||||||
@findex electric-quote-mode
|
@findex electric-quote-mode
|
||||||
|
@c The funny quoting below is to make the printed version look
|
||||||
|
@c correct. FIXME.
|
||||||
One common way to quote is the typewriter convention, which quotes
|
One common way to quote is the typewriter convention, which quotes
|
||||||
using straight apostrophes @t{'like this'} or double-quotes @t{"like
|
using straight apostrophes @t{'like this'} or double-quotes @t{"like
|
||||||
this"}. Another common way is the curved quote convention, which uses
|
this"}. Another common way is the curved quote convention, which uses
|
||||||
left and right single or double quotation marks @t{‘like this’} or
|
left and right single or double quotation marks `@t{like this}' or
|
||||||
@t{“like this”}. In text files, typewriter quotes are simple and
|
``@t{like this}''@footnote{
|
||||||
|
The curved single quote characters are U+2018 LEFT SINGLE QUOTATION
|
||||||
|
MARK and U+2018 RIGHT SINGLE QUOTATION MARK; the curved double quotes
|
||||||
|
are U+201C LEFT DOUBLE QUOTATION MARK and U+201D RIGHT DOUBLE
|
||||||
|
QUOTATION MARK. On text terminals which cannot display these
|
||||||
|
characters, the Info reader might show them as the typewriter ASCII
|
||||||
|
quote characters.
|
||||||
|
}. In text files, typewriter quotes are simple and
|
||||||
portable; curved quotes are less ambiguous and typically look nicer.
|
portable; curved quotes are less ambiguous and typically look nicer.
|
||||||
|
|
||||||
@vindex electric-quote-chars
|
@vindex electric-quote-chars
|
||||||
Electric Quote mode makes it easier to type curved quotes. As you
|
Electric Quote mode makes it easier to type curved quotes. As you
|
||||||
type characters it optionally converts @t{`} to @t{‘}, @t{'} to @t{’},
|
type characters it optionally converts @t{`} to ‘, @t{'} to ',
|
||||||
@t{``} to @t{“}, and @t{''} to @t{”}. It's possible to change the
|
@t{``} to ``, and @t{''} to ''. It's possible to change the
|
||||||
default quotes listed above, by customizing the variable
|
default quotes listed above, by customizing the variable
|
||||||
@code{electric-quote-chars}, a list of four characters, where the
|
@code{electric-quote-chars}, a list of four characters, where the
|
||||||
items correspond to the left single quote, the right single quote, the
|
items correspond to the left single quote, the right single quote, the
|
||||||
left double quote and the right double quote, respectively, whose
|
left double quote and the right double quote, respectively, whose
|
||||||
default value is @code{'(?‘ ?’ ?“ ?”)}.
|
default value is @code{'(?@r{`} ?@r{'} ?@r{``} ?@r{''})}.
|
||||||
|
|
||||||
@vindex electric-quote-paragraph
|
@vindex electric-quote-paragraph
|
||||||
@vindex electric-quote-comment
|
@vindex electric-quote-comment
|
||||||
|
@ -460,7 +469,7 @@ To toggle it globally, type
|
||||||
type @kbd{C-q `} or @kbd{C-q '} instead of @kbd{`} or @kbd{'}. To
|
type @kbd{C-q `} or @kbd{C-q '} instead of @kbd{`} or @kbd{'}. To
|
||||||
insert a curved quote even when Electric Quote is disabled or
|
insert a curved quote even when Electric Quote is disabled or
|
||||||
inactive, you can type @kbd{C-x 8 [} for @t{‘}, @kbd{C-x 8 ]} for
|
inactive, you can type @kbd{C-x 8 [} for @t{‘}, @kbd{C-x 8 ]} for
|
||||||
@t{’}, @kbd{C-x 8 @{} for @t{“}, and @kbd{C-x 8 @}} for @t{”}.
|
@t{’}, @kbd{C-x 8 @{} for ``, and @kbd{C-x 8 @}} for ''.
|
||||||
@xref{Inserting Text}. Note that the value of
|
@xref{Inserting Text}. Note that the value of
|
||||||
@code{electric-quote-chars} does not affect these keybindings, they
|
@code{electric-quote-chars} does not affect these keybindings, they
|
||||||
are not keybindings of @code{electric-quote-mode} but bound in
|
are not keybindings of @code{electric-quote-mode} but bound in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue