Re: Export Stylesheet as Separate File

2011-12-06 Thread Richard Heck
On 12/04/2011 06:37 PM, Rob Oakes wrote: > Hi Richard and Others, > > Thanks for the clarification. I've rewritten the export CSS to export CSS as > a separate file. It now uses the export machinery correctly to copy the > files. I've also tried to structure it so that it fails more gracefully, p

Re: Export Stylesheet as Separate File

2011-12-04 Thread Rob Oakes
Hi Richard and Others, Thanks for the clarification. I've rewritten the export CSS to export CSS as a separate file. It now uses the export machinery correctly to copy the files. I've also tried to structure it so that it fails more gracefully, per your recommendations. It still isn't quite pr

Re: Export Stylesheet as Separate File

2011-12-04 Thread Richard Heck
On 12/04/2011 01:09 AM, Rob Oakes wrote: > Hi Richard, > > Thanks for getting back to me. > >> This file should be written to the *temporary* directory, in the first >> instance---all files for export should first be written there---and >> registered as an included file. This would be something l

Re: Export Stylesheet as Separate File

2011-12-03 Thread Rob Oakes
Hi Richard, Thanks for getting back to me. > This file should be written to the *temporary* directory, in the first > instance---all files for export should first be written there---and > registered as an included file. This would be something like: > string const fcssname = addName(temppa

Re: Export Stylesheet as Separate File

2011-12-03 Thread Richard Heck
On 12/03/2011 08:23 PM, Rob Oakes wrote: > Dear LyX Developers, > > I've spent some time today working on a patch to support exporting the > LyX CSS stylesheet as a separate file. This is what I've come up with > so far. Would you mind having a look and letting me know if there is > amore efficient

Export Stylesheet as Separate File

2011-12-03 Thread Rob Oakes
Dear LyX Developers, I've spent some time today working on a patch to support exporting the LyX CSS stylesheet as a separate file. This is what I've come up with so far. Would you mind having a look and letting me know if there is amore efficient way to do it? ++ Line 1773, Buffer.cpp if (para