exports to the following latex % -*- latex -*- \section{head} \label{sec-1} In a block. \begin{verbatim} bar \end{verbatim} In a call line. \begin{verbatim} bar \end{verbatim} \section{tail} \label{sec-2} \begin{verbatim} baz \end{verbatim} Although I think there may well be improvements to be made to the current approach, e.g. a different variable name, or saving a list of call locations instead of just the first call location, I've yet to see a motivating example where the existing solution is inadequate. Thanks, > > Just today I saw a possible improvement for my patch: For a more > general usage of "loc" than only for org-entry-get it would be better > if "loc" in export would not contain the location of the entry start > but the exact location of possibly more than one call within the same > entry. For "C-c C-c" this is already the case. Since I don't know how > to resolve this I would let it as is for now unless there is a > suggestion. > > I would like to provide a new patch if I know what else should be > improved. > > Michael -- Eric Schulte http://cs.unm.edu/~eschulte