Closed chendaniely closed 7 years ago
Which version of Pweave? I don't have this error using master.
pweave --version
Pweave 0.25
I'm using anaconda under a conda environment and installed it via:
conda install -c conda-forge pweave
For the time being, I'm setting the chunks to evaluate=False
and manually copy/pasting the results in the following block
\begin{minted}[fontsize=\small, xleftmargin=0.5em, mathescape, frame = leftline]{text}
# python code output
\end{minted}
I don't have the time to fix it for 0.25 right now. I recommend you try using current master. Or wait for 0.30 release which is almost ready.
I'll tinker around with various build and installation methods and report back.
It is not about the slicing. I found minimal failing example (pweave 0.24):
<<>>=
print('a')
@
weaves to:
\begin{verbatim}
print('a')
\end{verbatim}
Same is for small integers (like print(1)
)
I added a reference to the fix if you want to backport it to 0.25. This is fixed in 0.30, which is now released so I'll close this issue.
Sorry, didn't realize 0.3.0 was realized on the channels. Everything seems to be in working order. Thanks!
It wasn't when you opened the issue, glad that it's working
It seems that when trying to slice the first letter in a string, the results are not being stored
The pweave file:
commands to create and view the document
Here is the PDF output I'm getting: