summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-lua.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-lua.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-lua.tex22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-lua.tex b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-lua.tex
new file mode 100644
index 0000000000..e5e9f999dd
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-lua.tex
@@ -0,0 +1,22 @@
+\newpage
+\section{Working with lua : option \tkzname{lua}} \label{calc_with_lua}
+
+You can now use the "lua" option with \tkzname{\tkznameofpack} version 5.
+You just have to write in your preamble
+
+ |usepackage[lua]{tkz-euclide}|.
+ Évidemment vous devrez compiler avec LuaLaTeX. Nothing changes for the syntax.
+
+Without the option you can use \tkzname{\tkznameofpack} with the proposed code of version 4.25.
+
+This version is not yet finalized although the documentation you are currently reading has been compiled with this option.
+
+Some information about the method used and the results obtained. Concerning the method, I considered two possibilities. The first one was simply to replace everywhere I could the calculations made by "xfp" or sometimes by "lua". This is how I went from "fp" to "xfp" and now to "lua". The second and more ambitious possibility would have been to associate to each point a complex number and to make the calculations on the complexes with "lua". Unfortunately for that I have to use libraries for which I don't know the license.
+
+Otherwise the results are good. This documentation with "LualaTeX" and "xfp" compiles in 47s while with "lua" it takes only 30s for 236 pages.
+
+Another document of 61 pages is compiled 16s with "pdflaTeX" and "xfp" and 13s with "LualaTeX" and "xfp".
+
+This documentation compiles with |\usepackage{tkz-base}| and |\usepackage[lua]{tkz-euclide}| but I didn't test all the interactions thoroughly.
+
+\endinput \ No newline at end of file