Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > I think this would work: > (setq org-export-filter-plain-text-functions > (remove 'my-html-red org-export-filter-plain-text-functions)) > Anyway, I recommend that you take a look at the documentation on filters > that Timothy pointed you to, as

Re: org-->html text between @ should be red.

2022-01-15 Thread Juan Manuel Macías
Uwe Brauer writes: > (add-to-list 'org-export-filter-plain-text-functions 'my-html-red) > > How could I remove something from a list? I think this would work: (setq org-export-filter-plain-text-functions (remove 'my-html-red org-export-filter-plain-text-functions)) Anyway, I recommend

Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > Uwe Brauer writes: >> Thanks very much it works as expected. However I just realized (and >> this is true also for the org-mime filter that the reg-exp has a flaw. >> >> I used the text >> >> >> =email:o...@mat.ucm.es= >> >> So there is only one @,

Re: org-->html text between @ should be red.

2022-01-15 Thread Juan Manuel Macías
Uwe Brauer writes: > Thanks very much it works as expected. However I just realized (and > this is true also for the org-mime filter that the reg-exp has a flaw. > > I used the text > > > =email:o...@mat.ucm.es= > > So there is only one @, nevertheless the exporter translated that to >

Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "T" == Timothy writes: Hi Timothy > Hi Uwe, >> And every text between @ appears red. >> >> Can I have a similar setting when exporting an org file to html via the >> «normal» html exporter? > Have a look at the filter functions, such as > `org-export-filter-final-output-functions'. See >

Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > Uwe Brauer writes: >> Can I have a similar setting when exporting an org file to html via the >> «normal» html exporter? > Using a custom filter? > #+begin_src emacs-lisp > (defun foo (text backend info) > (when (org-export-derived-backend-p

Re: org-->html text between @ should be red.

2022-01-15 Thread Timothy
Hi Uwe, > And every text between @ appears red. > > Can I have a similar setting when exporting an org file to html via the > «normal» html exporter? Have a look at the filter functions, such as `org-export-filter-final-output-functions'. See

Re: org-->html text between @ should be red.

2022-01-15 Thread Juan Manuel Macías
Uwe Brauer writes: > Can I have a similar setting when exporting an org file to html via the > «normal» html exporter? Using a custom filter? #+begin_src emacs-lisp (defun foo (text backend info) (when (org-export-derived-backend-p backend 'html) (replace-regexp-in-string