Well ... this bothered me for a couple of days, and the reason is easy: the lf encoding of the file does not match the one of the buffer where it gets included. I switched the lf encoding of the java file and it gets included correctly.
So: is it possible to add something to make sure that the file is included with the right lf encoding? Fabrice 2012/10/27 Fabrice Popineau <fabrice.popin...@supelec.fr>: > Hi, > > I have these lines : > > Bla bla bla > > #+INCLUDE: "../java/Power2/Power2.java" src java > > Bla bla bla > > that get exported this way : > > <p> > Bla bla bla > </p> > > <p> > #+BEGIN_SRC java > public class Power2 > ... > > How is it possible that the src block be exported literally ? > I tried a couple of other java files but it happends only with this one. > (I will look into it but if in the mean time someone has an explanation > and better: a fix !) > > Best regards, > > -- > Fabrice -- Fabrice Popineau ----------------------------- SUPELEC Département Informatique 3, rue Joliot Curie 91192 Gif/Yvette Cedex Tel direct : +33 (0) 169851950 Standard : +33 (0) 169851212 ------------------------------