[patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Georg Baum
Backporting this fix was now trivial since lib/configure.py is used. Jean-Marc, shall I commit it? It has a compatibility problem with external templates, but this is not a big deal since external templates for any other format than latex are broken anyway (this is also corrected by this patch).

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Backporting this fix was now trivial since lib/configure.py is Georg used. Jean-Marc, shall I commit it? It has a compatibility Georg problem with external templates, but this is not a big deal Georg since external templates for any other

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Georg Baum
Jean-Marc Lasgouttes wrote: The patch looks good for 1.4. One thing I do not like is \Format docbooksgmlDocBookB%% \Format docbook-xml xml Docbook (XML)%% \Format literate nw NoWeb N%% -\Format latex

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: I think we should not confuse people by use TeX instead of LaTeX. What about names like LaTeX LaTeX (for pdflatex) or LaTeX (plain) LaTeX (pdflatex) Georg I would prefer the latter. I'll first change this in trunk an Georg then put the combined

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Georg == Georg Baum [EMAIL PROTECTED] writes: There is also a bug about the fact that the format names cannot be translated. Would you have an idea on the subject? Maybe gettext can find translatable strings in python files... Georg Yes:

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg That should not be difficult either with a dummy _() function. Indeed, or a N_() if python has that. Georg Why would you make internal a property of the converter? I Georg proposed a patch some days ago that introduces a noexport Georg flag

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Bo Peng
That should not be difficult either with a dummy _() function. Bo, do I remember correctly that you had a patch for lib/configure.py that created a method to add format entries? This would be very useful here. No. Because there are quite a few \xxx entries, separate function(s) does not make

[patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Georg Baum
Backporting this fix was now trivial since lib/configure.py is used. Jean-Marc, shall I commit it? It has a compatibility problem with external templates, but this is not a big deal since external templates for any other format than latex are broken anyway (this is also corrected by this patch).

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Backporting this fix was now trivial since lib/configure.py is Georg> used. Jean-Marc, shall I commit it? It has a compatibility Georg> problem with external templates, but this is not a big deal Georg> since external templates for

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > The patch looks good for 1.4. One thing I do not like is > > \Format docbooksgmlDocBookB "" "%%" > \Format docbook-xml xml "Docbook (XML)" "" "" "%%" > \Format literate nw NoWeb N "" "%%"

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: >> I think we should not confuse people by use TeX instead of LaTeX. >> What about names like LaTeX LaTeX (for pdflatex) or LaTeX (plain) >> LaTeX (pdflatex) Georg> I would prefer the latter. I'll first change this in trunk an Georg> then

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > >>> There is also a bug about the fact that the format names cannot be >>> translated. Would you have an idea on the subject? Maybe gettext >>> can find translatable strings in python files... >

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> That should not be difficult either with a dummy _() function. Indeed, or a N_() if python has that. Georg> Why would you make "internal" a property of the converter? I Georg> proposed a patch some days ago that introduces a

Re: [patch] backport fix for bug 2107 to 1.4

2006-04-26 Thread Bo Peng
> That should not be difficult either with a dummy _() function. Bo, do I > remember correctly that you had a patch for lib/configure.py that created a > method to add format entries? This would be very useful here. No. Because there are quite a few \xxx entries, separate function(s) does not