From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: html export - howto change UP|HOME link style? Date: Tue, 17 Nov 2009 15:12:15 +0100 Message-ID: References: <1bcd1ad60911140851k6e859dech39074e3b977f9541@mail.gmail.com> <87r5s0zqzt.fsf@gollum.intra.norang.ca> <87ocn44sml.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAOnA-0002h3-CK for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 09:12:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAOn5-0002ev-Fg for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 09:12:23 -0500 Received: from [199.232.76.173] (port=54529 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAOn5-0002en-Ad for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 09:12:19 -0500 Received: from mail-qy0-f196.google.com ([209.85.221.196]:49501) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAOn4-0002IQ-V4 for emacs-orgmode@gnu.org; Tue, 17 Nov 2009 09:12:19 -0500 Received: by qyk34 with SMTP id 34so7532qyk.14 for ; Tue, 17 Nov 2009 06:12:18 -0800 (PST) In-Reply-To: <87ocn44sml.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: Bernt Hansen , Eraldo Helal , Org-Mode OK, I have applied the patch. But: Is it really correct that these links should be inside the content div? - Cartsen On Nov 15, 2009, at 12:02 AM, Sebastian Rose wrote: > Bernt Hansen writes: >> ,----[ test.org exported to HTML buffer ] >> | >> |
>> | UP >> | | >> | HOME >> |
>> | >> | test.org >> `---- >> >> Shouldn't the up and home links both be moved to the body of the >> page, >> stripped of their in-line style info (text-align, font-size, >> white-space) and use CSS for this instead? I think that might be >> more >> flexible for formatting. > > > > This patch fixes it. I've put the LINK_UP and ..._HOME directly after > the tag: > > > ----- HERE --- >
> > .. > > > The links can be formated customizing the variable > > `org-export-html-home/up-format' > > > > Sebastian > > > diff --git a/lisp/org-html.el b/lisp/org-html.el > index 11a692e..66cc86b 100644 > --- a/lisp/org-html.el > +++ b/lisp/org-html.el > @@ -753,7 +753,6 @@ PUB-DIR is set, use this as the publishing > directory." > lang=\"%s\" xml:lang=\"%s\"> > > -%s > %s > > > @@ -765,6 +764,7 @@ lang=\"%s\" xml:lang=\"%s\"> > > >
> +%s > " > (format > (or (and (stringp org-export-html-xml-declaration) > @@ -775,17 +775,17 @@ lang=\"%s\" xml:lang=\"%s\"> > "") > (or charset "iso-8859-1")) > language language > + (org-html-expand title) > + (or charset "iso-8859-1") > + date author description keywords > + style > (if (or link-up link-home) > (concat > (format org-export-html-home/up-format > (or link-up link-home) > (or link-home link-up)) > "\n") > - "") > - (org-html-expand title) > - (or charset "iso-8859-1") > - date author description keywords > - style)) > + ""))) > > (org-export-html-insert-plist-item opt-plist :preamble opt- > plist) > - Carsten