Re: 2.4.0 testing on windows 10

2020-10-31 Thread Kornel Benko
Am Sat, 31 Oct 2020 17:33:24 +0100
schrieb Yu Jin :

> Am Sa., 31. Okt. 2020 um 15:51 Uhr schrieb Thibaut Cuvelier <
> tcuvel...@lyx.org>:
> 
> > On Sat, 31 Oct 2020 at 10:07, Andrew Parsloe  wrote:
> >
> >> I've installed 2.4.0 testing on a windows 10 machine.
> >>
> >> 1. when launching LyX the command window remains open.
> >>
> >> 2. the first preview encountered (e.g. math inset with preview On)
> >> generates this message twice in the command window:
> >>
> >> RunCommand: could not terminate child process: Invalid argument
> >>
> >> Subsequent previews do not generate the message.
> >>
> > I can reproduce this. LyX tries to run py -2 and py -3 to detect some
> > Python installation, but I thought this was due to my using a nonbundled
> > version of Python.
> >
> 
> I would not worry too much, this is normal:
> https://www.lyx.org/trac/ticket/11712
> 
> I actually worry more about the open command window. I compiled and built
> Windows installer as before with the 2.3.x betainstallers. Should I have
> toggled the CMake setting to suppress/deactivate the command window?
> Totally didn't think about that.

Right, we should make it configurable at runtime. Like:
  $ lyx -console
and since we sometimes need the output in the command window, it should not be 
disabled
at cmake-configuration time.

This is also the reason that console is on by default for the MSVC compiler. 
(As it is for
lyx2.3.x too BTW)

Kornel


pgp7UAL2mEtz2.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.4.0 testing on windows 10

2020-10-31 Thread Yu Jin
Am Sa., 31. Okt. 2020 um 15:51 Uhr schrieb Thibaut Cuvelier <
tcuvel...@lyx.org>:

> On Sat, 31 Oct 2020 at 10:07, Andrew Parsloe  wrote:
>
>> I've installed 2.4.0 testing on a windows 10 machine.
>>
>> 1. when launching LyX the command window remains open.
>>
>> 2. the first preview encountered (e.g. math inset with preview On)
>> generates this message twice in the command window:
>>
>> RunCommand: could not terminate child process: Invalid argument
>>
>> Subsequent previews do not generate the message.
>>
> I can reproduce this. LyX tries to run py -2 and py -3 to detect some
> Python installation, but I thought this was due to my using a nonbundled
> version of Python.
>

I would not worry too much, this is normal:
https://www.lyx.org/trac/ticket/11712

I actually worry more about the open command window. I compiled and built
Windows installer as before with the 2.3.x betainstallers. Should I have
toggled the CMake setting to suppress/deactivate the command window?
Totally didn't think about that.
-- 
Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.4.0 testing on windows 10

2020-10-31 Thread Thibaut Cuvelier
On Sat, 31 Oct 2020 at 10:07, Andrew Parsloe  wrote:

> I've installed 2.4.0 testing on a windows 10 machine.
>
> 1. when launching LyX the command window remains open.
>
> 2. the first preview encountered (e.g. math inset with preview On)
> generates this message twice in the command window:
>
> RunCommand: could not terminate child process: Invalid argument
>
> Subsequent previews do not generate the message.
>
I can reproduce this. LyX tries to run py -2 and py -3 to detect some
Python installation, but I thought this was due to my using a nonbundled
version of Python.
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: ImageMagick security settings in openSUSE

2020-10-31 Thread Pavel Sanda
On Sat, Oct 31, 2020 at 12:11:58AM +0100, Tommaso Cucinotta wrote:
> Now, the question I wanted to ask is: when reconfiguring LyX looking for
> existence of the various converters, would it make sense for LyX to have a
> means to try the converters one by one (at least a known subset of them), to
> be sure they work and they've not been forbidden, so to exclude those ones
> that don't actually work ?
> Or, is there some other way to handle the problem in a user-friendly way ?

