texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp Texinfo/Convert/DocBook.pm Texinfo/C...


From: Patrice Dumas
Subject: texinfo/tp Texinfo/Convert/DocBook.pm Texinfo/C...
Date: Fri, 16 Sep 2011 22:23:18 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/09/16 22:23:18

Modified files:
        tp/Texinfo/Convert: DocBook.pm HTML.pm 
        tp/t           : 02coverage.t 
        tp/t/results/converters_tests: accent.pl accentenc.pl 
                                       accentenc_no_iso_no_entity.pl 
        tp/t/results/coverage_braces: test_w.pl 
        tp/t/results/misc_commands: test_allowcodebreaks.pl 
        tp/t/results/sectioning: at_commands_in_refs.pl 
Added files:
        tp/t/results/coverage: empty_w.pl 

Log message:
        Always add something in the output for @w, such that it may be used
        to separate output strings, as explained in the manual.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/DocBook.pm?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/HTML.pm?cvsroot=texinfo&r1=1.149&r2=1.150
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/02coverage.t?cvsroot=texinfo&r1=1.61&r2=1.62
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/converters_tests/accent.pl?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/converters_tests/accentenc.pl?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/converters_tests/accentenc_no_iso_no_entity.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/empty_w.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage_braces/test_w.pl?cvsroot=texinfo&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/test_allowcodebreaks.pl?cvsroot=texinfo&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/at_commands_in_refs.pl?cvsroot=texinfo&r1=1.51&r2=1.52

Patches:
Index: Texinfo/Convert/DocBook.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/DocBook.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- Texinfo/Convert/DocBook.pm  14 Sep 2011 22:59:13 -0000      1.5
+++ Texinfo/Convert/DocBook.pm  16 Sep 2011 22:23:16 -0000      1.6
@@ -153,8 +153,9 @@
 # in context command.
 my @all_style_commands = keys %{{ map { $_ => 1 }
     (keys(%Texinfo::Common::style_commands), keys(%style_attribute_commands),
-     'dmn', 'titlefont') }};
+     'w', 'dmn', 'titlefont') }};
 # 'w' is special
+my $w_command_mark = '<!-- /@w -->';
 
 my %style_commands_formatting;
 foreach my $command(@all_style_commands) {
@@ -766,7 +767,7 @@
           pop @{$self->{'document_context'}};
         }
         if ($root->{'cmdname'} eq 'w') {
-          $result .= '<!-- /@w -->';
+          $result .= $w_command_mark;
         }
         return $result;
       } elsif ($root->{'cmdname'} eq 'anchor') {
@@ -1010,6 +1011,9 @@
         # ignored command
         return '';
       }
+    # special case to ensure that @w leads to something even if empty
+    } elsif ($root->{'cmdname'} eq 'w') {
+      return $w_command_mark;
     } elsif (exists($Texinfo::Common::block_commands{$root->{'cmdname'}})) {
       if ($context_block_commands{$root->{'cmdname'}}) {
         push @{$self->{'document_context'}}, {};

Index: Texinfo/Convert/HTML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/HTML.pm,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -b -r1.149 -r1.150
--- Texinfo/Convert/HTML.pm     15 Sep 2011 20:01:43 -0000      1.149
+++ Texinfo/Convert/HTML.pm     16 Sep 2011 22:23:16 -0000      1.150
@@ -1217,7 +1217,7 @@
 # in context command.
 my @all_style_commands = keys %{{ map { $_ => 1 } 
     (keys(%style_commands), keys(%{$style_attribute_commands{'normal'}}),
-     'w', 'dmn') }};
+     'dmn') }};
 
 foreach my $command(@all_style_commands) {
   # default is no attribute.
@@ -1299,6 +1299,20 @@
   return $text;
 }
 
