From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: Add agenda entries into diary to export weelky calendar Date: Wed, 27 Feb 2013 23:26:21 +0100 Message-ID: References: <87vc9d8xt3.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160c18c8008a104d6bc435f Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UApSg-00017D-FK for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 17:27:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UApST-0000Ns-H3 for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 17:26:48 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:48541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UApSS-0000HU-1E for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 17:26:41 -0500 Received: by mail-ee0-f41.google.com with SMTP id c13so928792eek.14 for ; Wed, 27 Feb 2013 14:26:21 -0800 (PST) In-Reply-To: <87vc9d8xt3.fsf@ucl.ac.uk> 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: Torsten Wagner , Org Mode Mailing List --089e0160c18c8008a104d6bc435f Content-Type: text/plain; charset=ISO-8859-1 Hi Eric, thanks for the tip. I tried this already. Its printing but has some drawbacks. E.g. I use high resolution monitors in vertical (pivot) mode and a tiling window manager. calfw scales to the current buffer size and this is unfortunately not really compatible with printing. In summary this solution might have to many ways to go wrong. However, I noticed a much more interesting way. calfw buffer look almost like org-tables. And voila saving the buffer as org-file and a minimum of modifications allows me to export the calendar with both the html and pdf exporter. I just try to tell org-mode/latex/html to keep the height of the rows constant and independent of the content of the cell. Guess if I get this right, everything could be done in a little piece of elisp. Alternatively, Sakurai san may like to create an official cfw:export-view-to-org could be part of calfw-org. This would also allow people to archive calendar views in org-mode files. Lets see how this is going. Thanks again Torsten On 27 February 2013 18:35, Eric S Fraga wrote: > Torsten Wagner writes: > > [...] > > > I read about calfw and org2hpda. However, I did not found a way to > generate > > a printable version of calfw (and I had trouble to set it up). For > org2hpda > > I still struggle with the installation and it seems to be broken at the > > moment. Not sure. > > You could print the calendar produced by calfw by > > C-u M-x ps-print-buffer-with-faces RET > > from the *cfw-calendar* buffer. This command (because of the C-u) will > prompt for a file to place the postscript into. You can print without > faces (i.e. no colour) with ps-print-buffer. You can then convert PS to > PDF if so desired. > > You may wish to set ps-print-landscape to t. > > HTH, > eric > > -- > : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D > : in Emacs 24.3.50.1 and Org release_7.9.3f-1285-g6cc600 > > --089e0160c18c8008a104d6bc435f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Eric,
thanks for the tip. I tried this already. Its= printing but has some drawbacks. E.g. I use high resolution monitors in ve= rtical (pivot) mode and a tiling window manager. calfw scales to the curren= t buffer size and this is unfortunately not really compatible with printing= . In summary this solution might have to many ways to go wrong.

However, I noticed a much more=A0interesting way. calfw= buffer look almost like org-tables. And voila saving the buffer as org-fil= e and a minimum of modifications allows me to export the calendar with both= the html and pdf exporter. I just try to tell org-mode/latex/html to keep = the height of the rows constant and independent of the content of the cell.= Guess if I get this right, everything could be done in a little piece of e= lisp.
Alternatively, Sakurai san may like to create an=A0official cfw:= export-view-to-org could be part of calfw-org. This would also allow people= to archive calendar views in org-mode files.=A0

Lets see how this is going.

Thanks aga= in

Torsten=A0
=A0


On 27 February 2013 18:35, Eric S Fraga <e.fraga@ucl.ac.uk><= /span> wrote:
Torsten Wagner <torsten.wagner@gmail.com> writes:

[...]

> I read about calfw and org2hpda. However, I did not found a way to gen= erate
> a printable version of calfw (and I had trouble to set it up). For org= 2hpda
> I still struggle with the installation and it seems to be broken at th= e
> moment. Not sure.

You could print the calendar produced by calfw by

C-u M-x ps-print-buffer-with-faces RET

from the *cfw-calendar* buffer. =A0This command (because of the C-u) will prompt for a file to place the postscript into. =A0You can print without faces (i.e. no colour) with ps-print-buffer. =A0You can then convert PS to<= br> PDF if so desired.

You may wish to set ps-print-landscape to t.

HTH,
eric

--
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3f-1285-g6cc600


--089e0160c18c8008a104d6bc435f--