Re: Spirit for XML file parsing

2004-10-15 Thread José Abílio Oliveira Matos
On Sat, Oct 16, 2004 at 01:23:07AM +0200, Lars Gullik Bjønnes wrote: > > Ok I got xml.cpp to compile. > > I have not made it do anything yet... > (except parse UserGuide.lyx.xml successfully.) A small step to Lars a large leap to LyX? ;-) > -- > Lgb -- José Abílio Matos LyX and

Re: Spirit for XML file parsing

2004-10-15 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | On Sat, Oct 16, 2004 at 01:23:07AM +0200, Lars Gullik Bjønnes wrote: >> >> Ok I got xml.cpp to compile. >> >> I have not made it do anything yet... >> (except parse UserGuide.lyx.xml successfully.) > | A small step to Lars a large leap

Spirit for XML file parsing (was: Fun file)

2004-10-14 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: Either a lib or xml parser for spirit. | There are examples of same in the repository at spirit.sf.net. If you want | any help, just holler. The spirit-users list is jolly helpful. Ok. I need some help. I have had a look

Spirit for XML file parsing (was: Fun file)

2004-10-14 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> Either a lib or xml parser for spirit. > | There are examples of same in the repository at spirit.sf.net. If you want | any help, just holler. The spirit-users list is jolly helpful. Ok. I need some he

.lyx as XML - wiki page

2004-10-12 Thread Lars Gullik Bjønnes
Please add contents to this page about thoughs on the DTD, the parser, general xml format. If we need validation. Can we use boost::spirit? expat? libxml2? Are there other options? Should the layout files also be changed to xml? what about preferences, lastfiles etc? http://wiki.lyx.org

.lyx as XML - wiki page

2004-10-12 Thread Lars Gullik Bjønnes
Please add contents to this page about thoughs on the DTD, the parser, general xml format. If we need validation. Can we use boost::spirit? expat? libxml2? Are there other options? Should the layout files also be changed to xml? what about preferences, lastfiles etc? http://wiki.lyx.org

XML Format Design [was: Re: Fun file]

2004-10-08 Thread John Weiss
On Fri, Oct 08, 2004 at 06:26:51PM +0200, Lars Gullik Bjønnes wrote: John Weiss [EMAIL PROTECTED] writes: | The DTD for an XML format (or, if you prefer, the XSchema for an XML | format) is like the header file for a C++ class. A file with an XML | look is the *implementation

More About XML[was: Re: Fun file]

2004-10-08 Thread John Weiss
Okay, first, an apology. Mea Culpa. Mea Maxima Culpa. I always seem to make this same mistake with XML: I assume they designed it to do more than it does. I assumed that, given a DTD, an XML parser could tokenize the various tag names. It can't. Mea Culpa. I also assumed that, give a DTD

XML Format Design [was: Re: Fun file]

2004-10-08 Thread John Weiss
On Fri, Oct 08, 2004 at 06:26:51PM +0200, Lars Gullik Bjønnes wrote: > John Weiss <[EMAIL PROTECTED]> writes: > > | The DTD for an XML format (or, if you prefer, the XSchema for an XML > | format) is like the header file for a C++ class. A file with "an XML > | lo

More About XML[was: Re: Fun file]

2004-10-08 Thread John Weiss
Okay, first, an apology. Mea Culpa. Mea Maxima Culpa. I always seem to make this same mistake with XML: I assume they designed it to do more than it does. I assumed that, given a DTD, an XML parser could tokenize the various tag names. It can't. Mea Culpa. I also assumed that, give a DTD

[PATCH] Mathinset: Docbook XML support for alt role=tex tag

2004-10-05 Thread Andreas Vox
Hi! I made a small patch to include an alt role=tex element in equations when writing Docbook XML. This works like a charm with db2latex and still produces MathML with the docbook-xsl stylesheets. What do you think? Cheers /Andreas

Re: [PATCH] Mathinset: Docbook XML support for alt role=tex tag

2004-10-05 Thread José Abílio Oliveira Matos
On Tue, Oct 05, 2004 at 02:56:16PM +0200, Andreas Vox wrote: Hi! I made a small patch to include an alt role=tex element in equations when writing Docbook XML. This works like a charm with db2latex and still produces MathML with the docbook-xsl stylesheets. What do you think? What

