]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix LaTeX output of month and day from cal-tex.el
authorEli Zaretskii <eliz@gnu.org>
Fri, 25 Jan 2019 08:45:25 +0000 (10:45 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 25 Jan 2019 08:45:25 +0000 (10:45 +0200)
* lisp/calendar/cal-tex.el (cal-tex-cursor-week-iso)
(cal-tex-week-hours): Escape a lone blank, to make it through
LaTeX.  (Bug#34148)

lisp/calendar/cal-tex.el

index 469430b2a48a53a0ccf66c7eca699de767d17a50..30429b6d592df2a8bd66c0b52fd7606cc9743660 100644 (file)
@@ -927,7 +927,7 @@ argument EVENT specifies a different buffer position."
         (cal-tex-large-bf (cal-tex-LaTeXify-string (calendar-day-name date)))
         (insert ", ")
         (cal-tex-large-bf (cal-tex-month-name month))
-        (insert " ")
+        (insert "\\ ")
         (cal-tex-large-bf (number-to-string day))
         (unless (string-equal "" (setq s (cal-tex-latexify-list
                                           holidays date "; ")))
@@ -978,7 +978,7 @@ shown are hard-coded to 8-12, 13-17."
   (cal-tex-large-bf (cal-tex-LaTeXify-string (calendar-day-name date)))
   (insert ", ")
   (cal-tex-large-bf (cal-tex-month-name month))
-  (insert " ")
+  (insert "\\ ")
   (cal-tex-large-bf (number-to-string day))
   (unless (string-equal "" (setq s (cal-tex-latexify-list
                                     holidays date "; ")))