Grazie per i vostri interventi.
Ho provato a compilare il listato test.tex inserendo l’opzione -shell-escape nella linea di comando e purtroppo ho sempre lo stesso errore per il quale ho iniziato il thread. Sono assolutamente convinto che scrivere un makefile sia la soluzione piu’ saggia e che sotto Linux tutto venga molto piu’ semplice. Tuttavia sono costretto ad utilizzare una piattaforma Windows in ufficio e mi devo adeguare ad utilizzare TeXMaker.
L’errore riportato e’ il seguente:
! Package tikz Error: Sorry, the system call ‘pdflatex -shell-escape -halt-on-e
rror -interaction=batchmode -jobname “test-figure0” “\def\tikzexternalrealjob{t
est}\input{test}”‘ did NOT result in a usable output file ‘test-figure0’ (expec
ted one of .pdf:.jpg:.jpeg:.png:). Please verify that you have enabled system c
alls. For pdflatex, this is ‘pdflatex -shell-escape’. Sometimes it is also name
d ‘write 18’ or something like that. Or maybe the command simply failed? Error
messages can be found in ‘test-figure0.log’. If you continue now, I’ll try to t
ypeset the picture.
See the tikz package documentation for explanation.