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.

  • 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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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