[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Convert/Line.pm Texinfo/Conv...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Convert/Line.pm Texinfo/Conv... |
Date: |
Sun, 06 Mar 2011 20:43:32 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/03/06 20:43:32
Modified files:
tp/Texinfo/Convert: Line.pm Paragraph.pm Plaintext.pm
tp/t : paragraph.t plaintext_tests.t
tp/t/results/info_tests: ref_tests.pl
Added files:
tp/t/results/plaintext_tests:
after_punctuation_character_in_command.pl
punctuation_at_end_command.pl
punctuation_in_command.pl
punctuation_in_command_end_line.pl
Log message:
More command where spaces are not doubled after punctuation.
Consider a punctuation in a frenchspacing environment not to
be followed by double space.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Line.pm?cvsroot=texinfo&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Paragraph.pm?cvsroot=texinfo&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.111&r2=1.112
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/paragraph.t?cvsroot=texinfo&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/plaintext_tests.t?cvsroot=texinfo&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/ref_tests.pl?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/after_punctuation_character_in_command.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/punctuation_at_end_command.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/punctuation_in_command.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/plaintext_tests/punctuation_in_command_end_line.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: Texinfo/Convert/Line.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Line.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- Texinfo/Convert/Line.pm 17 Feb 2011 20:07:34 -0000 1.18
+++ Texinfo/Convert/Line.pm 6 Mar 2011 20:43:31 -0000 1.19
@@ -169,7 +169,9 @@
if (defined($word)) {
if (!defined($line->{'word'})) {
$line->{'word'} = '';
- if ($line->{'end_sentence'} and !$line->{'frenchspacing'}
+ if ($line->{'end_sentence'}
+ and $line->{'end_sentence'} > 0
+ and !$line->{'frenchspacing'}
and !$line->{'line_beginning'} and $line->{'space'}) {
if ($word !~ /^\s/) {
$line->{'space'} = ' ';
@@ -257,7 +259,9 @@
$result .= $line->_add_pending_word();
if (!$line->{'line_beginning'}) {
- if (!$line->{'frenchspacing'} and $line->{'end_sentence'}) {
+ if (!$line->{'frenchspacing'}
+ and $line->{'end_sentence'}
+ and $line->{'end_sentence'} > 0) {
if (length($line->{'space'}) >= 1 or length($spaces) > 1) {
$line->{'space'} = ' ';
delete $line->{'end_sentence'};
@@ -278,12 +282,16 @@
# do nothing in the case of a continuation of
after_punctuation_characters
} elsif ($line->{'word'} =~
/[$end_sentence_character][$after_punctuation_characters]*$/
and $line->{'word'} !~
/[[:upper:]][$end_sentence_character][$after_punctuation_characters]*$/) {
+ if ($line->{'frenchspacing'}) {
+ $line->{'end_sentence'} = -1;
+ } else {
$line->{'end_sentence'} = 1;
+ }
print STDERR "END_SENTENCE.L\n" if ($line->{'DEBUG'});
} else {
- delete $line->{'end_sentence'};
print STDERR "delete END_SENTENCE.L($line->{'end_sentence'}): text\n"
if (defined($line->{'end_sentence'}) and $line->{'DEBUG'});
+ delete $line->{'end_sentence'};
}
} elsif ($text =~ s/^\n//) {
$result .= $line->_end_line();
Index: Texinfo/Convert/Paragraph.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Paragraph.pm,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- Texinfo/Convert/Paragraph.pm 6 Mar 2011 10:58:54 -0000 1.20
+++ Texinfo/Convert/Paragraph.pm 6 Mar 2011 20:43:32 -0000 1.21
@@ -183,7 +183,9 @@
if (defined($word)) {
if (!defined($paragraph->{'word'})) {
$paragraph->{'word'} = '';
- if ($paragraph->{'end_sentence'} and !$paragraph->{'frenchspacing'}
+ if ($paragraph->{'end_sentence'}
+ and $paragraph->{'end_sentence'} > 0
+ and !$paragraph->{'frenchspacing'}
and $paragraph->{'counter'} != 0 and $paragraph->{'space'}) {
if ($word !~ /^\s/) {
$paragraph->{'space'} = ' ';
@@ -284,7 +286,9 @@
$paragraph->{'word_counter'} += length($spaces);
#$paragraph->{'space'} .= $spaces;
if ($paragraph->{'word'} =~ s/\n/ /g
- and !$paragraph->{'frenchspacing'} and
$paragraph->{'end_sentence'}) {
+ and !$paragraph->{'frenchspacing'}
+ and $paragraph->{'end_sentence'}
+ and $paragraph->{'end_sentence'} > 0) {
$paragraph->{'word'} =~ /(\s*)$/;
if (length($1) < 2) {
$paragraph->{'word'} =~ s/(\s*)$/ /;
@@ -302,7 +306,9 @@
} else {
$result .= $paragraph->_add_pending_word();
if ($paragraph->{'counter'} != 0) {
- if (!$paragraph->{'frenchspacing'} and $paragraph->{'end_sentence'})
{
+ if (!$paragraph->{'frenchspacing'}
+ and $paragraph->{'end_sentence'}
+ and $paragraph->{'end_sentence'} > 0) {
if (length($paragraph->{'space'}) >= 1 or length($spaces) > 1) {
$paragraph->{'space'} = ' ';
delete $paragraph->{'end_sentence'};
@@ -347,7 +353,11 @@
# do nothing in the case of a continuation of
after_punctuation_characters
} elsif ($paragraph->{'word'} =~
/[$end_sentence_character][$after_punctuation_characters]*$/
and $paragraph->{'word'} !~
/[[:upper:]][$end_sentence_character][$after_punctuation_characters]*$/) {
+ if ($paragraph->{'frenchspacing'}) {
+ $paragraph->{'end_sentence'} = -1;
+ } else {
$paragraph->{'end_sentence'} = 1;
+ }
print STDERR "END_SENTENCE\n" if ($paragraph->{'DEBUG'});
} else {
delete $paragraph->{'end_sentence'};
Index: Texinfo/Convert/Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -b -r1.111 -r1.112
--- Texinfo/Convert/Plaintext.pm 6 Mar 2011 10:58:54 -0000 1.111
+++ Texinfo/Convert/Plaintext.pm 6 Mar 2011 20:43:32 -0000 1.112
@@ -226,8 +226,9 @@
$style_map{'indicateurl'} = ['<', '>'];
# in those commands, there is no addition of double space after a dot.
+# math is special
my %no_punctation_munging_commands;
-foreach my $command ('var', 'cite', 'math', keys(%code_style_commands)) {
+foreach my $command ('var', 'cite', 'dmn', keys(%code_style_commands)) {
$no_punctation_munging_commands{$command} = 1;
}
@@ -1335,8 +1336,9 @@
return $result;
} elsif ($style_map{$command}
or ($root->{'type'} and $root->{'type'} eq 'definfoenclose_command'))
{
- if ($code_style_commands{$command}) {
- $formatter->{'code'}++;
+ $formatter->{'code'}++
+ if ($code_style_commands{$command});
+ if ($no_punctation_munging_commands{$command}) {
push @{$formatter->{'frenchspacing_stack'}}, 'on';
$formatter->{'container'}->set_space_protection(undef,
undef,undef,1);
@@ -1379,6 +1381,8 @@
}
if ($code_style_commands{$command}) {
$formatter->{'code'}--;
+ }
+ if ($no_punctation_munging_commands{$command}) {
pop @{$formatter->{'frenchspacing_stack'}};
my $frenchspacing = 0;
$frenchspacing = 1 if ($formatter->{'frenchspacing_stack'}->[-1] eq
'on');
@@ -1631,7 +1635,8 @@
} elsif ($command eq 'math') {
push @{$self->{'context'}}, 'math';
if ($root->{'args'}) {
- $result .= $self->_convert($root->{'args'}->[0]);
+ $result .= $self->_convert({'type' => 'frenchspacing',
+ 'contents' => [$root->{'args'}->[0]]});
}
my $old_context = pop @{$self->{'context'}};
die if ($old_context ne 'math');
Index: t/paragraph.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/paragraph.t,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- t/paragraph.t 14 Feb 2011 23:50:11 -0000 1.17
+++ t/paragraph.t 6 Mar 2011 20:43:32 -0000 1.18
@@ -9,7 +9,7 @@
#use Test;
use Test::More;
-BEGIN { plan tests => 110 };
+BEGIN { plan tests => 115 };
use lib '../texi2html/lib/Unicode-EastAsianWidth/lib/';
#use lib '../texi2html/lib/libintl-perl/lib/';
use Texinfo::Convert::Paragraph;
@@ -149,6 +149,44 @@
is ($result, "aa. _b\n", 'add char after space protection end sentence
space');
$para = Texinfo::Convert::Paragraph->new();
+$result = '';
+$result .= $para->set_space_protection(undef,undef,undef,1);
+$result .= $para->add_text("b");
+$result .= $para->set_space_protection(undef,undef,undef,0);
+$result .= $para->add_text(". after");
+$result .= $para->end();
+is ($result, "b. after\n", 'punctuation after end space protection');
+
+$para = Texinfo::Convert::Paragraph->new();
+#$para = Texinfo::Convert::Paragraph->new({'DEBUG' => 1});
+$result = '';
+$result .= $para->set_space_protection(undef,undef,undef,1);
+$result .= $para->add_text("b.");
+$result .= $para->set_space_protection(undef,undef,undef,0);
+$result .= $para->add_text(" follow");
+$result .= $para->end();
+is ($result, "b. follow\n", 'punctuation before end space protection');
+
+$para = Texinfo::Convert::Paragraph->new();
+$result = '';
+$result .= $para->set_space_protection(undef,undef,undef,1);
+$result .= $para->add_text("b.");
+$result .= $para->set_space_protection(undef,undef,undef,0);
+$result .= $para->add_text(" follow");
+$result .= $para->end();
+is ($result, "b. follow\n", 'punctuation before end space protection 2 space');
+
+$para = Texinfo::Convert::Paragraph->new();
+$result = '';
+$result .= $para->set_space_protection(undef,undef,undef,1);
+$result .= $para->add_text("b. ");
+$result .= $para->set_space_protection(undef,undef,undef,0);
+$result .= $para->add_text(" follow");
+$result .= $para->end();
+is ($result, "b. follow\n", 'punctuation space before end space protection');
+
+
+$para = Texinfo::Convert::Paragraph->new();
#$para = Texinfo::Convert::Paragraph->new({'DEBUG' => 1});
$result = '';
$result .= $para->add_text("In w:\n");
@@ -554,6 +592,15 @@
$line = Texinfo::Convert::Line->new();
$result = '';
+$result .= $line->set_space_protection(undef,undef,undef,1);
+$result .= $line->add_text("b.");
+$result .= $line->set_space_protection(undef,undef,undef,0);
+$result .= $line->add_text(" follow");
+$result .= $line->end();
+is ($result, "b. follow", 'line punctuation before end space protection 2
space');
+
+$line = Texinfo::Convert::Line->new();
+$result = '';
$result .= $line->set_space_protection(1,1);
$result .= $line->add_text("protected. B");
$result .= $line->set_space_protection(0,0);
Index: t/plaintext_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/plaintext_tests.t,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- t/plaintext_tests.t 6 Mar 2011 14:43:59 -0000 1.14
+++ t/plaintext_tests.t 6 Mar 2011 20:43:32 -0000 1.15
@@ -339,6 +339,33 @@
'a. @^a'],
['invalid_accent_punctuation',
'a. @^@@'],
+['punctuation_in_command',
+'
+Text. Email @email{a. b,a. b} dmn @dmn{1. 2} and text. indicateurl
@indicateurl{i. u} and then kbd @kbd{k. d} and math @math{m. a} and cite
@cite{c. e} and emph @emph{e. h} text.
+asis in code @address@hidden c}}
+'],
+['punctuation_at_end_command',
+'
+Text. Email @email{.,.} dmn @dmn{1.} and text. indicateurl @indicateurl{.} and
+then kbd @kbd{.} and math @math{.} and cite @cite{.} and emph @emph{.} text.
+asis in code @address@hidden text. a dot before a emph open address@hidden and
in emph.}
+'],
+['punctuation_in_command_end_line',
+'Text. Email @email{.,.}
+dmn @dmn{1.}
+and text. indicateurl @indicateurl{.}
+and then kbd @kbd{.}
+and math @math{.}
+and cite @cite{.}
+and emph @emph{.}
+text. asis in code @address@hidden
+text. a dot before a emph open address@hidden
+and in emph.}
+'],
+['after_punctuation_character_in_command',
+'address@hidden)
+follows}.
+'],
['sc_with_utf8_enable_encoding',
'@documentencoding utf-8
@sc{in sc}.
Index: t/results/info_tests/ref_tests.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/info_tests/ref_tests.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
Index: t/results/plaintext_tests/after_punctuation_character_in_command.pl
===================================================================
RCS file: t/results/plaintext_tests/after_punctuation_character_in_command.pl
diff -N t/results/plaintext_tests/after_punctuation_character_in_command.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/after_punctuation_character_in_command.pl 6 Mar
2011 20:43:32 -0000 1.1
@@ -0,0 +1,78 @@
+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);
+
+use utf8;
+
+$result_trees{'after_punctuation_character_in_command'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Text.'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ')
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'follows'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'asis',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'after_punctuation_character_in_command'}{'contents'}[0];
+$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[1];
+$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'after_punctuation_character_in_command'}{'contents'}[0];
+$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'after_punctuation_character_in_command'}{'contents'}[0];
+$result_trees{'after_punctuation_character_in_command'}{'contents'}[0]{'parent'}
= $result_trees{'after_punctuation_character_in_command'};
+
+$result_texis{'after_punctuation_character_in_command'} = 'address@hidden)
+follows}.
+';
+
+
+$result_texts{'after_punctuation_character_in_command'} = 'Text.)
+follows.
+';
+
+$result_errors{'after_punctuation_character_in_command'} = [];
+
+
+
+$result_converted{'plaintext'}->{'after_punctuation_character_in_command'} =
'Text.) follows.
+';
+
+1;
Index: t/results/plaintext_tests/punctuation_at_end_command.pl
===================================================================
RCS file: t/results/plaintext_tests/punctuation_at_end_command.pl
diff -N t/results/plaintext_tests/punctuation_at_end_command.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/punctuation_at_end_command.pl 6 Mar 2011
20:43:32 -0000 1.1
@@ -0,0 +1,377 @@
+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);
+
+use utf8;
+
+$result_trees{'punctuation_at_end_command'} = {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Text. Email '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'email',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' dmn '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '1.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'dmn',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and text. indicateurl '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'indicateurl',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'then kbd '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'kbd',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and math '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'math',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and cite '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'cite',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and emph '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'emph',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' text.
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'asis in code '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'asis',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' text. a dot before a emph open .'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' and in emph.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'emph',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'punctuation_at_end_command'}{'contents'}[0]{'parent'} =
$result_trees{'punctuation_at_end_command'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3]{'line_nr'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[4]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5]{'line_nr'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[5]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[6]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[7]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[9]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[10]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[10]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[10];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[10]{'line_nr'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8]{'line_nr'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[10]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[11]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[12]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[12]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[12]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[12];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[12]{'line_nr'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8]{'line_nr'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[12]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[13]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[14]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[14]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[14]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[14];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[14]{'line_nr'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[8]{'line_nr'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[14]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[15]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[16]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'line_nr'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[18]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[19]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[19]{'args'}[0];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[19]{'args'}[0]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[19];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[19]{'line_nr'}
=
$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[17]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[19]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'contents'}[20]{'parent'}
= $result_trees{'punctuation_at_end_command'}{'contents'}[1];
+$result_trees{'punctuation_at_end_command'}{'contents'}[1]{'parent'} =
$result_trees{'punctuation_at_end_command'};
+
+$result_texis{'punctuation_at_end_command'} = '
+Text. Email @email{.,.} dmn @dmn{1.} and text. indicateurl @indicateurl{.} and
+then kbd @kbd{.} and math @math{.} and cite @cite{.} and emph @emph{.} text.
+asis in code @address@hidden text. a dot before a emph open address@hidden and
in emph.}
+';
+
+
+$result_texts{'punctuation_at_end_command'} = '
+Text. Email . dmn 1. and text. indicateurl . and
+then kbd . and math . and cite . and emph . text.
+asis in code . text. a dot before a emph open . and in emph.
+';
+
+$result_errors{'punctuation_at_end_command'} = [];
+
+
+
+$result_converted{'plaintext'}->{'punctuation_at_end_command'} = '
+Text. Email . <.> dmn 1. and text. indicateurl <.> and then kbd `.\'
+and math . and cite `.\' and emph _._ text. asis in code `.\' text. a
+dot before a emph open ._ and in emph._
+';
+
+1;
Index: t/results/plaintext_tests/punctuation_in_command.pl
===================================================================
RCS file: t/results/plaintext_tests/punctuation_in_command.pl
diff -N t/results/plaintext_tests/punctuation_in_command.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/punctuation_in_command.pl 6 Mar 2011 20:43:32
-0000 1.1
@@ -0,0 +1,339 @@
+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);
+
+use utf8;
+
+$result_trees{'punctuation_in_command'} = {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Text. Email '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a. b'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a. b'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'email',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' dmn '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '1. 2'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'dmn',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and text. indicateurl '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'i. u'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'indicateurl',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and then kbd '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'k. d'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'kbd',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and math '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'm. a'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'math',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and cite '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'c. e'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'cite',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' and emph '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'e. h'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'emph',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ' text.
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'asis in code '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a. c'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'asis',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'punctuation_in_command'}{'contents'}[0]{'parent'} =
$result_trees{'punctuation_in_command'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3]{'line_nr'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[4]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5]{'line_nr'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[5]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[6]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[7]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[7]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[7]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[7];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[7]{'line_nr'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[7]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[8]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[9]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[9]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[9]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[9];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[9]{'line_nr'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[9]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[10]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[11]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[11]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[11]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[11];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[11]{'line_nr'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[11]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[12]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[13]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[13]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[13]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[13];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[13]{'line_nr'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[1]{'line_nr'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[13]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[14]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[15]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'line_nr'}
=
$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[16]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'contents'}[17]{'parent'}
= $result_trees{'punctuation_in_command'}{'contents'}[1];
+$result_trees{'punctuation_in_command'}{'contents'}[1]{'parent'} =
$result_trees{'punctuation_in_command'};
+
+$result_texis{'punctuation_in_command'} = '
+Text. Email @email{a. b,a. b} dmn @dmn{1. 2} and text. indicateurl
@indicateurl{i. u} and then kbd @kbd{k. d} and math @math{m. a} and cite
@cite{c. e} and emph @emph{e. h} text.
+asis in code @address@hidden c}}
+';
+
+
+$result_texts{'punctuation_in_command'} = '
+Text. Email a. b dmn 1. 2 and text. indicateurl i. u and then kbd k. d and
math m. a and cite c. e and emph e. h text.
+asis in code a. c
+';
+
+$result_errors{'punctuation_in_command'} = [];
+
+
+
+$result_converted{'plaintext'}->{'punctuation_in_command'} = '
+Text. Email a. b <a. b> dmn 1. 2 and text. indicateurl <i. u> and
+then kbd `k. d\' and math m. a and cite `c. e\' and emph _e. h_ text.
+asis in code `a. c\'
+';
+
+1;
Index: t/results/plaintext_tests/punctuation_in_command_end_line.pl
===================================================================
RCS file: t/results/plaintext_tests/punctuation_in_command_end_line.pl
diff -N t/results/plaintext_tests/punctuation_in_command_end_line.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/plaintext_tests/punctuation_in_command_end_line.pl 6 Mar
2011 20:43:32 -0000 1.1
@@ -0,0 +1,441 @@
+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);
+
+use utf8;
+
+$result_trees{'punctuation_in_command_end_line'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Text. Email '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'email',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ],
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'dmn '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '1.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'dmn',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'and text. indicateurl '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'indicateurl',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'and then kbd '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'kbd',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'and math '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'math',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'and cite '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'cite',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'and emph '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'emph',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'text. asis in code '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'asis',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'code',
+ 'contents' => [],
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'text. a dot before a emph open .'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'and in emph.'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'emph',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[1];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'extra'}{'brace_command_contents'}[1][0]
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[3]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[4]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[4];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[4]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[4]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[5]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[6]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[7]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[7]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[7]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[7];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[7]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[7]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[7]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[8]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[9]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[10]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[10]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[10];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[10]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[11]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[12]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[13]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[13]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[13]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[13];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[13]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[14]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[15]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[16]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[16]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[16]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[16];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[16]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[17]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[18]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[19]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[19]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[19]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[19];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[19]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[20]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[21]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0]{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'line_nr'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[22]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[23]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[24]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[25]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[25]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[25]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[25]{'args'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[25]{'args'}[0]{'parent'}
=
$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[25];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[25]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'contents'}[26]{'parent'}
= $result_trees{'punctuation_in_command_end_line'}{'contents'}[0];
+$result_trees{'punctuation_in_command_end_line'}{'contents'}[0]{'parent'} =
$result_trees{'punctuation_in_command_end_line'};
+
+$result_texis{'punctuation_in_command_end_line'} = 'Text. Email @email{.,.}
+dmn @dmn{1.}
+and text. indicateurl @indicateurl{.}
+and then kbd @kbd{.}
+and math @math{.}
+and cite @cite{.}
+and emph @emph{.}
+text. asis in code @address@hidden
+text. a dot before a emph open address@hidden
+and in emph.}
+';
+
+
+$result_texts{'punctuation_in_command_end_line'} = 'Text. Email .
+dmn 1.
+and text. indicateurl .
+and then kbd .
+and math .
+and cite .
+and emph .
+text. asis in code .
+text. a dot before a emph open .
+and in emph.
+';
+
+$result_errors{'punctuation_in_command_end_line'} = [];
+
+
+
+$result_converted{'plaintext'}->{'punctuation_in_command_end_line'} = 'Text.
Email . <.> dmn 1. and text. indicateurl <.> and then kbd `.\'
+and math . and cite `.\' and emph _._ text. asis in code `.\' text. a
+dot before a emph open ._ and in emph._
+';
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp Texinfo/Convert/Line.pm Texinfo/Conv...,
Patrice Dumas <=