Is there a possibility that with compiling my latex document all the time two PDFs are created (a oneside and twoside version). So in my case only the first line would be different for the two versions:
\documentclass[11pt, a4paper, oneside]{scrreprt}
\documentclass[11pt, a4paper, twoside]{scrreprt}


araraorlatexmkcombined with one of these answers you can automatically compile your document twice, one foronesideand another fortwoside. – Ignasi Mar 22 '16 at 08:56\documentclassin your.texfile and compile withpdflatex --jobname one \documentclass[11pt, a4paper, oneside]{scrreprt}\input{myfilename} & pdflatex --jobname two \documentclass[11pt, a4paper, twoside]{scrreprt}\input{myfilename}– touhami Mar 22 '16 at 13:05\documentclass[11pt, a4paper, oneside]{scrreprt};) – principal-ideal-domain Mar 22 '16 at 16:44