Please take a look at my new macro implementation:

http://www.youtube.com/watch?v=68Gys4rp3u4

Make it fullscreen while watching to see what's going on. Some points you give should be solved by that.

Stefan

Am 11.06.2007 um 06:36 schrieb Mark Kortink:

Hi

Below are some suggestions for improving macros in LyX. As a user it has taken many hours of going through the poor user documentation and various LaTeX manuals and editors trying to figure out how to get them working and then why they don't work, very frustrating! Hopefully these suggestions can be incorporated into some release because I have given up on macros even though I eventually got them working and they would be extremely useful if they worked in such a way to make life easier, even working in a simple way
would be better..

1. In the user guide:
- do not use the name "macro" or "macrowarg" as the example macro names,
guaranteed to confuse.
- show all the steps in sequence and what it looks like on screen, don't
give examples of output without showing the input. Step 1, enter the
"math-macro mname n" in the minibuffer then step 2, type the LaTeX defs into the blue boxes which defines the macros so it can be used then step 3, use it over and over by going into math mode and typing \mname and entering the
argument values after the m: placeholders. You get the idea.
- I found after much pain that you can't put #n, you have to escape it like \#n, this is not documented and should not be the case anyhow, #n is the
standard.

2. Fix the way they work and look on screen
- When values have been supplied for the argument display the result
WYSIWYM. When the user clicks on the macro to edit its values revert back to
edit mode with the arguments lists 1:, 2:, etc as now.

3. The big one, allow \newcommand and \DeclareMathOperator to be defined in the preamble, even if you have to follow some LyX conventions, they need to
be able to be imported from a file.

Regards

Mark Kortink
e: [EMAIL PROTECTED]
p: 0419-250-403


Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to