Now: [PATCH] Mathinset: Docbook XML support for alt role=tex tag

2004-10-05 Thread Andreas Vox
José wrote: On Tue, Oct 05, 2004 at 02:56:16PM +0200, Andreas Vox wrote: Hi! I made a small patch to include an alt role=tex element in equations when writing Docbook XML. This works like a charm with db2latex and still produces MathML with the docbook-xsl stylesheets. What do you think

Re: Now: [PATCH] Mathinset: Docbook XML support for alt role=tex tag

2004-10-05 Thread José Abílio Oliveira Matos
On Tue, Oct 05, 2004 at 05:03:11PM +0200, Andreas Vox wrote: Sigh, it's forgotten attachment day, again. No problem. :-) Please add it also to the SGML version. :-) The SGML already has the alt tag (without role) and no MathML. I added the role=tex so you can see if it works for you.

[PATCH] Mathinset: Docbook XML support for tag

2004-10-05 Thread Andreas Vox
Hi! I made a small patch to include an element in equations when writing Docbook XML. This works like a charm with db2latex and still produces MathML with the docbook-xsl stylesheets. What do you think? Cheers /Andreas

Re: [PATCH] Mathinset: Docbook XML support for tag

2004-10-05 Thread José Abílio Oliveira Matos
On Tue, Oct 05, 2004 at 02:56:16PM +0200, Andreas Vox wrote: > Hi! > > I made a small patch to include an element in > equations when writing Docbook XML. > > This works like a charm with db2latex and still produces MathML with > the docbook-xsl stylesheets. > >

Now: [PATCH] Mathinset: Docbook XML support for tag

2004-10-05 Thread Andreas Vox
José wrote: On Tue, Oct 05, 2004 at 02:56:16PM +0200, Andreas Vox wrote: > Hi! > > I made a small patch to include an element in > equations when writing Docbook XML. > > This works like a charm with db2latex and still produces MathML with > the docbook-xsl stylesheets.

Re: Now: [PATCH] Mathinset: Docbook XML support for tag

2004-10-05 Thread José Abílio Oliveira Matos
On Tue, Oct 05, 2004 at 05:03:11PM +0200, Andreas Vox wrote: > > Sigh, it's forgotten attachment day, again. No problem. :-) > > Please add it also to the SGML version. :-) > > The SGML already has the tag (without role) and no MathML. > I added the role="tex" so you can see if it works for

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-25 Thread José Abílio Oliveira Matos
On Fri, Sep 24, 2004 at 09:41:42PM +0200, Andreas Vox wrote: Hi, here it is. The Changelog entry is at the beginning of the patch file. Notice that the ChangeLog didn't refered that function changed, docbook in this case. I have fixed that. So your first patch is commited,

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-25 Thread José Abílio Oliveira Matos
On Fri, Sep 24, 2004 at 09:41:42PM +0200, Andreas Vox wrote: > Hi, > > here it is. The Changelog entry is at the beginning of the patch file. Notice that the ChangeLog didn't refered that function changed, docbook in this case. I have fixed that. So your first patch is commited,

Re: Can I help with Docbook XML support?

2004-09-24 Thread José Abílio Oliveira Matos
to add this to your preferences file: \format docbook-xml xml Docbook (xml) The important aspect here is that we decide that the format is xml based because the string xml appears here in the 3rd field. I can insert this also via Tools-Preferences-Format Is this clear? From here

Re: Can I help with Docbook XML support?

