From mboxrd@z Thu Jan 1 00:00:00 1970 From: "D. C. Toedt" Subject: Internal non-PROPERTY links don't export to HTML with the "a" IDs that were assigned Date: Mon, 28 Mar 2016 08:28:53 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113cc9c0342dc1052f1be775 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akXEu-0003Jw-BV for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 09:29:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akXEq-0001DB-2U for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 09:29:52 -0400 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:34449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akXEp-0001D4-Pl for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 09:29:47 -0400 Received: by mail-ob0-x22b.google.com with SMTP id kf9so93373064obc.1 for ; Mon, 28 Mar 2016 06:29:47 -0700 (PDT) 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: emacs-orgmode@gnu.org --001a113cc9c0342dc1052f1be775 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm using the latest update from the package updater, released 2016-03-28: Org-mode version 8.3.2 (release_8.3.2-164-g50a182). I can best illustrate the problem with an example: *Org source: * See also the [[IndemnNonAssign][Indemnity rights not > =E2=80=8B=E2=80=8B > assignable]] provision. *=E2=80=8BFormer exported HTML (correct):* See also the > demnNonAssign ">Indemnity ri= g > =E2=80=8B=E2=80=8B > hts not assignable provision. =E2=80=8B=E2=80=8B *Current exported HTML (incorrect):* =E2=80=8B=E2=80=8B > See also the < > =E2=80=8B=E2=80=8B > a href=3D"#orgtarget21">Indemnity rights not assignable provision. =E2=80=8B=E2=80=8B =E2=80=8B=E2=80=8B This causes problems, because "orgtarget21" won't necessarily be assigned to the same point in the text, which in turn means that "jump cite" =E2=80= =8B=E2=80=8Blinks to specific points internal to the document will break.=E2=80=8B=E2=80=8B =E2=80=8B=E2=80=8B =E2=80=8B=E2=80=8BI scanned through the documentation but didn't see anythi= ng indicating =E2=80=8Bthat there's a setting to use assigned names instead of "orgtarget= NN" =E2=80=8B=E2=80=8B D. C. Toedt III *(My last name is pronounced "Tate")* Attorney & arbitrator -- tech contracts & IP O: +1 (713) 364-6545 C: +1 (713) 516-8968 =E2=80=8B=E2=80=8B dc@toedt.com @dctoedt =E2=80=8B Skype: dctoedt =E2=80=8B www.OnContracts.com/About =E2=80=8B=E2=80=8B Unless expressly stated otherwise, this message is not intended to serve as assent to an agreement or other document, even if attached to this message. --001a113cc9c0342dc1052f1be775 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm using the late= st update from the package updater, released 2016-03-28: =C2=A0Org-mode ver= sion 8.3.2 (release_8.3.2-164-g50a182). =C2=A0

I can best illus= trate the problem with an example:

Org source: =C2=A0

= See al= so the [[IndemnNonAssign][Indemnity rights not
=E2=80=8B=E2=80=8B
assignable]] provision.=C2=A0

=E2=80=8BFormer exported HTML (correct):


=
See also the <a href=3D"#IndemnNonAssign">Indemni= ty rig
=E2=80=8B=E2=80=8B=
hts not assignable
</a> provision.
=E2=80=8B=E2=80=8B

Current exported HTML (incorr= ect):

=E2=80=8B=E2=80=8B
See also t= he <
=E2=80= =8B=E2=80=8B
a href=3D"#orgtarget21
">Indemnity rig= hts not assignable</a> provision.=C2=A0
=E2=80=8B=E2=80=8B
=E2=80=8B=E2=80=8B
Thi= s causes problems, because "orgtarget21" won't necessarily be= assigned to the same point in the text, which in turn means that "jum= p cite" =E2=80=8B=E2=80=8Blinks to specific points internal to the doc= ument will break.=E2=80=8B=E2=80=8B
=E2=80=8B=E2=80=8B
=E2=80=8B=E2= =80=8BI scanned through the documentation but didn't see anything indic= ating =E2=80=8Bthat there's a setting to use assigned names instead of = "orgtargetNN"

=

=E2=80=8B=E2=80= =8B

D. C. Toedt III=C2=A0
(My last name = is pronounced "Tate")
A= ttorney & arbitrator -- tech contracts & IP
O:=C2=A0
+1 (7= 13) 364-6545=C2=A0 =C2=A0C:=C2=A0<= span title=3D"Call with Google Voice">+1 (713) 516-8968
=E2=80=8B=E2=80=8B
=C2=A0=C2=A0
dc@toedt.com=C2=A0 =C2=A0= =C2=A0@dctoedt= =C2=A0 =C2=A0
=E2=80=8B
Skype: dctoedt
=E2=80=8B