+sub _convert_w_command($$$$)
+{
+  my $self = shift;
+  my $cmdname = shift;
+  my $command = shift;
+  my $args = shift;
+  my $text = $args->[0]->{'normal'};
+  if (!defined($text)) {
+    $text = '';
+  }
+  return $text . '<!-- /@w -->';
+}
+$default_commands_conversion{'w'} = \&_convert_w_command;
+
 sub _convert_value_command($$$$)
 {
   my $self = shift;

Index: t/02coverage.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/02coverage.t,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- t/02coverage.t      12 Sep 2011 23:39:14 -0000      1.61
+++ t/02coverage.t      16 Sep 2011 22:23:16 -0000      1.62
@@ -32,6 +32,9 @@
 @\
 
 '],
+['empty_w',
+'@w{} @w{a b}.'
+],
 ['hyphenation',
 '
 @hyphenation{some-where }

Index: t/results/converters_tests/accent.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/converters_tests/accent.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- t/results/converters_tests/accent.pl        19 Aug 2011 23:09:38 -0000      
1.4
+++ t/results/converters_tests/accent.pl        16 Sep 2011 22:23:16 -0000      
1.5
@@ -2942,7 +2942,7 @@
 </p>
 <p>should be e=: &#275; &#275;
 </p>
-<p>should be e&rsquo;&rsquo;: e\'\' e\'\'
+<p>should be e&rsquo;<!-- /@w -->&rsquo;: e\'\' e\'\'
 </p>
 <p>should be e.: &#279; &#279;
 </p>

Index: t/results/converters_tests/accentenc.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/converters_tests/accentenc.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- t/results/converters_tests/accentenc.pl     19 Aug 2011 23:09:38 -0000      
1.4
+++ t/results/converters_tests/accentenc.pl     16 Sep 2011 22:23:17 -0000      
1.5
@@ -2999,7 +2999,7 @@
 </p>
 <p>should be e=: &#275; &#275;
 </p>
-<p>should be e&rsquo;&rsquo;: e\'\' e\'\'
+<p>should be e&rsquo;<!-- /@w -->&rsquo;: e\'\' e\'\'
 </p>
 <p>should be e.: &#279; &#279;
 </p>

Index: t/results/converters_tests/accentenc_no_iso_no_entity.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/converters_tests/accentenc_no_iso_no_entity.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/converters_tests/accentenc_no_iso_no_entity.pl    19 Aug 2011 
23:09:38 -0000      1.5
+++ t/results/converters_tests/accentenc_no_iso_no_entity.pl    16 Sep 2011 
22:23:17 -0000      1.6
@@ -2920,7 +2920,7 @@
 </p>
 <p>should be e=: &#275; &#275;
 </p>
-<p>should be e\'\': e\'\' e\'\'
+<p>should be e\'<!-- /@w -->\': e\'\' e\'\'
 </p>
 <p>should be e.: &#279; &#279;
 </p>

Index: t/results/coverage_braces/test_w.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/coverage_braces/test_w.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/results/coverage_braces/test_w.pl 13 Aug 2011 15:33:08 -0000      1.8
+++ t/results/coverage_braces/test_w.pl 16 Sep 2011 22:23:17 -0000      1.9
@@ -947,37 +947,38 @@
 ';
 
 
-$result_converted{'html_text'}->{'test_w'} = 
'<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&nbsp;bbbbbbbbbbbbb&nbsp;bbbbb&nbsp;bbb&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;bb&nbsp;.&nbsp;ccc&nbsp;dddd.
+$result_converted{'html_text'}->{'test_w'} = 
'<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&nbsp;bbbbbbbbbbbbb&nbsp;bbbbb&nbsp;bbb&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;b&nbsp;bb&nbsp;.&nbsp;ccc&nbsp;dddd<!--
 /@w -->.
 </p>
-<p>a a a a a a a a a a a a a a a a a a a a a a a a a a a a  
b&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a
+<p>a a a a a a a a a a a a a a a a a a a a a a a a a a a a  
b&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a&nbsp;a<!--
 /@w -->
 </p>
 
-
-<p>&nbsp;a&nbsp;rr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ggg.
+<p><!-- /@w -->
+</p>
+<p>&nbsp;a&nbsp;rr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ggg.<!-- /@w -->
 </p>
-<p>AAbbb.
+<p>AA<!-- /@w -->bbb.
 </p>
-<p>FFdnnn.
+<p>FFd<!-- /@w -->nnn.
 </p>
-<p>aa&nbsp;&nbsp;f&nbsp;&nbsp;fggg.
+<p>aa&nbsp;&nbsp;f&nbsp;&nbsp;f<!-- /@w -->ggg.
 </p>
-<p>aa2&nbsp;&nbsp;f&nbsp;&nbsp;f&nbsp;ggg2.
+<p>aa2&nbsp;&nbsp;f&nbsp;&nbsp;f&nbsp;<!-- /@w -->ggg2.
 </p>
 
-<p>aa3 &nbsp;&nbsp;f&nbsp;&nbsp;f&nbsp;ggg3.
+<p>aa3 &nbsp;&nbsp;f&nbsp;&nbsp;f&nbsp;<!-- /@w -->ggg3.
 </p>
 
-<p>aa4 &nbsp;&nbsp;f&nbsp;&nbsp;f&nbsp; ggg4.
+<p>aa4 &nbsp;&nbsp;f&nbsp;&nbsp;f&nbsp;<!-- /@w --> ggg4.
 </p>
-<p>aa5  ggg5.
+<p>aa5 <!-- /@w --> ggg5.
 </p>
-<p>aa6 ggg6.
+<p>aa6 <!-- /@w -->ggg6.
 </p>
-<p>aa6 ggg6.
+<p>aa6<!-- /@w --> ggg6.
 </p>
-<p>aaf &nbsp; bbb.
+<p>aaf &nbsp;<!-- /@w --> bbb.
 </p>
-<p>begin and end quotations: <tt>&lsquo;&lsquo;&hellip;&rsquo;&rsquo;</tt>.  
This
+<p>begin and end quotations: <tt>&lsquo;<!-- /@w -->&lsquo;&hellip;&rsquo;<!-- 
/@w -->&rsquo;</tt><!-- /@w -->.  This
 convention should be followed in Texinfo files.  TeX converts
 two single quotes to left- and right-hand doubled.
 </p>';

Index: t/results/misc_commands/test_allowcodebreaks.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/misc_commands/test_allowcodebreaks.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- t/results/misc_commands/test_allowcodebreaks.pl     19 Aug 2011 23:09:44 
-0000      1.13
+++ t/results/misc_commands/test_allowcodebreaks.pl     16 Sep 2011 22:23:17 
-0000      1.14
@@ -2738,10 +2738,10 @@
 </pre></div>
 
 <p>In w:
-Out&nbsp;of&nbsp;code&nbsp;&mdash;&nbsp;<span 
class="nolinebreak">out-of-code.</span>&nbsp;<code>1aaa</code>&nbsp;<code><span 
class="nocodebreak">2aaa-</span></code>&nbsp;<code><span 
class="nocodebreak">-3bbb</span></code>&nbsp;<code><span 
class="nocodebreak">4aaa-bbb</span></code>&nbsp;&nbsp;<code>&nbsp;<span 
class="nocodebreak">5aaa-bb</span></code>&nbsp;<code><span 
class="nocodebreak">6aaa-bb</span>&nbsp;</code>&nbsp;<code>ccc&nbsp;<span 
class="nocodebreak">7aaa-bbb</span></code>&nbsp;<code>ccc&nbsp;<span 
class="nocodebreak">8aaa-bbb</span>&nbsp;ddd</code>&nbsp;<code><span 
class="nocodebreak">9aaa-bbb</span>&nbsp;<span 
class="nocodebreak">rrr_vv</span></code>&nbsp;&lsquo;<samp><span 
class="nocodebreak">fff--</span>&nbsp;<span 
class="nocodebreak">---</span>&nbsp;minus-b&nbsp;<span 
class="nocodebreak">aa-tt</span>&eacute;<span 
class="nocodebreak">ff_gg</span>&nbsp;aa<span class="roman"><span 
class="nocodebreak">r-oman</span></span>&nbsp;&nbsp;<span 
class="nocodebreak">anc-hor</span><a name="A-nodew"></a></samp>&rsquo;&nbsp;
+Out&nbsp;of&nbsp;code&nbsp;&mdash;&nbsp;<span 
class="nolinebreak">out-of-code.</span>&nbsp;<code>1aaa</code>&nbsp;<code><span 
class="nocodebreak">2aaa-</span></code>&nbsp;<code><span 
class="nocodebreak">-3bbb</span></code>&nbsp;<code><span 
class="nocodebreak">4aaa-bbb</span></code>&nbsp;&nbsp;<code>&nbsp;<span 
class="nocodebreak">5aaa-bb</span></code>&nbsp;<code><span 
class="nocodebreak">6aaa-bb</span>&nbsp;</code>&nbsp;<code>ccc&nbsp;<span 
class="nocodebreak">7aaa-bbb</span></code>&nbsp;<code>ccc&nbsp;<span 
class="nocodebreak">8aaa-bbb</span>&nbsp;ddd</code>&nbsp;<code><span 
class="nocodebreak">9aaa-bbb</span>&nbsp;<span 
class="nocodebreak">rrr_vv</span></code>&nbsp;&lsquo;<samp><span 
class="nocodebreak">fff--</span>&nbsp;<span 
class="nocodebreak">---</span>&nbsp;minus-b&nbsp;<span 
class="nocodebreak">aa-tt</span>&eacute;<span 
class="nocodebreak">ff_gg</span>&nbsp;aa<span class="roman"><span 
class="nocodebreak">r-oman</span></span>&nbsp;&nbsp;<span 
class="nocodebreak">anc-hor</span><a 
name="A-nodew"></a></samp>&rsquo;&nbsp;<!-- /@w -->
 </p>
 <div class="example">
-<pre class="example"><code>in-example</code>
+<pre class="example"><code>in-example</code><!-- /@w -->
 </pre></div>
 
 <p>After true

Index: t/results/sectioning/at_commands_in_refs.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/at_commands_in_refs.pl,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- t/results/sectioning/at_commands_in_refs.pl 19 Aug 2011 23:09:45 -0000      
1.51
+++ t/results/sectioning/at_commands_in_refs.pl 16 Sep 2011 22:23:18 -0000      
1.52
@@ -20501,7 +20501,7 @@
 </td></tr>
 <tr><td align="left" valign="top">&bull; <a 
href="#-_0040-_007b_007d-_002e-"><tt> @ {} . 
</tt></a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
-<tr><td align="left" valign="top">&bull; <a 
href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i"><cite>cite asis</cite> in 
@w <b>b</b> <span class="roman">in r</span> SC <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>:</td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
+<tr><td align="left" valign="top">&bull; <a 
href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i"><cite>cite asis</cite> in 
@w <b>b</b><!-- /@w --> <span class="roman">in r</span> SC <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> 
<i>i</i></a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
 <tr><td align="left" valign="top">&bull; <a 
href="#env-code-option-samp-command-file-C_002dx-ESC"><code>env</code> 
<code>code</code> &lsquo;<samp>option</samp>&rsquo; 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> 
&lsquo;<tt>file</tt>&rsquo; <kbd>C-x 
&lt;ESC&gt;</kbd></a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
 </td></tr>
@@ -20672,7 +20672,7 @@
 <a name="-_0040-_007b_007d-_002e-"></a>
 <div class="header">
 <p>
-Next: <a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i" accesskey="n" 
rel="next"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>, Previous: <a 
href="#f_002d_002dile1-f_002d_002dile" accesskey="p" rel="previous"><img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
+Next: <a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i" accesskey="n" 
rel="next"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>, Previous: <a 
href="#f_002d_002dile1-f_002d_002dile" accesskey="p" rel="previous"><img 
src="f--ile1.jpg" alt="f--ile1">  <img src="f--ile.png" alt="alt"></a>, Up: <a 
href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <a name="-_0040-_007b_007d-_002e--1"></a>
 <h1 class="chapter">18 <tt> @ {} . </tt></h1>
@@ -20684,13 +20684,13 @@
 Next: <a href="#env-code-option-samp-command-file-C_002dx-ESC" accesskey="n" 
rel="next"><code>env</code> <code>code</code> &lsquo;<samp>option</samp>&rsquo; 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> 
&lsquo;<tt>file</tt>&rsquo; <kbd>C-x &lt;ESC&gt;</kbd></a>, Previous: <a 
href="#-_0040-_007b_007d-_002e-" accesskey="p" rel="previous"><tt> @ {} . 
</tt></a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <a name="cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i-1"></a>
-<h1 class="chapter">19 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></h1>
+<h1 class="chapter">19 <cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w 
--> <span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></h1>
 
 <hr>
 <a name="env-code-option-samp-command-file-C_002dx-ESC"></a>
 <div class="header">
 <p>
-Next: <a href="#g_t8_002e27in" accesskey="n" rel="next">8.27in</a>, Previous: 
<a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i" accesskey="p" 
rel="previous"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b> <span 
class="roman">in r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> 
<var>var</var> <em>dfn</em> <i>i</i></a>, Up: <a href="#Top" accesskey="u" 
rel="up">Top</a> &nbsp; </p>
+Next: <a href="#g_t8_002e27in" accesskey="n" rel="next">8.27in</a>, Previous: 
<a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i" accesskey="p" 
rel="previous"><cite>cite asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> 
<span class="roman">in r</span> <small>SC</small> <strong>str</strong> 
<tt>t</tt> <var>var</var> <em>dfn</em> <i>i</i></a>, Up: <a href="#Top" 
accesskey="u" rel="up">Top</a> &nbsp; </p>
 </div>
 <a name="env-code-option-samp-command-file-C_002dx-ESC-1"></a>
 <h1 class="chapter">20 <code>env</code> <code>code</code> 
&lsquo;<samp>option</samp>&rsquo; &lsquo;<samp>samp</samp>&rsquo; 
<code>command</code> &lsquo;<tt>file</tt>&rsquo; <kbd>C-x &lt;ESC&gt;</kbd></h1>
@@ -20752,7 +20752,7 @@
 <a href="#the-someone-no_005fexplain_0040there"><a 
href="mailto:address@hidden";>the someone</a> <a 
href="mailto:address@hidden";>address@hidden</a></a>
 <a href="#f_002d_002dile1-f_002d_002dile"><img src="f--ile1.jpg" 
alt="f--ile1">  <img src="f--ile.png" alt="alt"></a>
 <a href="#-_0040-_007b_007d-_002e-"><tt> @ {} . </tt></a>
-<a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i"><cite>cite 
asis</cite> in&nbsp;@w&nbsp;<b>b</b> <span class="roman">in r</span> 
<small>SC</small> <strong>str</strong> <tt>t</tt> <var>var</var> <em>dfn</em> 
<i>i</i></a>
+<a href="#cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i"><cite>cite 
asis</cite> in&nbsp;@w&nbsp;<b>b</b><!-- /@w --> <span class="roman">in 
r</span> <small>SC</small> <strong>str</strong> <tt>t</tt> <var>var</var> 
<em>dfn</em> <i>i</i></a>
 <a href="#env-code-option-samp-command-file-C_002dx-ESC"><code>env</code> 
<code>code</code> &lsquo;<samp>option</samp>&rsquo; 
&lsquo;<samp>samp</samp>&rsquo; <code>command</code> 
&lsquo;<tt>file</tt>&rsquo; <kbd>C-x &lt;ESC&gt;</kbd></a>
 <a href="#g_t8_002e27in">8.27in</a>
 <a href="#sansserif-slanted"><span class="sansserif">sansserif</span> 
<i>slanted</i></a>

Index: t/results/coverage/empty_w.pl
===================================================================
RCS file: t/results/coverage/empty_w.pl
diff -N t/results/coverage/empty_w.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/results/coverage/empty_w.pl       16 Sep 2011 22:23:17 -0000      1.1
@@ -0,0 +1,93 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
+   %result_indices %result_sectioning %result_nodes %result_menus
+   %result_floats %result_converted %result_converted_errors 
+   %result_elements %result_directions_text);
+
+use utf8;
+
+$result_trees{'empty_w'} = {
+  'contents' => [
+    {
+      'contents' => [
+        {
+          'args' => [
+            {
+              'contents' => [],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'w',
+          'contents' => [],
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 1,
+            'macro' => ''
+          },
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => ' '
+        },
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => 'a b'
+                }
+              ],
+              'parent' => {},
+              'type' => 'brace_command_arg'
+            }
+          ],
+          'cmdname' => 'w',
+          'contents' => [],
+          'line_nr' => {},
+          'parent' => {}
+        },
+        {
+          'parent' => {},
+          'text' => '.'
+        }
+      ],
+      'parent' => {},
+      'type' => 'paragraph'
+    }
+  ],
+  'type' => 'text_root'
+};
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'} = 
$result_trees{'empty_w'}{'contents'}[0]{'contents'}[0];
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[0]{'parent'} = 
$result_trees{'empty_w'}{'contents'}[0];
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[1]{'parent'} = 
$result_trees{'empty_w'}{'contents'}[0];
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'empty_w'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = 
$result_trees{'empty_w'}{'contents'}[0]{'contents'}[2];
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[2]{'line_nr'} = 
$result_trees{'empty_w'}{'contents'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[2]{'parent'} = 
$result_trees{'empty_w'}{'contents'}[0];
+$result_trees{'empty_w'}{'contents'}[0]{'contents'}[3]{'parent'} = 
$result_trees{'empty_w'}{'contents'}[0];
+$result_trees{'empty_w'}{'contents'}[0]{'parent'} = $result_trees{'empty_w'};
+
+$result_texis{'empty_w'} = '@w{} @w{a b}.';
+
+
+$result_texts{'empty_w'} = ' a b.';
+
+$result_errors{'empty_w'} = [];
+
+
+
+$result_converted{'plaintext'}->{'empty_w'} = 'a b.
+';
+
+
+$result_converted{'html_text'}->{'empty_w'} = '<p><!-- /@w --> a&nbsp;b<!-- 
/@w -->.</p>';
+
+
+$result_converted{'xml'}->{'empty_w'} = '<para><w></w> <w>a b</w>.</para>';
+
+
+$result_converted{'docbook'}->{'empty_w'} = '<para><!-- /@w --> a b<!-- /@w 
-->.</para>';
+
+1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]