2004-09-24 Thread Andreas Vox
Hi José ! I checked out 1.4.0cvs and finally got it to compile on MacOSX. I also found the Format dialog, no problem. The main PITA was to install all the right SGML and XML files and get the catalogs right so that sgmltools and saxon work (I mainly use SGML right now but want to switch to XML

Re: Can I help with Docbook XML support?

2004-09-24 Thread José Abílio Oliveira Matos
the Format dialog, no problem. The main PITA was to install all the right SGML and XML files and get the catalogs right so that sgmltools and saxon work (I mainly use SGML right now but want to switch to XML soon). That is fair. In the previous message I told you how to produce xml. My

Re: Can I help with Docbook XML support?

2004-09-24 Thread Andreas Vox
ven if it says I got a book (Docbook SGML) class. Does SGML/XML work fpr you with the current CVS version or is it just Mac again? Could you send an example, the original lyx file as well as the resulting sgml... Attached. I couldn't produce a new file since my LyX doesn't allow to change any docum

[PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread Andreas Vox
Hi! This is my first patch to this list, so please tell me if it is not up to standard! It fixes a problem where Docbook XML output had unclosed xref ... tags. /Andreas patch-insetref Description: Binary data

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread José Abílio Oliveira Matos
It fixes a problem where Docbook XML output had unclosed xref ... tags. Add an entry to the ChangeLog, basically the date, your name and this description, it should be enough. :-) Just follow the examples there. /Andreas -- José Abílio Matos LyX and docbook a perfect match. :-)

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread Andreas Vox
Hi, here it is. The Changelog entry is at the beginning of the patch file. (Once I have figured out how to make multi-file patches without including all my binaries I will send patches with a modified Changelog file, sorry) /Andreas patch-insetref Description: Binary data

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread Angus Leeming
Andreas Vox wrote: Hi, here it is. The Changelog entry is at the beginning of the patch file. (Once I have figured out how to make multi-file patches without including all my binaries I will send patches with a modified Changelog file, sorry) Andreas, if you're modifying a cvs tree,

Re: Can I help with Docbook XML support?

2004-09-24 Thread José Abílio Oliveira Matos
;-) You need to add this to your preferences file: \format "docbook-xml" "xml" "Docbook (xml)" "" "" "" The important aspect here is that we decide that the format is xml based because the string xml appears here in the 3rd field.

Re: Can I help with Docbook XML support?

2004-09-24 Thread Andreas Vox
Hi José ! I checked out 1.4.0cvs and finally got it to compile on MacOSX. I also found the Format dialog, no problem. The main PITA was to install all the right SGML and XML files and get the catalogs right so that sgmltools and saxon work (I mainly use SGML right now but want to switch to XML

Re: Can I help with Docbook XML support?

2004-09-24 Thread José Abílio Oliveira Matos
> I also found the Format dialog, no problem. > The main PITA was to install all the right SGML and XML files and get > the catalogs right so that sgmltools and saxon work (I mainly use SGML > right now but want to switch to XML soon). That is fair. In the previous message I told y

Re: Can I help with Docbook XML support?

2004-09-24 Thread Andreas Vox
if it says I got a "book (Docbook SGML)" class. Does SGML/XML work fpr you with the current CVS version or is it just Mac again? Could you send an example, the original lyx file as well as the resulting sgml... Attached. I couldn't produce a new file since my LyX doesn't allow to change an

[PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread Andreas Vox
Hi! This is my first patch to this list, so please tell me if it is not up to standard! It fixes a problem where Docbook XML output had unclosed tags. /Andreas patch-insetref Description: Binary data

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread José Abílio Oliveira Matos
o read: diff -u > It fixes a problem where Docbook XML output had unclosed > tags. Add an entry to the ChangeLog, basically the date, your name and this description, it should be enough. :-) Just follow the examples there. > /Andreas > -- José Abílio Matos LyX and docbook a perfect match. :-)

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread Andreas Vox
Hi, here it is. The Changelog entry is at the beginning of the patch file. (Once I have figured out how to make multi-file patches without including all my binaries I will send patches with a modified Changelog file, sorry) /Andreas patch-insetref Description: Binary data

Re: [PATCH] Closing tag insetref for Docbook XML

2004-09-24 Thread Angus Leeming
Andreas Vox wrote: > Hi, > > here it is. The Changelog entry is at the beginning of the patch file. > > (Once I have figured out how to make multi-file patches without > including all my binaries I will send patches with a modified Changelog > file, sorry) Andreas, if you're modifying a cvs

Can I help with Docbook XML support?

2004-09-23 Thread Andreas Vox
Hi! I would like to offer help with the Docbook XML support. My C++ days are 6 years gone so I missed all the new stuff with namespaces, STL and exceptions, but I could code some small patches. Who is currently working on these features? Is there a roadmap or a list of assigned tasks? Cheers

Re: Can I help with Docbook XML support?

2004-09-23 Thread José Abílio Oliveira Matos
On Thu, Sep 23, 2004 at 04:32:22PM +0200, Andreas Vox wrote: Hi! I would like to offer help with the Docbook XML support. My C++ days are 6 years gone so I missed all the new stuff with namespaces, STL and exceptions, but I could code some small patches. No problem, as long as you show

Can I help with Docbook XML support?

2004-09-23 Thread Andreas Vox
Hi! I would like to offer help with the Docbook XML support. My C++ days are 6 years gone so I missed all the new stuff with namespaces, STL and exceptions, but I could code some small patches. Who is currently working on these features? Is there a roadmap or a list of assigned tasks? Cheers

Re: Can I help with Docbook XML support?

2004-09-23 Thread José Abílio Oliveira Matos
On Thu, Sep 23, 2004 at 04:32:22PM +0200, Andreas Vox wrote: > Hi! > > I would like to offer help with the Docbook XML support. My C++ days > are 6 years gone so I missed all the new stuff with namespaces, STL and > exceptions, but I could code some small patches. No problem,

xml flavor.

2004-05-12 Thread Jose' Matos
Any comment on this patch, need to add the support to output docbook xml? If not I will commit it later today. -- José Abílio LyX and docbook, a perfect match. :-) Index: po/POTFILES.in === RCS file: /usr/local/lyx/cvsroot

Re: xml flavor.

2004-05-12 Thread Jean-Marc Lasgouttes
Jose' == Jose' Matos [EMAIL PROTECTED] writes: Jose'Any comment on this patch, need to add the support to output Jose' docbook xml? If not I will commit it later today. I guess it's OK, also it is a bit strange that we are mixing latex and *ML flavors together. JMarc

Re: xml flavor.

2004-05-12 Thread Jose' Matos
On Wednesday 12 May 2004 13:54, Jean-Marc Lasgouttes wrote: I guess it's OK, also it is a bit strange that we are mixing latex and *ML flavors together. No so strange, if you think latex could evolve to xml. :-) Then you would have both flavours of latex. The right thing to do would

Re: xml flavor.

2004-05-12 Thread Jean-Marc Lasgouttes
Jose' == Jose' Matos [EMAIL PROTECTED] writes: Jose' On Wednesday 12 May 2004 13:54, Jean-Marc Lasgouttes wrote: I guess it's OK, also it is a bit strange that we are mixing latex and *ML flavors together. Jose' No so strange, if you think latex could evolve to xml. :-) Jose' Then you

xml flavor.

2004-05-12 Thread Jose' Matos
Any comment on this patch, need to add the support to output docbook xml? If not I will commit it later today. -- José Abílio LyX and docbook, a perfect match. :-) Index: po/POTFILES.in === RCS file: /usr/local/lyx/cvsroot

Re: xml flavor.

2004-05-12 Thread Jean-Marc Lasgouttes
>>>>> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'>Any comment on this patch, need to add the support to output Jose'> docbook xml? If not I will commit it later today. I guess it's OK, also it is a bit strange that we are mixing latex and *ML flavors together. JMarc

Re: xml flavor.

2004-05-12 Thread Jose' Matos
On Wednesday 12 May 2004 13:54, Jean-Marc Lasgouttes wrote: > > I guess it's OK, also it is a bit strange that we are mixing latex and > *ML flavors together. No so strange, if you think latex could evolve to xml. :-) Then you would have both flavours of latex. The right thing to

Re: xml flavor.

2004-05-12 Thread Jean-Marc Lasgouttes
>>>>> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> On Wednesday 12 May 2004 13:54, Jean-Marc Lasgouttes wrote: >> I guess it's OK, also it is a bit strange that we are mixing latex >> and *ML flavors together. Jose'> No so strange,

Your LaTeX/Digitization/XML Partner

