LyXTikz tikzexternalize on Ubuntu with TexLive

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
cipri
Posts: 3
Joined: Fri Sep 27, 2013 11:37 pm

Tikz tikzexternalize on Ubuntu with TexLive

Post by cipri »

Did someone manage to use tikzexternalize on Ubuntu? I'm using ubuntu 13.10 and texlive 2013 , and it still doesn't work.
Tried all the options and steps from all kind of forums, but in the end in the subfolder where the image should be created, a log file is created with the error message:

Code: Select all

! I can't write on file `/home/cipri/test/tikzfolder/ciprifig.dpth'.
\pgf@external@init@aux@in@dpth ...@filename .dpth 
                                                  \let \@auxout =\w@pgfexter...
Did someone manage to use tikzexternalize on ubuntu? I just want to know, if it's me , of if it's indeed a latex bug.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Tikz tikzexternalize on Ubuntu with TexLive

Post by Johannes_B »

I can assure you, its working. Are you running LyX with the option --shell-escape? This is needed, so latex can start another latex-run in the background.
If this doesn't help you, try to prepare a minimal working example. You can also attach the complete log-file to your next post.


Best regards
Johannes
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
cipri
Posts: 3
Joined: Fri Sep 27, 2013 11:37 pm

Re: Tikz tikzexternalize on Ubuntu with TexLive

Post by cipri »

thank you for the answer, this gave me reason to search more.

I found now, that it works, but just if it used without the "prefix". that means, if i use it without the prefix, then works (or the prefix must be a subfolder of the temp).
Making a subfolder of the LyX files is not enough, the subfolder where you want your pictures to be saved, must be a subfolder of the tex files (which are generated from the LyX files), that means, in the tmp folder.
Post Reply