UA-eMath / eMath

new eMath system
2 stars 0 forks source link

Adding level of type "Definition", or "Notation", etc has strange effect #68

Closed bohungi closed 3 years ago

bohungi commented 3 years ago

An attempt to add a level of type Definition or Notation, etc does not have the expected result. It seems it blends two paras into one.

xqiu1 commented 3 years ago

If you want to create a level of type Definition or Notation, you need to click outside the editor area, so that the level will be added to the end of the current page. If your cursor is within an editor of a level, then the newly created level will be nested to that level. If I didn't understand you correctly, could you please give me an example (like a screenshot or tell me which section of the book the problem is under)?

bohungi commented 3 years ago

I see! - Here is a screenshot. I tried to create the lemma while the cursor was not in any of the edit boxes. Still, I get the nested structure. image

xqiu1 commented 3 years ago

Oh, this light yellow area is to indicate the paragraphs within it belong to this Lemma level. The first paragraph of a level is generated automatically since there is always some content for a new level. To create a separate level instead of a nested one, you need to put your cursor within any outmost editing areas. The cursor position matters. Once you create a level, you can also move it using the tree from the left panel. Does it make sense now?

bohungi commented 3 years ago

Thanks! - This makes sense.