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

2d
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).
Oct
19
revised minted: Hiding comments in code?
added code for development version of minted
Oct
18
comment minted: Hiding comments in code?
@Sahand I've modified the answer. It's pretty simple.
Oct
18
revised minted: Hiding comments in code?
responded to question in comment
Oct
18
answered minted: Hiding comments in code?
Oct
10
comment run xelatex, different results when run from terminal and from python
Take a look at the subprocess docs. You probably want to pass a list rather than a string to subprocess.call(). shlex.split() can help with this.
Oct
10
awarded  Guru
Oct
2
answered Using BW style for minted code highlighting not pure BW
Sep
29
revised Break Lines in minted environment
Mentioned breaklines option explicitly, to increase clarity
Sep
29
comment Break Lines in minted environment
@SpmP I just updated the linked question, so it should be fixed as soon as it is reviewed. I also updated the answer above to mention breaklines explicitly.