-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Semantic mathematical editing #3
Comments
Many thanks for bring up this issue, highly appreciated ! |
I am new to TeXmacs. I wrote much because I am also a newbie of LaTeX but when it does not work, I am forced to go to details about implementations of LaTeX and "enjoy" the hardship of debugging. It is much more difficult than things like Feel free to join the mailing lists
They also call for supports for a stack exchange:
|
(My English is bad. I write in English so that general international visitors are able to understand.)
Dear author,
Thanks for your efforts writing such an demonstration and an introduction. However, I find an incorrect idea involved in the article and the demonstration, namely, TeXmacs sacrifices the precisions of typesettings in comparison to LaTeX. This is not true.
As far as I understand, TeXmacs precisely addresses the task to visualize the structural markup without sacrificing the controllability. Your test example of "obsession of LaTeX" example in your demonstration,
$\mathrm{A}^\intercal$
, along with your comments, is quite misleading. It is as easy in TeXmacs to achieve this as in LaTeX. And also, there are source codes of TeXmacs files (.tm
files). You can even view the (beautified Lisp-like) source code in TeXmacs (Document -> Source -> Edit the source tree).In effect, TeXmacs could be pickier than LaTeX. It differentiates
(function composition or application). I would like to refer to Joris' article Towards semantic mathematical editing.
*
(multiplication) andEspecially, there are some issues in your demo from this respect. For example, there should be no spaces around the equality operator
=
. For the integral, the integrand should bef(x)*d x
. You can enable the semantic editing mode in TeXmacs, and you will see that most of your formulae in your demo are semantically incorrect to TeXmacs. By the way, there is a typo of Newton-Leibniz formula.And there is another advantage of TeXmacs over LaTeX (in fact, TeX): seen as a programming language (sorry, I need to stress that it has source codes), it is much more maintainable than TeX. For example, different constructions like
\let
,\def
,\expandafter
, etc, seem to be very error-proning and hard to manage in my eyes. Almost everything is global, and one usually overrides existing variables or macros to achieve goals. I believe that this should play some role in the conflicts of packages in LaTeX. Sometimes the order of including packages is important. The reverse order will simply break the compilation, or lead to incorrect results. To be concrete, let's consider the following C-like code:We set
x
be the operand that we want to square, and call functionsqr()
and retrieve the result byy
. Well, usually we don't write codes like this: exposingx,y
as global variables which makes the maintenance much harder.I would like to add that this is not a fault of Knuth, according to his response about the TeX macro programming language:
The text was updated successfully, but these errors were encountered: