On Fri, May 1, 2009 at 6:30 AM, Jean-Marc Lasgouttes <jeanmarc.lasgout...@free.fr> wrote: > Le 01/05/2009 08:31, Paul Johnson a écrit : >> >> I am having trouble with Noweb documents where R code is embedded in >> ERT boxes. Characters that do not show on the screen are being >> inserted into my document. When the Noweb processor tries to parse >> the code, it finds errors. On screen, for example, I see this: >> >> >> nes2002$bushvote[nes2002$V023111==1]<-0 >> >> But the processor fails to parse that bit, and when I look inside the >> LyX file, i find that language markers \lang_english are inserted in >> the middle of my equation. > > Can you try to find out how you got these things? Cut and paste? > > JMarc >
Yes, all of the examples I can re-produce are cut and paste related. It has happend copying from within an ERT and also copying and pasting from another program (Emacs). pj -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas