all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* DOS (CRLF) EOL in org-ascii-export-to-ascii
@ 2013-10-14 11:08 Miguel Ruiz
  2013-10-14 14:24 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Miguel Ruiz @ 2013-10-14 11:08 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]

Hi,

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


file.org is an unix EOL file.

report.el contains:

(require 'cl)
(require 'org)

(setq org-table-number-fraction 0.2)
(org-babel-lob-ingest "lob-table-operations.org")
(add-hook 'org-babel-after-execute-hook 'org-table-recalculate-buffer-tables) 

(setq org-confirm-babel-evaluate nil)
(setq org-export-html-postamble nil)

And it creates an ascii file with dos EOL (CRLF), i.e., it opens in notepad.exe perfectly formatted.

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.

Sincerely

Miguel Ruiz.
Sevilla (Spain)

[-- Attachment #2: Type: text/html, Size: 4040 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-14 16:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 11:08 DOS (CRLF) EOL in org-ascii-export-to-ascii Miguel Ruiz
2013-10-14 14:24 ` Nicolas Goaziou
2013-10-14 16:44   ` Miguel Ruiz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.