summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/robust-externalize/robust-externalize.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/robust-externalize/robust-externalize.tex')
-rw-r--r--macros/latex/contrib/robust-externalize/robust-externalize.tex17
1 files changed, 11 insertions, 6 deletions
diff --git a/macros/latex/contrib/robust-externalize/robust-externalize.tex b/macros/latex/contrib/robust-externalize/robust-externalize.tex
index be0c689b61..049cfb5443 100644
--- a/macros/latex/contrib/robust-externalize/robust-externalize.tex
+++ b/macros/latex/contrib/robust-externalize/robust-externalize.tex
@@ -105,7 +105,7 @@
{\Large\bfseries Cache anything (\tikzname, tikz-cd, python…),\\in a robust, efficient and pure way.}
\vspace{1em}
- {Léo Colisson \quad Version 2.7}\\[3mm]
+ {Léo Colisson \quad Version 2.8}\\[3mm]
{\href{https://github.com/leo-colisson/robust-externalize}{\texttt{github.com/leo-colisson/robust-externalize}}}
\end{center}
@@ -159,7 +159,7 @@ for name in ["Alice", "Bob"]:
\end{CacheMeCode}
\end{codeAndResult}
-Actually, we also provide this style by default (and explain how to write it yourself), just make sure to load:
+Actually, we also provide this style by default (and explain how to write it yourself), just use the above code (WARNING: in v2.7, a bug was introduced, fixed in v2.8, that was adding a new line in front of the code), just make sure to load:
\begin{verbatim}
\usepackage{pythonhighlight}
\usepackage[most]{tcolorbox}
@@ -254,7 +254,7 @@ You can also cache all tikz pictures by default, except those that are run from
\tikz[baseline=(A.base)] \node(A)[rounded corners,fill=green]{my cached node \whereIAm};
\end{codeexample}
-will gives you: {%
+will give you: {%
%% this will cache \tikz and tikzpictures by default (using the tikz preset)
\cacheTikz
%% possibly add stuff to the tikz preset
@@ -362,9 +362,9 @@ We also provide a number of other functionalities, among others:
\item To get maximum purity while minimizing the number of rebuild, we provide functions to forward macros defined in the parent document, and the set of macros that must be forwarded can be automatically detected for each element to cache. It is also possible to conditionally import a library if the element contains a given macro.
\item We provide a way to compile a template via:\\
|new compiled preset={compiled ZX}{templateZX, compile latex template}{}|\\
- in order to make the compilation even faster (but you cannot use presets except |add to preamble|)
+ in order to make the compilation even faster (but you cannot use placeholders except |add to preamble|)
\item We give a highly configurable template, compilation and inclusion system, to cache basically anything
-\item We show how to compile all images in parallel using |\robExtConfigure{compile in parallel}| or |\robExtConfigure{compile in parallel after=5}| (make sure to have xargs installed, which is available by default on linux but must be installed on Windows via by installing the lightweight GNU On Windows (Gow) \url{https://github.com/bmatzelle/gow} if you use the default command) even during the first run, so that the first run becomes faster to compile than a normal run(!)
+\item We show how to compile all images in parallel using |\robExtConfigure{compile in parallel}| or |\robExtConfigure{compile in parallel after=5}| (make sure to have xargs installed, which is available by default on linux but must be installed on Windows by installing the lightweight GNU On Windows (Gow) \url{https://github.com/bmatzelle/gow} if you use the default command) even during the first run, so that the first run becomes faster to compile than a normal run(!)
\item We furnish commands to automatically clean the cache while keeping cached elements that are still needed.
\item And more\dots
\end{itemize}
@@ -4011,7 +4011,7 @@ or using the style |force python3| that forces |python3|.
\extractkey/robExt/python print code and result\@nil
\makeatother%
\pgfmanualbody
- This is a demo style that can print a python code and its result.
+ (Warning: in 2.7 a bug was introduced (fixed in v2.8) where an empty line was automatically added in front of the code) This is a demo style that can print a python code and its result.
\begin{codeAndResult}
\begin{CacheMeCode}{python print code and result, set title={The for loop}}
for name in ["Alice", "Bob"]:
@@ -4932,6 +4932,10 @@ Options > Configure TeXstudio > Editor > Replace tabs in text with spaces
\section{Changelog}
\begin{itemize}
+\item v2.8 (current master, not yet released):
+ \begin{itemize}
+ \item Fix a regression bug introduced in 2.7: |python print code and result| was adding a new line above the code printed. This is fixed now.
+ \end{itemize}
\item v2.7:
\begin{itemize}
\item apply |remove leading spaces| by default also in |placeholderFromCode| and |PlaceholderPathFromCode|, and allow the user to customize the style. This produces a very minor backward incompatibility as it might disturb code where all lines start with a space.
@@ -5012,4 +5016,5 @@ Options > Configure TeXstudio > Editor > Replace tabs in text with spaces
% Local Variables:
% TeX-command-extra-options: "--shell-escape -halt-on-error"
% TeX-engine: luatex
+% jinx-languages: "en"
% End: \ No newline at end of file