I had some issue when using the minted package on Texmaker I read on an answer on tex.stackexchange that it was maybe better to download TeXStudio but it wasn't. I heard it was something about -shell-escape in Option> Configure Texmaker> Latex and Option> Configure Texmaker> PdfLaTex so I added them both and now I'm having Undefined Sequence errors.
Here are some screenshots :
- Undefined Sequence error
Option> Configure Texmakermodifications
And here is a minimal code :
\documentclass[a4paper]{article}
%% Language and font encodings
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%% Sets page size and margins
\usepackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
%% Useful packages
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{minted}
\title{Your Paper}
\author{You}
\begin{document}
\begin{minted}{SQL}
params = {
'database': 'la base de donnee',
'user': 'utilisateur',
'password': 'mot de passe',
'host': 'souvent c'est amazon AWS',
'port': 'le bon port'
}
try:
conn = psycopg2.connect(**params)
cur = conn.cursor()
cur.execute("""--- requete SQL
SELECT ...""")
\end{minted}
\end{document}
Can you help me to cope this problem? I like Texmaker, how can I remove TeXStudio?

