Angus Leeming wrote:

>  os << "\\documentclass[10pt]{" << textclass << "}\n";
> 
> ? Would that not be easiest?


you're right, in this way...

but what with the other userdefined options which are
now missing?

some crazy but possible example: someone defines the
use of amsmath in layout->document->Extra Options ...

Herbert


-- 
http://www.lyx.org/help/

Reply via email to