Jürgen Spitzmüller wrote: > Pavel Sanda wrote: > > Layout experts, is there a way how to define environment so that > > LaTeX output looks like: > > > > \awesomestart > > paragraph text > > \awesomeend > > > > (that is no "begin{" stuff, but my own "\strings" there) ? > > Don't think so. What is your usecase?
When you typeset bilingual edition via (e)ledpar the structure is like this \begin{pages} \begin{Leftside} \beginnumbering \pstart paragraph1 \pend \pstart paragraph2 \pend \pstart paragraph3 \pend ... \endnumbering \end{Leftside} \begin{Rightside} \beginnumbering \pstart paragraph1 \pend \pstart paragraph2 \pend \pstart paragraph3 \pend ... \endnumbering \end{Rightside} \Pages \end{pages} Using two-line ERT for each chapter is fine (and maybe avoidable via clever module) but using \pstart ... \pend for each paragraph is pain. Would it be acceptable to add this kind of functionality for layout machinery? Pavel