From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Crandall Subject: Re: Testing: org-export-e-html Date: Wed, 30 May 2012 16:53:05 -0700 Message-ID: References: <87396i3p1w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff252eefb6dab04c149a601 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZshR-0000gs-Fj for emacs-orgmode@gnu.org; Wed, 30 May 2012 19:53:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZshP-0002Tl-DP for emacs-orgmode@gnu.org; Wed, 30 May 2012 19:53:08 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:43471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZshP-0002Tf-3S for emacs-orgmode@gnu.org; Wed, 30 May 2012 19:53:07 -0400 Received: by obbwd18 with SMTP id wd18so580125obb.0 for ; Wed, 30 May 2012 16:53:05 -0700 (PDT) In-Reply-To: <87396i3p1w.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Jambunathan K --e89a8ff252eefb6dab04c149a601 Content-Type: text/plain; charset=ISO-8859-1 Hello Nicolas, Thanks for clarifying link syntax. I think I'm more than half way there! I can now create targets/destinations: This: ** <>BC Crandall becomes:

BC Crandall

As expected. But creating a link TO that "id" target eludes me. This: [[#crandall][BC Crandall]] becomes: BC Crandall Was expecting: BC Crandall I was expecting that link (not italicized) because of the in the

, in that file. Sorry if I'm being obtuse here! Thanks again for your help, -BC > Hello, > > William Crandall writes: > > >* 2a. Internal HTML links (#)* > > > > > >* Neither links nor destinations make it into the html.* > > > >* This:* > > > >* "an internal section link [[#directors][Directors]]."* > > > >* becomes:* > > > >* "an internal section link: Directors.* > > > >* Was expecting (without italics):* > > > >* ""an internal section link: Directors"* > > I think your mixing up syntax here: "#" stands for custom-id links. > > In other words, [[#directors][Directors]] is a link pointing to an > headline whose CUSTOM-ID property is "directors". If there's no such > headline, it will return Directors italicized. > > If you're targeting an headline, provide it an appropriate CUSTOM-ID. > Otherwise, just use a target. > > > >* 2b. This target:* > > > >* # <>* > >* * A First Section* > > > >* becomes:* > > > >*
* > >*

A First Section

* > >*
* > > > >* Was expecting:* > > > >*
* > >*

A First* > >* Section

* > >*
* > > "# <>" syntax has been dropped since every target is now > "invisible". > > Use : > > * <> A First Section > > instead. > > > Regards, > > -- > Nicolas Goaziou > > --e89a8ff252eefb6dab04c149a601 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hello Nicolas,

Thanks for clarifying lin= k syntax.
I think I'm more than half way t= here!

I can now create targets/destinations:

This:
=A0=A0=A0 ** <<crandall>>BC Crandall

becomes:
=A0=A0=A0 <= h3 id=3D"sec-1-1"><a id=3D"crandall" name=3D"= ;crandall"/>BC Crandall</h3>

As expected.


But creating a link TO th= at "id" target eludes me.

This:
=A0=A0=A0 [[#crandall][BC= Crandall]]

becomes:
=A0=A0=A0 <i>BC Cra= ndall</i>

Was expecting:
=A0=A0=A0 <a href=3D&q= uot;#crandall">BC Crandall</a>

I was expecting that link= (not italicized) because
of the <a id=3D&= quot;crandall"/> in the <h3>, in that file.

Sorry if I'm being obtuse here!

Thanks again for your hel= p,

-BC
=A0
Hell=
o,

William Crandall <address@hidden> writes:

> 2a. Internal HTML links (#)
>
>
> Neither links nor destinations make it into the html.
>
> This:
>
>     "an internal section link [[#directors][Directors]]."=

>
> becomes:
>
>    "an internal section link: <i>Directors</i>.
>
> Was expecting (without italics):
>
>    ""an internal section link: <a href=3D"#direct=
ors">Directors</a>"

I think your mixing up syntax here: "#" stands for custom-id link=
s.

In other words, [[#directors][Directors]] is a link pointing to an
headline whose CUSTOM-ID property is "directors". If there's =
no such
headline, it will return Directors italicized.

If you're targeting an headline, provide it an appropriate CUSTOM-ID.
Otherwise, just use a target.


> 2b. This target:
>
>    # <<directors>>
>    * A First Section
>
> becomes:
>
>    <div id=3D"outline-container-1" class=3D"outli=
ne-2">
>    <h2 id=3D"sec-1">A First Section</h2>
>    <div class=3D"outline-text-2" id=3D"text-1&quo=
t;>
>
> Was expecting:
>
>    <div id=3D"outline-container-1" class=3D"outli=
ne-2">
>    <h2 id=3D"sec-1"><a name=3D"directors&qu=
ot; id=3D"directors"></a>A First
> Section</h2>
>    <div class=3D"outline-text-2" id=3D"text-1&quo=
t;>

"# <<target>>" syntax has been dropped since every ta=
rget is now
"invisible".

Use :

* <<directors>> A First Section

instead.


Regards,

--=20
Nicolas Goaziou
--e89a8ff252eefb6dab04c149a601--