Re: entering Unicode points directly in ipa inset

2018-03-20 Thread Richard Kimberly Heck
On 03/20/2018 06:23 PM, mike wrote:
>
> Hello
>
> So I've read "Using LyX to Display Phonetic Characters (IPA)"
> (https://wiki.lyx.org/LyX/LinguistLyX#toc4) specifically about the
> different ways of entering glyphs, etc. with the IPA inset but what
> still isn't clear to me is how I enter a code point like 0x0298
> directly using the IPA inset (bilabial click that appears second on
> the left on the main IPA toolbar).  Is there a way to do this?  Also
> is there a way to enter more than one at the same time in the same inset?

Not with unicode-insert. I suppose we should fix that and allow multiple
characters, as will self-insert. If you file a bug report about that, I
expect it can be fixed quite quickly.

But note that you can do things like:
    self-insert ຄໆໆ
where the Unicode characters are just given explicity.

Riki



Re: Windows users: can you test the 2.3.0 installer?

2018-03-20 Thread Uwe Stöhr

Am 17.03.2018 um 13:07 schrieb emile lunardon:


What are the main evolutions from Bundle and Installer 4 to 5 ?


There was a bug in the installer so that existing 64bit MiKTeX 
installations were not detected.


Meanwhile I released version 6:
http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/
that has improvements for users installing LyX the first time on a PC. 
There were some bugs in the MiKTeX installer that are now fixed. The LyX 
bundle installer bundles this new installer.


Users having already LyX 2.3.0 installer can ignore this new installer 
version.


regards Uwe


entering Unicode points directly in ipa inset

2018-03-20 Thread mike

Hello

So I've read "Using LyX to Display Phonetic Characters (IPA)" 
(https://wiki.lyx.org/LyX/LinguistLyX#toc4) specifically about the 
different ways of entering glyphs, etc. with the IPA inset but what 
still isn't clear to me is how I enter a code point like 0x0298 directly 
using the IPA inset (bilabial click that appears second on the left on 
the main IPA toolbar). Is there a way to do this?  Also is there a way 
to enter more than one at the same time in the same inset?


I wasn't sure whether I should post this here or on lyx-devel. I 
previously posted it to lyx-devel on the 17th.


Thanks very much in advance for any help

Mike

--
I *AM* a unique and special snowflake


Re: LyX 2.3 --- Citation at end of a quotation

2018-03-20 Thread Richard Kimberly Heck
On 03/19/2018 01:11 PM, Rich Shepard wrote:
> On Mon, 19 Mar 2018, F M Salter wrote:
>
>>     I am trying to cite a quotation, so that the citation is placed
>> right
>> justified on the line following the last line of the quotation.
>
>>     Is there a correct way to achieve the desired output automatically?
>
> Frank,
>
>   I won't claim this to be the 'correct' way, but what I've done after a
> newline is type the citation then use Edit -> Paragraph settings ->
> Right.
> If vertical spacing is needed to keep the quotation and citation
> together a
> slight negative spacing usually does the trick. Otherwise, I adjust
> the text
> so the page break is where I want it to be.

I think the reason for the problem Frank reported is that LaTeX discards
leading space in some cases. So, if you just put a horizontal fill, with
nothing
ahead of it, LaTeX ignores it. The solution is to "protect" this space.
There's
a checkbox for that in the dialog. Note that this will work if you just
use a
linebreak instead of a new paragraph.

Riki



Re: Change Latex Math Code

2018-03-20 Thread Richard Kimberly Heck
On 03/20/2018 04:43 PM, Baris Erkus wrote:
>
> Ok. I was wondering if it was possible to do it from within LyX,
> without editing the LyX file. I guess, it is not possible.
>
>  
>
> Editing LyX file is fine, but it would have been really nice if it had
> the capability of making minor changes to the TeX code.
>

I believe there are open enhancement requests about this. There really
should be a way
to do it in the case of math. I don't even think it would be that
difficult. We have the LaTeX
code. We just need a way to say "Display that, instead of the WYSIWYM
stuff". Unfortunately,
I do not know my way around the math code nearly well enough to do this.

Maybe another option would be for us to extend the "external editor"
model to math insets.
I believe we will soon have the ability to open ERT with an external
editor, for cases where
the ERT is fairly complex.

Riki


> *From:* lyx-users@lists.lyx.org  on behalf of
> Paul A. Rubin 
> *Sent:* Tuesday, March 20, 2018 11:27:54 PM
> *To:* lyx-users@lists.lyx.org
> *Subject:* Re: Change Latex Math Code
>  
> On 03/20/2018 03:39 PM, Baris Erkus wrote:
>>
>> Hello,
>>
>>  
>>
>> Is there a way to change the latex math code in LyX by editing the code?
>>
>>  
>>
>> For example, if I enter a fraction in math environment using back
>> slash  like \frac, is there a way to edit this Latex code and make it
>> \dfrac simply by placing “d” in front of “f”?
>>
>>  
>>
>> Baris Erkus
>>
> Yes, but not (I think) within LyX. Instead, open the .lyx file in your
> favorite text editor, make the change and save it. If you do this
> while LyX is open (at least LyX 2.3.0; I haven't tried it with earlier
> versions), LyX will warn you that the document changed and ask if you
> want to reload it.
>
> If you are not sure exactly what you are looking for in the text
> editor, you can open the preview pane (View > Code Preview Pane in
> 2.3.0; I think this might have been View > Source or something similar
> in previous versions). Set the format selector to LyX and the view
> selector to Current Paragraph, then put the cursor in the math formula
> you want to change and see what it looks like in the .lyx file.
>
> Paul
>



RE: Change Latex Math Code

2018-03-20 Thread Baris Erkus
Ok. I was wondering if it was possible to do it from within LyX, without 
editing the LyX file. I guess, it is not possible.

Editing LyX file is fine, but it would have been really nice if it had the 
capability of making minor changes to the TeX code.

Thanks for the replies.

BE

Sent from Mail for Windows 10


From: lyx-users@lists.lyx.org  on behalf of Paul A. 
Rubin 
Sent: Tuesday, March 20, 2018 11:27:54 PM
To: lyx-users@lists.lyx.org
Subject: Re: Change Latex Math Code

On 03/20/2018 03:39 PM, Baris Erkus wrote:
Hello,

Is there a way to change the latex math code in LyX by editing the code?

For example, if I enter a fraction in math environment using back slash  like 
\frac, is there a way to edit this Latex code and make it \dfrac simply by 
placing “d” in front of “f”?

Baris Erkus
Yes, but not (I think) within LyX. Instead, open the .lyx file in your favorite 
text editor, make the change and save it. If you do this while LyX is open (at 
least LyX 2.3.0; I haven't tried it with earlier versions), LyX will warn you 
that the document changed and ask if you want to reload it.

If you are not sure exactly what you are looking for in the text editor, you 
can open the preview pane (View > Code Preview Pane in 2.3.0; I think this 
might have been View > Source or something similar in previous versions). Set 
the format selector to LyX and the view selector to Current Paragraph, then put 
the cursor in the math formula you want to change and see what it looks like in 
the .lyx file.

Paul



Re: Change Latex Math Code

2018-03-20 Thread Paul A. Rubin

On 03/20/2018 03:39 PM, Baris Erkus wrote:


Hello,

Is there a way to change the latex math code in LyX by editing the code?

For example, if I enter a fraction in math environment using back 
slash  like \frac, is there a way to edit this Latex code and make it 
\dfrac simply by placing “d” in front of “f”?


Baris Erkus

Yes, but not (I think) within LyX. Instead, open the .lyx file in your 
favorite text editor, make the change and save it. If you do this while 
LyX is open (at least LyX 2.3.0; I haven't tried it with earlier 
versions), LyX will warn you that the document changed and ask if you 
want to reload it.


If you are not sure exactly what you are looking for in the text editor, 
you can open the preview pane (View > Code Preview Pane in 2.3.0; I 
think this might have been View > Source or something similar in 
previous versions). Set the format selector to LyX and the view selector 
to Current Paragraph, then put the cursor in the math formula you want 
to change and see what it looks like in the .lyx file.


Paul



RE: Change Latex Math Code

2018-03-20 Thread Baris Erkus
Thanks for the prompt reply.

Well, of course I can write \dfrac from scratch, but I do not want to do that.

I want  to modify an existing math equation in text model.

In LyX, I can modify an existing equation in WYSIWYG mode, but I do not know 
how to modify an equation by modifying the Latex code directly.

Baris

From: David L. Johnson
Sent: Tuesday, March 20, 2018 10:43 PM
To: lyx-users@lists.lyx.org
Subject: Re: Change Latex Math Code

On 03/20/2018 03:39 PM, Baris Erkus wrote:
Hello,

Is there a way to change the latex math code in LyX by editing the code?

For example, if I enter a fraction in math environment using back slash  like 
\frac, is there a way to edit this Latex code and make it \dfrac simply by 
placing “d” in front of “f”?

Baris Erkus

Did you try entering \dfrac while in math mode?  It works for me.

--



David L. Johnson

Department of Mathematics

Lehigh University



Re: Change Latex Math Code

2018-03-20 Thread David L. Johnson

On 03/20/2018 03:39 PM, Baris Erkus wrote:


Hello,

Is there a way to change the latex math code in LyX by editing the code?

For example, if I enter a fraction in math environment using back 
slash  like \frac, is there a way to edit this Latex code and make it 
\dfrac simply by placing “d” in front of “f”?


Baris Erkus


Did you try entering \dfrac while in math mode?  It works for me.

--

David L. Johnson
Department of Mathematics
Lehigh University



Change Latex Math Code

2018-03-20 Thread Baris Erkus
Hello,

Is there a way to change the latex math code in LyX by editing the code?

For example, if I enter a fraction in math environment using back slash  like 
\frac, is there a way to edit this Latex code and make it \dfrac simply by 
placing “d” in front of “f”?

Baris Erkus


Re: Lyx 2.3 pdflatex config

2018-03-20 Thread Dr Eberhard Lisse
That seems to be a feature rather than a bug.

el

On 2018-03-20 04:22 , Steve Hnizdur wrote:
> Hi
> 
> I upgraded Lyx to the shiny new 2.3 on Ubuntu 16.04 the other day and
> the first time hit the "eyes" icon to compile a document I got the Lyx
> Security Warning
> 
> "The following LaTeX backend has been configured to allow execution of
> external programs for any document:
> pdflatex --shell-escape $$i
> This is a dangerous configuration. Please, consider using the support
> offered by LyX for allowing this privilege only to documents that
> actually need it, instead."
> 
> The configuration has not been changed by me and is therefore the
> standard delivered out of the box Lyx configuration.
> 
> OK so what is the support offered by Lyx as mentioned? Also as this is
> under the control of Lyx why is it there at all?
> 
> Cheers



Re: Lyx 2.3 pdflatex config

2018-03-20 Thread Steve Hnizdur

On 20/03/18 13:14, Paul A. Rubin wrote:

On 03/20/2018 04:22 AM, Steve Hnizdur wrote:

Hi

I upgraded Lyx to the shiny new 2.3 on Ubuntu 16.04 the other day and 
the first time hit the "eyes" icon to compile a document I got the Lyx 
Security Warning


"The following LaTeX backend has been configured to allow execution of 
external programs for any document:

pdflatex --shell-escape $$i
This is a dangerous configuration. Please, consider using the support 
offered by LyX for allowing this privilege only to documents that 
actually need it, instead."


The configuration has not been changed by me and is therefore the 
standard delivered out of the box Lyx configuration.


OK so what is the support offered by Lyx as mentioned? Also as this is 
under the control of Lyx why is it there at all?


Cheers
I got the same message, but not because LyX set the converter that way. 
I made that change years ago. When you install LyX, it inherits 
preferences from your existing personal LyX directory (~/.lyx), at least 
on Linux. (I'm not sure if this applies on Windows.) So you probably 
added the shell escape at some point in the past, and it just carried over.


Paul



Thanks. I have used Lyx for so long that it is entirely possible I did 
this but can't think why!!


If it is not a problem with Lyx but with me then an easy fix.

Many thanks

--

Steve Hnizdur


Re: Lyx 2.3 pdflatex config

2018-03-20 Thread Paul A. Rubin

On 03/20/2018 04:22 AM, Steve Hnizdur wrote:

Hi

I upgraded Lyx to the shiny new 2.3 on Ubuntu 16.04 the other day and 
the first time hit the "eyes" icon to compile a document I got the Lyx 
Security Warning


"The following LaTeX backend has been configured to allow execution of 
external programs for any document:

pdflatex --shell-escape $$i
This is a dangerous configuration. Please, consider using the support 
offered by LyX for allowing this privilege only to documents that 
actually need it, instead."


The configuration has not been changed by me and is therefore the 
standard delivered out of the box Lyx configuration.


OK so what is the support offered by Lyx as mentioned? Also as this is 
under the control of Lyx why is it there at all?


Cheers
I got the same message, but not because LyX set the converter that way. 
I made that change years ago. When you install LyX, it inherits 
preferences from your existing personal LyX directory (~/.lyx), at least 
on Linux. (I'm not sure if this applies on Windows.) So you probably 
added the shell escape at some point in the past, and it just carried over.


Paul



Re: Important poll: would this dialog be confusing?

2018-03-20 Thread racoon

On 19.03.2018 18:14, Emile Lunardon wrote:
I don't remember seeing the possibility to install LyX without LaTeX 
(I'll have to change my glasses !), but I want to trust you on this 
point ! In this case, I would be more than happy to agree with your 
analysis.


I had to check myself to be sure. Attached is exhibit A (unfortunately 
in German).


Daniel


Lyx 2.3 pdflatex config

2018-03-20 Thread Steve Hnizdur

Hi

I upgraded Lyx to the shiny new 2.3 on Ubuntu 16.04 the other day and 
the first time hit the "eyes" icon to compile a document I got the Lyx 
Security Warning


"The following LaTeX backend has been configured to allow execution of 
external programs for any document:

pdflatex --shell-escape $$i
This is a dangerous configuration. Please, consider using the support 
offered by LyX for allowing this privilege only to documents that 
actually need it, instead."


The configuration has not been changed by me and is therefore the 
standard delivered out of the box Lyx configuration.


OK so what is the support offered by Lyx as mentioned? Also as this is 
under the control of Lyx why is it there at all?


Cheers
--

Steve Hnizdur