Am Donnerstag, 26. Oktober 2006 17:34 schrieb Jean-Marc Lasgouttes: > It happens that I do not really understand what we want to do with > change_encoding and why there is a specific problem. Probably my > fault.
The problem is that we may need to use several different encodings in one output file. This happens if bparams().inputenc == "auto" and we use for example german and russian in one document. Since the output stream will do the conversion from ucs4 to the encoding of the document language we need to do an intermediate conversion so that the final result will be in the correct encoding. > It happens that this code does not compile here: > > ../../lyx-devel/src/output_latex.C: In function `std::_List_const_iterator<lyx::Paragraph> lyx::<unnamed>::TeXOnePar(const lyx::Buffer&, const lyx::ParagraphList&, std::_List_const_iterator<lyx::Paragraph>, lyx::odocstream&, lyx::TexRow&, const lyx::OutputParams&, const std::string&)': > ../../lyx-devel/src/output_latex.C:503: error: 'const class std::vector<char, std::allocator<char> >' has no member named 'data' This is fixed now. Georg