From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: links and anchors Date: Fri, 27 Dec 2013 12:29:01 +0100 Message-ID: <87r48yr0qq.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwVb1-00047X-J8 for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 06:28:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VwVaq-00065l-Pp for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 06:28:51 -0500 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:35250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VwVaq-00065a-ID for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 06:28:40 -0500 Received: by mail-we0-f174.google.com with SMTP id q58so7973460wes.19 for ; Fri, 27 Dec 2013 03:28:39 -0800 (PST) In-Reply-To: (Rustom Mody's message of "Fri, 27 Dec 2013 16:34:42 +0530") 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: Rustom Mody Cc: emacs-orgmode Hello, Rustom Mody writes: > Context is html export > > I have a file of quotes like the following > ------------------ > * Declarative vs Imperative > Never tell people how to do things. Tell them what to do and they will > surprise you with their ingenuity \\ > General G.S.Patton (1941) > ----------------- > which I link from another file > > Now if > 1. I put the anchor <> inside the body then the header > vanishes on following the link > 2. If I write it as > * Declarative and Imperative <> > it works well but the header looks ugly at least in org though not on export > 3. Looking at the generated html I see the autogenerated sec-9 for > that para can be used. But then Ive to keep synced with what is > auto-generated. > > What do people use for this situation? Did you try custom-id? See section 4.2 in manual. Regards, -- Nicolas Goaziou