Den 17.09.2015 14:04, skrev Guenter Milde:
On 2015-09-17, Pål Næverlid Sævik wrote:

...
It has to do with the Document Settings dialog. As I view it, this
dialog is a graphical interface to the "preamble" part of a LaTeX
document. Certain packages are supported, such as the geometry and
hyperref packages. I would like to know if there is any consistent
thinking behind what packages are supported or not? Of course, the page
cannot support every existing LaTeX package, but there are certainly
some options I would like to see included, and others that I personally
would have restructured or removed. For instance:
- The sectsty package
- The fancyhdr package (sort of supported already, but a better
interface would be nice)
- The unicode-math package
Unicode-math can be selected under Fonts after checking the "use non-TeX
fonts" box (unicode-math requires fontspec).
My Lyx 2.1 installation does not allow the math font to be changed (\setmathfont), but perhaps this has been updated in the dev version? I got the code for 2.2 up and running on MSVC, but then I did a git pull today and the new code is broken on Win... I'll rollback to a previous version since my MSVC+CMake skills are lacking to say the least.. Anyway, there is a multitude of options in the fontspec and unicode-math packages that are not interfaced, and there is no "Additional options" box. I agree that the most important options are present (scaling, true caps and oldstyle figures). But I think we should add more options to this and other packages, so that users would not have to fiddle around with various package documentations and hack the preamble. To do this without confusing the basic user, the dialog should be more carefully designed, for instance using a tree-based system such as the Lyx Preferences dialog.

Also, I would like a preview of the generated preamble without having to
export to LaTeX.
This is possible under View>Source: check "complete source".

Günter

Can't believe I missed this one. Please don't judge me :-)

Reply via email to