Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Mart van de Wege
On Wed, 2021-01-06 at 16:58 +0100, Juan Manuel Macías wrote: > Mart van de Wege writes: > > Can I just clone the repo and prepare a patch? > > As far as I know, you can create a diff and propose the patch here in > the list, opening a new thread, that includes in the mail subject > something lik

Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Mart van de Wege
On Wed, 2021-01-06 at 13:24 +0100, Juan Manuel Macías wrote: > Mart van de Wege writes: > > > Kind of weird it's not mentioned in the docs though (at least not > > in > > the same section as export filters); if you're going to tell people > > that > > you can bind local functions to an org file,

Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Mart van de Wege
Maxim Nikulin writes: > On 06/01/2021 01:33, Mart van de Wege wrote: >> I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during >> export to LaTex, and obviously I'm doing something wrong, or I don't >> understand the documentation. > > Do you really need to replace unicode charact

Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Juan Manuel Macías
Mart van de Wege writes: > You're right. I looked up the variable, and there is only one mention > in the docs, and that is about binding emacs variables locally to the > org file buffer. > > Can I just clone the repo and prepare a patch? As far as I know, you can create a diff and propose the p

Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Maxim Nikulin
On 06/01/2021 01:33, Mart van de Wege wrote: I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during export to LaTex, and obviously I'm doing something wrong, or I don't understand the documentation. Do you really need to replace unicode characters? If you are just trying to avo

Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Juan Manuel Macías
Mart van de Wege writes: > Kind of weird it's not mentioned in the docs though (at least not in > the same section as export filters); if you're going to tell people that > you can bind local functions to an org file, then it might be nice to > point out that you do need to turn that on. You're

Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Mart van de Wege
On Wed, 06 Jan 2021 12:51:00 +0100 Juan Manuel Macías wrote: > Mart van de Wege writes: > > > Thanks! > > > > But see my answer to Nick Dokos on the list, that does not do > > anything either. > > Try putting this variable in your .emacs with non-nil value: > > (setq org-export-allow-bind-k

Re: Inserting LaTex expressions using a filter fails

2021-01-06 Thread Juan Manuel Macías
Mart van de Wege writes: > Thanks! > > But see my answer to Nick Dokos on the list, that does not do anything > either. Try putting this variable in your .emacs with non-nil value: (setq org-export-allow-bind-keywords t) Regards, Juan Manuel

Re: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Mart van de Wege
Nick Dokos writes: > Mart van de Wege writes: > >> I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during >> export to LaTex, and obviously I'm doing something wrong, or I don't >> understand the documentation. >> >> I use the following code to set up the filter: >> >> #+BIND: or

Re: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Mart van de Wege
On Tue, 05 Jan 2021 22:58:33 +0100 Juan Manuel Macías wrote: > Hello, > > Mart van de Wege writes: > > > I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} > > during export to LaTex, and obviously I'm doing something wrong, or > > I don't understand the documentation. > > > > I u

Re: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Nick Dokos
Mart van de Wege writes: > I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during > export to LaTex, and obviously I'm doing something wrong, or I don't > understand the documentation. > > I use the following code to set up the filter: > > #+BIND: org-export-filter-item-functions

Re: Inserting LaTex expressions using a filter fails

2021-01-05 Thread Juan Manuel Macías
Hello, Mart van de Wege writes: > I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during > export to LaTex, and obviously I'm doing something wrong, or I don't > understand the documentation. > > I use the following code to set up the filter: > > #+BIND: org-export-filter-item-fu

Inserting LaTex expressions using a filter fails

2021-01-05 Thread Mart van de Wege
I'm trying to replace U+00BD in an org buffer with \sfrac{1}{2} during export to LaTex, and obviously I'm doing something wrong, or I don't understand the documentation. I use the following code to set up the filter: #+BIND: org-export-filter-item-functions (latex-replace-half) #+BEGIN_SRC emacs-l