[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emacs-wiki-discuss] Verbatim, lisp and blockquote
From: |
Phillip Lord |
Subject: |
[emacs-wiki-discuss] Verbatim, lisp and blockquote |
Date: |
Tue, 19 Sep 2006 15:02:40 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
I've been trying to move my website over to muse generation and
cascading style sheets (I already use some of muse!).
For one page, I need to incorporate some externally generated HTML
(produced by bibtex2html). The HTML is "headless" -- it's just body
code so can be just dropped in.
My thought was to do...
<lisp>
(with-temp-file
(insert-file-contents "file.txt")
(concat "<verbatim>\n" (string-buffer) "\n</verbatim"))
<lisp>
This almost works but not quite.
<td>
S. Bechhofer, R. Stevens, and <strong>P. Lord</strong>.
Ontology Driven Dynamic Linking of Biology Resources.
<em>Journal of Web Semantics</em>, 2005.
Accepted for Publication.<br />
[ <a href="./publications-bib.html#bechhofer05:gohse:jws">bib</a> ]
</td>
This comes out in the final version as....
<td>
S. Bechhofer, R. Stevens, and <strong>P. Lord</strong>.
<blockquote>
<p class="quoted">Ontology Driven Dynamic Linking of Biology Resources.
<em>Journal of Web Semantics</em>, 2005.
Accepted for Publication.<br />
[ <a href="./publications-bib.html#bechhofer05:gohse:jws">bib</a> ]</p>
</blockquote>
</td>
So the blockquote markup is being interpreted, even though it is
inside of the verbatim.
As the original HTML is generated, I can't change this easily -- my
only current idea is to use perl to hack the original HTML and remove
the indent -- this should work, but it's somewhat unsatisfying.
I think that this is actually a bug; of course, it might be intended
behaviour which unintended consequences.
Suggestions welcome!
Thanks
Phil
- [emacs-wiki-discuss] Verbatim, lisp and blockquote,
Phillip Lord <=