Re: Regression on master: zh_CN tutorial.lyx compiles with error

2020-08-14 Thread Kornel Benko
Am Sat, 15 Aug 2020 07:09:14 +0200 schrieb Jürgen Spitzmüller : > > Next waiting tests would be > > export/doc/ru/Math_.* > > export/examples/ru/Graphics_and_Insets/XY-Figure.* > > Could you please re-check once more after 04ba887e2c77? > These passes now:

Re: [Request/idea] Preamble generalization

2020-08-14 Thread Daniel
On 2020-08-14 21:48, Daniel wrote: On 2020-08-14 19:10, Pavel Sanda wrote: On Fri, Aug 14, 2020 at 10:50:55AM -0400, Richard Kimberly Heck wrote: 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

Re: [LyX/master] Correctly set font decorations for multipar insets

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 18:04 +0200 schrieb Enrico Forestieri: > I reverted the commit, so it's all yours again. You also have a hint > of how about solving the bug addressed by it. Let me know if you need > help. I (hope I) fixed that one differently at 04ba887e2c77. Jürgen signature.asc

Re: Regression on master: zh_CN tutorial.lyx compiles with error

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 10:13 +0200 schrieb Kornel Benko: > The following tests have now passed: > export/doc/es/UserGuide_dvi > export/doc/es/UserGuide_dvi3_texF > export/doc/es/UserGuide_pdf > DEFAULTOUTPUT_export/doc/es/UserGuide_pdf2 > export/doc/es/UserGuide_pdf3 >

Re: Crash in export of American_Psychological_Association_%28APA%29,_v._7_

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 21:01 +0200 schrieb Kornel Benko: > The point is: it was compilable, now it crashes. No, it asserts. And I understand this assertion is wanted to point to precisely such problems. > Even if editing the template > would omit the crash, this would only hide the

[RFC] Missing DocIterator methods

2020-08-14 Thread Stephan Witt
Hi all, to implement the correct and Mac conforming solution for navigation through the LyX document with keyboard I need to go forward and backward. Sounds simple and I want to use the DocIterator for that. Nevertheless I missed two methods to use DocIterators for backward iteration. First

Re: [Request/idea] Preamble generalization

2020-08-14 Thread Daniel
On 2020-08-14 19:10, Pavel Sanda wrote: On Fri, Aug 14, 2020 at 10:50:55AM -0400, Richard Kimberly Heck wrote: 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 h2.section { font-size: 150%;

Re: Crash in export of American_Psychological_Association_%28APA%29,_v._7_

2020-08-14 Thread Kornel Benko
Am Fri, 14 Aug 2020 16:03:26 +0200 schrieb Jürgen Spitzmüller : > I'm not sure if the assertion is expected in dev mode, in any case the > template is broken. It refers to some local bibliography which resides > in the LaTeX doc tree. > > Who ever wrote this template should fix this and use a

Re: [Request/idea] Preamble generalization

2020-08-14 Thread Pavel Sanda
On Fri, Aug 14, 2020 at 10:50:55AM -0400, Richard Kimberly Heck wrote: > 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 > > > h2.section { font-size: 150%; font-weight: bold; } > > >

Re: [LyX/master] Correctly set font decorations for multipar insets

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 18:04 +0200 schrieb Enrico Forestieri: > I reverted the commit, so it's all yours again. You also have a hint > of how about solving the bug addressed by it. Let me know if you need > help. Thanks. Jürgen signature.asc Description: This is a digitally signed message

Re: [LyX/master] Correctly set font decorations for multipar insets

2020-08-14 Thread Enrico Forestieri
On Fri, Aug 14, 2020 at 04:28:29PM +0200, Jürgen Spitzmüller wrote: > Am Freitag, den 14.08.2020, 16:13 +0200 schrieb Enrico Forestieri: > > Sorry for that. Unfortunately I don't know what I have broken and > > thus cannot fix it. > > Kornel can tell you, or run the tests yourselved. Some of the

Re: [Request/idea] Preamble generalization

2020-08-14 Thread Richard Kimberly Heck
On 8/14/20 7:06 AM, Lorenzo Bertini wrote: > Hello devs, > the recent discussion about Lyx being not LaTeX centric and my need to > manually edit the CSS in LyXHTML output has got me thinking that the > section in the document->settings could be > generalized to just and contain the LaTeX

Re: [LyX/master] Correctly set font decorations for multipar insets

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 16:13 +0200 schrieb Enrico Forestieri: > Sorry for that. Unfortunately I don't know what I have broken and > thus cannot fix it. Kornel can tell you, or run the tests yourselved. Some of the manuals are among the files (e.g., Spanish UserGuide) > I am sure you can

Re: [LyX/master] Correctly set font decorations for multipar insets

2020-08-14 Thread Enrico Forestieri
On Fri, Aug 14, 2020 at 03:36:15PM +0200, Jürgen Spitzmüller wrote: > Am Freitag, den 14.08.2020, 11:42 +0200 schrieb Enrico Forestieri: > > commit 5791b8bff8650be1ce0a3ee142e131fbc8de8587 > > > > Author: Enrico Forestieri > > > > Date: Fri Aug 14 12:04:23 2020 +0200 > > > > > > > >

Re: Crash in export of American_Psychological_Association_%28APA%29,_v._7_

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 10:56 +0200 schrieb Kornel Benko: > The backtrace attached. > > In the line InsetCommandParams.cpp:612 > LASSERT(info_.hasParam(name), return dummy); I'm not sure if the assertion is expected in dev mode, in any case the template is broken. It refers to some

Re: [LyX/master] Correctly set font decorations for multipar insets

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 11:42 +0200 schrieb Enrico Forestieri: > commit 5791b8bff8650be1ce0a3ee142e131fbc8de8587 > > Author: Enrico Forestieri > > Date: Fri Aug 14 12:04:23 2020 +0200 > > > > Correctly set font decorations for multipar insets > > Font decorations such as

Re: [Request/idea] Preamble generalization

2020-08-14 Thread Daniel
On 14/8/20 13:06, Lorenzo Bertini wrote: Hello devs, the recent discussion about Lyx being not LaTeX centric and my need to manually edit the CSS in LyXHTML output has got me thinking that the section in the document->settings could be generalized to just and contain the LaTeX preamble, CSS

[Request/idea] Preamble generalization

2020-08-14 Thread Lorenzo Bertini
Hello devs, the recent discussion about Lyx being not LaTeX centric and my need to manually edit the CSS in LyXHTML output has got me thinking that the section in the document->settings could be generalized to just and contain the LaTeX preamble, CSS etc. The main advantages would be: 1) less

