Re: Copying tex and latex code from emacs to texmacs

TeXmacs <[email protected]> Sun, 20 Jun 2021 19:54:21 +0200
Newsgroups gmane.editors.texmacs.devel
Message-ID <[email protected]>
Hello Henri,

On Sat, Jun 19, 2021 at 04:53:54PM +0200, [email protected] wrote:
> The Gnu system is meant to make sure that the parts fit well together.  Particularly with regard to
> usability of programs with each other.

Note that TeX and LaTeX are not part of the GNU system.

> Currently one can latex files, but this has a serious prblom when one wants to simply import
> a few equations from another file.  It wauld be valuable to be able to copy and paste equations
> written in tex or latex from emacs to texmacs. Then have texmacs convert to the appropriate
> texmacs display.
> 
> Example: Suppose I want to import the following tex equation from emacs into texmacs
> 
> $$ \displaystyle \psi
> = \pi^{-1/4} e^{-{t^2 / 2}} (e^{i \xi_0 t} - e^{-\xi_0^2 / 2}) $$

This is easy: just use 'Edit -> Paste from -> LaTeX'.

If you need to do this very often, then you may also look at
'Tools -> Miscellaneous -> Import selections as'.

Best wishes, --Joris

_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev