A process for producing bioethanol includes the steps of pretreatment (consisting in destructuring the lignocellulosic vegetable raw material by placing it in the presence of a mixture containing formic acid, acetic acid and water, then in separating cellulose), of enzymatic hydrolysis and of alcoholic fermentation, characterized in that it includes, prior to the enzymatic hydrolysis, a step of partial elimination of the lignins so as to obtain a residual overall level of lignins (T), expressed as percentage by weight, which is non-zero and which is included in a range determined by a lower limit, and an upper limit Bsup, respectively equal to 0.30% and 4%. In order to obtain conditions of acidification before the enzymatic hydrolysis step, the process includes a step for re-acidification of the mixture, which is carried out with an acid, or of a mixture of acids, of determined pKa, and preferably with weak organic.