[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6226] directed quotation marks for @dfn
From: |
Gavin D. Smith |
Subject: |
[6226] directed quotation marks for @dfn |
Date: |
Thu, 23 Apr 2015 08:52:37 +0000 |
Revision: 6226
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6226
Author: gavin
Date: 2015-04-23 08:52:35 +0000 (Thu, 23 Apr 2015)
Log Message:
-----------
directed quotation marks for @dfn
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Convert/Plaintext.pm
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-04-22 17:05:34 UTC (rev 6225)
+++ trunk/ChangeLog 2015-04-23 08:52:35 UTC (rev 6226)
@@ -1,3 +1,10 @@
+2015-04-23 Gavin Smith <address@hidden>
+
+ * tp/Texinfo/Convert/Plaintext.pm (converter_initialize)
+ <utf-8 output>: Override $self->{'style_map'}->{'dfn'} to use
+ directed double quotes. Use of directed quotes for @dfn
+ suggested by Paul Eggert.
+
2015-04-22 Karl Berry <address@hidden>
* doc/txi-es.tex (\putwordin): new define, as `en'.
Modified: trunk/tp/Texinfo/Convert/Plaintext.pm
===================================================================
--- trunk/tp/Texinfo/Convert/Plaintext.pm 2015-04-22 17:05:34 UTC (rev
6225)
+++ trunk/tp/Texinfo/Convert/Plaintext.pm 2015-04-23 08:52:35 UTC (rev
6226)
@@ -390,9 +390,13 @@
and $self->get_conf('OUTPUT_ENCODING_NAME') eq 'utf-8') {
# cache this to avoid redoing calls to get_conf
$self->{'to_utf8'} = 1;
+
foreach my $quoted_command (@quoted_commands) {
+ # Directed single quotes
$self->{'style_map'}->{$quoted_command} = ["\x{2018}", "\x{2019}"];
}
+ # Directed double quotes
+ $self->{'style_map'}->{'dfn'} = ["\x{201C}", "\x{201D}"];
}
$self->{'convert_text_options'}
= {Texinfo::Common::_convert_text_options($self)};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6226] directed quotation marks for @dfn,
Gavin D. Smith <=