2004-01-28 Thread Amr Aboelmagd
Title: CONTENT-TEK/ [LaTeX][OCR/Indexing][DjVu][XML/SGML/HTML][FrameMaker][QuarkXpress][InDesign][PDFPS] LaTeXTypesetting Multilingual Desktop Publishing XML/SGML Solutions . Get Published ... Print ... On-line ... Media Your Partner þ High quality LaTeX

Re: Your LaTeX/Digitization/XML Partner

2004-01-28 Thread Kuba Ober
Amr Aboelmagd Content-TeK Incorporation http://www.content-tek.com That's preposterous. Hopefully all readers of this list can abstain from doing any business with those people. Cheers, Kuba

Re: Your LaTeX/Digitization/XML Partner

2004-01-28 Thread Kuba Ober
On Wednesday 28 January 2004 12:48 pm, Kuba Ober wrote: Amr Aboelmagd Content-TeK Incorporation http://www.content-tek.com That's preposterous. As in one would think people using LaTeX are up to higher standards. I needed to elaborate :) Cheers, Kuba

Your LaTeX/Digitization/XML Partner

2004-01-28 Thread Amr Aboelmagd
Title: [LaTeX][OCR/Indexing][DjVu][XML/SGML/HTML][FrameMaker][QuarkXpress][InDesign][PDF] LaTeXTypesetting Multilingual Desktop Publishing    XML/SGML Solutions .   Get Published ... Print ... On-line ... Media   Your Partner þ High quality LaTeX typesetting

Re: Your LaTeX/Digitization/XML Partner

2004-01-28 Thread Kuba Ober
> Amr Aboelmagd > Content-TeK Incorporation > http://www.content-tek.com That's preposterous. Hopefully all readers of this list can abstain from doing any business with those people. Cheers, Kuba

Re: Your LaTeX/Digitization/XML Partner

2004-01-28 Thread Kuba Ober
On Wednesday 28 January 2004 12:48 pm, Kuba Ober wrote: > > Amr Aboelmagd > > Content-TeK Incorporation > > http://www.content-tek.com > > That's preposterous. As in one would think people using LaTeX are up to higher standards. I needed to elaborate :) Cheers, Kuba

Re: [Patch] XML sanitation part II

2003-11-27 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 09:02:14PM +, Angus Leeming spake thusly: Eh? But isn't this patch functionally neutral? (I intended it to be) Shrug. I don't know. I'm just an ignorant old bloke with a headache ;-) Shrug shrug. How do you test a thing like this? I ran LyX to produce both a

Re: [Patch] XML sanitation part II

2003-11-27 Thread Angus Leeming
On Thursday 27 November 2003 7:33 am, Martin Vermeer wrote: On Wed, Nov 26, 2003 at 09:02:14PM +, Angus Leeming spake thusly: Eh? But isn't this patch functionally neutral? (I intended it to be) Shrug. I don't know. I'm just an ignorant old bloke with a headache ;-) Shrug shrug. How

Re: [Patch] XML sanitation part II

2003-11-27 Thread Martin Vermeer
On Thu, Nov 27, 2003 at 10:25:32AM +, Angus Leeming spake thusly: Shrug shrug. How do you test a thing like this? I ran LyX to produce both a LaTeX file and a PDF, and nothing untoward seemed to happen. Both files look OK. So I'll just check this in then, right? Any other opinions?

Re: [Patch] XML sanitation part II

2003-11-27 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 09:02:14PM +, Angus Leeming spake thusly: > > > > Eh? But isn't this patch functionally neutral? (I intended it to be) > > Shrug. I don't know. I'm just an ignorant old bloke with a headache ;-) Shrug shrug. How do you test a thing like this? I ran LyX to produce both

Re: [Patch] XML sanitation part II

2003-11-27 Thread Angus Leeming
On Thursday 27 November 2003 7:33 am, Martin Vermeer wrote: > On Wed, Nov 26, 2003 at 09:02:14PM +, Angus Leeming spake thusly: > > > Eh? But isn't this patch functionally neutral? (I intended it to be) > > > > Shrug. I don't know. I'm just an ignorant old bloke with a headache ;-) > > Shrug

Re: [Patch] XML sanitation part II

