Commit 5a1d5766 authored by Karl Heuer's avatar Karl Heuer
Browse files

(cal-tex-cursor-filofax-daily): Don't use oddp.

parent 3f235494
......@@ -1256,10 +1256,11 @@ Holidays are included if `cal-tex-holidays' is t."
(cal-tex-cmd "\\pagestyle{empty}")
(calendar-for-loop i from 1 to n do
(calendar-for-loop j from 1 to 5 do
(insert (if (oddp j) "\\righthead" "\\lefthead"))
(cal-tex-arg (calendar-date-string date))
(insert "%\n")
(insert (if (oddp j) "\\rightday" "\\leftday"))
(let ((odd (/= 0 (% j 2))))
(insert (if odd "\\righthead" "\\lefthead"))
(cal-tex-arg (calendar-date-string date))
(insert "%\n")
(insert (if odd "\\rightday" "\\leftday")))
(cal-tex-arg (cal-tex-latexify-list diary-list date))
(cal-tex-arg (cal-tex-latexify-list holidays date))
(cal-tex-arg (eval cal-tex-daily-string))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment