Re: [O] Wrapping section within LaTeX environment

2015-12-16 Thread Xavier Garrido
Hi Robert, Le 16/12/2015 04:41, Robert Klein a écrit : Hi On 12/13/2015 03:00 PM, Xavier Garrido wrote: Dear orgers, I would like to wrap a given org section between =\begin,\end= LaTeX environment. These sections are identified by a special tag :correction: and to initiate the =\begin= flag

Re: [O] Wrapping section within LaTeX environment

2015-12-15 Thread Robert Klein
Hi On 12/13/2015 03:00 PM, Xavier Garrido wrote: > Dear orgers, > > I would like to wrap a given org section between =\begin,\end= LaTeX > environment. These sections are identified by a special tag :correction: > and to initiate the =\begin= flag I have basically no problem by using > the org-e

Re: [O] Wrapping section within LaTeX environment

2015-12-14 Thread John Kitchin
Cool. You might want to change your string match to :correction: so you don't inadvertently wrap a section with the word correction in the body though. That seems like a possibility here. Xavier Garrido writes: > Le 14/12/2015 02:39, John Kitchin a écrit : >> could you provide a brief example of

Re: [O] Wrapping section within LaTeX environment

2015-12-13 Thread Xavier Garrido
Le 14/12/2015 02:39, John Kitchin a écrit : could you provide a brief example of what you want to happen? i.e. are you looking for this: * some heading :correction: one line of content to convert to this in LaTeX? \begin{correction} one line of content \end{correction} Exactly. Actually wh

Re: [O] Wrapping section within LaTeX environment

2015-12-13 Thread John Kitchin
could you provide a brief example of what you want to happen? i.e. are you looking for this: * some heading :correction: one line of content to convert to this in LaTeX? \begin{correction} one line of content \end{correction} Xavier Garrido writes: > Dear orgers, > > I would like to wrap a g

[O] Wrapping section within LaTeX environment

2015-12-13 Thread Xavier Garrido
Dear orgers, I would like to wrap a given org section between =\begin,\end= LaTeX environment. These sections are identified by a special tag :correction: and to initiate the =\begin= flag I have basically no problem by using the org-export-filter-headline-function filter. The problem comes w