mogan icon indicating copy to clipboard operation
mogan copied to clipboard

Search documentation missing from help menu and Shortcut (F1) adds a leading semicolon

Open h-spiess opened this issue 1 year ago • 10 comments

Mogan Version

1.2.3-rc3

Operating System Version and Architecture

macOS Sonoma 14.2.1 (23C71)

Describe Bug

The normal TeXmacs distribution allows to search the documentation from the help menu. This option is missing from Mogan.

The shortcut for searching the docs (F1) still "works", but a leading semicolon is added to every input making it essentially impossible to use.

See this image: Bildschirmfoto 2024-01-23 um 15 58 02

Expected Behavior

Search docs should be available from the help menu and shortcut use should not add a leading semicolon.

h-spiess avatar Jan 23 '24 14:01 h-spiess

a leading semicolon is added to every input

It is a rendering error, does not affect the result.

da-liii avatar Jan 23 '24 16:01 da-liii

This option is missing from Mogan.

In Mogan, documents are not shipped any more. They are shipped as remote docs. That's why the menu entry is removed.

da-liii avatar Jan 23 '24 16:01 da-liii

Edit->Search recent documents will be available in Mogan v1.2.3, and previously, it is in the Help menu.

da-liii avatar Jan 23 '24 16:01 da-liii

Thanks for the fast response. I thought the search was buggy because there were so few entries. But if the docs are removed this is expected. Any reason why the docs aren't shipped anymore? to safe storage space?

h-spiess avatar Jan 23 '24 17:01 h-spiess

Any reason why the docs aren't shipped anymore?

  1. Reduce the size of the installer
  2. To solve the problem of outdated doc

Now the docs are served here: http://git.tmml.wiki/texmacs/doc

And in this way, we always ship the latest doc but not the outdated doc.

da-liii avatar Jan 24 '24 07:01 da-liii

Thanks for reporting the issue, I will add more details here: https://mogan.app/guide/Mogan_versus_TeXmacs.html

da-liii avatar Jan 24 '24 07:01 da-liii

I'm still wondering if it is expected that the search in documentation does not work as in the TeXmacs distribution. As an example, i was searching for "homoglpyh". Mogan does not find anything for this term, while TeXmacs does. You can see the screenshots.

TeXmacs 2.1.2 Bildschirmfoto 2024-02-01 um 11 24 09

Mogan 1.2.4 Bildschirmfoto 2024-02-01 um 11 25 06

h-spiess avatar Feb 01 '24 10:02 h-spiess

I'm still wondering if it is expected that the search in documentation does not work as in the TeXmacs distribution.

Yes, it does not work.

da-liii avatar Feb 02 '24 08:02 da-liii

Is it intended to bring the search functionality back?

h-spiess avatar Feb 02 '24 10:02 h-spiess

Is it intended to bring the search functionality back?

Yes.

da-liii avatar Feb 02 '24 10:02 da-liii