www.OnContracts.com/About=C2=A0=C2=A0
=E2= =80=8B=E2=80=8B


<= /span>
Unless = expressly stated otherwise,
this message=C2=A0
is not intended=C2=A0to serve
as
assent to an agreement=C2=A0or other document, =
even if=C2=A0
attached to this message.


=
=
--001a113cc9c0342dc1052f1be775-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Internal non-PROPERTY links don't export to HTML with the "a" IDs that were assigned Date: Mon, 28 Mar 2016 13:11:28 -0400 Message-ID: <87mvpi4jen.fsf@alphaville.usersys.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akaho-0001WH-Ri for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 13:12:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akahj-0006ng-RX for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 13:11:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:50133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akahj-0006nV-KU for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 13:11:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1akahh-0001Pe-D8 for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 19:11:49 +0200 Received: from pool-74-104-149-70.bstnma.fios.verizon.net ([74.104.149.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Mar 2016 19:11:49 +0200 Received: from ndokos by pool-74-104-149-70.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Mar 2016 19:11:49 +0200 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: emacs-orgmode@gnu.org "D. C. Toedt" writes: > I'm using the latest update from the package updater, released 2016-03-28:  Org-mode version 8.3.2 (release_8.3.2-164-g50a182).   > > I can best illustrate the problem with an example: > > Org source:   > > See also the [[IndemnNonAssign][Indemnity rights not > ​​ > assignable]] provision.  > > ​Former exported HTML (correct): > > See also the Indemnity rig > ​​ > hts not assignable provision. > > ​​ > > Current exported HTML (incorrect): > > ​​ > See also the < > ​​ > a href="#orgtarget21">Indemnity rights not assignable provision.  > > ​​ > > ​​ > This causes problems, because "orgtarget21" won't necessarily be assigned to the same point in the text, which in turn means that "jump cite" ​​links to specific points internal to the > document will break.​​ > ​​ Do you actually see breakage? I get Indemnity rights not assignable coupled with at the referent, which is correct I believe. So what problems are you seeing (other than that the label looks funny)? > ​​I scanned through the documentation but didn't see anything indicating > ​that there's a setting to use assigned names instead of "orgtargetNN" CUSTOM_ID - I'm muttering because I'm not sure what problem you are having and whether CUSTOM_ID can solve it. LaTeX export can override these labels with org-latex-prefer-user-labels (see its documentation for the rationale), but there is no similar provision for HTML export. The issue (actually not quite the same issue but it *is* related) last came up about a month ago: http://thread.gmane.org/gmane.emacs.orgmode/105329 and Nicolas indicated that he would be willing to accept a patch to do something similar with HTML export: http://thread.gmane.org/gmane.emacs.orgmode/105329/focus=105391 The underlying rationale in that thread was that one might want predictable labels so that they could be used e.g. in CSS to style something. -- Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: "D. C. Toedt" Subject: Re: Internal non-PROPERTY links don't export to HTML with the "a" IDs that were assigned Date: Mon, 28 Mar 2016 12:48:44 -0500 Message-ID: References: <87mvpi4jen.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f32de8893cc052f1f88b8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akbI6-0003zJ-Tt for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 13:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akbI5-00010Y-LR for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 13:49:26 -0400 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:33208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akbI5-00010U-Ck for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 13:49:25 -0400 Received: by mail-oi0-x236.google.com with SMTP id d205so180085382oia.0 for ; Mon, 28 Mar 2016 10:49:25 -0700 (PDT) In-Reply-To: <87mvpi4jen.fsf@alphaville.usersys.redhat.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: Nick Dokos Cc: emacs-orgmode@gnu.org --001a113f32de8893cc052f1f88b8 Content-Type: text/plain; charset=UTF-8 > So what problems are you seeing (other than that the label looks funny)? The problem is that the label can vary from export to export. EXAMPLE: I added a <> target ID in the paragraph before the paragraph containing <>; the result was that <> now exports as CUSTOM_ID That works for heading properties, but I'm not aware that CUSTOM_ID can be used in the text internal to a heading-designated section. > > > > --001a113f32de8893cc052f1f88b8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


=
=





--001a113f32de8893cc052f1f88b8--