Repository navigation
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and versionIntelliJ Operating SystemMacOS TeXiFy IDEA version0.11.8 What I did (steps to reproduce)I had my default run configuration set to open the compiled PDFs in MacOS Preview. Initially about 1,5 years ago, the "System Default" option under the PDF viewer option did not work, that is, didn't open the PDF in preview, so I had to select, "No PDF viewer" and select "Custom PDF viewer command". The command I used was "open {pdf}". I however discovered this January that "System Default" option was working and selected it. After a recent update of the plug-in, that option isn't working. However the previous custom command isn't working either, nor is the SKIM option. No matter what I do, the compiled PDF does not open in a PDF viewer. However, if I select "run with parameters" and set the option to "system default", the PDF will open in preview. Minimal example to reproduce the problem
Expected behaviorPDF opens in an PDF viewer when that option is selected in the default run configuration Actual behaviorPDF does not open in an PDF viewer when that option is selected in the default run configuration |
Replies: 3 comments 1 reply
|
Hello, soon we will release a new version of the run configuration. Could you try the latest beta version, which will migrate the run configurations to the new format, and check if the issue is fixed? |
|
Not fixed in the latest beta, but now it gives me an error.
It points to this line: eval {
if($self->{syswrite}) {
sysopen $fh, "$self->{filename}", $sysmode or
die "Can't sysopen $self->{filename} ($!)";
} else {
open $fh, "$arrows$self->{filename}" or #this line which is nr. 151
die "Can't open $self->{filename} ($!)";
}
};Testing this now, it seems to give an error due to a special character in the project name and filename (in my case the character "æ") |
|
That's not coming from our plugin. It looks like Perl, which has nothing to do with opening pdfs. Are you perhaps using latexmk to compile a document, and the document has a compile error which prevents the pdf from opening? Could you show a screenshot of where you see the error? |
That's not coming from our plugin. It looks like Perl, which has nothing to do with opening pdfs. Are you perhaps using latexmk to compile a document, and the document has a compile error which prevents the pdf from opening?
I tried with
æin the project name and it all worked fine for me.Could you show a screenshot of where you see the error?