# Create PDF document with PGFPlotsX figures, captions, a table, and some text

**URL:** <https://discourse.julialang.org/t/create-pdf-document-with-pgfplotsx-figures-captions-a-table-and-some-text/26478>\
**Category:** Visualization\
**Tags:** question, latex, pgfplotsx\
**Created:** [July 17, 2019, 7:00pm UTC](https://discourse.julialang.org/t/create-pdf-document-with-pgfplotsx-figures-captions-a-table-and-some-text/26478 "2019-07-17T19:00:13Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [July 18, 2019, 10:03am UTC](https://discourse.julialang.org/t/create-pdf-document-with-pgfplotsx-figures-captions-a-table-and-some-text/26478/21 "2019-07-18T10:03:30Z")

</div>

> [@yakir12](#):
>
> The reason why I brought this up is that I’m building analysis tools for people that might not use LaTeX, and ideally, they’d be able to run these tools locally on their machines.

Some kind of docker setup might make sense then. That is what we use for the tests for PGFPlotsX ([Continuous integration for Julia packages using Docker](http://tamaspapp.eu/post/travis-docker-julia-ci/), [GitHub - tpapp/texlive-julia-minimal-docker: minimal docker setup for texlive and Julia](https://github.com/tpapp/texlive-julia-minimal-docker))

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [July 18, 2019, 6:50pm UTC](https://discourse.julialang.org/t/create-pdf-document-with-pgfplotsx-figures-captions-a-table-and-some-text/26478/22 "2019-07-18T18:50:21Z")

</div>

So I ended up doing what @dawbarton and @Tamas_Papp recommended. I get the best of both worlds, `PGFPlots` generated via `Julia` with `PGFPlotsX`, tables with `LaTeXTabulars`, all in a `LaTeX` document.

It works really well. Thanks for all the help!

---

<div class="post-metadata">

**Author:** ![alejandromerchan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alejandromerchan/32/10500_2.png) [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Post date:** [July 18, 2019, 6:56pm UTC](https://discourse.julialang.org/t/create-pdf-document-with-pgfplotsx-figures-captions-a-table-and-some-text/26478/23 "2019-07-18T18:56:05Z")

</div>

You should try to document this process somehow, maybe a blog or something. This whole thread is very interesting and I need to also explore this ideas.

[Previous page](https://discourse.julialang.org/t/create-pdf-document-with-pgfplotsx-figures-captions-a-table-and-some-text/26478.md?page=1)
