[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] muse-texinfo: corrections to markup strings.
From: |
Jim Ottaway |
Subject: |
[emacs-wiki-discuss] muse-texinfo: corrections to markup strings. |
Date: |
Fri, 18 Nov 2005 13:43:23 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
I have spotted two things that need correcting in
muse-texinfo-markup-strings. First, texinfo has no @center
environment. The @center command in texinfo actually centres a single
line, so instead of
@center
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras
hendrerit, metus quis porta tempus, velit turpis semper leo, vitae
porttitor felis augue ut risus. Maecenas a risus id sem ullamcorper
@end center
one would need
@center Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras
@center hendrerit, metus quis porta tempus, velit turpis semper leo, vitae
@center porttitor felis augue ut risus. Maecenas a risus id sem ullamcorper
This makes centring more complicated. I can't work out how to do this
simply, so I have replaced the 'begin-center string with a begin
quotation command as the nearest best thing.
The second thing is that the commands @dots and @enddots commands need
braces at the end to stop them turning into non-existent commands
'address@hidden', which results from 'like...this' in the muse markup.
Regards,
Jim Ottaway
--- orig/lisp/muse-texinfo.el
+++ mod/lisp/muse-texinfo.el
@@ -134,8 +134,8 @@
(comment-begin . "@ignore\n")
(comment-end . "address@hidden ignore\n")
(rule . "@sp 1")
- (enddots . "@enddots")
- (dots . "@dots")
+ (enddots . "@enddots{}")
+ (dots . "@dots{}")
(section . "@chapter ")
(subsection . "@section ")
(subsubsection . "@subsection ")
@@ -158,8 +158,8 @@
(end-verse . "address@hidden display")
(begin-example . "@example")
(end-example . "@end example")
- (begin-center . "@center\n")
- (end-center . "address@hidden center")
+ (begin-center . "@quotation\n")
+ (end-center . "address@hidden quotation")
(begin-quote . "@quotation\n")
(end-quote . "address@hidden quotation")
(begin-uli . "@itemize @address@hidden")
- [emacs-wiki-discuss] muse-texinfo: corrections to markup strings.,
Jim Ottaway <=