0

I'm using minted for quite some time when adding code to my latex documents, already tried it with a couple of languages and it works great. Today I tried to print the output of tree command like below. First I did a tree > file.txt to capture the output to a text file.

\inputminted[frame=single,fontsize=\tiny]{bash}{file.txt}

On linux konsole the output of tree command makes folders and files with different extensions appear in a different color but when I add that to latex document its all black. Is it possible to make minted print the output of tree command on a colorful way?

Your Answer

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

Browse other questions tagged or ask your own question.