The security bugs which led to the conversion ban are fixed for a long time.
So it would make sense to file a bug in ubuntu that the permanent ban makes
lyx unusable for standard vector graphics formats. Moreover since /etc is 
writeable
only for root, normal users has no chance to override this restriction with 
their
own policy files.
They might listen to us or not, but it's IMHO worth of trying.


>From our part the most user informative way would be to check the policy via
"convert -list policy" and if not trigger message that those conversions were
banned. The combative part in me would even add note which would suggest users
to file bug to their distro maintainers so they get some additional feedback.
Maybe if they close the same bug 100x times they try to do something about it ;)

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: 2.4.0 testing on windows 10

2020-10-31 Thread Andrew Parsloe


On 31/10/2020 10:06 pm, Andrew Parsloe wrote:


I've installed 2.4.0 testing on a windows 10 machine.


I should have mentioned this is the 64-bit installer.


1. when launching LyX the command window remains open.

2. the first preview encountered (e.g. math inset with preview On) 
generates this message twice in the command window:


RunCommand: could not terminate child process: Invalid argument

Subsequent previews do not generate the message.

3. a small cosmetic detail. The File menu lists Open Example after 
Open Recent and just above a separator. People moving from 2.3 are 
used to finding the recent files just above the separator. I think it 
would be better to place Open Example just after New from Template


Attempts to compile some complex documents have not been successful 
initially, but I'll need to investigate further tomorrow.


Andrew

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Spellchecking dictionaries in LyX 2.4 installer

2020-10-31 Thread Jean-Marc Lasgouttes
Le 31 octobre 2020 07:42:37 GMT+01:00, Richard Kimberly Heck  
a écrit :
>On 10/30/20 7:05 PM, Jean-Marc Lasgouttes wrote:
>> Le 30/10/2020 à 20:49, Scott Kostyshak a écrit :
>>> I support this idea as well, but we've already had this debate and
>>> there is considerable opposition. When there's opposition to this
>>> type of change, even if the majority support the change, usually we
>>> don't do it since the benefit of the doubt goes to the current
>>> default. We would need a strong majority to support the change and
>>> incur the cost of changing the default, and if I remember correctly I
>>> don't think a strong majority support the change.
>>
>> Maybe the question was not the right one: it should not be "what do
>> you prefer for yourself?", but "what do you think is a good default
>> for new users?"
>
>So how would you answer that question?
>
>Riki
>
>

I think it should be on by default.

JMarc-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


2.4.0 testing on windows 10

2020-10-31 Thread Andrew Parsloe

I've installed 2.4.0 testing on a windows 10 machine.

1. when launching LyX the command window remains open.

2. the first preview encountered (e.g. math inset with preview On) 
generates this message twice in the command window:


RunCommand: could not terminate child process: Invalid argument

Subsequent previews do not generate the message.

3. a small cosmetic detail. The File menu lists Open Example after Open 
Recent and just above a separator. People moving from 2.3 are used to 
finding the recent files just above the separator. I think it would be 
better to place Open Example just after New from Template


Attempts to compile some complex documents have not been successful 
initially, but I'll need to investigate further tomorrow.


Andrew

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Spellchecking dictionaries in LyX 2.4 installer

2020-10-31 Thread Yu Jin
Am Fr., 30. Okt. 2020 um 22:21 Uhr schrieb Yu Jin :

> Am Fr., 30. Okt. 2020 um 21:59 Uhr schrieb Thibaut Cuvelier <
> tcuvel...@lyx.org>:
>
>> On Fri, 30 Oct 2020 at 21:31, Yu Jin  wrote:
>>
>>> Am Fr., 30. Okt. 2020 um 21:24 Uhr schrieb Stephan Witt >> >:
>>>
 Am 30.10.2020 um 19:48 schrieb Yu Jin :
 >
 > Am Fr., 30. Okt. 2020 um 19:29 Uhr schrieb Pavel Sanda >>> >:
 > On Fri, Oct 30, 2020 at 07:19:06PM +0100, Yu Jin wrote:
 > > Actually I remember my first attempts to work with LyX, I asked
 google and
 > > found it pretty quickly.
 > >
 > > Btw. by default following dicts are included in the installer on
 Windows:
 > > de_DE
 > > en_GB
 > > en_US
 > > es_ES
 > > es_MX
 > > fr_FR
 >
 > Do you have an estimate what would be the difference in installer
 size if we included all dicts?
 >
 > you mean all from
 https://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk ?!
 > There is 300+ MB thesaurus and 240 MB dictionaries unpacked.
 > Including those produces a 105 MB large installer.
 > Including "only" the dicts produces a 82 MB large installer.

 For the Mac I package 82 dicts - 4 of them are linked to identical
 versions - e.g. en_NZ.dic -> en_GB.dic.

 These make an additional disk size of approximately 246 MB if
 uncompressed.
 Fortunately the disk image can use a HFS+ feature: the files are
 compressed and so it's 50 MB in package and on target systems.

 I don’t know if something similar is possible on windows.

