Hello, Miguel Ruiz <rbeni...@yahoo.es> writes:
> I have the following working script in a windows box (emacs 24.3, org-version > 7.9.3f-17) to produce an ascii file: > > emacs.exe -Q -batch --load=report.el --visit=file.org --funcall > org-babel-execute-buffer --funcall org-export-as-latin1 You don't need to call `org-babel-execute-buffer' since the export process already takes care of that. [...] > Now I want to upgrade to the new Org 8.x, and I substitute > org-export-as-latin1 with org-ascii-export-to-ascii: I get the same output > content, but with unix EOL > > > I would appreciate any hint to get the desired output, i.e., CRLF EOL. > In my box, emacs.exe -Q saves new files with CRLF EOL. What happens if you set `org-export-coding-system' to `utf-8-dos'? Regards, -- Nicolas Goaziou