From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Refresh of http://orgmode.org Date: Thu, 15 Dec 2011 15:10:44 +0100 Message-ID: <87fwgm0vtn.fsf@gnu.org> References: <87k461we9q.fsf@gnu.org> <20111213215015.GA53490@kenny.fritz.box> <877h20vtkd.fsf@gmx.com> <87d3br8o14.fsf@gnu.org> <87liqfyou6.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbC0M-0005EY-IE for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 09:09:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbC0G-0005Rl-E5 for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 09:09:50 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:47114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbC0G-0005RY-9A for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 09:09:44 -0500 Received: by eekc41 with SMTP id c41so2227111eek.0 for ; Thu, 15 Dec 2011 06:09:43 -0800 (PST) In-Reply-To: <87liqfyou6.fsf@gmx.com> (Eric Schulte's message of "Wed, 14 Dec 2011 11:45:21 -0700") 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: Eric Schulte Cc: emacs-orgmode@gnu.org Hi Eric, Eric Schulte writes: > Ah, I should have known to hold my tongue! :) > > I pushed a patch up to a new "old-image" branch in the orgweb > repository, but it seems you've now taken care of this independently so > please feel free to delete that branch. Mhh.. yes, I deleted this branch. Thanks anyway! > One of my preferred layout looks something like the following, which can > lead to a small windows for Firefox. > > +----------------+---------------+ > | | | > | | | > | Firefox | Emacs | > | | | > | | | > +----------------+---------------+ > | Terminal | > +--------------------------------+ > > There is a huge difference in readability between those websites which > take variable window size into consideration and those which assume a > large screen (or a full screen browser). I'll take a shot at changing > the CSS in the orgweb repository to facility smaller layouts (I guess > some special CSS for mobile browsers may also make sense). > > ...looking... > > It looks like making the Org-mode website responsive to the viewers > window size should be as simple as adding a couple of "@media" guards > [1] to the css page. I may have time to tackle this over the weekend. > I do need some help compiling the Org-mode web page from the git > repository. Is there an org-mode publishing project which I should > define locally? I use this locally: #+begin_src emacs-lisp (setq org-publish-project-alist `(("orgweb" :base-directory "~/install/git/orgweb/" :base-extension "org" :publishing-directory "/srv/http/org-mode/" :publishing-function org-publish-org-to-html :auto-sitemap nil :section-numbers nil :table-of-contents nil :html-preamble ,(org-get-file-contents "/srv/http/org-mode/preamble.html") :html-postamble ,(org-get-file-contents "/srv/http/org-mode/postamble.html")) ("orgweb_extra" :base-directory "~/install/git/orgweb/" :base-extension "css\\|html\\|png" :publishing-directory "/srv/http/org-mode/" :publishing-function org-publish-attachment))) #+end_src ... my web server serves web pages at "/srv/http/org-mode/". I also have a project for the fr/ directory, very similar to this one. > In general how are the many file in orgweb compiled into the site? Each time someone pushes a fix to orgweb.git, there is a hook calling a script launching emacs in batch mode for publishing the website. The same way than for Worg, exactly. HTH, -- Bastien