Re: problema with the instalation of Lyx 2.3.1 in Windows 10

2018-09-23 Thread Paul A. Rubin

On 09/23/2018 07:17 PM, Sergio Celani wrote:



El sáb., 22 sept. 2018 a las 19:01, Sergio Celani 
(mailto:sergiocel...@gmail.com>>) escribió:




El sáb., 22 sept. 2018 a las 18:00, Paul A. Rubin
(mailto:parubi...@gmail.com>>) escribió:

On 09/22/2018 10:21 AM, Sergio Celani wrote:



El vie., 21 sept. 2018 a las 15:07, Paul A. Rubin
(mailto:parubi...@gmail.com>>) escribió:




 Forwarded Message 
Subject:Re: problema with the instalation of Lyx 2.3.1
in Windows 10
Date:   Fri, 21 Sep 2018 11:34:09 -0300
From:   Sergio Celani 

To: Paul Rubin 






El vie., 21 sept. 2018 a las 11:05, Paul A. Rubin
(mailto:parubi...@gmail.com>>)
escribió:

On 09/21/2018 12:16 AM, Sergio Celani wrote:



El vie., 21 sept. 2018 a las 0:13, Paul A. Rubin
(mailto:parubi...@gmail.com>>)
escribió:

On 09/20/2018 07:26 PM, Sergio Celani wrote:

Hi, I apologize for the delay in answering.

Yes, I try to start the program from instance
DOS, but nothing happens.
So,  I reinstalled Lyx 2.3.1 in a new folder
(called Lyx2.311).
Thus, I have the two versions installed in
different folders
C:\Program Files (x86)\LyX 2.3   and
C:\Program Files (x86)\LyX 2.311

In a DOS windows, I have tried again to open
the program, i.e.,
C:\Program Files (x86)\LyX 2.3\bin>start Lyx 
,  so open Lyx 2.3 without problems

C:\Program Files (x86)\LyX 2.311\bin>start Lyx
,  in this case nothing happens

I don't understand, I never had problems
installing the different versions of Lyx



imagen.png

El mar., 18 sept. 2018 a las 9:16, Paul A.
Rubin (mailto:parubi...@gmail.com>>) escribió:

On 09/17/2018 10:30 PM, Sergio Celani wrote:
> Hi
>
> I have serious problems with the
instalation of new version 2.3.1 of
> Lyx in Windows 10.
> I have been using version 2.3, with the
latest installer made by Uwe
> (LyX-230-Installer-6), without any problem.
> I decided to install version 2.3.1 with
the official installer
> (LyX-231-Installer-2). It seems to
install correctly, but when the
> installation is finished it is impossible
to start the program.
> I have done several tests.  I uninstall
all Lyx versions (2.2.3 and
> 2.3), I reinstall Lyx 2.3.1, but again
the program does not want to start.
>
> The same problem occurs with the official
installer of version 2.3.
> But curiously, with Uwe's version I don't
have this problem. '
> As last I decided to restore the system
and install everything again.
> But again 2.3.1 does not boot after a
clean installation. Finally, I
> decided to go back to version 2.3 with
the Uwe installer
> (LyX-230-Installer-6). This version works
correctly.
> I have Windows 10 pro, installed on an
Asus computer, System Model
> UX490UAR.
>
> I would appreciate any help.
>
> Sergio
If you try to start 2.3.1 from a command
prompt (what we used to call a
DOS window), what messages do you see?

Paul


Please bottom post when responding; it makes the
thread easier to follow.

If you run the command "dir L*.exe" in
C:\Program Files (x86)\LyX 2.311\bin, what do
you get?

Paul


I see what is shown in the screenshot

imagen.png

Does running "cmd 

Re: problema with the instalation of Lyx 2.3.1 in Windows 10

2018-09-23 Thread Sergio Celani
El sáb., 22 sept. 2018 a las 19:01, Sergio Celani ()
escribió:

