> UI-wise, this would probably be better than what we have, but you can > already do this with Local Layout. Like this: > > Format 61 > > AddToHTMLPreamble > > <style> > h2.section { font-size: 150%; font-weight: bold; } > </style> > > EndPremable > > You can put anything else in there that you want in the head block, too. > > Do feel free to file an enhancement request on the bug tracker. > > Riki
Thank you, this solves some problems for me. However now I'm questioning whether the <LaTeX preamble> section in document->settings isn't just a shortcut for <AddToPreamble ... EndPreamble> in <local layout>? In this case I think putting them at the same level is confusing, and prevented me from ever needing to look deeper in <local layout>; I understand not all users would want to learn this but it's three lines to get a LaTeX or HTML preamble. Ideally there would be a way to keep the generality of the <local layout> section that however makes it super easy and intuitive to change a preamble. I leave this decision to you and I'll not file a bug (feature) report for now, but here's my two cents for keeping things clear and functional: 1) <LaTeX preamble> section gets removed 2) <local layout> section gets an "advanced" tab with the text entry we have now, and an "easy" tab made by text boxes, buttons and toggles (for a start, just containing the infamous LaTeX Preamble and HTML Preamble, then maybe more). Except for the advantages in clarity on preambles, I think this would make way easier not only to tinker with layouts but also to learn how Lyx works and what are the commands. I know this is a bit of an overhaul, I'm just leaving this here as an idea. -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel