emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Testing: org-export-e-html


From: Nicolas Goaziou
Subject: Re: [O] Testing: org-export-e-html
Date: Wed, 30 May 2012 13:07:23 +0200

Hello,

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="#directors">Directors</a>"

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:
>
>    # <<directors>>
>    * A First Section
>
> becomes:
>
>    <div id="outline-container-1" class="outline-2">
>    <h2 id="sec-1">A First Section</h2>
>    <div class="outline-text-2" id="text-1">
>
> Was expecting:
>
>    <div id="outline-container-1" class="outline-2">
>    <h2 id="sec-1"><a name="directors" id="directors"></a>A First
> Section</h2>
>    <div class="outline-text-2" id="text-1">

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

Use :

* <<directors>> A First Section

instead.


Regards,

-- 
Nicolas Goaziou



reply via email to

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