Preamble section patch

Scott Kostyshak skostysh at lyx.org
Sun Sep 27 16:43:37 UTC 2020


On Sun, Sep 27, 2020 at 06:40:06PM +0200, Lorenzo Bertini wrote:
> > Can you give more details on what you mean by "far from perfect"?
> Yes, sorry! The thing I'm not happy with is that patch makes it so the HTML
> preamble gets stored in a new bufferParams docstring, but it doesn't get
> checked for illegal characters and it's "brutally" printed in
> writeHTMLSource in buffer.cpp, while the LaTeX preamble string undergoes
> more processing in writeLaTeX in BufferParams.cpp and writeLaTeXSource in
> Buffer.cpp.
> 
> I wish I could dig deeper on LaTeX and LyXHTML outputting, but I feel like
> this is too hard of a start. Ill pick something easier next time.

Thanks for the explanation, Lo! Indeed, you tackled a difficult task.
Nice job working through it.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200927/0da563b0/attachment.asc>


More information about the lyx-devel mailing list