Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using listings instead of verbatim to enable code wrap #203

Closed
Carreau opened this issue Dec 7, 2015 · 4 comments
Closed

Using listings instead of verbatim to enable code wrap #203

Carreau opened this issue Dec 7, 2015 · 4 comments
Milestone

Comments

@Carreau
Copy link
Member

Carreau commented Dec 7, 2015

@redraven984 opened ipython/ipython#9068

Hi All,

I'm trying to export a notebook with nbconvert to latex. How can I convert the code cells so that long code lines are wrapped?

My understanding is that if verbatim is switched to listings this can be done. However, I dont know what to do with commandchars if I switch.

Thanks for your help! and Im sorry about this basic question.

@Carreau
Copy link
Member Author

Carreau commented Dec 11, 2015

@Carreau commented

That'a likely a jupyter/nbconvert issue, that can be done with custom templates.
There is not easy option.

#141 should help.

@Carreau
Copy link
Member Author

Carreau commented Dec 11, 2015

@redraven984 commented

Thanks for getting back to me. Do you know what the 'commandchars' line does in verbatim?

@Carreau
Copy link
Member Author

Carreau commented Dec 11, 2015

@Carreau commented

commandchars

No, I havent touched verbatim in years, sorry.

@takluyver
Copy link
Member

Duplicate of #202. Looks the issue migration script had an issue.

@takluyver takluyver added this to the no action milestone Feb 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants