-
Notifications
You must be signed in to change notification settings - Fork 18
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
updated for coreldraw 2020 #6
Conversation
original code gave error message: changed init(string template, bool useTemplate, string title) to put selectall inside else clause
I didn't have time yet to test the changes on my system but I just took a short look on them. Maybe it would be good to add a new file Latex4CorelDraw2020.csproj instead of changing the current Latex4CorelDraw.csproj. In this way it would work on both versions. |
If the docker is empty, CorelDraw did not load the plugin due to some reason. Did you use the precompiled binaries? They were compiled for CorelDraw x8. So for your version you have to recompile the plugin. Maybe also take a look at this comment: |
Thank you for the answer Jan.
I'm not familiar with rebuilding, compiling with Visual Studio.
On the website of Microsoft I've Seen there is a free version of Visual
studio. do you think it is going to be sufficient to rebuild your app?
Paolo
Il ven 6 nov 2020, 12:06 Jan Bender <[email protected]> ha scritto:
… If the docker is empty, CorelDraw did not load the plugin due to some
reason. Did you use the precompiled binaries? They were compiled for
CorelDraw x8. So for your version you have to recompile the plugin. Maybe
also take a look at this comment:
#4 (comment)
<#4 (comment)>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARUYSKJFKHF5TXAQ7GY3UNTSOPKDNANCNFSM4Q5STFJA>
.
|
C:\Program Files\Corel\CorelDRAW Graphics Suite 2020\Programs64\Addons\Latex4CorelDraw
Hi Paolo-fix
Firstly, a big thanks to Jan, this is a really nice tool!
Perhaps this can help. I built this with VS2019 for Coreldraw 2020
My fork of Jan's git repo is at https://github.com/NelisW/Latex4CorelDRAW
On my PC the addon files are located here:
C:\Program Files\Corel\CorelDRAW Graphics Suite
2020\Programs64\Addons\Latex4CorelDraw folder.
I made you copies of all the files in this folder on myPC.
I cannot add the files as an attachment to the email, the security policy
does not allow.
We can try two ways to get the compiled binary files to you - one of them
should work.
1)
Download all the files from here into the above (or similar for your PC)
folder.
https://github.com/NelisW/Latex4CorelDRAW/tree/master/Latex4CorelDrawFolder.
2)
The files are here https://www.dropbox.com/t/0MvPY2RjH2YdqysQ - the link
only lasts a few days, so please download soon.
Copy the files in the transfer zip to the above folder.
I hope this helps. let me know at [email protected].
regards
Nelis
…On Mon, 9 Nov 2020 at 21:58, paolo-fix ***@***.***> wrote:
Thank you for the answer Jan.
I'm not familiar with rebuilding, compiling with Visual Studio.
On the website of Microsoft I've Seen there is a free version of Visual
studio. do you think it is going to be sufficient to rebuild your app?
Paolo
Il ven 6 nov 2020, 12:06 Jan Bender ***@***.***> ha scritto:
> If the docker is empty, CorelDraw did not load the plugin due to some
> reason. Did you use the precompiled binaries? They were compiled for
> CorelDraw x8. So for your version you have to recompile the plugin. Maybe
> also take a look at this comment:
>
> #4 (comment)
> <
#4 (comment)
>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#6 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ARUYSKJFKHF5TXAQ7GY3UNTSOPKDNANCNFSM4Q5STFJA
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOR6SPAKLOYHLAPZJTJPKDSPBCW3ANCNFSM4Q5STFJA>
.
|
Hi Paolo, I think the fork of NelisW could help you. Unfortunately, I did not find the time yet to merge it but I think it would make sense to add multiple project files for different versions of CorelDraw. Since I have an older version, I cannot provide the binaries. |
It does not work on any version. Tested on Corel X7, X8 and 2020, 64 bit and Windows 10. I followed exactly the steps. Nothing works. Docker is empty. Me fez perder um puta tempo. |
Hi
I checked the files just now, installing to a new PC. It works.
I rewrote the readme to be more explicit for my procedure [we are not
following the original Jan Bender procedure any more].
please try the new writeup (attached hereto and also pushed to github).
all of the best
n
…On Sun, 28 Mar 2021 at 03:11, caiosilva1993 ***@***.***> wrote:
It does not work on any version. Tested on Corel X7, X8 and 2020, 64 bit.
I followed exactly the steps. Nothing works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOR6SJ2BFSYFQWYQ745YEDTFZ635ANCNFSM4Q5STFJA>
.
|
Dear Nelis,
Let me first thank you sincerely.
However I'm afraid we have a small problem... Do you think your late
solution could work also on my version 2019? I expect not, given the usual
strict link of the compilation each different version.
But maybe your new approach is more general.
Best regards,
Paolo
Il giorno dom 28 mar 2021 alle ore 13:15 Nelis Willers <
***@***.***> ha scritto:
… Hi
I checked the files just now, installing to a new PC. It works.
I rewrote the readme to be more explicit for my procedure [we are not
following the original Jan Bender procedure any more].
please try the new writeup (attached hereto and also pushed to github).
all of the best
n
On Sun, 28 Mar 2021 at 03:11, caiosilva1993 ***@***.***>
wrote:
> It does not work on any version. Tested on Corel X7, X8 and 2020, 64 bit.
> I followed exactly the steps. Nothing works.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#6 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABOR6SJ2BFSYFQWYQ745YEDTFZ635ANCNFSM4Q5STFJA
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARUYSKP5ZDQM2N5CKYKVM3LTF4FW3ANCNFSM4Q5STFJA>
.
|
I confirm that unfortunately on my (win10 + CorelDraw 2019) system the
latex docker appears on the menu, but it remains all grey.
[image: CorelDraw2019_Latex.PNG]
Il giorno dom 28 mar 2021 alle ore 23:59 Paolo Falbo ***@***.***>
ha scritto:
… Dear Nelis,
Let me first thank you sincerely.
However I'm afraid we have a small problem... Do you think your late
solution could work also on my version 2019? I expect not, given the usual
strict link of the compilation each different version.
But maybe your new approach is more general.
Best regards,
Paolo
Il giorno dom 28 mar 2021 alle ore 13:15 Nelis Willers <
***@***.***> ha scritto:
> Hi
>
> I checked the files just now, installing to a new PC. It works.
> I rewrote the readme to be more explicit for my procedure [we are not
> following the original Jan Bender procedure any more].
> please try the new writeup (attached hereto and also pushed to github).
>
> all of the best
>
> n
>
> On Sun, 28 Mar 2021 at 03:11, caiosilva1993 ***@***.***>
> wrote:
>
> > It does not work on any version. Tested on Corel X7, X8 and 2020, 64
> bit.
> > I followed exactly the steps. Nothing works.
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <
> #6 (comment)
> >,
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/ABOR6SJ2BFSYFQWYQ745YEDTFZ635ANCNFSM4Q5STFJA
> >
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#6 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARUYSKP5ZDQM2N5CKYKVM3LTF4FW3ANCNFSM4Q5STFJA>
> .
>
|
Hi Paolo
Try this version, I am not sure it will work though.
I don't have a Windows c++ compiler currently, we are currently using the
Linux compilers on WSL2. Very nice to boot in Windows but have command line
access to linux. The next version of WSL later this year will have full
Linux gui and gpu support.
The best would be for you to install visual studio 2019 CE and build the
Release version dll file for your coreldraw version, follow my work flow,
but change CD version as per your required need. Then, once the dll is
built, copy it over my version. Only the one Latex4CorelDraw.dll file need
to rebuilt, the other files should work fine.
Sorry, I would not be able to compile new binaries: I have no current need
to load visual studio on Windows.
Jan Bender did a very good job with the addon, so if you are able to
compile the dll, all should be fine.
Good luck!
…On Mon, 29 Mar 2021, 00:00 paolo-fix, ***@***.***> wrote:
Dear Nelis,
Let me first thank you sincerely.
However I'm afraid we have a small problem... Do you think your late
solution could work also on my version 2019? I expect not, given the usual
strict link of the compilation each different version.
But maybe your new approach is more general.
Best regards,
Paolo
Il giorno dom 28 mar 2021 alle ore 13:15 Nelis Willers <
***@***.***> ha scritto:
> Hi
>
> I checked the files just now, installing to a new PC. It works.
> I rewrote the readme to be more explicit for my procedure [we are not
> following the original Jan Bender procedure any more].
> please try the new writeup (attached hereto and also pushed to github).
>
> all of the best
>
> n
>
> On Sun, 28 Mar 2021 at 03:11, caiosilva1993 ***@***.***>
> wrote:
>
> > It does not work on any version. Tested on Corel X7, X8 and 2020, 64
bit.
> > I followed exactly the steps. Nothing works.
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <
>
#6 (comment)
> >,
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/ABOR6SJ2BFSYFQWYQ745YEDTFZ635ANCNFSM4Q5STFJA
> >
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#6 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ARUYSKP5ZDQM2N5CKYKVM3LTF4FW3ANCNFSM4Q5STFJA
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOR6SM5WLF4VG2QY4XRYY3TF6RG3ANCNFSM4Q5STFJA>
.
|
Thank you all. I have it working on CorelDraw 2021. Regards, |
Dear Nelis,
However, it seems results are only partly successful. Yet, after a few seconds that I click on OK to confirm, an error message appears, saying that I can replicate the error. I also have the details of the problem detected using the Debug of VS2017. An (almost random) detail that I checked is that the imagefile: Useless to say, If you could solve of this, it would be a huge help! I really have no clue how to solve this... (I can send you my email address and provide the detalis of debugging, if you like). best, Paolo in Corel.Interop.VGCore.LayerClass.ImportEx(String FileName, cdrFilter Filter, StructImportOptions Options)
|
If the pdf file is not generated, maybe it is a problem with the converter. Could you try to run the PDF conversion command on command line? |
I meant something similar. In the plugin I first generate a PS file and then convert it in line: Latex4CorelDRAW/AddinUtilities.cs Line 351 in e17b365
The command is: startProcess("cmd.exe", "/c "" + mgr.SettingsData.miktexPath + "\ps2pdf.exe" -dNoOutputFonts teximport.ps teximport.pdf", true, false, out output); Or on command line: \ps2pdf.exe -dNoOutputFonts teximport.ps teximport.pdf Can you try if this works? |
Dear Jan, bingo! 👍 |
original code gave error message: changed init(string template, bool useTemplate, string title) to put selectall inside else clause