>>>>> "Yves" == Yves Bastide <[EMAIL PROTECTED]> writes:
Yves> Jean-Marc Lasgouttes wrote: [...] >> This will not work because we pass the language as a documentclass >> option and it is not possible to load two french languages, AFAIK. Yves> It could work by not using babel: Yves> \documentclass[french]{article} . . . \usepackage{frenchle} Yves> But then, one cannot use other languages... Yes, and this make lfrench different from other languages. >> A solution may be to add the language to lib/language. I think most >> users would not know what to do with two options. Yves> The current name [Franch (GUTenberg)] is a poor choice. Yes. It should have been removed a long time ago. Yves> Nonetheless, I think this would be the best option. Localized Yves> packages would then be handled using preamble or ERT (quick grep Yves> in texmf: ntgclass/brife, layout, and varioref). We had a discussion about that on lyx-fr: http://thread.gmane.org/gmane.editors.lyx.french/191 It seems to me that the following packages understand "french" (and "francais"): draftcopy.sty varioref.sty layout.sty minitoc.sty brief.cls minitoc-hyper.sty I would be interested by any solution that gives reasonable output (i.e. maybe not optimal in all cases, but of good quality in general) while preserving ease of use: normal users should have to choose between two slightly differnet packages that do the same thing. Yves> The output is different. For instance, until recently frenchb Yves> did not typeout footnote marks correctly (and still doesn't by Yves> default); other differences remain, and some people prefer Yves> frenchle's ways. Since both frenchb and frenchle evolve in slightly different ways and without much coordination, it is very difficult for LyX to work with both versions uniformly in both older and newer TeX distributions. The patch I sent was intended to be an acceptable compromise, not a perfect solution. I am open to any idea to improve it. Ideas in no particular order: - add commented-out definitions of frenchle and frenchpro languages in lib/languages; this way the potentially confusing languages are not there by default, but they are easy to add back. - describe somewhere (on the wiki?) how to lure latex into loading frenchle.ldf when it wants frenchb.ldf. Probably a single symlink would be enough. The solution is a bit extreme, but at least it will mean the option "french" is passed to the packages. - other? JMarc