Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 19:53 +0200 schrieb Kornel Benko: > DEFAULTOUTPUT_export/doc/de/EmbeddedObjects_pdf2 Should work now. > export/examples/aa_sample_pdf2 You can exclude this from the test. The class loads inputenc itself, and the encoding is specified via class option (curre

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 19:53 +0200 schrieb Kornel Benko: > DEFAULTOUTPUT_export/doc/de/EmbeddedObjects_pdf2 This is due to the following "trick" in the lstinput example: literate={{À}{{\"a}}1 {ö}{{\"o}}1 {ÃŒ}{{\"u}}1} changing that to literate={{ä}{{\"a}}1 {ö}{{\"o}}1 {ü}{{\"u}}1}

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Kornel Benko
Am Montag, 30. April 2018 18:45:55 CEST schrieb Jürgen Spitzmüller : > Am Montag, den 30.04.2018, 18:28 +0200 schrieb Kornel Benko: > > Am Montag, 30. April 2018 17:54:48 CEST schrieb Jürgen Spitzmüller > p...@lyx.org>: > > > Am Montag, den 30.04.2018, 16:42 +0200 schrieb Kornel Benko: > > > > Un

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 18:45 +0200 schrieb Jürgen Spitzmüller: > It seems that utf8 inputenc still does not cover Hebrew script, while > utf8x (although considered deprecated generally) seems to work fine. > Can you set the default encoding to "utf8x" rather than "utf8" in the > tests? Loading

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 18:28 +0200 schrieb Kornel Benko: > Am Montag, 30. April 2018 17:54:48 CEST schrieb Jürgen Spitzmüller p...@lyx.org>: > > Am Montag, den 30.04.2018, 16:42 +0200 schrieb Kornel Benko: > > > Unfortunately yes. But, 15 tests less are failing now. > > > Desc: Package inputen

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 18:24 +0200 schrieb Kornel Benko: > OK, please change. Done. I just corrected the ERT. I suppose the real glyphs (e.g., а́) are not used here since they result in display glitches in the work area. > > which file(s) is (are) this? > > As I see it, it looks like hebre

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Kornel Benko
Am Montag, 30. April 2018 17:54:48 CEST schrieb Jürgen Spitzmüller : > Am Montag, den 30.04.2018, 16:42 +0200 schrieb Kornel Benko: > > Unfortunately yes. But, 15 tests less are failing now. > > Desc: Package inputenc Error: Unicode char \par . > > Text: ...ed `\foreignlanguage{french}{Théorème

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Kornel Benko
Am Montag, 30. April 2018 17:54:48 CEST schrieb Jürgen Spitzmüller : > Am Montag, den 30.04.2018, 16:42 +0200 schrieb Kornel Benko: > > Unfortunately yes. But, 15 tests less are failing now. > > Desc: Package inputenc Error: Unicode char \par . > > Text: ...ed `\foreignlanguage{french}{Théorème

Re: Many _lyx16 and _lyx22 tests failing

2018-04-30 Thread José Abílio Matos
On Monday, 30 April 2018 03.06.01 WEST Richard Kimberly Heck wrote: > José made some changes to some older routines, so that might explain it. > > Riki It is possible but unlikely. :-) I am aware of the famous last words analogy. ;-) -- José Abílio

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 16:42 +0200 schrieb Kornel Benko: > Unfortunately yes. But, 15 tests less are failing now. > Desc: Package inputenc Error: Unicode char \par . > Text: ...ed `\foreignlanguage{french}{Théorème} Which file is this? > Others got by >egrep --binary-files=text 'De

Re: [LyX/master] Allow adjustment of banner slogan size to localized slogan

2018-04-30 Thread Enrico Forestieri
On Mon, Apr 30, 2018 at 01:01:47PM +0200, Jürgen Spitzmüller wrote: > Am Montag, den 30.04.2018, 09:03 +0200 schrieb Jürgen Spitzmüller: > > We could try to check that width QFontMetrics::width() and height() > > and > > make an educated guess how to scale the slogan. > > I've pushed something alo

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Kornel Benko
Am Montag, 30. April 2018 15:23:43 CEST schrieb Jürgen Spitzmüller : > Am Montag, den 30.04.2018, 11:09 +0200 schrieb Kornel Benko: > > ! Package inputenc Error: Unicode char Ë<9d> (U+2DD) > > LaTeX.cpp (920): line: 642 > > Desc: Package inputenc Error: Unicode char Ë<9d> (U+2DD) > > Text: ...e}+

Re: Two issues with cprotect: notes and pagestyle

2018-04-30 Thread Scott Kostyshak
On Mon, Apr 30, 2018 at 08:55:27AM +, Jürgen Spitzmüller wrote: > The good news is that the situation seems to have improved with recent > LaTeX updates. While I get a LaTeX error ("file FILENAME not found") > with TL 2017 (as documented in the cprotect manual), TL 2018 compiles > the file wit

Re: Two issues with cprotect: notes and pagestyle

2018-04-30 Thread Scott Kostyshak
On Mon, Apr 30, 2018 at 07:59:22AM +, Jürgen Spitzmüller wrote: > Am Sonntag, den 29.04.2018, 13:23 -0400 schrieb Scott Kostyshak: > > 1. \cprotect is still used even if the inset triggering it is put in > > a > > note. e.g. put a box in a section title and then put the box in a > > note. > >

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 11:09 +0200 schrieb Kornel Benko: > ! Package inputenc Error: Unicode char Ë<9d> (U+2DD) > LaTeX.cpp (920): line: 642 > Desc: Package inputenc Error: Unicode char Ë<9d> (U+2DD) > Text: ...e}+\textsf{1}+\textsf{2} $\rightarrow$ Ë<9d> U+2DD is not covered by utf8 inputenc

Re: [LyX/master] Allow adjustment of banner slogan size to localized slogan

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 09:03 +0200 schrieb Jürgen Spitzmüller: > We could try to check that width QFontMetrics::width() and height() > and > make an educated guess how to scale the slogan. I've pushed something along this line to master. I have tested with different sans fonts here (condensed

Re: [LyX/master] unicodesymbols: add general way to require a feature only for specific encodings

2018-04-30 Thread Kornel Benko
Am Montag, 30. April 2018 06:24:15 CEST schrieb Guenter Milde : > On 2018-04-29, Kornel Benko wrote: > > Am Sonntag, 29. April 2018 12:07:39 CEST schrieb Kornel Benko > > : > >> Am Sonntag, 29. April 2018 07:04:42 CEST schrieb Guenter Milde > >> : > >> > > >> > Kornel, could you test all docume

Re: Two issues with cprotect: notes and pagestyle

2018-04-30 Thread Jürgen Spitzmüller
Am Montag, den 30.04.2018, 09:59 +0200 schrieb Jürgen Spitzmüller: > > 2. The cprotect manual [1] mentions an incompatibility: > > > > Incompatibility with \pagestyle{headings}: when a chapter title > > is > > put > > as a header, it gets upper-cased. If you did > > \cprotect\chapter{...} > >

Re: Two issues with cprotect: notes and pagestyle

2018-04-30 Thread Jürgen Spitzmüller
Am Sonntag, den 29.04.2018, 13:23 -0400 schrieb Scott Kostyshak: > 1. \cprotect is still used even if the inset triggering it is put in > a > note. e.g. put a box in a section title and then put the box in a > note. Should be fixed. > 2. The cprotect manual [1] mentions an incompatibility: > >

Re: [LyX/master] Add basic support for cprotect

2018-04-30 Thread Jürgen Spitzmüller
Am Sonntag, den 29.04.2018, 12:59 -0400 schrieb Scott Kostyshak: > Seems to work very well in a lot of testing I just did. Many thanks for doing this. > I've done some testing of weird situations (e.g. a box containing a > greyed out inset, and putting all of that inside another box and > putting

Re: [LyX/master] Allow adjustment of banner slogan size to localized slogan

2018-04-30 Thread Jürgen Spitzmüller
Am Sonntag, den 29.04.2018, 16:39 +0200 schrieb Enrico Forestieri: > I just realized that the banner text is going to have different sizes > on different platforms. I attach here the banners obtained on linux > and windows with latest master. As you can see, on windows the banner > text is too larg