2003-11-27 Thread Martin Vermeer
On Thu, Nov 27, 2003 at 10:25:32AM +, Angus Leeming spake thusly: > > Shrug shrug. How do you test a thing like this? I ran LyX to produce > > both a LaTeX file and a PDF, and nothing untoward seemed to happen. > > Both files look OK. > > > > So I'll just check this in then, right? Any other

Re: [Patch] XML sanitation part II

2003-11-26 Thread Alfredo Braunstein
Angus Leeming wrote: Yuck! Nothing personal, but I'd rather see Alfredo's 'flavours' maturing into some real code. Ahh well, given that Christmas is still some time off, I guess that I'll have to wait for my presents. I don't know if Santa is subscribed to this list, though ;-) Alfredo

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Tue, Nov 25, 2003 at 08:28:46PM +, Angus Leeming spake thusly: Martin Vermeer wrote: The support for xml can be done with the flavour dialect. This will add ?xml version=1.0 encoding=latin-1? in the begin and take care of specific xml details inside. Does that mean adding

Re: [Patch] XML sanitation part II

2003-11-26 Thread Jose' Matos
On Tuesday 25 November 2003 19:00, Martin Vermeer wrote: On Wed, Nov 19, 2003 at 05:00:25PM +, Jose' Matos spake thusly: With all the cleaning your cleaning going on I am tempted to rename docbook to SGML and the make docbook as an instance of that. :-) The support for xml can

Re: [Patch] XML sanitation part II

2003-11-26 Thread Jose' Matos
On Tuesday 25 November 2003 20:28, Angus Leeming wrote: Does that mean adding a method makeXml(), analoguous to usePdflatex() in Converters? Yuck! Nothing personal, but I'd rather see Alfredo's 'flavours' maturing into some real code. So we do. I am still waiting since last meeting.

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
Martin Vermeer wrote: Meaning what? Meaning that I'm getting old and grumpy. A routine FLAVOR Converters::getFlavor() ? Nice idea actually. Will it lead to cleaner code? -- Angus

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: Martin Vermeer wrote: Meaning what? Meaning that I'm getting old and grumpy. A routine FLAVOR Converters::getFlavor() ? Nice idea actually. Will it lead to cleaner code? It will once we have more than two

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: Martin Vermeer wrote: Meaning what? Meaning that I'm getting old and grumpy. A routine FLAVOR Converters::getFlavor() ? Nice idea actually. Will it lead to cleaner code? -- Angus Something like this? -

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 5:54 pm, Martin Vermeer wrote: On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: Martin Vermeer wrote: Meaning what? Meaning that I'm getting old and grumpy. A routine FLAVOR Converters::getFlavor() ? Nice idea actually. Will it

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
Something like this? Something like that yes. Although we can convert to pdf by way of the latex compiler so OutputParams::PDFLATEX would be wrong in that case (try running png images through latex ;-) Angus Eh? But isn't this patch functionally neutral? (I intended it to be) -

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 8:01 pm, Martin Vermeer wrote: Something like this? Something like that yes. Although we can convert to pdf by way of the latex compiler so OutputParams::PDFLATEX would be wrong in that case (try running png images through latex ;-) Angus Eh? But

Re: [Patch] XML sanitation part II

2003-11-26 Thread Alfredo Braunstein
Angus Leeming wrote: > Yuck! Nothing personal, but I'd rather see Alfredo's 'flavours' > maturing into some real code. > > Ahh well, given that Christmas is still some time off, I guess that > I'll have to wait for my presents. I don't know if Santa is subscribed to this list, though ;-)

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Tue, Nov 25, 2003 at 08:28:46PM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > >> The support for xml can be done with the flavour dialect. > >> This will add > >> > >> in the begin and take care of specific xml details inside. > >

Re: [Patch] XML sanitation part II

2003-11-26 Thread Jose' Matos
gt; > > The support for xml can be done with the flavour dialect. > > This will add > > > > in the begin and take care of specific xml details inside. > > Does that mean adding a method makeXml(), analoguous to usePdflatex() > in Converters? That is my plan. It makes

Re: [Patch] XML sanitation part II

