Skip to content

Commit 68e2cc0

Browse files
committed
- Updated to CorelDraw 2021
1 parent b6360bb commit 68e2cc0

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

Latex4CorelDraw.csproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<Reference Include="PresentationCore" />
5151
<Reference Include="PresentationFramework" />
5252
<Reference Include="WindowsBase" />
53-
<Reference Include="c:\program files\corel\coreldraw graphics suite x8\programs64\Assemblies\Corel.Interop.VGCore.dll">
53+
<Reference Include="c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\Assemblies\Corel.Interop.VGCore.dll">
5454
<Name>Corel.Interop.VGCore</Name>
5555
<Private>False</Private>
5656
</Reference>
@@ -149,20 +149,20 @@
149149
-->
150150
<PropertyGroup>
151151
<PostBuildEvent>
152-
if not exist "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" md "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)"
153-
copy "$(TargetPath)" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
154-
copy "$(ProjectDir)CorelDrw.addon" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
155-
copy "$(ProjectDir)AppUI.xslt" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
156-
copy "$(ProjectDir)UserUI.xslt" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
157-
copy "$(ProjectDir)\ScintillaNET\SciLexer.dll" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
158-
copy "$(ProjectDir)\ScintillaNET\SciLexer64.dll" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
159-
copy "$(ProjectDir)\ScintillaNET\ScintillaNET.dll" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
160-
copy "$(ProjectDir)\ScintillaNET\ScintillaNET.xml" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)" /y
161-
if $(ConfigurationName) == Debug copy "$(TargetDir)\$(SolutionName).pdb" "c:\program files\corel\coreldraw graphics suite x8\programs64\addons\$(SolutionName)\$(SolutionName).pdb"
152+
if not exist "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" md "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)"
153+
copy "$(TargetPath)" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
154+
copy "$(ProjectDir)CorelDrw.addon" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
155+
copy "$(ProjectDir)AppUI.xslt" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
156+
copy "$(ProjectDir)UserUI.xslt" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
157+
copy "$(ProjectDir)\ScintillaNET\SciLexer.dll" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
158+
copy "$(ProjectDir)\ScintillaNET\SciLexer64.dll" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
159+
copy "$(ProjectDir)\ScintillaNET\ScintillaNET.dll" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
160+
copy "$(ProjectDir)\ScintillaNET\ScintillaNET.xml" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y
161+
if $(ConfigurationName) == Debug copy "$(TargetDir)\$(SolutionName).pdb" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)\$(SolutionName).pdb"
162162
</PostBuildEvent>
163163
</PropertyGroup>
164164
<PropertyGroup>
165165
<StartAction>Program</StartAction>
166-
<StartProgram>c:\program files\corel\coreldraw graphics suite x8\programs64\CorelDRW.exe</StartProgram>
166+
<StartProgram>c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\CorelDRW.exe</StartProgram>
167167
</PropertyGroup>
168168
</Project>

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22

33
This is a addon for CorelDRAW. It allows to add and edit Latex equations or symbols easily. The addon is based on ScintillaNET and supports syntax highlighting, code snippets etc.
44

5-
The library was tested on Windows 10, CorelDRAW x8.
5+
The library was tested on Windows 10, CorelDRAW Graphics Suite 2021.
66

77
**Author**: [Jan Bender](http://www.interactive-graphics.de), **License**: MIT
88

99
## Build Instructions
1010

11-
The included project file was made with Visual Studio 2015. You have to adapt the path of CorelDRAW in the project file Latex4CorelDraw.csproj if your CorelDRAW installation differs from "C:\Program Files\Corel\CorelDRAW Graphics Suite X8".
11+
The included project file was made with Visual Studio 2019. You have to adapt the path of CorelDRAW in the project file Latex4CorelDraw.csproj if your CorelDRAW installation differs from "C:\Program Files\Corel\CorelDRAW Graphics Suite 2021".
1212

1313
## Installation
1414

15-
1. Download the latest release and extract the zip into C:\Program Files\Corel\CorelDRAW Graphics Suite X8\Programs64\Addons to install the addon.
15+
1. Download the latest release and extract the zip into C:\Program Files\Corel\CorelDRAW Graphics Suite 2021\Programs64\Addons to install the addon.
1616
2. Right-click and open "Properties" for each DLL file in the folder. If you see the following text, you have to unblock the file:
1717
"Security: This file came from another computer and might be blocked to help protect this computer."
18-
3. Activate docker window "Latex" in the menu "Windows".
18+
3. Activate docker window "Latex" in the menu "Window" -> "Dockers".
19+
3. If the generated latex equation looks somehow strange (as if the right fonts are missing), ensure that CorelDraw imports .ps files as "curves" and not as "text". This can be done by loading a .ps file manually since CorelDraw stores the last setting.
1920
4. If you have a better solution for step 2, write me an email ;-)
2021

2122
## Screenshots

0 commit comments

Comments
 (0)