Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Essentially I would like to have listings' breaklines option on minted. I can't seem to find it. I could manually insert new lines but it becomes difficult when the code comes from an external file.

share|improve this question
    
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. –  Torbjørn T. Dec 1 '11 at 7:25
    
Thanks for the info. I guess I'll just have to stick to modifying inline text (or using listings if necessary) –  iKs Dec 1 '11 at 8:31
    
One question : I'm working on a Python tool to highlight listings. What are the fetaures that you think to be important for highlighting ? –  projetmbc Dec 1 '11 at 9:06
1  
Well the basic is line-numbering, syntax highlighting, the ability to have code in the file and load it from an external file, the ability to have code inline (like $ $ or \verb+ +), and if possible the ability to refactor the code (that is understand it in the first place, usually) to add linebreaks and such to make sure it fits on the output. Good luck. –  iKs Dec 1 '11 at 23:01
    
BTW if you put your comment about minted not supporting linebreak as a response, I can upvote it and pick it as the best answer. –  iKs Dec 2 '11 at 2:56

1 Answer 1

up vote 3 down vote accepted

For the moment, minted dose not supported lines breaking : see this discusion.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.