end_line_in_anchor.pl 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. use vars qw(%result_texis %result_texts %result_trees %result_errors
  2. %result_indices %result_sectioning %result_nodes %result_menus
  3. %result_floats %result_converted %result_converted_errors
  4. %result_elements %result_directions_text);
  5. use utf8;
  6. $result_trees{'end_line_in_anchor'} = {
  7. 'contents' => [
  8. {
  9. 'args' => [
  10. {
  11. 'contents' => [
  12. {
  13. 'parent' => {},
  14. 'text' => 'an
  15. '
  16. },
  17. {
  18. 'parent' => {},
  19. 'text' => 'anchor'
  20. }
  21. ],
  22. 'parent' => {},
  23. 'type' => 'brace_command_arg'
  24. }
  25. ],
  26. 'cmdname' => 'anchor',
  27. 'contents' => [],
  28. 'extra' => {
  29. 'brace_command_contents' => [
  30. [
  31. {},
  32. {}
  33. ]
  34. ],
  35. 'node_content' => [
  36. {},
  37. {}
  38. ],
  39. 'normalized' => 'an-anchor'
  40. },
  41. 'line_nr' => {
  42. 'file_name' => '',
  43. 'line_nr' => 2,
  44. 'macro' => ''
  45. },
  46. 'parent' => {}
  47. },
  48. {
  49. 'parent' => {},
  50. 'text' => '
  51. ',
  52. 'type' => 'empty_spaces_after_close_brace'
  53. }
  54. ],
  55. 'type' => 'text_root'
  56. };
  57. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0];
  58. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0];
  59. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'end_line_in_anchor'}{'contents'}[0];
  60. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0]{'contents'}[0];
  61. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'extra'}{'brace_command_contents'}[0][1] = $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0]{'contents'}[1];
  62. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'extra'}{'node_content'}[0] = $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0]{'contents'}[0];
  63. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'extra'}{'node_content'}[1] = $result_trees{'end_line_in_anchor'}{'contents'}[0]{'args'}[0]{'contents'}[1];
  64. $result_trees{'end_line_in_anchor'}{'contents'}[0]{'parent'} = $result_trees{'end_line_in_anchor'};
  65. $result_trees{'end_line_in_anchor'}{'contents'}[1]{'parent'} = $result_trees{'end_line_in_anchor'};
  66. $result_texis{'end_line_in_anchor'} = '@anchor{an
  67. anchor}
  68. ';
  69. $result_texts{'end_line_in_anchor'} = '';
  70. $result_errors{'end_line_in_anchor'} = [];
  71. $result_converted{'plaintext'}->{'end_line_in_anchor'} = '';
  72. $result_converted{'html_text'}->{'end_line_in_anchor'} = '<a name="an-anchor"></a>';
  73. 1;