On Wed, Feb 26 2020, Nam Nguyen <[email protected]> wrote:
> Jeremie Courreges-Anglas writes:
>
>> On Fri, Feb 21 2020, Nam Nguyen <[email protected]> wrote:
>>> Here is an update for TeXmacs 1.99.12, released on December 28, 2019.
>>>
>>> Changelog: https://texmacs.org/tmweb/about/changes.en.html
>>>
>>> This diff:
>>> - Enables many plugins (accessed through Insert > Session)
>>> - HOMEPAGE now uses https
>>> - Adds python3 through a combination of MODPY_ADJ_FILES and manually
>>> replacing python with python3.7, as described in
>>> plugins/python/README.md
>
> This fresh diff additionally:
> - Unbreaks R and octave plug-ins
> - Adds a README describing plug-ins
> - Plugins remain optional and are no longer added to RUN_DEPENDS.
> - Removes unused find git cmake flag
>
>>>
>>> The most controversial change is adding the new RUN_DEPENDS for every
>>> possible optional plugin. If there is pushback I would be fine with
>>> leaving this off.
>>
>> It feels like the functionality in those plugins should be made
>> optional. While I'm not a TeXmacs user I think those extra deps
>> shouldn't be mandatory.
>
> I see that the website defines these plug-ins as external to the
> project, so this makes sense.
>
> https://www.texmacs.org/tmweb/plugins/plugins.en.html
>
>>
>> (Adding python in RUN_DEPENDS as done by MODULES=lang/python is fine
>> though, python is already an indirect dep as shown by make
>> full-run-depends.)
>>
>> This being said, it's nice to patch plugins so they work properly once
>> the deps are installed. I guess what you could do is document packages
>> that the user can install to unlock extra functionality. Or maybe the
>> UI makes it obvious what the user needs to install?
>
> Only Help > Plug-ins lists every plug-in with documentation available,
> regardless of whether they are installed. To make them easier to
> discover, I added a README as you suggested.
Looked good, so I committed the update along with two README tweaks.
Thanks! Please see below for the README tweaks,
> Index: pkg/README
> ===================================================================
> RCS file: pkg/README
> diff -N pkg/README
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ pkg/README 27 Feb 2020 03:31:07 -0000
> @@ -0,0 +1,37 @@
> +$OpenBSD$
> +
> ++-------------------------------------------------------------------------------
> +| 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%
Stray '%'?
> +gnuplot: gnuplot
> +graphviz: graphviz
> +lisp: clisp
> +maxima: maxima
> +octave: octave
> +pari: pari
> +python: python3
I dropped this line since the lang/python module automatically adds
python in RUN_DEPENDS, so there's no need to mention python here.
ritchie /usr/ports/editors/TeXmacs$ make show=RUN_DEPENDS
devel/desktop-file-utils misc/shared-mime-info print/ghostscript/gnu
x11/gtk+3,-guic lang/python/3.7
ritchie /usr/ports/editors/TeXmacs$
> +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
> +
> +Documentation
> +-------------
> +Inside TeXmacs: Help > Plug-ins
> +${TRUEPREFIX}/share/TeXmacs/plugins/*/doc
> +https://www.texmacs.org/tmweb/plugins/plugins.en.html
>
>
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE