diff options
| author | Eli Zaretskii | 2019-01-25 10:45:25 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-01-25 10:45:25 +0200 |
| commit | a177fe754db3919c1515bdfcd1c2ea28543da8e8 (patch) | |
| tree | f96be8b75fe15c90a880898386aebfd245572050 | |
| parent | 90177d7f12d25e403abc6f1bdf242aed308a7bb8 (diff) | |
| download | emacs-a177fe754db3919c1515bdfcd1c2ea28543da8e8.tar.gz emacs-a177fe754db3919c1515bdfcd1c2ea28543da8e8.zip | |
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)
| -rw-r--r-- | lisp/calendar/cal-tex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el index 469430b2a48..30429b6d592 100644 --- a/lisp/calendar/cal-tex.el +++ b/lisp/calendar/cal-tex.el | |||
| @@ -927,7 +927,7 @@ argument EVENT specifies a different buffer position." | |||
| 927 | (cal-tex-large-bf (cal-tex-LaTeXify-string (calendar-day-name date))) | 927 | (cal-tex-large-bf (cal-tex-LaTeXify-string (calendar-day-name date))) |
| 928 | (insert ", ") | 928 | (insert ", ") |
| 929 | (cal-tex-large-bf (cal-tex-month-name month)) | 929 | (cal-tex-large-bf (cal-tex-month-name month)) |
| 930 | (insert " ") | 930 | (insert "\\ ") |
| 931 | (cal-tex-large-bf (number-to-string day)) | 931 | (cal-tex-large-bf (number-to-string day)) |
| 932 | (unless (string-equal "" (setq s (cal-tex-latexify-list | 932 | (unless (string-equal "" (setq s (cal-tex-latexify-list |
| 933 | holidays date "; "))) | 933 | holidays date "; "))) |
| @@ -978,7 +978,7 @@ shown are hard-coded to 8-12, 13-17." | |||
| 978 | (cal-tex-large-bf (cal-tex-LaTeXify-string (calendar-day-name date))) | 978 | (cal-tex-large-bf (cal-tex-LaTeXify-string (calendar-day-name date))) |
| 979 | (insert ", ") | 979 | (insert ", ") |
| 980 | (cal-tex-large-bf (cal-tex-month-name month)) | 980 | (cal-tex-large-bf (cal-tex-month-name month)) |
| 981 | (insert " ") | 981 | (insert "\\ ") |
| 982 | (cal-tex-large-bf (number-to-string day)) | 982 | (cal-tex-large-bf (number-to-string day)) |
| 983 | (unless (string-equal "" (setq s (cal-tex-latexify-list | 983 | (unless (string-equal "" (setq s (cal-tex-latexify-list |
| 984 | holidays date "; "))) | 984 | holidays date "; "))) |