emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "William Henney" <whenney@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: XHTML export - &nbsp; etc.
Date: Sat, 3 Nov 2007 08:23:26 -0600	[thread overview]
Message-ID: <41c818190711030723h31deef27nd921b32a276f3f07@mail.gmail.com> (raw)
In-Reply-To: <87ve8j8mj3.fsf@bzg.ath.cx>

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

Hi Bastien

On 11/3/07, Bastien <bzg@altern.org> wrote:
> "William Henney" <whenney@gmail.com> writes:
>
> > Personally, I tend to just use the unicode characters directly in my
> > org file. This works quite well om the whole (see attached example).
>
> This is *very* nice.
>

Glad you liked it

> I attach the corresponding .tex source and a .pdf output.
>
> I used org-export-latex.el for this.  I had to handle backslashes issues
> (hopefully this will be fixed in org-export-latex.el)

That would be great!

> and some unicode
> characters could not be printed:
>
> Unicode characters: ✧ ♥ ⊼ ⋓ ∡ □ ϑ
>
> ERROR: Package ucs Error: Unknown Unicode character 9829 = U+2665,
>
> I don't have any clue on how this could be handled...
>

Here is what I have managed to work out. Apologies for answering in
org syntax :)

------------------------------------------------------------------------
*** Second update [2007-11-03 Sat]
**** Finding LaTeX definitions for obscure symbols
     Look in the
[[http://www.ctan.org/tex-archive/info/symbols/comprehensive/][Comprehensive
LaTeX Symbol List]] to find the package
     where each symbol is defined.
     + =\usepackage{amssymb}= provides lots of the more obscure math
       symbols, such as ⋓ (=\Cup=).
**** Telling =ucs.sty= about symbols it doesn't understand
     We can use something like
:\DeclareUnicodeCharacter{977}{\ensuremath{\vartheta}}
     + Note that the code (e.g., 977) can be found from the TeX error
       message. It seems to be decimal, but I still haven't worked out
       its relation to the Unicode hex code.
     + A better way might be to add the new definitions to the ucs
       config files and run =makeunidef.pl=
------------------------------------------------------------------------

Attached are example .tex and .pdf that work for me.

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

[-- Attachment #2: unicode-test.tex --]
[-- Type: application/x-tex, Size: 801 bytes --]

[-- Attachment #3: unicode-test.pdf --]
[-- Type: application/pdf, Size: 22723 bytes --]

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2007-11-03 14:23 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 12:13 XHTML export - customizing via local variables Adam Spiers
2007-11-02 12:20 ` XHTML export - &nbsp; etc Adam Spiers
2007-11-02 15:26   ` Bastien
2007-11-02 15:19     ` Adam Spiers
2007-11-02 15:33       ` Daniel Clemente
2007-11-02 15:34         ` Daniel Clemente
2007-11-02 19:21         ` Bastien
2007-11-02 18:50           ` William Henney
2007-11-02 20:20             ` Daniel Clemente
2007-11-03  0:06               ` Bastien
2007-11-04  0:00                 ` Daniel Clemente
2007-11-04 12:45                   ` Bastien
2007-11-07 16:09                     ` Daniel Clemente
2007-11-07 17:39                       ` Bastien
2007-11-07 18:04                         ` Daniel Clemente
2007-11-08  0:48                           ` Bastien
2007-11-09 19:51                             ` Daniel Clemente
2007-11-09 19:59                               ` Daniel Clemente
2007-11-09 22:37                                 ` Eddward DeVilla
2007-11-09 23:40                                   ` Xiao-Yong Jin
2007-11-12  5:07                                     ` Bastien
2007-11-12  5:22                               ` Bastien
2007-11-03  6:10               ` William Henney
2007-11-03 13:51                 ` Bastien
2007-11-03 14:23                   ` William Henney [this message]
2007-11-03 15:51                     ` Bastien
2007-11-03 16:46                       ` William Henney
2007-11-03  0:04             ` Bastien
2007-11-02 18:46       ` Bastien
2007-11-02 15:45 ` XHTML export - customizing via local variables Bastien

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=41c818190711030723h31deef27nd921b32a276f3f07@mail.gmail.com \
    --to=whenney@gmail.com \
    --cc=bzg@altern.org \
    --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).