[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6391] plain style in node names in menu entries as well
From: |
Gavin D. Smith |
Subject: |
[6391] plain style in node names in menu entries as well |
Date: |
Sun, 05 Jul 2015 22:06:36 +0000 |
Revision: 6391
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6391
Author: gavin
Date: 2015-07-05 22:06:35 +0000 (Sun, 05 Jul 2015)
Log Message:
-----------
plain style in node names in menu entries as well
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Convert/Plaintext.pm
trunk/tp/t/results/converters_tests/at_commands_in_refs.pl
trunk/tp/t/results/converters_tests/at_commands_in_refs_latin1/res_info/at_commands_in_refs_latin1.info
trunk/tp/t/results/converters_tests/at_commands_in_refs_utf8/res_info/at_commands_in_refs_utf8.info
trunk/tp/t/results/sectioning/equivalent_labels.pl
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-07-05 21:34:39 UTC (rev 6390)
+++ trunk/ChangeLog 2015-07-05 22:06:35 UTC (rev 6391)
@@ -18,6 +18,7 @@
or it was defined with @definfoenclose.
<cross-reference command>: Suppress styles for converting node
name.
+ <menu entry>: Suppress styles for node names.
2015-07-04 Gavin Smith <address@hidden>
Modified: trunk/tp/Texinfo/Convert/Plaintext.pm
===================================================================
--- trunk/tp/Texinfo/Convert/Plaintext.pm 2015-07-05 21:34:39 UTC (rev
6390)
+++ trunk/tp/Texinfo/Convert/Plaintext.pm 2015-07-05 22:06:35 UTC (rev
6391)
@@ -3050,8 +3050,11 @@
my $entry_name_seen = 0;
foreach my $arg (@{$root->{'args'}}) {
if ($arg->{'type'} eq 'menu_entry_node') {
+ $self->{'formatters'}->[-1]->{'suppress_styles'} = 1;
my $node_text = $self->_convert({'type' => '_code',
'contents' => $arg->{'contents'}});
+
+ delete $self->{'formatters'}->[-1]->{'suppress_styles'};
if ($entry_name_seen) {
if ($node_text =~ /([,\t]|\.\s)/
and $self->get_conf('INFO_SPECIAL_CHARS_WARNING')) {
Modified: trunk/tp/t/results/converters_tests/at_commands_in_refs.pl
===================================================================
--- trunk/tp/t/results/converters_tests/at_commands_in_refs.pl 2015-07-05
21:34:39 UTC (rev 6390)
+++ trunk/tp/t/results/converters_tests/at_commands_in_refs.pl 2015-07-05
22:06:35 UTC (rev 6391)
@@ -23563,11 +23563,11 @@
* the someone <address@hidden> <address@hidden>::
* [f--ile1] [image src="f--ile.png" alt="alt" text="Image
description\\"\\"\\\\."