Re: How to set editor for external edit of preamble
On 2019-08-16 21:50, Richard Kimberly Heck wrote: On 8/16/19 3:04 PM, Wolfgang Engelmann wrote: On 16.08.19 18:08, Paul A. Rubin wrote: On 8/16/19 11:30 AM, Wolfgang Engelmann wrote: On 16.08.19 17:13, Daniel wrote: On 2019-08-16 07:18, Anders Ekberg wrote: On 2019Aug15, at 22:16, Daniel wrote: On 2019-08-15 07:07, Andrew Parsloe wrote: On 15/08/2019 1:28 PM, Daniel wrote: On 2019-08-14 20:23, Paul A. Rubin wrote: On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: Me three :-)-O el On 14/08/2019 07:15, Daniel wrote: Hi, I just discovered the new feature to edit the preamble externally. However, I couldn't find where to set the editor for this of any documentation about it. On MacOS it opens XCode which asks me to install additional application or Quit. This renders the function pretty useless for me. I have set a different application as default for TeX files but LyX seems ignore this. How can I make LyX open my favorite editor? Best, Daniel Tools > Preferences > File Formats > LaTeX (plain) > Editor. Paul Thanks. So, I take it, there is no documentation of this. Next, question: how do I set a Custom editor then? I tried "/Applications/texmaker.app" but nothing happens though "open /Applications/texmaker.app" in the terminal works just fine. Daniel Following Paul's response, I chose Custom and entered notepad++ (my preferred text editor) in the adjacent window. I've included C:\Program Files\Notepad++ (preceded and followed by semicolons) in the path string at Tools > Settings > Paths. It works (at least in windows). Andrew Thanks for checking. Might be a macos bug then. Daniel Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I think what I get wrong is what to put in the path (tried bot Application and into the BBEdit package) and what to put in the command. Anders I managed to get LyX to work with the default application by just using the command "open" (without quotes) as Custom Editor. Daniel Daniel, this is for MacOS? Could somebody describe how to do if not MacOS and not Windows? Is it described somewhere? Wolfgang Wolfgang: You are on Linux, correct? The menu sequence I specified above (Tools > Preferences > File Formats > LaTeX (plain) > Editor) is how you do it for Linux. If your editor does not appear in the drop-down list, you select "Custom" and put the command to run the editor in the box next to the word Custom. Paul Thanks, Paul! On many platforms, xdg-open will open the file in your default editor for that type of file. We decided not to include this as an option, though, due (I think) to security concerns. Riki Couldn't there be a warning dialog instead as is used in many other applications when opening urls or files externally? (Ideally, this warning dialog would have checkbox to 'Not show the warning again.') Daniel
Re: How to set editor for external edit of preamble
On 8/16/19 3:04 PM, Wolfgang Engelmann wrote: > > On 16.08.19 18:08, Paul A. Rubin wrote: >> On 8/16/19 11:30 AM, Wolfgang Engelmann wrote: >>> >>> On 16.08.19 17:13, Daniel wrote: On 2019-08-16 07:18, Anders Ekberg wrote: > >> On 2019Aug15, at 22:16, Daniel wrote: >> >> On 2019-08-15 07:07, Andrew Parsloe wrote: >>> On 15/08/2019 1:28 PM, Daniel wrote: On 2019-08-14 20:23, Paul A. Rubin wrote: > On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: >> Me three :-)-O >> >> el >> >> On 14/08/2019 07:15, Daniel wrote: >>> Hi, >>> >>> I just discovered the new feature to edit the preamble >>> externally. >>> However, I couldn't find where to set the editor for this of >>> any >>> documentation about it. On MacOS it opens XCode which asks >>> me to >>> install additional application or Quit. This renders the >>> function >>> pretty useless for me. I have set a different application >>> as default >>> for TeX files but LyX seems ignore this. How can I make LyX >>> open my >>> favorite editor? >>> >>> Best, >>> Daniel >>> >>> > Tools > Preferences > File Formats > LaTeX (plain) > Editor. > > Paul > Thanks. So, I take it, there is no documentation of this. Next, question: how do I set a Custom editor then? I tried "/Applications/texmaker.app" but nothing happens though "open /Applications/texmaker.app" in the terminal works just fine. Daniel >>> Following Paul's response, I chose Custom and entered notepad++ >>> (my preferred text editor) in the adjacent window. I've included >>> C:\Program Files\Notepad++ (preceded and followed by semicolons) >>> in the path string at Tools > Settings > Paths. It works (at >>> least in windows). >>> Andrew >> Thanks for checking. Might be a macos bug then. >> >> Daniel > Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. > I think what I get wrong is what to put in the path (tried bot > Application and into the BBEdit package) and what to put in the > command. > > Anders > > I managed to get LyX to work with the default application by just using the command "open" (without quotes) as Custom Editor. Daniel >>> >>> Daniel, this is for MacOS? Could somebody describe how to do if not >>> MacOS and not Windows? Is it described somewhere? >>> >>> Wolfgang >>> >> Wolfgang: You are on Linux, correct? The menu sequence I specified >> above (Tools > Preferences > File Formats > LaTeX (plain) > Editor) >> is how you do it for Linux. If your editor does not appear in the >> drop-down list, you select "Custom" and put the command to run the >> editor in the box next to the word Custom. >> >> Paul >> > Thanks, Paul! On many platforms, xdg-open will open the file in your default editor for that type of file. We decided not to include this as an option, though, due (I think) to security concerns. Riki
Re: How to set editor for external edit of preamble
On 16.08.19 18:08, Paul A. Rubin wrote: On 8/16/19 11:30 AM, Wolfgang Engelmann wrote: On 16.08.19 17:13, Daniel wrote: On 2019-08-16 07:18, Anders Ekberg wrote: On 2019Aug15, at 22:16, Daniel wrote: On 2019-08-15 07:07, Andrew Parsloe wrote: On 15/08/2019 1:28 PM, Daniel wrote: On 2019-08-14 20:23, Paul A. Rubin wrote: On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: Me three :-)-O el On 14/08/2019 07:15, Daniel wrote: Hi, I just discovered the new feature to edit the preamble externally. However, I couldn't find where to set the editor for this of any documentation about it. On MacOS it opens XCode which asks me to install additional application or Quit. This renders the function pretty useless for me. I have set a different application as default for TeX files but LyX seems ignore this. How can I make LyX open my favorite editor? Best, Daniel Tools > Preferences > File Formats > LaTeX (plain) > Editor. Paul Thanks. So, I take it, there is no documentation of this. Next, question: how do I set a Custom editor then? I tried "/Applications/texmaker.app" but nothing happens though "open /Applications/texmaker.app" in the terminal works just fine. Daniel Following Paul's response, I chose Custom and entered notepad++ (my preferred text editor) in the adjacent window. I've included C:\Program Files\Notepad++ (preceded and followed by semicolons) in the path string at Tools > Settings > Paths. It works (at least in windows). Andrew Thanks for checking. Might be a macos bug then. Daniel Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I think what I get wrong is what to put in the path (tried bot Application and into the BBEdit package) and what to put in the command. Anders I managed to get LyX to work with the default application by just using the command "open" (without quotes) as Custom Editor. Daniel Daniel, this is for MacOS? Could somebody describe how to do if not MacOS and not Windows? Is it described somewhere? Wolfgang Wolfgang: You are on Linux, correct? The menu sequence I specified above (Tools > Preferences > File Formats > LaTeX (plain) > Editor) is how you do it for Linux. If your editor does not appear in the drop-down list, you select "Custom" and put the command to run the editor in the box next to the word Custom. Paul Thanks, Paul!
RE: LyX 2.3.3 and default application
From: lyx-users@lists.lyx.org On Behalf Of Baris Erkus Sent: Friday, August 16, 2019 17:59 To: lyx-users@lists.lyx.org Subject: Re: LyX 2.3.3 and default application On 16-Aug-19 10:13 AM, Bernt Lie wrote: Hi I run LyX 2.3.3 on Windows 10 64 bit, latest version. When I double-click on lyx files, LyX opens. But when I check the help system for version number, it shows LyX v. 2.3.1-1. And I thought I had uninstalled LyX 2.3.1-1 and switched to LyX 2.3.3... I have tried to change the file association in Windows Settings, but it looks like I can only choose apps from Windows Store there. Question: ·How can I fix this problem, so that when I double-click on files saved in LyX 2.3.3, and I later double-click on these file, they open in LyX 2.3.3? -B right click -> Open with -> Choose Another App -> Check "Always use this app to open .lyx files" --> More Aps --> (at the bottom) Choose another app from PC -> Select the correct version of LyX. should assign *.lyx files to the LyX version you want. -- ↓↓ Please bottom-post. Start your reply here: OK – it turned out that LyX v. 2.3.0 and 2.3.1-1 had not been properly removed. I uninstalled them again, and now it seems to work. -B
RE: LyX 2.3.3 and default application
From: lyx-users@lists.lyx.org On Behalf Of Baris Erkus Sent: Friday, August 16, 2019 17:59 To: lyx-users@lists.lyx.org Subject: Re: LyX 2.3.3 and default application On 16-Aug-19 10:13 AM, Bernt Lie wrote: Hi I run LyX 2.3.3 on Windows 10 64 bit, latest version. When I double-click on lyx files, LyX opens. But when I check the help system for version number, it shows LyX v. 2.3.1-1. And I thought I had uninstalled LyX 2.3.1-1 and switched to LyX 2.3.3... I have tried to change the file association in Windows Settings, but it looks like I can only choose apps from Windows Store there. Question: ·How can I fix this problem, so that when I double-click on files saved in LyX 2.3.3, and I later double-click on these file, they open in LyX 2.3.3? -B right click -> Open with -> Choose Another App -> Check "Always use this app to open .lyx files" --> More Aps --> (at the bottom) Choose another app from PC -> Select the correct version of LyX. should assign *.lyx files to the LyX version you want. -- ↓↓ Please bottom-post. Start your reply here: I followed your suggestion. 1. I chose the LyX binary file that says LyX v. 2.3.3.0 when the cursor hovered over it. 2. When the file opened, I checked the help menu for the running LyX file, and here is what it says: [cid:image002.jpg@01D55462.CFBD1020] So – in spite of that I selected the LyX 2.3.3.0 binary, it *still* opens in LyX vs. 2.3.1-1...
RE: LyX 2.3.3 and default application
From: lyx-users@lists.lyx.org On Behalf Of Baris Erkus Sent: Friday, August 16, 2019 17:59 To: lyx-users@lists.lyx.org Subject: Re: LyX 2.3.3 and default application On 16-Aug-19 10:13 AM, Bernt Lie wrote: Hi I run LyX 2.3.3 on Windows 10 64 bit, latest version. When I double-click on lyx files, LyX opens. But when I check the help system for version number, it shows LyX v. 2.3.1-1. And I thought I had uninstalled LyX 2.3.1-1 and switched to LyX 2.3.3... I have tried to change the file association in Windows Settings, but it looks like I can only choose apps from Windows Store there. Question: ·How can I fix this problem, so that when I double-click on files saved in LyX 2.3.3, and I later double-click on these file, they open in LyX 2.3.3? -B right click -> Open with -> Choose Another App -> Check "Always use this app to open .lyx files" --> More Aps --> (at the bottom) Choose another app from PC -> Select the correct version of LyX. should assign *.lyx files to the LyX version you want. So where do I find the binary file of LyX 2.3.3? -- ↓↓ Please bottom-post. Start your reply here:
Re: How to set editor for external edit of preamble
On 8/16/19 11:30 AM, Wolfgang Engelmann wrote: On 16.08.19 17:13, Daniel wrote: On 2019-08-16 07:18, Anders Ekberg wrote: On 2019Aug15, at 22:16, Daniel wrote: On 2019-08-15 07:07, Andrew Parsloe wrote: On 15/08/2019 1:28 PM, Daniel wrote: On 2019-08-14 20:23, Paul A. Rubin wrote: On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: Me three :-)-O el On 14/08/2019 07:15, Daniel wrote: Hi, I just discovered the new feature to edit the preamble externally. However, I couldn't find where to set the editor for this of any documentation about it. On MacOS it opens XCode which asks me to install additional application or Quit. This renders the function pretty useless for me. I have set a different application as default for TeX files but LyX seems ignore this. How can I make LyX open my favorite editor? Best, Daniel Tools > Preferences > File Formats > LaTeX (plain) > Editor. Paul Thanks. So, I take it, there is no documentation of this. Next, question: how do I set a Custom editor then? I tried "/Applications/texmaker.app" but nothing happens though "open /Applications/texmaker.app" in the terminal works just fine. Daniel Following Paul's response, I chose Custom and entered notepad++ (my preferred text editor) in the adjacent window. I've included C:\Program Files\Notepad++ (preceded and followed by semicolons) in the path string at Tools > Settings > Paths. It works (at least in windows). Andrew Thanks for checking. Might be a macos bug then. Daniel Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I think what I get wrong is what to put in the path (tried bot Application and into the BBEdit package) and what to put in the command. Anders I managed to get LyX to work with the default application by just using the command "open" (without quotes) as Custom Editor. Daniel Daniel, this is for MacOS? Could somebody describe how to do if not MacOS and not Windows? Is it described somewhere? Wolfgang Wolfgang: You are on Linux, correct? The menu sequence I specified above (Tools > Preferences > File Formats > LaTeX (plain) > Editor) is how you do it for Linux. If your editor does not appear in the drop-down list, you select "Custom" and put the command to run the editor in the box next to the word Custom. Paul
Re: LyX 2.3.3 and default application
On 16-Aug-19 10:13 AM, Bernt Lie wrote: Hi I run LyX 2.3.3 on Windows 10 64 bit, latest version. When I double-click on lyx files, LyX opens. But when I check the help system for version number, it shows LyX v. 2.3.1-1. And I thought I had uninstalled LyX 2.3.1-1 and switched to LyX 2.3.3... I have tried to change the file association in Windows Settings, but it looks like I can only choose apps from Windows Store there. Question: · How can I fix this problem, so that when I double-click on files saved in LyX 2.3.3, and I later double-click on these file, they open in LyX 2.3.3? -B right click -> Open with -> Choose Another App -> Check "Always use this app to open .lyx files" --> More Aps --> (at the bottom) Choose another app from PC -> Select the correct version of LyX. should assign *.lyx files to the LyX version you want. -- ↓↓ Please bottom-post. Start your reply here:
Re: Lyx v 2.3.X - severe Problems
On 8/16/19 11:04 AM, Richard Kimberly Heck wrote: On 8/16/19 6:01 AM, Stephan Witt wrote: Am 15.08.2019 um 23:00 schrieb Matthias Görlach : Hi, after running and using Lyx for maybe 10 years, I finally tried to upgrade from v 2.2.4 to 2.3.2 and 2.3.3. This resulted in unusability or continuously repeated error messages relating to "missing document classes", something about "missing library" and finally to "LyX will only have minimal functionality because no text classes have been found. You can either try to configure LyX normally, try to reconfigure without checking your LaTeX installation, or continue." I tried a lot - to no avail - incl newsgroups, Wiki etc etc Reconfigure didnt do a thing - neither a complete new install of the recent MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac texmaker) worked flawlessly. My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro (MacBookPro9,2). ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved the problem - its running fine. Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be running fine on my system - so what is the issue??? Any hints/help available?? Hi Matthias, as others said already - it should work. What can be done to diagnose the problem? I would need to know what the LyX configure run did. There is a folder in your user directory named ~/Library/Application Support/LyX-2.3. This is the location to look for the file configure.log. Please send it to the users list or in a private mail to me. I could be wrong, of course, but it smells like a permissions problem. We've seen this kind of thing in other cases, where configure.py can't write to the relevant folder. If not, the log may not exist. Riki If that's the case, running the configuration script in a shell / terminal / whatever the Apple term is should indicate as much. Paul
Re: How to set editor for external edit of preamble
On 16.08.19 17:13, Daniel wrote: On 2019-08-16 07:18, Anders Ekberg wrote: On 2019Aug15, at 22:16, Daniel wrote: On 2019-08-15 07:07, Andrew Parsloe wrote: On 15/08/2019 1:28 PM, Daniel wrote: On 2019-08-14 20:23, Paul A. Rubin wrote: On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: Me three :-)-O el On 14/08/2019 07:15, Daniel wrote: Hi, I just discovered the new feature to edit the preamble externally. However, I couldn't find where to set the editor for this of any documentation about it. On MacOS it opens XCode which asks me to install additional application or Quit. This renders the function pretty useless for me. I have set a different application as default for TeX files but LyX seems ignore this. How can I make LyX open my favorite editor? Best, Daniel Tools > Preferences > File Formats > LaTeX (plain) > Editor. Paul Thanks. So, I take it, there is no documentation of this. Next, question: how do I set a Custom editor then? I tried "/Applications/texmaker.app" but nothing happens though "open /Applications/texmaker.app" in the terminal works just fine. Daniel Following Paul's response, I chose Custom and entered notepad++ (my preferred text editor) in the adjacent window. I've included C:\Program Files\Notepad++ (preceded and followed by semicolons) in the path string at Tools > Settings > Paths. It works (at least in windows). Andrew Thanks for checking. Might be a macos bug then. Daniel Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I think what I get wrong is what to put in the path (tried bot Application and into the BBEdit package) and what to put in the command. Anders I managed to get LyX to work with the default application by just using the command "open" (without quotes) as Custom Editor. Daniel Daniel, this is for MacOS? Could somebody describe how to do if not MacOS and not Windows? Is it described somewhere? Wolfgang
Re: How to set editor for external edit of preamble
On 2019-08-16 07:18, Anders Ekberg wrote: On 2019Aug15, at 22:16, Daniel wrote: On 2019-08-15 07:07, Andrew Parsloe wrote: On 15/08/2019 1:28 PM, Daniel wrote: On 2019-08-14 20:23, Paul A. Rubin wrote: On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: Me three :-)-O el On 14/08/2019 07:15, Daniel wrote: Hi, I just discovered the new feature to edit the preamble externally. However, I couldn't find where to set the editor for this of any documentation about it. On MacOS it opens XCode which asks me to install additional application or Quit. This renders the function pretty useless for me. I have set a different application as default for TeX files but LyX seems ignore this. How can I make LyX open my favorite editor? Best, Daniel Tools > Preferences > File Formats > LaTeX (plain) > Editor. Paul Thanks. So, I take it, there is no documentation of this. Next, question: how do I set a Custom editor then? I tried "/Applications/texmaker.app" but nothing happens though "open /Applications/texmaker.app" in the terminal works just fine. Daniel Following Paul's response, I chose Custom and entered notepad++ (my preferred text editor) in the adjacent window. I've included C:\Program Files\Notepad++ (preceded and followed by semicolons) in the path string at Tools > Settings > Paths. It works (at least in windows). Andrew Thanks for checking. Might be a macos bug then. Daniel Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I think what I get wrong is what to put in the path (tried bot Application and into the BBEdit package) and what to put in the command. Anders I managed to get LyX to work with the default application by just using the command "open" (without quotes) as Custom Editor. Daniel
Re: Lyx v 2.3.X - severe Problems
On 8/16/19 6:01 AM, Stephan Witt wrote: > Am 15.08.2019 um 23:00 schrieb Matthias Görlach > : >> Hi, >> after running and using Lyx for maybe 10 years, I finally tried to upgrade >> from v 2.2.4 to 2.3.2 and 2.3.3. >> >> This resulted in unusability or continuously repeated error messages >> relating to "missing document classes", something about "missing library" >> and finally to "LyX will only have minimal functionality because no text >> classes have been found. You can either try to configure LyX normally, try >> to reconfigure without checking your LaTeX installation, or continue." >> >> I tried a lot - to no avail - incl newsgroups, Wiki etc etc >> Reconfigure didnt do a thing - neither a complete new install of the recent >> MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac >> texmaker) worked flawlessly. >> My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro >> (MacBookPro9,2). >> >> ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved >> the problem - its running fine. >> >> Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be >> running fine on my system - so what is the issue??? >> >> Any hints/help available?? > Hi Matthias, > > as others said already - it should work. > > What can be done to diagnose the problem? I would need to know what the LyX > configure run did. > > There is a folder in your user directory named ~/Library/Application > Support/LyX-2.3. This is the location to look for the file configure.log. > Please send it to the users list or in a private mail to me. I could be wrong, of course, but it smells like a permissions problem. We've seen this kind of thing in other cases, where configure.py can't write to the relevant folder. If not, the log may not exist. Riki
Re: Lyx v 2.3.X - severe Problems
Am 15.08.2019 um 23:00 schrieb Matthias Görlach : > > Hi, > after running and using Lyx for maybe 10 years, I finally tried to upgrade > from v 2.2.4 to 2.3.2 and 2.3.3. > > This resulted in unusability or continuously repeated error messages relating > to "missing document classes", something about "missing library" and finally > to "LyX will only have minimal functionality because no text classes have > been found. You can either try to configure LyX normally, try to reconfigure > without checking your LaTeX installation, or continue." > > I tried a lot - to no avail - incl newsgroups, Wiki etc etc > Reconfigure didnt do a thing - neither a complete new install of the recent > MacTEX suite, reinstall of Lyx etc etc. Other TEX distribs (e.g. mac > texmaker) worked flawlessly. > My System MacOS X, 10.12.6 Sierra incl latest patches on a MacBook Pro > (MacBookPro9,2). > > ONLY completely removing any traces of Lyx and reinstalling Lyx 2.2.4 solved > the problem - its running fine. > > Accd to the Lyx web site, the latest release of Lyx (2.3.3) should be running > fine on my system - so what is the issue??? > > Any hints/help available?? Hi Matthias, as others said already - it should work. What can be done to diagnose the problem? I would need to know what the LyX configure run did. There is a folder in your user directory named ~/Library/Application Support/LyX-2.3. This is the location to look for the file configure.log. Please send it to the users list or in a private mail to me. Stephan > -- > Matthias Görlach > Ebertstr. 4 > 07743 Jena > > *49-0171 1988809 >
Re: How to set editor for external edit of preamble
I use TextMate (which has a command line tool in /usr/local/bin). So I set it to /usr/local/bin/mate and that works very well. I did not need to use the --wait option or something like $$i, as once the file is saved I have to click the "End Edit" Button. It also works with Alpha's /usr/local/bin/alphaed so if BBEdit has something like that it should also work. Great stuff, this... el On 16/08/2019 08:59, Daniel wrote: > On 2019-08-16 07:18, Anders Ekberg wrote: [...] >> Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I >> think what I get wrong is what to put in the path (tried bot >> Application and into the BBEdit package) and what to put in the >> command. >> >> Anders >> >> > > Thanks for testing. This function seems not to be working correctly > under MacOS. Report filed at > > https://www.lyx.org/trac/ticket/11641 > > Daniel > >
Re: How to set editor for external edit of preamble
Paul, Thank you very much. This is very cool and works very well. greetings, el On 2019-08-14 20:23, Paul A. Rubin wrote: > On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: >> Me three :-)-O >> >> el >> >> On 14/08/2019 07:15, Daniel wrote: >>> Hi, >>> >>> I just discovered the new feature to edit the preamble externally. >>> However, I couldn't find where to set the editor for this of any >>> documentation about it. On MacOS it opens XCode which asks me to >>> install additional application or Quit. This renders the function >>> pretty useless for me. I have set a different application as default >>> for TeX files but LyX seems ignore this. How can I make LyX open my >>> favorite editor? >>> >>> Best, >>> Daniel >>> >>> > Tools > Preferences > File Formats > LaTeX (plain) > Editor. > > Paul
LyX 2.3.3 and default application
Hi I run LyX 2.3.3 on Windows 10 64 bit, latest version. When I double-click on lyx files, LyX opens. But when I check the help system for version number, it shows LyX v. 2.3.1-1. And I thought I had uninstalled LyX 2.3.1-1 and switched to LyX 2.3.3... I have tried to change the file association in Windows Settings, but it looks like I can only choose apps from Windows Store there. Question: · How can I fix this problem, so that when I double-click on files saved in LyX 2.3.3, and I later double-click on these file, they open in LyX 2.3.3? -B
Re: How to set editor for external edit of preamble
On 2019-08-16 07:18, Anders Ekberg wrote: On 2019Aug15, at 22:16, Daniel wrote: On 2019-08-15 07:07, Andrew Parsloe wrote: On 15/08/2019 1:28 PM, Daniel wrote: On 2019-08-14 20:23, Paul A. Rubin wrote: On 8/14/19 7:35 AM, Dr Eberhard Lisse wrote: Me three :-)-O el On 14/08/2019 07:15, Daniel wrote: Hi, I just discovered the new feature to edit the preamble externally. However, I couldn't find where to set the editor for this of any documentation about it. On MacOS it opens XCode which asks me to install additional application or Quit. This renders the function pretty useless for me. I have set a different application as default for TeX files but LyX seems ignore this. How can I make LyX open my favorite editor? Best, Daniel Tools > Preferences > File Formats > LaTeX (plain) > Editor. Paul Thanks. So, I take it, there is no documentation of this. Next, question: how do I set a Custom editor then? I tried "/Applications/texmaker.app" but nothing happens though "open /Applications/texmaker.app" in the terminal works just fine. Daniel Following Paul's response, I chose Custom and entered notepad++ (my preferred text editor) in the adjacent window. I've included C:\Program Files\Notepad++ (preceded and followed by semicolons) in the path string at Tools > Settings > Paths. It works (at least in windows). Andrew Thanks for checking. Might be a macos bug then. Daniel Tried to get it to work on MacOS (with BBEdit, but didn’t succeed. I think what I get wrong is what to put in the path (tried bot Application and into the BBEdit package) and what to put in the command. Anders Thanks for testing. This function seems not to be working correctly under MacOS. Report filed at https://www.lyx.org/trac/ticket/11641 Daniel