2003-11-26 Thread Jose' Matos
On Tuesday 25 November 2003 20:28, Angus Leeming wrote: > > > > Does that mean adding a method makeXml(), analoguous to > > usePdflatex() in Converters? > > Yuck! Nothing personal, but I'd rather see Alfredo's 'flavours' > maturing into some real code. So we do. I am still waiting since last

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
Martin Vermeer wrote: > Meaning what? Meaning that I'm getting old and grumpy. > A routine FLAVOR Converters::getFlavor() ? Nice idea actually. Will it lead to cleaner code? -- Angus

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > > Meaning what? > > Meaning that I'm getting old and grumpy. > > > A routine FLAVOR Converters::getFlavor() ? > > Nice idea actually. Will it lead to cleaner code? It will once we have more than

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > Meaning what? > > Meaning that I'm getting old and grumpy. > > > A routine FLAVOR Converters::getFlavor() ? > > Nice idea actually. Will it lead to cleaner code? > > -- > Angus Something

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 5:54 pm, Martin Vermeer wrote: > On Wed, Nov 26, 2003 at 10:18:54AM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > > Meaning what? > > > > Meaning that I'm getting old and grumpy. > > > > > A routine FLAVOR Converters::getFlavor() ? > > > > Nice idea

Re: [Patch] XML sanitation part II

2003-11-26 Thread Martin Vermeer
> > Something like this? > > Something like that yes. Although we can convert to pdf by way of the latex > compiler so OutputParams::PDFLATEX would be wrong in that case (try running > png images through latex ;-) > > Angus Eh? But isn't this patch functionally neutral? (I intended it to

Re: [Patch] XML sanitation part II

2003-11-26 Thread Angus Leeming
On Wednesday 26 November 2003 8:01 pm, Martin Vermeer wrote: > > > Something like this? > > > > Something like that yes. Although we can convert to pdf by way of the > > latex compiler so OutputParams::PDFLATEX would be wrong in that case (try > > running png images through latex ;-) > > > > Angus

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
| [x] after a thourough read-thru -- Lgb Lars, any news on this one? - Martin pgp0.pgp Description: PGP signature

Re: [Patch] XML sanitation part II

2003-11-25 Thread Lars Gullik Bjønnes
position clear: I am very happy that you are doing this, it is certainly a part in LyX that needs work. However I am afraid that this work, instead of unifying LaTeX and XML support, just shifts the support. My aim is to have .lyx files that work equally well with latex or xml, and that the two formats

Re: [Patch] XML sanitation part II

2003-11-25 Thread Andre Poenitz
On Tue, Nov 25, 2003 at 11:01:44AM +0100, Lars Gullik Bjønnes wrote: But, just to make my position clear: I am very happy that you are doing this, it is certainly a part in LyX that needs work. However I am afraid that this work, instead of unifying LaTeX and XML support, just shifts

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
clear: I am very happy that you are doing this, it is certainly a part in LyX that needs work. However I am afraid that this work, instead of unifying LaTeX and XML support, just shifts the support. I don't believe so... but I may be wrong. Therefore it would be good if you could point out concrete

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
that this work, instead of unifying LaTeX and XML support, just shifts the support. My aim is to have .lyx files that work equally well with latex or xml, and that the two formats (or more) are equally well supported by the .lyx format _with the same mechanisms_. I do not want part of the .lyx

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
On Wed, Nov 19, 2003 at 05:00:25PM +, Jose' Matos spake thusly: With all the cleaning your cleaning going on I am tempted to rename docbook to SGML and the make docbook as an instance of that. :-) The support for xml can be done with the flavour dialect. This will add ?xml

Re: [Patch] XML sanitation part II

2003-11-25 Thread Angus Leeming
Martin Vermeer wrote: The support for xml can be done with the flavour dialect. This will add ?xml version=1.0 encoding=latin-1? in the begin and take care of specific xml details inside. Does that mean adding a method makeXml(), analoguous to usePdflatex() in Converters? Yuck! Nothing

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
> | [x] after a thourough read-thru > > -- > Lgb Lars, any news on this one? - Martin pgp0.pgp Description: PGP signature

