Skip to content

Compiling minted code: *.pyg not available in src #2829

Answered by mike-a
mike-a asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, question resolved by setting Latex minted.sty path, for example \usepackage[outputdir=../auxil]{minted}.

Minted.sty relies on Python Pygments package, and it's intermediate-stage auxilliary output file during compile. The process: load Latex packages, begin compiling, compile code fragments with Minted package into an intermediate compile file .pyg<...>, collect the file during PDF output, complete PDF output processing. If the intermediate .pyg<...> is not in the expected folder a PDF output exception will occur.

Compiling code with Latex minted.sty package conforms to a normal folder structure. Default TeXiFy plugin settings does not--- it conforms to IntelliJ IDEA Ultimate defaul…

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@PHPirates
Comment options

Comment options

You must be logged in to vote
2 replies
@PHPirates
Comment options

@mike-a
Comment options

Comment options

You must be logged in to vote
2 replies
@PHPirates
Comment options

@mike-a
Comment options

Comment options

You must be logged in to vote
2 replies
@PHPirates
Comment options

@PHPirates
Comment options

Answer selected by mike-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants