Re: Augmented matrix is not produced correctly

2020-05-06 Thread Paul Smith
On Wed, May 6, 2020 at 6:43 PM Paul A. Rubin  wrote:
>
> I suspect that I have found a bug: When I do what I do at the attached
> screenshot, I do not get what one would have expected (the vertical
> line drawn between the first and the second column).
>
> This discussion may be relevant:
>
> https://tex.stackexchange.com/questions/299221/adding-vertical-line-equal-sign-to-augmented-bmatrix-without-using-array
>
> What version of LyX are you using? I get the vertical line using LyX 2.3.4.2 
> on Linux Mint.
>
> Thanks, Paul. I am using
>
> LyX Version 2.3.4.2
>
> on Fedora Linux 31.
>
> Have you selected the matrix decoration as [x], Paul?
>
> As soon as one does that, LyX uses bmatrix environment, with which it
> is impossible to get an augmented matrix.
>
> Sorry, missed that part. You're right, that does nuke the vertical line.
> A workaround is to use the [] math toolbar button to create the brackets
> and insert the matrix inside. It's not perfect -- there seems to be more
> white space between brackets and matrix -- but it's in the ballpark.
>
> No, Paul. There is a better approach: The one presented at the
> web-address I mention on my initial message: In the horizontal
> alignment, insert:
>
> @{}c|c@{}
>
> and select no matrix decoration. Then enter the brackets as you
> suggested. You will see that the extra white space between brackets
> and matrix will be gone.
>
> I would suggest that LyX implements this approach: Augmented matrices
> are shown very nicely and neatly.
>
> You should submit a ticket for this. I did a little experimenting and 
> discovered that if you do exactly what you were doing in the screenshot 
> except make any one column left or right justified rather than centered, LyX 
> nests an array inside a bmatrix. With all centering, LyX just uses a bmatrix 
> and drops the contents of the horizontal alignment field. (I did not 
> experiment with vertical alignments.) So unless there is a reason not to do 
> so, the answer might simply be to nest an array inside a bmatrix in all cases.
>
> The fact that LyX is deviating from its usual behavior in this one case has 
> me wondering whether the exception was created deliberately, to accommodate 
> some other use case.

Thanks, Paul. I have meanwhile submitted a ticket for this:

https://www.lyx.org/trac/ticket/11854

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


Re: Paths forgotten?

2020-05-06 Thread Pavel Sanda
On Wed, May 06, 2020 at 12:45:34PM -0400, UD Kap wrote:
>Pavel, I think you are getting close-- the line says:** \origin
>unavailable
> 
>What now?

Unfortunately no, this was not fruitful direction, that value is pretty normal.
Can you answer my other questions (see below)?

> Reading one more time the original report, I have two additional questions:
> - when you say that you return to your presentation day(s) later does it mean
>   that LyX was running the whole time or you launch LyX anew?
> 
> - you report the error "cannot determine the size of the graphics..".
>   But if you click on that image and check in the dialog field "File:"
>   do you still see correct path or is it lost?

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


Re: Augmented matrix is not produced correctly

2020-05-06 Thread Paul A. Rubin

On 5/6/20 12:48 PM, Paul Smith wrote:

On Wed, May 6, 2020 at 5:13 PM Paul A. Rubin  wrote:

I suspect that I have found a bug: When I do what I do at the attached
screenshot, I do not get what one would have expected (the vertical
line drawn between the first and the second column).

This discussion may be relevant:

https://tex.stackexchange.com/questions/299221/adding-vertical-line-equal-sign-to-augmented-bmatrix-without-using-array

What version of LyX are you using? I get the vertical line using LyX 2.3.4.2 on 
Linux Mint.

Thanks, Paul. I am using

LyX Version 2.3.4.2

on Fedora Linux 31.

Have you selected the matrix decoration as [x], Paul?

As soon as one does that, LyX uses bmatrix environment, with which it
is impossible to get an augmented matrix.


Sorry, missed that part. You're right, that does nuke the vertical line.
A workaround is to use the [] math toolbar button to create the brackets
and insert the matrix inside. It's not perfect -- there seems to be more
white space between brackets and matrix -- but it's in the ballpark.

No, Paul. There is a better approach: The one presented at the
web-address I mention on my initial message: In the horizontal
alignment, insert:

@{}c|c@{}

and select no matrix decoration. Then enter the brackets as you
suggested. You will see that the extra white space between brackets
and matrix will be gone.