Re: [Patch] XML sanitation part II

2003-11-25 Thread Lars Gullik Bjønnes
d probably just apply it. But, just to make my position clear: I am very happy that you are doing this, it is certainly a part in LyX that needs work. However I am afraid that this work, instead of unifying LaTeX and XML support, just shifts the support. My aim is to have .lyx files that

Re: [Patch] XML sanitation part II

2003-11-25 Thread Andre Poenitz
On Tue, Nov 25, 2003 at 11:01:44AM +0100, Lars Gullik Bjønnes wrote: > But, just to make my position clear: I am very happy that you are > doing this, it is certainly a part in LyX that needs work. However I > am afraid that this work, instead of unifying LaTeX and XML support, >

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
gt; > But, just to make my position clear: I am very happy that you are > doing this, it is certainly a part in LyX that needs work. However I > am afraid that this work, instead of unifying LaTeX and XML support, > just shifts the support. I don't believe so... but I may be wrong. Theref

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
owever I > > am afraid that this work, instead of unifying LaTeX and XML support, > > just shifts the support. My aim is to have .lyx files that work > > equally well with latex or xml, and that the two formats (or more) are > > equally well supported by the .lyx format _with the s

Re: [Patch] XML sanitation part II

2003-11-25 Thread Martin Vermeer
On Wed, Nov 19, 2003 at 05:00:25PM +, Jose' Matos spake thusly: > With all the cleaning your cleaning going on I am tempted to rename docbook > to SGML and the make docbook as an instance of that. :-) > > The support for xml can be done with the flavour dialect. >

Re: [Patch] XML sanitation part II

2003-11-25 Thread Angus Leeming
Martin Vermeer wrote: >> The support for xml can be done with the flavour dialect. >> This will add >> >> in the begin and take care of specific xml details inside. > > Does that mean adding a method makeXml(), analoguous to > usePdflatex() in Converters?

Re: [Patch] XML sanitation part II

2003-11-22 Thread Martin Vermeer
On Fri, Nov 21, 2003 at 10:39:26AM +0100, Lars Gullik Bjønnes spake thusly: | [x] after a thourough read-thru Lars, sorry to provide you with a moving target, but here is the further improved version of the 'XML tags' patch. Here you only have to look at the counters stuff, which is what has

Re: [Patch] XML sanitation part II

2003-11-22 Thread Martin Vermeer
On Fri, Nov 21, 2003 at 10:39:26AM +0100, Lars Gullik Bjønnes spake thusly: > | [x] after a thourough read-thru Lars, sorry to provide you with a moving target, but here is the further improved version of the 'XML tags' patch. Here you only have to look at the counters stuff, which is w

Re: [Patch] XML sanitation part II

2003-11-21 Thread Martin Vermeer
Here's the evolved version. I added the feature of ID labels (counter based) including paragraph ID labels, which are REQUIRED for AGU. (Surely paragraph numbering could be of use on the LaTeX side too? Are there any documentclasses with numbered paragraphs?) ...and general polish and improved

Re: [Patch] XML sanitation part II

2003-11-21 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | (Surely paragraph numbering could be of use on the LaTeX side too? Are | there any documentclasses with numbered paragraphs?) All... and that is controlled by the numbering depth | Lars, can this go in | [ ] as such | [ ] with or | [ ] without AGU

Re: [Patch] XML sanitation part II

2003-11-21 Thread Martin Vermeer
On Fri, Nov 21, 2003 at 10:39:26AM +0100, Lars Gullik Bjønnes spake thusly: Martin Vermeer [EMAIL PROTECTED] writes: | (Surely paragraph numbering could be of use on the LaTeX side too? Are | there any documentclasses with numbered paragraphs?) All... and that is controlled by the

Re: [Patch] XML sanitation part II

2003-11-21 Thread Martin Vermeer
Here's the evolved version. I added the feature of ID labels (counter based) including paragraph ID labels, which are REQUIRED for AGU. (Surely paragraph numbering could be of use on the LaTeX side too? Are there any documentclasses with numbered paragraphs?) ...and general polish and improved

<    2   3   4   5   6   7   8   9   10   11   >