True WYSIWYG LaTeX System

2017/01/07 12:08:41 UTC
Roger Wehage
Add Display Equation Reference by Equation Number

I have been using MathType/MSWord to prepare technical documents with hundreds of numbered display equations for many years. Now I plan to use BaKoMa TeXWord to write a book. The feature I love most about MathType/MSWord is when I want to add a display equation reference anywhere in the document, I click simply on "Insert Equation Reference", double click on the displayed equation number, and MathType/MSWord takes care of the rest. The display equation number automatically appears in the document at the curser, and it is linked to the display equation.

I know that something like this can be done in LaTeX documents using hyperlinks https://en.wikibooks.org/wiki/LaTeX/Hyperlinks Obviously I'm not a LaTeX power user, and being in my mid 70s doesn't make the job any easier. How does anyone write a LaTeX document with 200 referenced display equations without going crazy? To handle this problem now I use something like eqn:name to label and reference all display equations, where name represents any unique and legal string of characters without blanks. Then I wrote a python script that reads my LaTeX.tex file anytime I want and changes all eqn:name to eqn:###, where ### is the integer matching each display equation number shown in parentheses at the time. If I later decide to insert, delete, move, or duplicate display equations, I have to manually change or add new labels and references by whatever means most convenient at the time. Then I run my python script again to clean up everything. While that may seem like a lot of extra work it beats the alternatives. Manually naming and referencing display equations may work OK when only a few dozen, but it quickly gets out of hand when there are hundreds.

I would like to see a capability in BaKoMa TeXWord, similar to what is in MathType/MSWord, where each numbered display equation is automatically given a label that I never have to see if I choose not to, and when I want to reference a display equation by its label in the LaTeX.tex document I can use an "Insert Equation Reference" command and then double click on the display equation's displayed number shown in parentheses to have a reference to the display equation automatically inserted in my LaTeX document at the curser location.

2017/01/28 22:19:57 UTC
Brian Cowan

There are two parts to this request: 1) an automatic labelling procedure for the $$. . .$$ construction, and 2) a convenient method for inserting equation references from these labels. I think these requests should be split. I would be very happy to have 1) alone; I often have difficulty in dreaming up meaningful but distinctive labels for equations, and sometimes end up with arbitrary ones like `AA1' etc. Using $$. . .$$ automatically inserts an equation number. But this is redundant if the equation is not referred to, so it would make sense to automatically include a label. It would be easy to include an option to include an automatic label or not. This provision alone would be useful. Part 2): Insertion of references to existing labels, could be implemented as a separate feature. If sensibly implemented, it could use either the automatically created label or a manually entered/changed label. One might add a third part to the request/feature - namely a convenient way of editing/changing labels and their references.
2017/12/15 04:41:30 UTC
Basil Malyshev

...Part 2): Insertion of references to existing labels, could be implemented as a separate feature.

What is wrong in this approach ?

What to do ?

Topic starter already have all display formulas labelled; and label renaming script is already exists.

What I can to do ?

I have only one idea:
Displaying effective label expansion near label name may help to indicate desired label.