xmacslabs / mogan Goto Github PK
View Code? Open in Web Editor NEWMogan (based on GNU TeXmacs): Let us enjoy exploring science and technology!
Home Page: https://mogan.app
License: GNU General Public License v3.0
Mogan (based on GNU TeXmacs): Let us enjoy exploring science and technology!
Home Page: https://mogan.app
License: GNU General Public License v3.0
;apply's last argument should be a proper list: (#<lambda (form arg)> recent-buffer)
; (if (pair? var) (list-values 'apply...
; /home/sadhen/software/share/TeXmacs/progs/kernel/boot/abbrevs.scm, line 89, position: 3656
; ahash-set-2!: (if (pair? var) (list-value...
; decode-old: ((let* ((r (ahash-table->list... ; t: (hash-table 'symbol (("#<lambda...
; (primitive-load file (if (null? env) *cur...
; ((load *module-file* (curlet))) ; *module-file*: "/home/sadhen/software/share/Te...
TeXmacs] With linked TrueType support
;unbound variable buffer-missing-style?
; (and (not (url-none? u)) u)
; /home/sadhen/software/share/TeXmacs/progs/kernel/library/base.scm, line 338, position: 11309
; (and (not (url-none? u)) u)
; ((buffer-set-default-style))
; decode-old: ((let* ((r (ahash-table->list... ; t: (hash-table 'symbol (("#<lambda...
; (primitive-load file (if (null? env) *cur...
Throwing widget should be attached
-------------------------------------------------
Error message:
widget should be attached
System information:
TeXmacs version : 2.1
Built by : sadhen
Building date : 2022-01-03T22:32:00
Operating system : linux-gnu
Vendor : pc
Processor : x86_64
Crash date : 2022年 01月 03日 星期一 22:33:49 HKT
TeXmacs does not yet have a current view
Backtrace of C++ stack:
xmacs.bin : () + 0x290262
xmacs.bin : () + 0x12c569
xmacs.bin : () + 0x2872f3
xmacs.bin : () + 0x287877
xmacs.bin : () + 0x28babb
xmacs.bin : () + 0x28bc72
xmacs.bin : () + 0x1000d5
xmacs.bin : () + 0x150401
xmacs.bin : () + 0x102729
/lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main() + 0xcd
xmacs.bin : () + 0xfc6fa
-------------------------------------------------
terminate called after throwing an instance of 'string'
[1] 171270 IOT instruction bin/xmacs
The user interface of TeXmacs doesn't change much over the last two decades. According to my own experiences, the outdated UI has constantly pushed away newcomers interested in TeXmacs. I think that modernizing the UI should be a long-term goal of Mogan.
The following two issues could be solved in the short term.
TeXmacs 2.1.1 can open all files in one window as tabs as in the following screenshot, only when the following options are turned on:
always
under System Preferences → General → Prefer tabs
in the app Preview on macOS, andDocuments in separate windows
under Edit → Preferences → General → Buffer managements
in TeXmacs,Native
under Edit → Preferences → General → User interface theme
in TeXmacs,But in Mogan, it fails.
The official Twitter account approves: We need a similar repository for TeXmacs. :)
It would also work as a part of the official forum.
tm-forge can be seen as a prototype.
Some related templates to be TeXmacs-ed:
Edit -> Preferences -> Other -> Document updates run
Although TeXmacs supports Unicode very well, the code for a specific symbol is hard to memorize; on the contrary, the LaTeX commands of various mathematical symbols are well-known, especially for newcomers interested in TeXmacs and at the same time familiar with LaTeX.
State of the art on The Comprehensive TeXmacs Symbol List (incomplete) is still far from satisfactory in comparison to The Comprehensive LaTeX Symbol List.
For the benefit of all TeXmacs users, it would be nice to have built-in macros for all the symbols listed in the above file, even though TeXmacs is independent of LaTeX/TeX. No doubt it would be a massive long-term job, but it would be more accessible as community work once the companion website mentioned in #12 is set up.
Subtasks:
#327 is related.
Please support code auto-completion with dropdown list as follows
Here are related discussions:
https://sources.debian.org/copyright/license/texmacs-extra-fonts/
truetypes
These functions can be set on as in the following screenshot.
These two functions are killing features that man cannot get enough of. They are also promoted in the demo video of v2.1 (around 1:31, 1:43 and 1:47). It would be absurd that such nice functions are set off by default, confusing newcomers.
There are many plugins whose existence I was not aware of.
Some examples that are not in the official list:
as described in #40
Commutative diagrams are indispensable in many fields of pure mathematics. Still, it is usually not easy to draw or edit them. TikZ and Xy-pic plugins in TeXmacs don't make it easier because, in principle, we draw commutative diagrams precisely as we do with LaTeX. Besides, TeXmacs provides a fantastic drawing tool capable of producing some commutative diagrams relatively easily.
A beautiful tool named quiver does make a big difference for drawing commutative diagrams with LaTeX since it came out at the end of 2020. It makes the drawing much easier and more intuitive. It is the kind of tool that you can't get enough of. Thanks to the excellent work of @darcy-shen, TeXmacs now also has a plugin for quiver.
The quiver plugin and the drawing tools in TeXmacs have their advantages and disadvantages. What bothers me the most is that they are not compatible. It would sometimes be hard to choose between these two.
I strongly suggest developing a built-in deeply embedded quiver plugin for TeXmacs, which supports both the UI of quiver and the WYSIWYG interface of TeXmacs. It would be a more significant attraction for a large group of mathematicians. I sincerely hope that the developers can consider my proposal in the near future. Thank you for reading.
Forum: [Feature Request] A Better Tool for Drawing Commutative Diagrams
Savannah: [Feature Request] A Better Tool for Drawing Commutative Diagrams
For example:
(property `system :argument)
should not yield #f
.
(property `open-gradient-selector :interactive)
yield (#t)
as expected.
(define-public (tm-property-sub head body)
(display* "head: " head "\n")
(display* "body: " body "\n")
(if (null? body)
(cons 'tm-property-overloaded (cons head body))
(let ((decl (tm-property-sub head (cdr body))))
((ahash-ref define-option-table (caar body)) (cdar body) decl))))
head: (footer-eval cmd)
body: ((:argument cmd "Scheme command"))
head: (footer-eval cmd)
body: ()
(tm-property (footer-eval cmd)
(:argument cmd "Scheme command"))
;; -->
(tm-property-sub `(footer-eval cmd) `((:argument cmd "Scheme command")))
;; ->
(define-option-argument `(cmd "Scheme command") (tm-property-sub `(footer-eval cmd) `()))
;; ->
(define-option-argument `(cmd "Scheme command") (tm-property-overloaded (footer-eval cmd)))
;; -->
(tm-property-overloaded (footer-eval cmd))
Default to multiple document share window
Extra plugins:
Built-in plugins:
Use arbitrarily many hyphens -
ending with a >
to produce arrows with arbitrary lengths intuitively as for the usual long arrows.
Additionally, use tab
to rotate the above arrows.
Related discussions:
Works fine on macOS.
Taiwanese is a term of language. For Mogan, Taiwanese means the computer terms adopted in Taiwan.
It's "fine" for GNU TeXmacs to distinguish the language icon of Chinese with Taiwan. And personally, I don't want to be too politics sensitive on a GNU open source project. I will not create a pull request to GNU TeXmacs to solve this issue.
For Mogan, the language icon of Taiwanese is not acceptable for me (the author of this distribution of GNU TeXmacs).
The project Tesseract Open Source OCR Engine might also be related.
Currently, the LaTeX code imported from Mathpix Snip might occasionally generate extra meaningless blank spaces or *'s between characters, the latter of which especially makes the text unreadable.
The Zettelkasten-style note-taking apps, e.g. Obsidian and LogSeq, support bidirectional links and graph views, which are very helpful in linking the ideas. But none of them has the WYSIWYG interface like TeXmacs, even though they have plugins supporting LaTeX.
Recently I noticed that linking tools provide bidirectional links, which I still do not figure out how they work.
It would be nice that TeXmacs supports these functions, too. I have no clear picture of how these can be done. Just name some possibilities:
Here are some related forum discussions
Here is the main feature of Mogan Mark:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.