On Tue, Jan 16, 2001 at 04:30:35PM +0100, Jean-Marc Lasgouttes wrote:
> >>>>> "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes:
> Jose> Hi, could you try the following patch to src/buffer.C?
> Jose> This should work.
>
> Jose> PS: Thanks Jean-Marc, I was probably sleeping all this time.
> Jose> :-)
>
> It seems you are not really awake right now. There is no patch.
Oops. There are some days where you should not leave the bed.
> JMarc
Ok, second try. Damn mutt, it could understand what I thought and
completed the request. BTW, did you ever used the tab completation to
complete url addresses, or even better the word you thought. I have but I
can says it doesn't work. ;-)
--
José
--- buffer.C.old Tue Jan 16 13:49:39 2001
+++ buffer.C Tue Jan 16 14:57:40 2001
@@ -2889,14 +2889,16 @@
<< sgml_includedfiles << " \n]>\n\n";
}
- if (params.options.empty())
- sgmlOpenTag(ofs, 0, top_element);
- else {
- string top = top_element;
+ string top = top_element;
+ top += " lang=\"";
+ top += params.language->code();
+ top += "\"";
+
+ if (!params.options.empty()) {
top += " ";
top += params.options;
- sgmlOpenTag(ofs, 0, top);
}
+ sgmlOpenTag(ofs, 0, top);
ofs << "<!-- DocBook file was created by " << LYX_DOCVERSION
<< "\n See http://www.lyx.org/ for more information -->\n";