[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Tue, 7 May 2024 19:00:31 -0400 (EDT) |
branch: master
commit 9906d6f2382f5a741a8cf9279089a4e77b550aad
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue May 7 23:39:00 2024 +0200
* doc/texi2any_api.texi (Setting the Context for Conversion):
_converted type should only be text.
---
ChangeLog | 5 +++++
doc/texi2any_api.texi | 3 +--
tp/TODO | 7 ++++---
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b8452e6de0..20c98f491d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-07 Patrice Dumas <pertusus@free.fr>
+
+ * doc/texi2any_api.texi (Setting the Context for Conversion):
+ _converted type should only be text.
+
2024-05-05 Patrice Dumas <pertusus@free.fr>
* configure.ac (Perl version and modules, tp-tests)
diff --git a/doc/texi2any_api.texi b/doc/texi2any_api.texi
index cba5be3288..74ce1bef0f 100644
--- a/doc/texi2any_api.texi
+++ b/doc/texi2any_api.texi
@@ -2375,8 +2375,7 @@ In this container, the conversion is done in a code
context
@xref{Init File Expansion Contexts}. For a container tree element.
@item _converted
-In this container, the texts are considered to be already formatted.
-This is more likely to be relevant as the type of a text element.
+The text of this text element is considered to be already formatted.
@item _string
In this container, the conversion is done in a string context.
diff --git a/tp/TODO b/tp/TODO
index 1441705490..17d98724c5 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -75,9 +75,9 @@ Gavin and Patrice
One possibility. It requires some testing as it should allow for
faster code, but it is not clear that memory use would be smaller.
char *alias_of
-char *string_info (for arg_line or command_name or delimiter)
+char *command_info_string (for arg_line or command_name or delimiter)
ELEMENT *elements[3]
- spaces_after_cmd_before_arg (brace comands) or comment_at_end (line/block
commands)
+ spaces_after_cmd_before_arg (brace commands) or comment_at_end (line/block
commands)
spaces_before_argument
spaces_after_argument
@@ -88,7 +88,8 @@ ELEMENT *elements[3]
marks aren't recorded.
4) separate the structure of text elements and other elements, as text elements
- should not need contents/args/extra.
+ never have contents/args/info, have cmd != 0.
+ extra: only diverse def_role
check for comma after @xref{...}, in parser to simplify checking for