5,365 reputation
922
bio website github.com/gpoore
location
age
visits member for 2 years, 11 months
seen 5 hours ago

1d
comment I want to take a CSV file, process the data, and generate a report file, where can I go to learn how to do this?
@LatexGuy I've looked into adding Matlab support to PythonTeX, and it's going to be more complex than I had expected, between changes since I last used Matlab and differences between Matlab and Octave (and Julia). So while I still do intend to add Matlab support in the relatively near future, it will probably be a while, likely January at the earliest.
1d
revised I want to take a CSV file, process the data, and generate a report file, where can I go to learn how to do this?
remove reference to attempt with matlab -- that's been delayed
Dec
16
answered Inconsistent invocation of Python versions with pythontex
Dec
11
comment I want to take a CSV file, process the data, and generate a report file, where can I go to learn how to do this?
@LatexGuy You can copy the code above into a data.csv file and a analysis.tex file. Put these in a directory together. Then, on the command line, when in the directory with these files, you can run the three commands I listed. In this approach, the .tex file itself contains the executable code. So a .tex file isn't generated. Rather, the pythontex package extracts executable code from the .tex file and the pythontex program takes care of the execution of that code.
Dec
10
answered I want to take a CSV file, process the data, and generate a report file, where can I go to learn how to do this?
Dec
10
comment I want to take a CSV file, process the data, and generate a report file, where can I go to learn how to do this?
@LatexGuy If you can edit your question to add a little sample data, with a little more detail about how you perform calculations on it, and a description of one or two plots, I can probably provide an answer with a short example document. Also, I should be able to get it to work with Matlab, so you probably won't have to use Python unless you want to.
Dec
9
comment I want to take a CSV file, process the data, and generate a report file, where can I go to learn how to do this?
Two general approaches come to mind. (1) Create a template of the .tex file, and plug in the values for each run, using Matlab or perhaps another language to connect/manage all the pieces. This approach is more oriented toward the Matlab/programming side. A makefile might be useful. (2) Use an approach that allows executable code to be embedded in the LaTeX document. My pythontex package allows this for Python, Octave, Ruby, and Julia. I've been planning to add Matlab support. Related paper.
Dec
5
comment minted Perl with dollar symbol
That preamble works for me. You might add a complete minimal document that reproduces the error to your question, or open a new question specifically about the \mintinline. It would also be good to see the commands you are using for compiling, and the error message.
Dec
4
comment minted Perl with dollar symbol
\mintinline{perl}{$_[0]} works fine for me. What packages are you loading? There might be some sort of conflict.
Nov
20
answered How to make breaklines the result from PythonTeX ?
Nov
16
comment How to running Pythontex ?
Wrappers/symlinks are essentially shortcuts for running pythontex.py. Once you have those in place, then you can run pythontex.py from the command line (or via a shortcut in your TeX editor). Once those are in place, you can compile a file file.tex using the command pythontex file.tex on the command line. If you haven't already, you should try running the installation script pythontex_install.py (available on ctan), which should automatically create a batch file so that you can run pythontex.py from the command line.
Nov
15
comment How to running Pythontex ?
Whenever code needs to be executed, you need to run LaTeX, then pythontex.py, then LaTeX again. If code doesn't need to be executed, you can just run LaTeX by itself. If you installed pythontex using the pythontex_install.py script, then a shortcut to pythontex.py may already exist. You can check for this by running pythontex --version on the command line. If a shortcut exists, then running pythontex is as simple as pythontex <name_of_tex_file>.
Nov
15
awarded  Popular Question
Nov
10
answered python environment works with animate for single frames but not multiframe
Oct
26
answered How to dim part of the syntax-highlighted source?
Oct
25
answered 'Errors' using the minted VHDL environment
Oct
25
comment 'Errors' using the minted VHDL environment
I added the comment as an answer so that it can be accepted.
Oct
23
comment 'Errors' using the minted VHDL environment
I believe you need END func --> END func;. The missing semicolon is interfering with the highlighting.
Oct
21
comment 'Errors' using the minted VHDL environment
Can you post the code (not a screenshot, so that it can be copied) for a complete, short document that produces this? I can't reproduce the problem, at least retyping a couple of lines around your code line 10. So it's possible that there is a package conflict or some other issue that can't be found without looking at a complete, minimal example.
Oct
19
comment minted: Hiding comments in code?
@Sahand I'm using TeX Live 2014 and Pygments 2.0pre. The error message you are getting can be caused by using the development version of minted; I wrote the original code for minted 1.7. I've added code that works with the development version (at least for now).