As an alternative to the internal export system you can use an external command-line program.
Here are some recommended export programs:
By defining an “export profile” you can easily interface with an external program from within Emacs. A profile is essentially a shell command, interpolated with a selection of values:
%b
is the buffer-file-name
%B
is the buffer-file-name
sans extension
%n
is the user-full-name
%t
is the title (See Metadata.)
%a
is the author (See Metadata.)
%F
is the current date in ISO format
%x
is the current date in your locale’s “preferred” format
The default command profiles are only intended as examples. You are encouraged to edit/replace these to suit your own needs.
This command, bound to C-c C-e e, will prompt for an export profile. The first profile is considered default, so just hitting RET is a quick way to export in your usual way.
This option contains the list of shell command profiles for exporting. The first profile is considered the default.