[OS X TeX] Not really a LaTeX question . . .

Piet van Oostrum piet at cs.uu.nl
Sun Jan 2 14:25:56 EST 2005


>>>>> chris ciotti <chris.ciotti at gmail.com> (cc) schreef:

>> (defun gen-tex-cal ()
>> (interactive)
>> (calendar)
>> (let ((weeknr 1))
>> (while (< weeknr 54)
>> (cal-tex-cursor-week-iso)
>> (set-buffer "calendar.tex")
>> (write-file (format "week-%d.tex" weeknr))
>> (set-buffer "*Calendar*")
>> (setq weeknr (1+ weeknr))
>> (calendar-forward-week 1))))
>> 
>> --
>> Piet van Oostrum <piet at cs.uu.nl>
>> URL: http://www.cs.uu.nl/~piet [PGP]
>> Private email: P.van.Oostrum at hccnet.nl


cc> Thanks Piet, that should work just nicely.

By the way, if it satisfies you to have them in one tex file, you can just
call cal-tex-cursor-week-iso with the number of weeks as argument.
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list