From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Shi Subject: Re: A Mark-up rule question Date: Wed, 6 May 2009 11:41:36 -0400 Message-ID: <5236d6f90905060841j4f9888a9t899be8f85777ab05@mail.gmail.com> References: <878wlu4504.fsf@kassiopeya.MSHEIMNETZ> <1C0AD4AD-93F3-4E5E-B8CB-FA977F0523C9@gmail.com> <49EE5F3F.5040506@gmail.com> <928BC01C-35EA-48E0-9ACD-6C0A537B21F2@gmail.com> <49EF27EA.8030607@gmail.com> <9F79EB8C-436E-47C9-BDC2-94BA7ACA1B43@gmail.com> <5236d6f90905060608x5a36c9cew9752258624d26940@mail.gmail.com> <9F0CA90D-39E6-4488-A487-3D8D60699038@gmail.com> <87bpq644zt.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1041593724==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1jFg-0006pA-4c for emacs-orgmode@gnu.org; Wed, 06 May 2009 11:41:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1jFb-0006lY-9A for emacs-orgmode@gnu.org; Wed, 06 May 2009 11:41:43 -0400 Received: from [199.232.76.173] (port=46710 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1jFb-0006lT-3l for emacs-orgmode@gnu.org; Wed, 06 May 2009 11:41:39 -0400 Received: from mail-bw0-f161.google.com ([209.85.218.161]:62874) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1jFa-0003NI-HH for emacs-orgmode@gnu.org; Wed, 06 May 2009 11:41:38 -0400 Received: by bwz5 with SMTP id 5so213732bwz.42 for ; Wed, 06 May 2009 08:41:37 -0700 (PDT) In-Reply-To: <87bpq644zt.fsf@kassiopeya.MSHEIMNETZ> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode@gnu.org --===============1041593724== Content-Type: multipart/alternative; boundary=001636c923d717872e0469403b23 --001636c923d717872e0469403b23 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Carsten and Sebastian, Thanks for your suggestions! It seems the choice of unicode or not is up to the developer for coding that part. For documentation purpose only, I would prefer to have a first draft of character table which only contains two columns on Worg page: | Symbol | Org | |---------+-----------+ | \nbsp | ~\nbsp~ | | \iexcl | ~\iexcl~ | | \cent | ~\cent~ | Is that OK? Xin On Wed, May 6, 2009 at 11:37 AM, Sebastian Rose wrote: > Forgot to say: > > It's always a good idea to use the unicode entity notations in (X)HTML, > since you will not get an error `undefined entity...' > > Example: > > Use ` ' instead of ` ' > > > Regards > > Sebastian > > Carsten Dominik writes: > > On May 6, 2009, at 3:08 PM, Xin Shi wrote: > > > >> > >> > >> On Wed, May 6, 2009 at 6:30 AM, Carsten Dominik < > carsten.dominik@gmail.com > >> > wrote: > >> > >> On Apr 22, 2009, at 4:21 PM, Xin Shi wrote: > >> > >> Hi Carsten, > >> > >> That's great! It would be nice that we document all of this symbols in > the > >> manual. > >> > >> Are you volunteering to make this table? :-) > >> > >> Sure. I'll be glad to do that :) > >> > >> Could you tell me the format and where to put the documents? > > > > > > Maybe as a Worg page, so the format would be org-mode: > > > > * Table of special symbol macros > > > > | Symbol | Org | HTML | LaTeX | > > |--------+----------+-----------+----------| > > | \vert | ~\vert~ | ~|~ | ~\vert~ | > > | \alpha | ~\alpha~ | ~α~ | ~\alpha~ | > > > > > > > > > > Note that HTML and LaTeX are not always the same word, only sometimes. > > In org-html-entities you can see this by looking at entries which > > are a cons cell, for example > > > > ("star" . "*") means "\star" in LaTeX, and "*" in HTML. > > > > I think many of these symbols have never been tried, so exporting > > this document to HTML and to LaTeX will be an interesting exercise > > and probably help us fix some bugs. > > > > Thanks! > > > > - Carsten > > > > > > > > > > > > > >> > >> > >> > >> - Carsten > >> > >> > >> > >> > >> Xin > >> > >> > > > > > > > > _______________________________________________ > > 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 > > > --001636c923d717872e0469403b23 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Carsten and Sebastian,

Thanks for your suggestions!

It se= ems the choice of unicode or not=A0 is up to the developer for coding that = part. For documentation purpose only,=A0 I would prefer to have a first dra= ft of character table which only contains two columns on Worg page:

=A0 | Symbol=A0 | Org=A0=A0=A0=A0=A0=A0 |
=A0 |---------+-----------= +
=A0 | \nbsp=A0=A0 | ~\nbsp~=A0=A0 |
=A0 | \iexcl=A0 | ~\iexcl~=A0 |=
=A0 | \cent=A0=A0 | ~\cent~=A0=A0 |
=A0
Is that OK?

Xin


On Wed, May 6, 2009 at 11:37 AM, Se= bastian Rose <sebastian_rose@gmx.de> wrote:
Forgot to say:
It's always a good idea to use the unicode entity notations in (X)HTML,=
since you will not get an error `undefined entity...'

Example:

=A0Use `&#160;' instead of `&nbsp;'


Regards

=A0Sebastian

Carsten Dominik <carsten.do= minik@gmail.com> writes:
> On May 6, 2009, at 3:08 PM, Xin Shi wrote:
>
>>
>>
>> On Wed, May 6, 2009 at 6:30 AM, Carsten Dominik <carsten.dominik@gmail.com
>> > wrote:
>>
>> On Apr 22, 2009, at 4:21 PM, Xin Shi wrote:
>>
>> Hi Carsten,
>>
>> That's great! It would be nice that we document all of this sy= mbols in the
>> manual.
>>
>> Are you volunteering to make this table? =A0:-)
>>
>> Sure. I'll be glad to do that :)
>>
>> Could you tell me the format and where to put the documents?
>
>
> Maybe as a Worg page, so the format would be org-mode:
>
> * Table of special symbol macros
>
> =A0| Symbol | Org =A0 =A0 =A0| HTML =A0 =A0 =A0| LaTeX =A0 =A0|
> =A0|--------+----------+-----------+----------|
> =A0| \vert =A0| ~\vert~ =A0| ~&vert;~ =A0| ~\vert~ =A0|
> =A0| \alpha | ~\alpha~ | ~&alpha;~ | ~\alpha~ |
>
>
>
>
> Note that HTML and LaTeX are not always the same word, only sometimes.=
> In org-html-entities you can see this by looking at entries which
> are a cons cell, for example
>
> ("star" . "*") means "\star" in LaTeX, a= nd "*" in HTML.
>
> I think many of these symbols have never been tried, so exporting
> this document to HTML and to LaTeX will be an interesting exercise
> and probably help us fix some bugs.
>
> Thanks!
>
> - Carsten
>
>
>
>
>
>
>>
>>
>>
>> - Carsten
>>
>>
>>
>>
>> Xin
>>
>>
>
>
>
> ________________________= _______________________
> 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
>

--001636c923d717872e0469403b23-- --===============1041593724== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1041593724==--