I would suggest that LyX implements this approach: Augmented matrices
are shown very nicely and neatly.

Paul
You should submit a ticket for this. I did a little experimenting and 
discovered that if you do exactly what you were doing in the screenshot 
/except/ make any one column left or right justified rather than 
centered, LyX nests an array inside a bmatrix. With all centering, LyX 
just uses a bmatrix and drops the contents of the horizontal alignment 
field. (I did not experiment with vertical alignments.) So unless there 
is a reason not to do so, the answer might simply be to nest an array 
inside a bmatrix in all cases.


The fact that LyX is deviating from its usual behavior in this one case 
has me wondering whether the exception was created deliberately, to 
accommodate some other use case.


Paul

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


Re: Paths forgotten?

2020-05-06 Thread Kornel Benko
Am Wed, 6 May 2020 12:45:34 -0400
schrieb UD Kap :

> On 5/5/20 5:35 PM, Pavel Sanda wrote:
> On Tue, May 05, 2020 at 11:42:34AM -0400, UD Kap wrote:
> >Pavel-- All the image files are on my disk-- none of them are on a 
> > network
> >>drive or cloud.
> >> 
> > Strange. But OK, another shot in the dark:
> > 
> > If you open lyx file in some plain text editor (like vim/notepad/...)
> > and you look at the header, you should see line starting with "\origin"?
> > What does the whole line says?
> > 
> > Pavel
> > 
> 
> Pavel, I think you are getting close-- the line says:   \origin unavailable
> 
> What now?
> 
> Thanks,
> 
> E, Kaplan
> 

That is normal. Now check the paths (in the lyx file) please.
(Lines like
\begin_inset Graphics
filename xx
...
\end_inset
)

Kornel


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


Re: Augmented matrix is not produced correctly

2020-05-06 Thread Paul Smith
On Wed, May 6, 2020 at 5:13 PM Paul A. Rubin  wrote:
>
> >> I suspect that I have found a bug: When I do what I do at the attached
> >> screenshot, I do not get what one would have expected (the vertical
> >> line drawn between the first and the second column).
> >>
> >> This discussion may be relevant:
> >>
> >> https://tex.stackexchange.com/questions/299221/adding-vertical-line-equal-sign-to-augmented-bmatrix-without-using-array
> >>
> >> What version of LyX are you using? I get the vertical line using LyX 
> >> 2.3.4.2 on Linux Mint.
> > Thanks, Paul. I am using
> >
> > LyX Version 2.3.4.2
> >
> > on Fedora Linux 31.
> >
> > Have you selected the matrix decoration as [x], Paul?
> >
> > As soon as one does that, LyX uses bmatrix environment, with which it
> > is impossible to get an augmented matrix.
> >
> Sorry, missed that part. You're right, that does nuke the vertical line.
> A workaround is to use the [] math toolbar button to create the brackets
> and insert the matrix inside. It's not perfect -- there seems to be more
> white space between brackets and matrix -- but it's in the ballpark.

No, Paul. There is a better approach: The one presented at the
web-address I mention on my initial message: In the horizontal
alignment, insert:

@{}c|c@{}

and select no matrix decoration. Then enter the brackets as you
suggested. You will see that the extra white space between brackets
and matrix will be gone.

I would suggest that LyX implements this approach: Augmented matrices
are shown very nicely and neatly.

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


Re: Paths forgotten?

2020-05-06 Thread UD Kap

  
  

On 5/5/20 5:35 PM, Pavel Sanda wrote:


  On Tue, May 05, 2020 at 11:42:34AM -0400, UD Kap wrote:

  
   Pavel-- All the image files are on my disk-- none of them are on a network
   drive or cloud.

  
  
Strange. But OK, another shot in the dark:

If you open lyx file in some plain text editor (like vim/notepad/...)
and you look at the header, you should see line starting with "\origin"?
What does the whole line says?

Pavel




Pavel, I think you are getting close-- the line says:   \origin
  unavailable
What now?
Thanks,
E, Kaplan





  

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


Re: Augmented matrix is not produced correctly

2020-05-06 Thread Paul A. Rubin

On 5/6/20 11:59 AM, Paul Smith wrote:

On Wed, May 6, 2020 at 4:50 PM Paul A. Rubin  wrote:

I suspect that I have found a bug: When I do what I do at the attached
screenshot, I do not get what one would have expected (the vertical
line drawn between the first and the second column).

