emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: HTML export ignoring CUSTOM_ID properties


From: Daniel Clemente
Subject: Re: [O] Bug: HTML export ignoring CUSTOM_ID properties
Date: Fri, 24 Apr 2015 01:15:18 +0700
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

El Tue, 21 Apr 2015 09:25:13 +0200 Nicolas Goaziou va escriure:
> 
> Hello,
> 
> Daniel Clemente <address@hidden> writes:
> 
> > I also saw this change (diff format):
> >
> > -<div id="outline-container-sec-1-4-3-1-2" class="outline-6">
> > -<h6 id="sec-1-4-3-1-2"><span class="section-number-6">1.4.3.1.2</span> 
> > tercer error con stash</h6>
> > +<div id="outline-container-orgheadline129" class="outline-6">
> > +<h6 id="orgheadline129"><span class="section-number-6">1.4.3.1.2</span> 
> > tercer error con stash</h6>
> >
> > The #sec-1-4-3-1-2 format was better. If I delete section 1.4.3.1.2,
> > section 1.5 is still called 1.5, that's good.
> 
> And if you delete section 1.4, section 1.5 is no longer called 1.5. So
> you need to update IDs most times you change headline numbering. I don't
> think it is really better than the current state.
> 

It's good to minimize the number of changes after each export. I prefer to 
review 10 changes rather than 200. I cannot just forget and let the automatic 
export work its way; I need to review it because in every export I find many 
different export bugs or unexpected features.

While the two systems work, I don't see either why the #orgheadline129 system 
is better than the #sec-1-4-3-1-2. Not important enough to justify a breaking 
change either.


> > And what's the use of IDs if they're not permanent?
> 
> The point is that Org knows the ID associated to a given headline, and
> provides tools to access them (`org-export-get-reference' for back-end
> developers, [[*tercer error con stash]] for users).
> 

IDs are not only internal. CSS knows about it, JS too, and URLs can be built 
and shared through the web that include org IDs (myweb.com/somedoc.html#someid).



reply via email to

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