Crash in export of American_Psychological_Association_%28APA%29,_v._7_

2020-08-14 Thread Kornel Benko
The backtrace attached. In the line InsetCommandParams.cpp:612 LASSERT(info_.hasParam(name), return dummy); info_ shows $1 = { info_ = std::__debug::vector of length 6, capacity 6 = {{ name_ = "after", type_ = lyx::ParamInfo::LATEX_OPTIONAL, handling_ =

Re: Regression on master: zh_CN tutorial.lyx compiles with error

2020-08-14 Thread Kornel Benko
Am Fri, 14 Aug 2020 10:24:10 +0200 schrieb Jürgen Spitzmüller : > Am Freitag, den 14.08.2020, 10:13 +0200 schrieb Kornel Benko: > > export/export/latex/languages/en-th_utf8_pdf4_systemF > > > > export/doc/es/Additional_(dvi3|pdf[45])_systemF > > This means these two with

Re: Regression on master: zh_CN tutorial.lyx compiles with error

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 10:13 +0200 schrieb Kornel Benko: > export/export/latex/languages/en-th_utf8_pdf4_systemF > > export/doc/es/Additional_(dvi3|pdf[45])_systemF This means these two with non-TeX fonts and XeTeX or LuaTeX, right? These compile for me without error.

Re: Part no greater font size than Chapter/Section

2020-08-14 Thread Daniel
On 12/8/20 17:05, Richard Kimberly Heck wrote: On 8/12/20 10:35 AM, Daniel wrote: On 11/8/20 18:52, Richard Kimberly Heck wrote: On 8/11/20 1:13 AM, Daniel wrote: On 2020-08-11 00:34, Richard Kimberly Heck wrote: On 8/10/20 1:31 PM, Jürgen Spitzmüller wrote: Am Montag, den 10.08.2020, 15:36

Re: Regression on master: zh_CN tutorial.lyx compiles with error

2020-08-14 Thread Kornel Benko
Am Fri, 14 Aug 2020 09:51:23 +0200 schrieb Jürgen Spitzmüller : > Am Freitag, den 14.08.2020, 09:10 +0200 schrieb Jürgen Spitzmüller: > > Of these, only es/Additional.lyx is left after ef11fdc77dc617ec. > > and that's addressed at 70eb8c37cb2f0029. > > Any more breaking cases left? > >

Re: Regression on master: zh_CN tutorial.lyx compiles with error

2020-08-14 Thread Jürgen Spitzmüller
Am Freitag, den 14.08.2020, 09:10 +0200 schrieb Jürgen Spitzmüller: > Of these, only es/Additional.lyx is left after ef11fdc77dc617ec. and that's addressed at 70eb8c37cb2f0029. Any more breaking cases left? Jürgen signature.asc Description: This is a digitally signed message part --

Re: Regression on master: zh_CN tutorial.lyx compiles with error

2020-08-14 Thread Jürgen Spitzmüller
Am Mittwoch, den 12.08.2020, 16:16 +0200 schrieb Kornel Benko: > Remaining for instance doc/(es|fr)/(Additional|UserGuide).lyx Of these, only es/Additional.lyx is left after ef11fdc77dc617ec. Looking at that next. Jürgen signature.asc Description: This is a digitally signed message part --

Re: get QFont from _font

2020-08-14 Thread Jürgen Spitzmüller
Am Donnerstag, den 13.08.2020, 17:50 +0200 schrieb Daniel: > Jürgen, you have put some lifeblood in the Text Properties dialog. > Would a preview of the selected text properties be something you > think would be worth having in the dialog? Yes. Jürgen signature.asc Description: This is a