>>> No, unpacked files always take the full size on Windows.
>>>
>>
>> It's maybe possible to enable NTFS compression for these files?
>> https://nsis.sourceforge.io/SetNTFSCompressionFlag_Function
>> I don't know if the files are large enough for NTFS compression to really
>> kick in (it's not supposed to be used if the files are too small and/or
>> difficult to compress).
>>
>
> Every day you learn something new... Windows life :). I will check
> tomorrow and report how well it works.
>

Here are some numbers of the installed program on the hard drive with the
installer sizes I wrote earlier still actual.
180 MB what is currently in the installer
715 MB all dicts and thesaurus unpacked
410 MB only dicts unpacked

412 MB dicts and thesaurus compressed
265 MB only dicts compressed

Of course if most want to include all dicts (and thesaurus) I will not
resist. But I think that including everything is too much, including a
couple more popular ones is ok. Because the average user on Windows needs
only 1, maybe 2 anyway and download works well.
-- 
Eugene
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Spellchecking dictionaries in LyX 2.4 installer

2020-10-31 Thread Richard Kimberly Heck
On 10/30/20 7:05 PM, Jean-Marc Lasgouttes wrote:
> Le 30/10/2020 à 20:49, Scott Kostyshak a écrit :
>> I support this idea as well, but we've already had this debate and
>> there is considerable opposition. When there's opposition to this
>> type of change, even if the majority support the change, usually we
>> don't do it since the benefit of the doubt goes to the current
>> default. We would need a strong majority to support the change and
>> incur the cost of changing the default, and if I remember correctly I
>> don't think a strong majority support the change.
>
> Maybe the question was not the right one: it should not be "what do
> you prefer for yourself?", but "what do you think is a good default
> for new users?"

So how would you answer that question?

Riki


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Testing Release of 2.4.0 Development Branch

2020-10-31 Thread Richard Kimberly Heck
On 10/30/20 7:27 PM, Shay Riggs wrote:
> On Thu, 29 Oct 2020 at 22:09, Richard Kimberly Heck  > wrote:
>
> Hi, everyone,
>
> We are beginning the process of moving towards the next major
> release of
> LyX, which will be 2.4.0. Toward that end, we have prepared a
> 'testing'
> release. Please note that this is very much for testing. We do not
> necessarily recommend that anyone use it for daily work, although some
> of us do. (Be aware that you may have to deal with some bugs and that
> files edited with 2.4.x cannot be opened in 2.3.x without being
> exported
> to that format.)
>
>
> I’ve been looking at the new table features (xltabular, tabularx…) and
> I love the improvements.
>
> Not sure if this is the appropriate forum for feature enhancements to
> v2.4, but I’d love a pair of “suppress column space beforeafter”
> tickboxes that put “@{}” before/after the column specifier.
>
> For example, if I have a table with several columns, one of which is a
> “Variable” width column, and then use the “LaTeX argument” field to
> override the definition, this triggers LyX into thinking you no longer
> want the X (“Variable”) type column any more, and instead of a
> “tabularx” table you get a “tabular” (which has no concept of an X
> column).

Probably best here to (i) file an enhancement request at the bug tracker
 and (ii) send a version
of this message to lyx-devel. That'll get it maximal exposure.

Riki



-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel