1

I like to use pgfplotstable to typeset my csv tables. However, I have to submit a paper using the basic standard table environment.

Is there a way to export a table generated by pgfplotstable to a .tex that doesn't require the pgfplotstable package?

If not, I'll probably export my table as a .pdf using the standalone class but I'd prefer a cleaner approach.

5
  • Could you better explain the problem? I think that pgfplotstable typesetting can produce a basic standard table, the main difference is that it uses an external file. If the problem is the external file, you can include it in your document inside a filecontents environment which creates the external file from your main tex file. An example: tex.stackexchange.com/a/48275/1952
    – Ignasi
    Feb 1, 2017 at 16:49
  • If the problem is that the publisher doesn't have pgfplotstable installed, they are using a very old distribution. In CTAN you can find some other csv processing tools which, may be, the publisher accepts.
    – Ignasi
    Feb 1, 2017 at 16:55
  • I don't even know if they have the package, I'm just trying to follow guidelines that recommend using the basic table environment. You've convinced me that I should just try submitting without overthinking this. :)
    – nicoco
    Feb 1, 2017 at 16:58
  • May be it's better that you ask if this guideline implies that pgfplotstable is not a valid solution before submitting.
    – Ignasi
    Feb 1, 2017 at 17:04
  • You are probably right. Thanks for the advice!
    – nicoco
    Feb 1, 2017 at 17:05

1 Answer 1

3

pgfplotstable generates a tabular environment, that is then processed by LaTeX. By specifying an outfile this is exported to a file, which can then be imported into the original document (using \input{filename}) or directly copied into the original table environment.

See this example or search for outfile in the pgfplotstable manual.

1
  • Apparently pgfplotstable is very standard so I probably won't need this but this is exactly what I was asking for, so thanks.
    – nicoco
    Feb 24, 2017 at 12:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .