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

Latex4CorеlDraw #10

Open
NikolaMutavdic opened this issue Oct 10, 2023 · 3 comments
Open

Latex4CorеlDraw #10

NikolaMutavdic opened this issue Oct 10, 2023 · 3 comments

Comments

@NikolaMutavdic
Copy link

Dear Mr. Bender,

I am trying to use your LaTex plugin for Corel Draw, and it created docker Latex with all of it's buttons.

But, unfortunately, when I enter formula in Create latex object dialog box, and press Ok, I get the following error message:

Unhandled expectation has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

Object reference not set to an instance of an object.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Latex4CorelDraw.LatexDialog.generateEquation(Boolean createShape) in C:\Program Files\Corel\CorelDRAW Graphics Suite 2021\Programs64\Addons\Latex4CorelDRAW-master\LatexDialog.cs:line 250
at Latex4CorelDraw.LatexDialog.buttonOk_Click(Object sender, EventArgs e) in C:\Program Files\Corel\CorelDRAW Graphics Suite 2021\Programs64\Addons\Latex4CorelDRAW-master\LatexDialog.cs:line 195
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

and so on...
I am using CorelDRAW Graphics Suite 2021, and I installed Visual Studio Enterprise Edition 2022, in order to activate docker.

Can You please hep me with this issue?

Sincerely,
Nikola

@janbender
Copy link
Member

Did you set the path to latex.exe correctly in the options?

@NikolaMutavdic
Copy link
Author

Thank you for your quick response!

The answer to your question is yes. I am using texlive 2021, and I previously set the path to latex.exe correctly. (C:\texlive\2021\bin\win32)

@NikolaMutavdic NikolaMutavdic changed the title Latex4CoerlDraw Latex4CorеlDraw Oct 11, 2023
@NikolaMutavdic
Copy link
Author

Dear Mr. Bender,

I installed texlive2023 and set path to new latex.exe file and it seams that the problem is now fixed. Hope that I will not get error messages in the future.

Thank you for your assistance!

With kind regards,
Nikola

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