>
>
> El sáb., 22 sept. 2018 a las 18:00, Paul A. Rubin ()
> escribió:
>
>> On 09/22/2018 10:21 AM, Sergio Celani wrote:
>>
>>
>>
>> El vie., 21 sept. 2018 a las 15:07, Paul A. Rubin ()
>> escribió:
>>
>>>
>>>
>>>
>>>  Forwarded Message 
>>> Subject: Re: problema with the instalation of Lyx 2.3.1 in Windows 10
>>> Date: Fri, 21 Sep 2018 11:34:09 -0300
>>> From: Sergio Celani  
>>> To: Paul Rubin  
>>>
>>>
>>>
>>> El vie., 21 sept. 2018 a las 11:05, Paul A. Rubin ()
>>> escribió:
>>>
 On 09/21/2018 12:16 AM, Sergio Celani wrote:



 El vie., 21 sept. 2018 a las 0:13, Paul A. Rubin ()
 escribió:

> On 09/20/2018 07:26 PM, Sergio Celani wrote:
>
> Hi, I apologize for the delay in answering.
>
> Yes, I try to start the program from instance DOS, but nothing happens.
> So,  I reinstalled Lyx 2.3.1 in a new folder (called Lyx2.311).
> Thus, I have the two versions installed in different folders
> C:\Program Files (x86)\LyX 2.3   and
> C:\Program Files (x86)\LyX 2.311
>
> In a DOS windows, I have tried again to open the program, i.e.,
> C:\Program Files (x86)\LyX 2.3\bin>start Lyx  ,  so open Lyx 2.3
> without problems
>
> C:\Program Files (x86)\LyX 2.311\bin>start Lyx ,  in this case nothing
> happens
>
> I don't understand, I never had problems installing the different
> versions of Lyx
>
>
>
> [image: imagen.png]
>
> El mar., 18 sept. 2018 a las 9:16, Paul A. Rubin ()
> escribió:
>
>> On 09/17/2018 10:30 PM, Sergio Celani wrote:
>> > Hi
>> >
>> > I have serious problems with the instalation of new version 2.3.1
>> of
>> > Lyx in Windows 10.
>> > I have been using version 2.3, with the latest installer made by
>> Uwe
>> > (LyX-230-Installer-6), without any problem.
>> > I decided to install version 2.3.1 with the official installer
>> > (LyX-231-Installer-2). It seems to install correctly, but when the
>> > installation is finished it is impossible to start the program.
>> > I have done several tests.  I uninstall all Lyx versions (2.2.3 and
>> > 2.3), I reinstall Lyx 2.3.1, but again the program does not want to
>> start.
>> >
>> > The same problem occurs with the official installer of version 2.3.
>> > But curiously, with Uwe's version I don't have this problem. '
>> > As last I decided to restore the system and install everything
>> again.
>> > But again 2.3.1 does not boot after a clean installation. Finally,
>> I
>> > decided to go back to version 2.3 with the Uwe installer
>> > (LyX-230-Installer-6). This version works correctly.
>> > I have Windows 10 pro, installed on an Asus computer, System Model
>> > UX490UAR.
>> >
>> > I would appreciate any help.
>> >
>> > Sergio
>> If you try to start 2.3.1 from a command prompt (what we used to call
>> a
>> DOS window), what messages do you see?
>>
>> Paul
>>
>> Please bottom post when responding; it makes the thread easier to
> follow.
>
> If you run the command "dir L*.exe" in C:\Program Files (x86)\LyX
> 2.311\bin, what do you get?
>
> Paul
>
>
 I see what is shown in the screenshot

 [image: imagen.png]


 Does running "cmd /K Lyx2.3.exe" from that directory also fail to start
 LyX?

 Paul

