On 2019-08-17 22:25, Richard Kimberly Heck wrote:
On 8/17/19 12:58 AM, Daniel wrote:
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 <xraco...@gmx.de> 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.')
There's discussion about all of this somewhere. See #9606, for example.
That mostly has to do with checking URLs, so maybe all the security
concerns already exist with what we do here. I'm not sure. In any event,
this would be better discussed on lyx-devel.
Riki
#9606 seems pretty unrelated to me. Maybe a typo?
Daniel