Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-11 Thread Bastien
Xiao-Yong Jin [EMAIL PROTECTED] writes: Eddward DeVilla [EMAIL PROTECTED] writes: I feel tempted to bring up my suggestion of [markup|text] format again, but I've been resisting because I feel like a develish nag. So [*|at-syntax] could still be html specific if you really want something

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-11 Thread Bastien
About escaping characters in LaTeX, here is the rule I'm trying to stick to: 1. If a character is a special character in LaTeX, org-export-latex.el will escape it (so that this character will be correctly displayed in the resulting .dvi.) 2. If you escape such a character in the Org

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-09 Thread Daniel Clemente
- you write C-x 8 SPC in your org files - C-x 8 SPC is exported to nbsp; on HTML - C-x 8 SPC is exported to ~ on HTML - ~ continues working normally: produces ~ on HTML and \~{} on LaTeX 100% okay. And you can add: - \~ will insert ~ in the LaTeX source Yes Sometimes

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-09 Thread Daniel Clemente
I should add that the @emat-syntax@/em: - is too HTML-specific (we need something that exports as good to LaTeX as to HTML) - and sometimes it isn't clear what to write. For instance if I want to write [1] without being processed as a footnote (on a document with footnotes on); something like

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-09 Thread Eddward DeVilla
I feel tempted to bring up my suggestion of [markup|text] format again, but I've been resisting because I feel like a develish nag. So [*|at-syntax] could still be html specific if you really want something html specific, but there would be something that could be portable to all export formats.

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-09 Thread Xiao-Yong Jin
Eddward DeVilla [EMAIL PROTECTED] writes: I feel tempted to bring up my suggestion of [markup|text] format again, but I've been resisting because I feel like a develish nag. So [*|at-syntax] could still be html specific if you really want something html specific, but there would be

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-07 Thread Daniel Clemente
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

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-07 Thread Bastien
Daniel Clemente [EMAIL PROTECTED] writes: 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. But this conversion is a strange one, Why? therefore it may be besser to offer a

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-07 Thread Bastien
Daniel Clemente [EMAIL PROTECTED] writes: - you write C-x 8 SPC in your org files - C-x 8 SPC is exported to nbsp; on HTML - C-x 8 SPC is exported to ~ on HTML - ~ continues working normally: produces ~ on HTML and \~{} on LaTeX 100% okay. And you can add: - \~ will insert ~ in the

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-04 Thread Bastien
Daniel Clemente [EMAIL PROTECTED] writes: Sorry, I wanted to say the symbol for „*nonbreaking space* could be \~ , instead of just ~ I think this would be weird. By nonbreaking character, I meant the output of C-x 8 SPC (try it). This is iso-8859-1, not ascii, so we should avoid to handle

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-03 Thread William Henney
On 11/3/07, Bastien [EMAIL PROTECTED] wrote: William Henney [EMAIL PROTECTED] writes: Here is what I have managed to work out. Apologies for answering in org syntax :) Hey this is great. I ♥ typesetting :) Me too. And the possibilities for new smilies are endless: •⋖ ⌣ Cheers Will

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Adam Spiers
On Fri, Nov 02, 2007 at 03:26:19PM +, Bastien wrote: Adam Spiers [EMAIL PROTECTED] writes: Another XHTML export question - is it possible to export special symbols such as nbsp; ? If not, perhaps the @ syntax could be extended from simple tags to these too, i.e. @nbsp; ? Have a

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Daniel Clemente
Oops! -- : dash, not hyphen :-) „hyphen is - ___ 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

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Daniel Clemente
Hi, Bastien suggested in other thread adding ~ to get a „protected space in LaTeX, and now I discover that a \nbsp is also to get a protected space in HTML. So why can't we use the same syntax for LaTeX and HTML? Some other similar signs: \- : breaking allowed ~ : protected space --

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Bastien
Adam Spiers [EMAIL PROTECTED] writes: Another XHTML export question - is it possible to export special symbols such as nbsp; ? If not, perhaps the @ syntax could be extended from simple tags to these too, i.e. @nbsp; ? Have a look at `org-html-entities'. You can use \nbsp in Org source

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Bastien
Adam Spiers [EMAIL PROTECTED] writes: You can use \nbsp in Org source file, it'll be converted to nbsp; smoothly. Perfect, thanks! Probably worth adding this to the docs? Yes, you're right. I guess (info (org)Enhancing text) is the appropriate place for that. -- Bastien

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Bastien
Daniel Clemente [EMAIL PROTECTED] writes: Bastien suggested in other thread adding ~ to get a „protected space in LaTeX, and now I discover that a \nbsp is also to get a protected space in HTML. So why can't we use the same syntax for LaTeX and HTML? Some other similar signs: \- :

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread William Henney
Hi list On 11/2/07, Bastien [EMAIL PROTECTED] wrote: I'm not sure about the the last two columns. Maybe it's simpler to let -- and --- be -- and --- in HTML output as well. Shouldn't they be `endash;' and `emdash;' in HTML? http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_Symbols Cheers Will

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Daniel Clemente
Shouldn't they be `endash;' and `emdash;' in HTML? http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_Symbols You mean ndash; and mdash; ndash; and mdash; for -- and --- respectively is ok. I think there exist no and - shy; with \-and nbsp; with ~ are also good... There exists

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread Bastien
I don't know if ~ is a good election. It should be looked for inside of words (li~ke this), but probably excluding URLs. Maybe that causes more problems to the users who want to write a literal ~. I also think this is too complex. The symbol for „breaking allowed could also be \~ ...

Re: [Orgmode] XHTML export - nbsp; etc.

2007-11-02 Thread William Henney
On 11/2/07, Daniel Clemente [EMAIL PROTECTED] wrote: Shouldn't they be `endash;' and `emdash;' in HTML? http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_Symbols You mean ndash; and mdash; Yes. Thanks for the correction. Personally, I tend to just use the unicode characters directly in my