From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Testing: org-export-e-html Date: Thu, 31 May 2012 09:58:48 +0530 Message-ID: <81bol5m0sf.fsf@gmail.com> References: <87396i3p1w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZx0Y-0003DP-Ej for emacs-orgmode@gnu.org; Thu, 31 May 2012 00:29:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZx0V-0007rb-RK for emacs-orgmode@gnu.org; Thu, 31 May 2012 00:29:09 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:59179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZx0V-0007rV-EN for emacs-orgmode@gnu.org; Thu, 31 May 2012 00:29:07 -0400 Received: by dakp5 with SMTP id p5so737999dak.0 for ; Wed, 30 May 2012 21:29:04 -0700 (PDT) In-Reply-To: (William Crandall's message of "Wed, 30 May 2012 16:53:05 -0700") 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: William Crandall Cc: emacs-orgmode@gnu.org, Nicolas Goaziou --=-=-= Content-Type: text/plain For some reasons, the link type becomes "custom-id". See the attached files - links.org and links.el. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=links.el Content-Transfer-Encoding: quoted-printable (org-data nil=0D (headline=0D (:raw-value "<> BC Crandall" :title=0D ((target=0D (:begin 1 :end 10 :value "aaaa" :post-blank 1))=0D "BC Crandall")=0D :begin 1 :end 67 :pre-blank 0 :hiddenp nil :contents-begin 24 :con= tents-end 66 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type = nil :scheduled nil :deadline nil :timestamp nil :clock nil :post-blank 1 :f= ootnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :custom-i= d "bbbb" :category "links")=0D (section=0D (:begin 24 :end 66 :contents-begin 24 :contents-end 66 :post-blank 0)= =0D (property-drawer=0D (:begin 24 :end 66 :hiddenp nil :properties=0D (("CUSTOM_ID" . "bbbb"))=0D :post-blank 0))))=0D (headline=0D (:raw-value "Link1" :title=0D ("Link1")=0D :begin 67 :end 122 :pre-blank 1 :hiddenp nil :contents-begin 76 :c= ontents-end 120 :level 1 :priority nil :tags nil :todo-keyword nil :todo-ty= pe nil :scheduled nil :deadline nil :timestamp nil :clock nil :post-blank 2= :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :categ= ory "links")=0D (section=0D (:begin 76 :end 120 :contents-begin 76 :contents-end 120 :post-blank 0= )=0D (keyword=0D (:key "TARGET" :value "cccc" :begin 76 :end 92 :post-blank 1))=0D (paragraph=0D (:begin 92 :end 120 :contents-begin 92 :contents-end 119 :post-blank = 0)=0D (link=0D (:type "custom-id" :path "aaaa" :raw-link "#aaaa" :begin 92 :end 119= :contents-begin 101 :contents-end 117 :post-blank 0)=0D "Some description"))))=0D (headline=0D (:raw-value "Link2" :title=0D ("Link2")=0D :begin 122 :end 160 :pre-blank 1 :hiddenp nil :contents-begin 131 = :contents-end 159 :level 1 :priority nil :tags nil :todo-keyword nil :todo-= type nil :scheduled nil :deadline nil :timestamp nil :clock nil :post-blank= 1 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :cat= egory "links")=0D (section=0D (:begin 131 :end 159 :contents-begin 131 :contents-end 159 :post-blank= 0)=0D (paragraph=0D (:begin 131 :end 159 :contents-begin 131 :contents-end 158 :post-blan= k 0)=0D (link=0D (:type "custom-id" :path "bbbb" :raw-link "#bbbb" :begin 131 :end 15= 8 :contents-begin 140 :contents-end 156 :post-blank 0)=0D "Some description"))))=0D (headline=0D (:raw-value "Link3" :title=0D ("Link3")=0D :begin 160 :end 197 :pre-blank 1 :hiddenp nil :contents-begin 169 = :contents-end 197 :level 1 :priority nil :tags nil :todo-keyword nil :todo-= type nil :scheduled nil :deadline nil :timestamp nil :clock nil :post-blank= 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :cat= egory nil)=0D (section=0D (:begin 169 :end 197 :contents-begin 169 :contents-end 197 :post-blank= 0)=0D (paragraph=0D (:begin 169 :end 197 :contents-begin 169 :contents-end 196 :post-blan= k 0)=0D (link=0D (:type "custom-id" :path "cccc" :raw-link "#cccc" :begin 169 :end 19= 6 :contents-begin 178 :contents-end 194 :post-blank 0)=0D "Some description")))))=0D --=-=-= Content-Type: text/x-org Content-Disposition: link; filename=links.org * <> BC Crandall :PROPERTIES: :CUSTOM_ID: bbbb :END: * Link1 #+target: cccc [[#aaaa][Some description]] * Link2 [[#bbbb][Some description]] * Link3 [[#cccc][Some description]] --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable William Crandall writes: > Hello Nicolas, > > Thanks for clarifying link syntax. > I think I'm more than half way there! > > I can now create targets/destinations: > > This: > =C2=A0=C2=A0=C2=A0 ** <>BC Crandall > > becomes: > =C2=A0=C2=A0=C2=A0

BC Crandall h3> > > As expected. > > > But creating a link TO that "id" target eludes me. > > This: > =C2=A0=C2=A0=C2=A0 [[#crandall][BC Crandall]] > > becomes: > =C2=A0=C2=A0=C2=A0 BC Crandall > > Was expecting: > =C2=A0=C2=A0=C2=A0 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 > =C2=A0 > > Hello, >=20=20=20=20=20 > William Crandall writes: >=20=20=20=20=20 > > 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" >=20=20=20=20=20 > I think your mixing up syntax here: "#" stands for custom-id links. >=20=20=20=20=20 > 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. >=20=20=20=20=20 > If you're targeting an headline, provide it an appropriate CUSTOM-ID. > Otherwise, just use a target. >=20=20=20=20=20 >=20=20=20=20=20 > > 2b. This target: > > > > # <> > > * A First Section > > > > becomes: > > > >
> >

A First Section

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

A Fi= rst > > Section

> >
>=20=20=20=20=20 > "# <>" syntax has been dropped since every target is now > "invisible". >=20=20=20=20=20 > Use : >=20=20=20=20=20 > * <> A First Section >=20=20=20=20=20 > instead. >=20=20=20=20=20 >=20=20=20=20=20 > Regards, >=20=20=20=20=20 > --=20 > Nicolas Goaziou >=20=20=20=20=20 --=-=-=--