Thanks a lot Sam, that is very helpful. I suspext there are some
"document" tags generated that shouldn't, or they are not properly
parsed at the time where <indent-yes> happens, so Texmacs thinks the
paragraph has already started, and indent-yes has no effect.
The (define-group enumerate algorithmic) idea is good, in fact I just
found that I can include this snippet using <extern>, which makes the
environment almost natively editable, much as itemize or enumerate.
Using this idea, the indentation in the first line can be fixed.
However, several other problems appear (see attachment). In particular
Texmacs doesn't let me edit the indented blocks as multiline content
anymore.
I think is boils down to these questions:
1) How does Texmacs decide whether some macro argument should be
editable by the user as "document" or as "inline", i.e. how does it
decide whether creating new lines _inside_ an argument using the
"return" key should be allowed?
2) I found that quite often, the "Edit source tree" view inserts
"document" tags around some argument, which screws up the rendering.
They cannot subsequently be changed to "inline" mode and I did not
find a way to remove them (even if they only a single argument). I had
to edit the .tm in a text editor. What is the proper way to do this?
Jan
_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev