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: Tue, 21 Apr 2015 12:37:05 +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 Sat, 18 Apr 2015 15:57:15 +0200 Rasmus va escriure:
> >
> > Note that this also breaks any CSS styling for the section with the
> > CUSTOM_ID (which I also use).  If I used a CUSTOM_ID because wanted a
> > swanky background for the heading saying "Bill Clinton", the current
> > export not only doesn't use that ID, it doesn't encompass the heading
> > with his name in.
> 

I was also bit by that CUSTOM_ID change. I'm not using CSS to style an element, 
like #clinton in your example, but in some places I want to define an ID 
#clinton so that I can build a URL like myweb.com/presidents/#clinton (instead 
of, say, /presidents/#orgheadline515).


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. With a flat numbering like 
#orgheadline129, deleting any headline would change the IDs of all headers 
after it. And what's the use of IDs if they're not permanent?





reply via email to

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