This discussion may be relevant:

https://tex.stackexchange.com/questions/299221/adding-vertical-line-equal-sign-to-augmented-bmatrix-without-using-array

What version of LyX are you using? I get the vertical line using LyX 2.3.4.2 on 
Linux Mint.

Thanks, Paul. I am using

LyX Version 2.3.4.2

on Fedora Linux 31.

Have you selected the matrix decoration as [x], Paul?

As soon as one does that, LyX uses bmatrix environment, with which it
is impossible to get an augmented matrix.

Paul
Sorry, missed that part. You're right, that does nuke the vertical line. 
A workaround is to use the [] math toolbar button to create the brackets 
and insert the matrix inside. It's not perfect -- there seems to be more 
white space between brackets and matrix -- but it's in the ballpark.


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


Re: Augmented matrix is not produced correctly

2020-05-06 Thread Paul Smith
On Wed, May 6, 2020 at 4:50 PM Paul A. Rubin  wrote:
>
> I suspect that I have found a bug: When I do what I do at the attached
> screenshot, I do not get what one would have expected (the vertical
> line drawn between the first and the second column).
>
> This discussion may be relevant:
>
> https://tex.stackexchange.com/questions/299221/adding-vertical-line-equal-sign-to-augmented-bmatrix-without-using-array
>
> What version of LyX are you using? I get the vertical line using LyX 2.3.4.2 
> on Linux Mint.

Thanks, Paul. I am using

LyX Version 2.3.4.2

on Fedora Linux 31.

Have you selected the matrix decoration as [x], Paul?

As soon as one does that, LyX uses bmatrix environment, with which it
is impossible to get an augmented matrix.

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


Re: Augmented matrix is not produced correctly

2020-05-06 Thread Paul A. Rubin

On 5/6/20 11:15 AM, Paul Smith wrote:

Dear All,

I suspect that I have found a bug: When I do what I do at the attached
screenshot, I do not get what one would have expected (the vertical
line drawn between the first and the second column).

This discussion may be relevant:

https://tex.stackexchange.com/questions/299221/adding-vertical-line-equal-sign-to-augmented-bmatrix-without-using-array

Thanks in advance,

Paul

What version of LyX are you using? I get the vertical line using LyX 
2.3.4.2 on Linux Mint.


Paul

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


Augmented matrix is not produced correctly

2020-05-06 Thread Paul Smith
Dear All,

I suspect that I have found a bug: When I do what I do at the attached
screenshot, I do not get what one would have expected (the vertical
line drawn between the first and the second column).

This discussion may be relevant:

https://tex.stackexchange.com/questions/299221/adding-vertical-line-equal-sign-to-augmented-bmatrix-without-using-array

Thanks in advance,

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


Layout to enter a Variable

2020-05-06 Thread Dr Eberhard Lisse
Hi,

in the Koma Letter variant I can generate a Local Layout to generate an
"Entry Field" with the label in colour and the content reusable as ERT
in the Text.

If I try something similar in the Koma Article, it does not show the
Label and centers the field.

Is there a way of doing this in LyX?

el

-- 
If you want to email me, replace nospam with el


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


Re: Show footcite as textcite

2020-05-06 Thread Daniel

On 2020-05-02 16:40, Daniel wrote:

On 2020-05-02 16:29, Daniel wrote:

Hi,

Are there any Biblatex wizzards on the list?

I want the \autocite(s) (that I have set to footnotes) to show the 
same format as the \textcite(s) commands.


I can easily do

\let\autocite\textcite
\let\autocites\textcites

But that doesn't accomplish what I want because I want them to still 
produce footnotes. So, I guess I will have to redefine the autocite 
commands with something like


\renewcommand{\autocite}[2]{\textcite[#2]{#1}].}
\renewcommand{\autocites}[2]{\textcites[#2]{#1}].}

Would that in principle work? Does anyone know where to find the 
proper definition of the *cite commands in question so that I can get 
the definition right concerning number of optional arguments and such?


Why do I want this? I am using also textcite in the text, so it just 
seems natural to me to use the same format in footnotes that can also 
have little texts. And I don't have any style guides to satisfy. So, I 
just wanted it to look consistent.


Best,
Daniel



I tried my luck on stack but without success:

https://tex.stackexchange.com/questions/539227/how-to-make-footcite-look-like-textcite-with-biblatex 



Daniel



I managed to get a reply for this on stack.

Daniel

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