# Access lualatex log with PGFPlotsX

**URL:** <https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355>\
**Category:** Visualization\
**Tags:** pgfplotsx\
**Created:** [October 6, 2022, 3:26pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355 "2022-10-06T15:26:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [October 6, 2022, 3:26pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355/1 "2022-10-06T15:26:47Z")

</div>

I am trying to use PGFPlotsX together with Plots, and I get the following error:

```julia
The latex command `lualatex jl_ODVl4Y.tex` failed

```

How do I access the lualatex log itself to understand what is going on?

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [October 6, 2022, 5:55pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355/2 "2022-10-06T17:55:57Z")

</div>

There is probably a temporary folder where that is stored, but you could also save as `.tex` and compile by hand.

---

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [October 6, 2022, 6:12pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355/3 "2022-10-06T18:12:01Z")

</div>

I’ve looked through the source code, and it seems that the luatex error log is actually printed by default. I may have the problem because I make the plots using Pluto.

---

<div class="post-metadata">

**Author:** ![Gregstrq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gregstrq/32/20620_2.png) [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Post date:** [October 6, 2022, 6:27pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355/4 "2022-10-06T18:27:59Z")

</div>

By the way, how do I actually save the output of PGFPlotsX as tex?

---

<div class="post-metadata">

**Author:** ![BeastyBlacksmith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/beastyblacksmith/32/4741_2.png) [@BeastyBlacksmith](https://discourse.julialang.org/u/BeastyBlacksmith)\
**Post date:** [October 6, 2022, 6:35pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355/5 "2022-10-06T18:35:17Z")

</div>

If you are using Plots.jl its `savefig("filename.tex")`
