emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [org-e-latex] Coding System
Date: Mon, 19 Nov 2012 14:33:22 +0100	[thread overview]
Message-ID: <20121119133322.GC27658@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <loom.20121119T082130-542@post.gmane.org>

On Mon, Nov 19, 2012 at 07:28:30AM +0000, Achim Gratz wrote:
> When the new exporter produces a TeX file that contains unicode characters,
> Emacs tries to save this file with coding systems `undecided-unix´ and
> `iso-latin1-unix´, both of which don't work of course (and the latter would
> likely be wrong for some characters).  While it should be possible to change the
> default coding systems to use, it would certainly be better if the exporter took
> note of the
> 
> \usepackage[utf8]{inputenc}
> 
> and alter the coding system for saving the TeX file accordingly.
> 

This is not an answer to the issue above; but if you are using utf-8,
should you not already be having something like this in your init file?

  (prefer-coding-system 'utf-8)

This should circumvent the problem.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2012-11-19 13:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19  7:28 [org-e-latex] Coding System Achim Gratz
2012-11-19 13:33 ` Suvayu Ali [this message]
2012-11-19 17:22   ` Achim Gratz
2012-11-19 17:46 ` Achim Gratz
2012-11-22 13:49   ` Nicolas Goaziou
2012-11-22 18:03     ` Achim Gratz
2012-11-22 20:18       ` Thomas S. Dye
2012-11-23  6:34         ` Achim Gratz
2012-11-23  7:36           ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121119133322.GC27658@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).