summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2019-01-06 22:29:25 +0100
committerAleks Kissinger <aleks0@gmail.com>2019-01-06 22:29:25 +0100
commit71199194c1eb77ccac750a4133e5c130d40fb680 (patch)
treee5f3b51fcd15a3f061163f35bf3b385947790d6f
parent6fe55641057153e1a8f4da2e377150acd8a8cbd3 (diff)
added [tikzfig] to preview and changed openssl DLLs in deploy script
-rwxr-xr-xdeploy-win.bat2
-rw-r--r--src/gui/latexprocess.cpp2
-rw-r--r--tex/sample/sample.tikzdefs3
3 files changed, 2 insertions, 5 deletions
diff --git a/deploy-win.bat b/deploy-win.bat
index ba4d7b8..b9871f2 100755
--- a/deploy-win.bat
+++ b/deploy-win.bat
@@ -8,8 +8,6 @@ copy ..\..\tikzfiles.reg .
copy ..\..\release\tikzit.exe .
copy ..\..\images\tikzdoc.ico icons\
copy ..\..\win32-deps\bin\*.dll .
-copy C:\OpenSSL-Win32\bin\libeay32.dll .
-copy C:\OpenSSL-Win32\bin\ssleay32.dll .
windeployqt.exe --xml --no-webkit2 --no-angle --no-opengl-sw --no-system-d3d-compiler --no-translations --no-quick-import .\tikzit.exe
diff --git a/src/gui/latexprocess.cpp b/src/gui/latexprocess.cpp
index 426ea4a..59db9ea 100644
--- a/src/gui/latexprocess.cpp
+++ b/src/gui/latexprocess.cpp
@@ -107,7 +107,7 @@ void LatexProcess::makePreview(QString tikz)
QTextStream tex(&f);
tex << "\\documentclass{article}\n";
tex << "\\usepackage{tikzit}\n";
- tex << "\\tikzstyle{every picure}=[dotpic]\n";
+ tex << "\\tikzstyle{every picture}=[tikzfig]\n";
tex << "\\usepackage[graphics,active,tightpage]{preview}\n";
tex << "\\PreviewEnvironment{tikzpicture}\n";
diff --git a/tex/sample/sample.tikzdefs b/tex/sample/sample.tikzdefs
index ac25b5a..4fd5bc9 100644
--- a/tex/sample/sample.tikzdefs
+++ b/tex/sample/sample.tikzdefs
@@ -2,5 +2,4 @@
% LaTeX preview. It can also be included in the paper.
\usepackage{bm}
-
-\newcommand{\anglevec}[1]{\ensuremath{\vec{\bm{#1}}}}
+\newcommand{\param}[1]{\ensuremath{\vec{\bm{#1}}}}