From 0bbb47817401e4673aade844d35f324c16684998 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sun, 17 Dec 2006 18:21:30 +0000 Subject: [PATCH] muse-latex: Use simpler comment syntax 2006-12-17 Michael Olson * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header): Remove the definition of \comment, since Latex already has comment syntax. (muse-latex-markup-strings): Use the Latex comment syntax, rather than our own. Thanks to Ryan Stutsman for pointing this out. git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-255 --- ChangeLog | 8 ++++++++ lisp/muse-latex.el | 7 +------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3e1d107..5605bc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-12-17 Michael Olson + + * lisp/muse-latex.el (muse-latex-header, muse-latexcjk-header): + Remove the definition of \comment, since Latex already has comment + syntax. + (muse-latex-markup-strings): Use the Latex comment syntax, rather + than our own. Thanks to Ryan Stutsman for pointing this out. + 2006-12-02 Michael Olson * lisp/muse-html.el (muse-html-insert-contents): Tweak regexp so diff --git a/lisp/muse-latex.el b/lisp/muse-latex.el index b992fc0..9a502c9 100644 --- a/lisp/muse-latex.el +++ b/lisp/muse-latex.el @@ -64,8 +64,6 @@ \\usepackage{hyperref} \\usepackage[pdftex]{graphicx} -\\newcommand{\\comment}[1]{} - \\begin{document} \\title{(muse-publishing-directive \"title\")} @@ -94,8 +92,6 @@ \\usepackage[CJKbookmarks=true]{hyperref} \\usepackage[pdftex]{graphicx} -\\newcommand{\\comment}[1]{} - \\begin{document} \\begin{CJK*}(muse-latexcjk-encoding) @@ -164,8 +160,7 @@ For more on the structure of this list, see (email-addr . "\\verb|%s|") (anchor . "\\label{%s}") (emdash . "---") - (comment-begin . "\\comment{") - (comment-end . "}") + (comment-begin . "% ") (rule . "\\bigskip") (no-break-space . "~") (enddots . "\\ldots{}") -- 2.11.4.GIT