Hi Folks,
Having consulted {reference, userguide, customization}.lyx and having browsed
the LyX wiki and LyX home site, I still have a few questions about LyX Macros.
1) I am still unsure how to include *LyX* macros into a LyX document.
* I can easily define math-macros in a LyX document. Fantastic feature!
* I can Insert->LyX File <file with macros> into a LyX document, but then I have
a *copy* of the macros in the file
* I am not sure how to "reference" a file of common macros that I would like
to keep updated over time --- one common file for many chapters or lectures ---
analogous to, but different than a LaTeX .sty or .cls file.
The graphical view of the LaTeX styles.
* I have considered using layout files, but here again, one specifies LaTeX to
insert and not "LyX".
* I have considered using templates - but here again the macros seem to be copied
Any suggestions? How can I enter "LyX" code?
2) It would be wonderful to be able to define "text-macros" in addition to "math-macros".
The existing layouts cover paragraph level TeX formatting, but do not handle
units smaller than paragraph's very gracefully.
This might also solve the user defined text styles problem mentioned in
section 3.5.1 of the LyX user guide in a more general and powerful way.
I am presently writing course materials and would like to define standard forms
for examples that have question and answer parts that include formatting
and animations commands. I can do this manually at present using packages like
hyperref and beamer, but I don't see how to automate it to get a consistent style.
Here also, I would like to define a consistent style for programming languages
and apply it to all words denoting programming languages.
3) And - closely related - one of the things I like about LyX is math-mode. I can express
myself mathematically as fast as I can type without clumsy navigation. It would be
great to have text boxes that also parse LaTeX'isms on the fly the way math mode does.
4) It might be useful to have indexes for the manuals in addition to tables of contents
If some of these points seem useful, I could resend them to the developer's list if appropriate.
Regards & sincere appreciation to the LyX team,
Bob.
