From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: PocketMod for org-mode Date: Wed, 17 Oct 2007 01:19:28 +0200 Message-ID: <87zlyiprzz.fsf@novell.com> 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 1IhvhS-00040I-LM for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 19:19:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhvhR-0003zI-Vj for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 19:19:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhvhR-0003ys-N6 for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 19:19:45 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IhvhQ-0000Uk-Ud for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 19:19:45 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IhvhM-00051P-9J for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 23:19:40 +0000 Received: from 77-56-57-9.dclient.hispeed.ch ([77.56.57.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Oct 2007 23:19:40 +0000 Received: from christian.egli by 77-56-57-9.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Oct 2007 23:19:40 +0000 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: emacs-orgmode@gnu.org --=-=-= Hi all With my increased use of org-mode I have also started using M-x calendar and the diary. For a while I've been wanting to have a printed version of my calendar for offline use. Also I quite like the idea of the pocketMod. Now the calendar mode itself can generate some quite fancy latex printouts that include your diary entries. So over the weekend I tried to generate a calendar similar to the pocketMod from the calendars you can create from within Emacs. The attached script generates a pocketMod style pdf which contains the next four weeks, the next three months and the current year on one page. It also generates a hipsterPDA style printout which contains the same calendars to be used in hipsterPDA style. I guess the script is meant as a starting point. You could possibly add an export of your most important TODOs or possibly other stuff. One thing that I'm not quite happy with is that the printouts are very small and you almost need a magnifying glass to read them. Maybe some experiments with the fonts and font sizes are in order. Also for some reason the batch jobs do not seem to use the settings from ~/.emacs (despite the -l ~/.emacs option). I need this to set the preamble in the generated latex (e.g. for stuff like (setq cal-tex-preamble-extra "\\usepackage[utf8]{inputenc}")). So enjoy your printouts and send me feedback and enhancements :-) Christian --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=Makefile Content-Transfer-Encoding: base64 Content-Description: Makefile to generate a pocketMod RU1BQ1MgPSBlbWFjcyAtYmF0Y2ggLWwgfi8uZW1hY3MKTEFURVggPSBsYXRleAoKcGRmRmlsZXMg PSAgd2Vla0NhbGVuZGFyLnBkZiB5ZWFyQ2FsZW5kYXIucGRmIG1vbnRoQ2FsZW5kYXIzLnBkZiBt b250aENhbGVuZGFyMi5wZGYgbW9udGhDYWxlbmRhcjEucGRmCgphbGw6IHBvY2tldE1vZC5wZGYg aGlwc3RlclBEQS5wZGYKCiUuZHZpOiAlLnRleAoJJChMQVRFWCkgJF4KCiUucGRmOiAlLmR2aQoJ ZHZpcGRmICReCgp3ZWVrQ2FsZW5kYXIudGV4OiB+L2RpYXJ5CgkkKEVNQUNTKSAtZXZhbCAiKHBy b2duIChjYWxlbmRhcikgKGNhbC10ZXgtY3Vyc29yLXdlZWstaXNvIDQpICh3aXRoLWN1cnJlbnQt YnVmZmVyIGNhbC10ZXgtYnVmZmVyICh3cml0ZS1maWxlIFwiJEBcIikpKSIKCm1v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7IGRv IFwKCQkJcGRmOTAgLS1vdXRmaWxlIHRtcC5wZGYgJCRwZGY7IG12IHRtcC5wZGYgJCRwZGY7IFwK CQlkb25lOyBcCglkb25lCglwZGZqb2luIC0tb3V0ZmlsZSB0bXAucGRmICReCglwZGZudXAgdG1w LnBkZiAtLW91dGZpbGUgJEAgLS1udXAgNHgyIC0tZnJhbWUgdHJ1ZQoKaGlwc3RlclBEQS5wZGY6 ICQocGRmRmlsZXMpCglwZGZudXAgd2Vla0NhbGVuZGFyLnBkZiAtLW91dGZpbGUgcGFnZTEucGRm IC0tbnVwIDJ4MiAtLWZyYW1lIHRydWUKCXBkZmpvaW4gLS1vdXRmaWxlIHRtcC5wZGYgbW9udGhD YWxlbmRhcioucGRmIHllYXJDYWxlbmRhci5wZGYKCXBkZm51cCB0bXAucGRmIC0tb3V0ZmlsZSBw YWdlMi5wZGYgLS1udXAgMngyIC0tZnJhbWUgdHJ1ZQoJcGRmam9pbiAtLW91dGZpbGUgJEAgcGFn ZTEucGRmIHBhZ2UyLnBkZgoKY2xlYW46CglybSAtcmYgKi5hdXggKi5kdmkgKi50ZXggKi5sb2cg Ki5wZGYK --=-=-= 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 --=-=-=--