Hi Sam, I made some further changes in the verbatim export; please check. I wondered why I did not make the wrap option the default one, and you reminded me that this was because the code block issue. Of course, for plain text, wrapping is nicer; it allows you for instance to copy and paste the abstract of a paper if you need to give a talk.
I did not dig into the fine-grained conversion details, so a lot of room is left for twiddling. If you want to make further improvement, e.g. fixing the htab issue, then please feel free to send a patch for the C++ 'print_verbatim' function. Best, --Joris On Tue, Dec 14, 2010 at 06:37:07PM -0000, Sam Liddicott wrote: > > texmacs text export: > texmacs -s -c wafs.tm wafs.txt -q > > has started emitting the words langle and rangle where angle brackets > are used, e.g.: > \<langle\>hello\<rangle\> > comes out as > langlehellorangle > > which is clearly un-readable. > > A while ago it ignored langle and rangle on output, but if it has to do > something, substituting < and > would be better than what it is doing > now. > > I also note that text export mode inserts blank lines all over the > place. This is welcome (it was needed), except in code blocks where > mode=code where the blank lines make the text harder to read. > > It would be nice if there was a <specific> mode for verbatim output. I'm > currently using: > <assign|specific-verbatim|<macro|x|<with|color|white|magnification|0.01|<arg|x>>>> > > It would be nice if there were an "except" - like specific (except that > it reserved space in the output) that did not emit the argument for > certain environments. > > Then I can have an <except|verbatim|<langle>><specific|verabatim|\<> > so I can at least influence a meaningful text representation of the > document. > > anyway... > > Sam > > > _______________________________________________ > Texmacs-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/texmacs-dev _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
