-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for custom LaTeX command, not just folder #64
Comments
I think simply commenting out this line which adds a trailing slash to the path specified in the settings may work for your case. You would then just have to write Instead of that box being used to specify a folder, it's now used to specify more generally a "prefix". I simply warn the user that it's their responsibility to add a trailing slash or backslash (it's automatically fixed depending on the platform) if their prefix is a folder. |
Argh, that would have been too easy. I'm trying to think about the best way to solve this. Maybe check if |
Here is a version that checks if the prefix starts with |
Thank you, this works like a charm! Even the
Yes, possibly. But I'm ok just with the basic functionality that I have now. One comment: are quotes necessary at all? Wouldn't the |
Great! I think it might also work for GS and ImageMagick if you set the corresponding command in the respective settings, as long as that command starts with Quotes are only there in case there's a space in the path name. That being said, there may be a better way to handle this, such as only adding quotes to the path part (that would be assuming there's no space in the file name... Maybe that's always true?), or letting users add their own quotes in the settings if needed. I need to make sure there are no unintended consequences. |
Hi,
I would like to tell Iguanatex to use my LaTeX installation in WSL (Windows Subsystem for Linux), but I cannot find this option. There is the option to specify a custom folder for the LaTeX installation under Windows, but that is not what I need.
Basically, instead of calling the command
pdflatex
, I would like it to callwsl -e pdflatex
. I am confident that this would work because I am already using this approach for Texstudio for Windows:Moreover, manually compiling the
IguanaTex_tmp.tex
withwsl -e pdflatex -output-format dvi -shell-escape -interaction=batchmode
, which is the command called by Iguanatex preceeded bywsl -e
, successfully produces the correspondingdvi
file:Thank you very much.
The text was updated successfully, but these errors were encountered: