[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Minor changes in docuentation
From: |
Patrice Dumas |
Subject: |
branch master updated: Minor changes in docuentation |
Date: |
Fri, 08 Mar 2024 09:22:35 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new cd988b7e19 Minor changes in docuentation
cd988b7e19 is described below
commit cd988b7e19f52d159c3ef986cbcda1e875e75da6
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Mar 8 15:22:25 2024 +0100
Minor changes in docuentation
---
doc/texi2any_api.texi | 6 +++---
tp/Texinfo/Convert/Text.pm | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/texi2any_api.texi b/doc/texi2any_api.texi
index b3a7166440..58f4ff5724 100644
--- a/doc/texi2any_api.texi
+++ b/doc/texi2any_api.texi
@@ -3211,7 +3211,7 @@ An index entry reference as appearing in index data
structures.
New shared infomation is defined with @code{define_shared_conversion_state}:
@defun @var{$converter}->define_shared_conversion_state ($cmdname, $name,
\@@specification)
-@var{$cmdname} is an @@-command name, with leading @@. @var{name} is the name
+@var{$cmdname} is an @@-command name, without leading @@. @var{name} is the
name
associated to the data. The @code{top} command name is conventionally used if
there is no natural association with another @@-command.
@var{\@@specification} array reference specifies the types of the selectors
@@ -3225,7 +3225,7 @@ future changes.}.
For example, @code{['integer', 'element', 'string']} specifies a @samp{string}
type for the value, and two selectors, the first with @samp{integer} type,
and the second with @samp{element} type. @code{['integer']} specifies
-and integer for the value and no selector.
+an integer for the value and no selector.
@end defun
For example, the following defines a @samp{color} shared conversion state
@@ -3259,7 +3259,7 @@ my $number =
$converter->get_shared_conversion_state('quotation',
The function @code{set_shared_conversion_state} is used to set
shared information:
-@defun @var{$converter}->define_shared_conversion_state (@var{$cmmdname},
@var{$name}, [@var{$selector} @dots{}], @var{$value})
+@defun @var{$converter}->define_shared_conversion_state (@var{$cmdname},
@var{$name}, [@var{$selector} @dots{}], @var{$value})
Sets @var{$value} associated with @var{$cmdname}
and @var{$name}. The number of selectors given in argument should match
the number of selectors in the definition (possible none).
diff --git a/tp/Texinfo/Convert/Text.pm b/tp/Texinfo/Convert/Text.pm
index c5cafaeed6..0075d9c823 100644
--- a/tp/Texinfo/Convert/Text.pm
+++ b/tp/Texinfo/Convert/Text.pm
@@ -1069,9 +1069,9 @@ Texinfo::Convert::Text - Convert Texinfo tree to simple
text
# Texinfo::Convert::Converter
my $text_options = $converter->{'convert_text_options'};
- set_options_code($text options);
+ set_options_code($text_options);
my $result_with_converter = convert_to_text($tree, $text_options);
- reset_options_code($text options);
+ reset_options_code($text_options);
=head1 NOTES
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Minor changes in docuentation,
Patrice Dumas <=