Skip to content
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

Read from file as default #66

Open
Splines opened this issue Jul 13, 2024 · 5 comments
Open

Read from file as default #66

Splines opened this issue Jul 13, 2024 · 5 comments

Comments

@Splines
Copy link

Splines commented Jul 13, 2024

Hey Jonathan, thanks a lot for this amazing PowerPoint plugin, exactly what I was looking for and works like a charm! ❤

For convenience, it'd be amazing if the Read form file path for inserting a new equation or editing an existing one, could be stored as default value. This way, I wouldn't have to copy and paste the file path all the time.

@Jonathan-LeRoux
Copy link
Owner

Thanks for the suggestion. Are you referring to the path including the file name or just the folder? Would it be okay to default to the last used folder?

@Splines
Copy link
Author

Splines commented Jul 18, 2024

If the path defaulted to the last used folder, I would still have to append my filename after it, right? In this case, I'd love the path to also include the file name (e.g. tmp.tex) such that the only thing I really have to do is Insert new equation -> Load File -> Generate LaTeX (and maybe even Load file could be omitted).

@Jonathan-LeRoux
Copy link
Owner

Jonathan-LeRoux commented Jul 27, 2024

As mentioned in issue #68, I implemented this in this beta version: IguanaTex_v1_61_1_20240726.zip.
You need to click "Make Default" when on the "Read from file" page. Actually, in this new version, "Make Default" only saves the settings that are currently active (e.g., it won't save the DPI if Shape is selected).
I also added a button to "Load & Generate", which will save you one click.
Please give it a try.

@Splines
Copy link
Author

Splines commented Jul 31, 2024

Thank you so much. The new button is great and it works as expected. Make default also works.

Note that when I enter a wrong file path, the Load file button is grayed out, while the Load File & Generate button is not. Clicking it with an invalid file path specified, this results in the following error:

Run-time error '3001':

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

@Jonathan-LeRoux
Copy link
Owner

Good catch, thanks! It's will be fixed in the final version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants