emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 a177fe7: Fix LaTeX output of month and day from c


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 a177fe7: Fix LaTeX output of month and day from cal-tex.el
Date: Fri, 25 Jan 2019 03:46:42 -0500 (EST)

branch: emacs-26
commit a177fe754db3919c1515bdfcd1c2ea28543da8e8
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix LaTeX output of month and day from cal-tex.el
    
    * 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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el
index 469430b..30429b6 100644
--- a/lisp/calendar/cal-tex.el
+++ b/lisp/calendar/cal-tex.el
@@ -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 "; ")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]