Re: v0.3 of Styleguide
- From: "Andreas J. Guelzow" <aguelzow taliesin ca>
- To: Kevin Breit <mrproper ximian com>
- Cc: gnumeric-list gnome org
- Subject: Re: v0.3 of Styleguide
- Date: Thu, 03 Jan 2002 15:12:19 -0700
Kevin Breit wrote:
This will add the <figure> structure for you to your SGML file where the cursor is. It will prompt for the
title of the figure as well as the filename (no extension). All the data will be generated for you. This is used
by hitting F7.
(defun gdp-insert-figure (title filename)
(interactive "MTitle: \nMFilename (no extension): ")
(let ((point (point)))
(insert
"<figure>
<title>" title "</title>
<screenshot>
<screeninfo></screeninfo>
<graphic format=\"png\" fileref=\"" filename "\" srccredit=\"Kevin Breit\">
</screenshot>
</figure>")
(indent-region point (point) nil)
(search-backward "</screeninfo>" point t)))
(define-key global-map [f7] 'gdp-insert-figure)
Does thi sin fact work. I don't doubt that it inserts the intended
markup, bu tit specifies: no extension. I clearly recall that we had to
add extensions to all the files because the created html (both at home
as well as on the gnumeric webpage omitted the extensions!).
Is it going to work in future?
Andreas
--
Prof. Dr. Andreas J. Guelzow
http://www.math.concordia.ab.ca/aguelzow
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]