[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59546] Missing latex interpreter
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #59546] Missing latex interpreter |
Date: |
Mon, 15 Mar 2021 12:56:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36 Edg/89.0.774.50 |
Follow-up Comment #12, bug #59546 (project octave):
@Pantxo: Thanks for the example. I knew I was missing something basic -- like
entering math mode with `$` (d'oh).
When used correctly, your patch works like a charm.
I remember you asked on the discourse forum about how to manage the cache:
https://octave.discourse.group/t/cache-manager-class/519
IIUC, jwe prefers to not have a static singleton for that.
Do you think the `gh_manager` could manage the cache instead? IIUC, this is
what you suggested in that thread. (But it's quite possible I misunderstood.)
If I read the patch correctly, the cache uses a map that is ever growing until
Octave is closed.
Afaict, these questions haven't been answered yet in the other thread: Do we
need to limit the amount of memory the cache occupies? Do we need functions
that purge the cache once in a while?
The closest I can think of that we have to a cache manager might be the
`load_path` class and its function map. But I'm not sure if much of it could
be useful here...
Maybe the interpreter or parser caches parsed code somewhere. But I don't know
that part of the code base very well...
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59546>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Markus Mützel, 2021/03/14
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/14
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/14
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/15
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Leonardo, 2021/03/15
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter,
Markus Mützel <=
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/15
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Markus Mützel, 2021/03/21
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/21
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Markus Mützel, 2021/03/21
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/21
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Markus Mützel, 2021/03/21
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/21
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Markus Mützel, 2021/03/21
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Pantxo Diribarne, 2021/03/22
- [Octave-bug-tracker] [bug #59546] Missing latex interpreter, Markus Mützel, 2021/03/22