Re: [O] Annotating org exporters

2016-05-11 Thread Richard Lawrence
Hi Sebastian and all, Sebastian Fischmeister writes: > I'm still undecided between a regex replace and org-entities. Is there > a straightforward way to define own directives for orgmode to then > support something like the following? > > #+LaTeX_EXPORT:

Re: [O] Annotating org exporters

2016-05-11 Thread Rasmus
Sebastian Fischmeister writes: >> >> This sounds a bit like org-entities. I use this together with cdlatex for > >> quickly inserting such things. >> >> Try to type \Rightarrow and type C-c C-x \ >> Also try to export to text (non-unicode). You will get the desired

Re: [O] Annotating org exporters

2016-05-10 Thread Sebastian Fischmeister
> > This sounds a bit like org-entities. I use this together with cdlatex for > quickly inserting such things. > > Try to type \Rightarrow and type C-c C-x \ > Also try to export to text (non-unicode). You will get the desired symbol. > > Alternatively, you can use one of the many input methods

Re: [O] Annotating org exporters

2016-05-10 Thread Sebastian Fischmeister
Hi Richard, > There's an example of how to do something like this in the "Advanced > Configuration" section of the Export section in the manual. Maybe you > could adapt it like this? > > (defun my-latex-filter-rightarrow (text backend info) >(when (org-export-derived-backend-p

Re: [O] Annotating org exporters

2016-05-10 Thread Rasmus
Rainer M Krug writes: > Rasmus writes: > >> Sebastian Fischmeister writes: >> >>> Is there a simple way to build regex-based extensions to the exporters? >> >> Yeah, filters. But I don’t think this is the best way to go about it. >> >>>

Re: [O] Annotating org exporters

2016-05-10 Thread Rainer M Krug
Rasmus writes: > Sebastian Fischmeister writes: > >> Is there a simple way to build regex-based extensions to the exporters? > > Yeah, filters. But I don’t think this is the best way to go about it. > >> For example, I would like to convert this string

Re: [O] Annotating org exporters

2016-05-10 Thread Rasmus
Sebastian Fischmeister writes: > Is there a simple way to build regex-based extensions to the exporters? Yeah, filters. But I don’t think this is the best way to go about it. > For example, I would like to convert this string "=>" to $\rightarrow$ > when converting the

Re: [O] Annotating org exporters

2016-05-10 Thread Richard Lawrence
Hi Sebasitan, Sebastian Fischmeister writes: > Is there a simple way to build regex-based extensions to the exporters? > For example, I would like to convert this string "=>" to $\rightarrow$ > when converting the document to latex. There's an example of how to do

Re: [O] Annotating org exporters

2016-05-10 Thread Rainer M Krug
Sebastian Fischmeister writes: > Hi, > > Is there a simple way to build regex-based extensions to the exporters? > For example, I would like to convert this string "=>" to $\rightarrow$ > when converting the document to latex. > > There are lots of other uses, where I