emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] XHTML export -   etc.


From: Daniel Clemente
Subject: Re: [Orgmode] XHTML export -   etc.
Date: Wed, 7 Nov 2007 19:04:07 +0100

>
> >    If you use C-x 8 SPC in a text file, you probably want to export it
> > as ~ in LaTeX, not to include that Unicode character directly.
>
> This is what i suggested.
>
   Ok, I misunderstood because you said „so we should avoid to handle
this in Org source file"

> > But this conversion is a strange one,
>
> Why?

   Well, I didn't know the character inserted by C-x 8 SPC, and I
suppose most people don't use it frequently. However, it could be used
and that would be simple. For instance:
 - you write C-x 8 SPC in your org files
 - C-x 8 SPC is exported to   on HTML
 - C-x 8 SPC is exported to ~ on HTML
 - ~ continues working normally: produces ~ on HTML and \~{} on LaTeX


>
> > therefore it may be besser to offer a syntax for the ~ (non-breaking
> > space) in LaTeX. For instance \~ or ~
>
> I think I misunderstood at some point.  For me "\~" means "protect the
> tilde character from conversion" which means "don't escape the tilde",
> which results into a LaTeX nonbreaking-space (~).
>
   But we don't need to „protect the tilde from conversion" because ~
already writes the tilde unconverted.  \~ is still free to other uses.
   Sometimes the \ means „don't escape", sometimes not. For instance
at \- it wouldn't mean „insert a hyphen", but „breaking allowed".
   Yes, that's confusing...


Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]