On 2011-02-26, Dean Montgomery wrote: > I'm trying to copy and Paste LyX source view to moodle (Firefox). I > add and extra $ at the beginning and end of the TeX code and Moodle > will render it as a proper formula. However for some reason the LyX > Source view window adds some HTML + CSS formating and shows up as a > line of code right above the rendered formula: p, li { white-space: > pre-wrap; }
Strange. I never realized this. Are you sure that LyX adds the HTML/CSS? Does this also happen, if you paste into a "normal" text editor? > This also happens if I paste source code from LyX view source window > into Drupal. Is there a way to have LyX not copy html source to > clipboard? You might try to copy from the buffer. At least here on my Linux machine, formulas are exported as LaTeX code. Günter