openbsd-ports/editors/TeXmacs/pkg
2022-03-11 18:58:26 +00:00
..
DESCR
PLIST
README

+-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-------------------------------------------------------------------------------

Plug-ins
========

Many plug-ins for external software exist for GNU TeXmacs. Install the
corresponding packages to use these plug-ins (e.g., `pkg_add gnuplot').

dratex: texlive_base
gnuplot: gnuplot
graphviz: graphviz
lisp: clisp
maxima: maxima
octave: octave and gnuplot
pari: pari
R: R
sympy: py3-sympy

Usage
-----
Once an external package has been installed, it should be listed in the
following menus.

Interactive session: Insert > Session

Executable folded environment: Insert > Fold > Executable

Interface to R
--------------
The TeXmacs interface to R requires additional setup. An R package for the
interface will be built and installed. Give write permissions to the group
(e.g., puffy) running TeXmacs:

# chown root:puffy ${TRUEPREFIX}/lib/R/library/
# chmod 775 ${TRUEPREFIX}/lib/R/library/

Start an R session in TeXmacs: Insert > Session > R

The tutorial can now be followed: Help > Plug-ins > R

Documentation
-------------
Inside TeXmacs: Help > Plug-ins
${TRUEPREFIX}/share/TeXmacs/plugins/*/doc
https://www.texmacs.org/tmweb/plugins/plugins.en.html