>>>
>>>
>>> The program started once, after rebooting the system didn't work
>>> anymore.
>>>
>>
>> Hi
>>
>> I continue to try to see what happens with Lyx 2.3.1 on my computer.
>> I've done a couple of tests.
>>
>> 1. The Lyx.2.3 version opens from the command DOS
>> C:\WINDOWS\system32>start lyx,
>> and the program starts without any problem.
>>
>> Now I try Lyx2.3.1
>> C:\WINDOWS\system32>start lyx2.3,
>> but in this case  appears a windows saying that it can't find the lyx2.3
>> file.
>>
>> 2. Go to C:\Program Files (x86)\LyX 2.3\bin>
>>
>> C:\Program Files (x86)\LyX 2.3\bin>start lyx,   and the program starts
>> without any problem.
>> So,
>> C:\Program Files (x86)\LyX 2.311\bin>start LyX2.3, and nothing happens.
>> Also,
>> C:\Program Files (x86)\LyX 2.311\bin>cmd /K Lyx2.3.exe,  and nothing
>> happens.
>>
>> I have installed Lyx2.3 ( LyX-230-Installer-6.exe, Uwe version), and
>> official Lyx 2.3.1 ( LyX-231-Installer-2.exe)
>> With the official installer LyX-230-Bundle-005.exe I have  the same
>> problems what with the installer of Lyx2.3.1
>>
>> Sergio
>>
>>
>>
>>
>>
>> I wonder if having both 2.3 and 2.3.1 installed is causing some sort of
>> problem. I just installed 2.3.1 (installer 2) successfully on Win 10 in a
>> virtual machine. I first uninstalled 2.3.0 completely (including using
>> preferences), then ran the 2.3.1 installer and generally accepted the
>> default settings. I did install for "all users" (2.3 was installed just 

Re: Problem with line spacing of text in a table (previously: \begin{singlespace} in fixed width table)

2018-09-23 Thread Paul A. Rubin

On 09/22/2018 08:02 PM, jcredbe...@gmail.com wrote:
That is only part of a table that is 19x19. Hence, the width of the 
columns is the same as in the original one. The first column is text, 
while the rest are numeric. At the end of the day, both, the numeric 
and the text columns are going to wrap.


Julio Rojas
jcredbe...@gmail.com 


On Sat, Sep 22, 2018 at 3:39 PM Paul A. Rubin > wrote:


On 09/22/2018 12:40 PM, jcredbe...@gmail.com
 wrote:

Dear all,

I want to repost my previous question but with a different
context and with a working example. As you can see on the
attached file, I have a landscape long table, for which each
column has a predefined width. The resulting PDF shows that the
text in the cells of this table has a line spacing wider than
expected. This behavior is the same in a vertical (regular) long
table, as well as in a table in a float. It seems as if reducing
the size of the font does not affect the line spacing.

Trying to set line spacing up in the paragraph settings menu,
only worsens the problem, as extra spacing is added on the top
and bottom of the text.

Is there any way to do this? Why is this the behavior in Lyx?

Thanks in advance. Regards,

Julio Rojas
jcredbe...@gmail.com 

Do you need the overall width of the table to be that narrow (and,
in particular, do you need it narrow enough that the line of text
in each cell of the right column has to wrap)?

Paul

Bear with me, this gets a bit funky. I don't think the issue is with 
LyX; I think it has something to do with using \tiny (or presumably 
other font size commands) inside table cells. I tried the following fix 
on one copy of the table, which I think gets what you want.


1. I highlighted the whole table and reset the font size.
2. I removed "(1)", "(2)" etc. from the first column (more on that below).
3. I put "{\tiny " (note the trailing space) in ERT outside the table
   and immediately before it and "}" in ERT outside and immediately
   after the table.
4. The table compiled without extra vertical spacing.

Regarding step 2, the way you did the font resizing wrapped the content 
of each cell in LaTeX braces. Without those braces, starting the cell 
contents with a left parenthesis produced a lot of undefined command 
errors. I don't know why -- maybe some artifact of the longtable 
package? It turns out you can leave the "(1)" etc. in if your precede 
each one with a hard space (again, no idea why that works). You can also 
wrap each cell of the left column in braces by inserting an opening 
brace in ERT and a closing brace in ERT. It's possible sacrificing a 
small animal as an offering to the LaTeX gods would also work, but PETA 
already has me on their watch list, so I didn't try that.


Paul