From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: html export - howto change UP|HOME link style? Date: Sun, 15 Nov 2009 00:02:42 +0100 Message-ID: <87ocn44sml.fsf@gmx.de> References: <1bcd1ad60911140851k6e859dech39074e3b977f9541@mail.gmail.com> <87r5s0zqzt.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9Rdz-00064A-5M for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 18:02:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9Rdu-000633-2C for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 18:02:58 -0500 Received: from [199.232.76.173] (port=42453 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9Rdt-000630-Jb for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 18:02:54 -0500 Received: from mail.gmx.net ([213.165.64.20]:37097) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N9Rds-0004KM-RW for emacs-orgmode@gnu.org; Sat, 14 Nov 2009 18:02:53 -0500 In-Reply-To: <87r5s0zqzt.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Sat, 14 Nov 2009 17:22:14 -0500") 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: Bernt Hansen Cc: Eraldo Helal , Org-Mode , carsten.dominik@gmail.com --=-=-= 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 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=org-html-link-up-and-home.patch 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." -%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) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--