Georg Baum wrote:
OK, I have a new version of the patch. It is confirmed now that the
setEncoding() stream modifier works on MSVC, so I am glad that we can use
it.
This patch does now always get the encoding right. I found out why I needed
to change the encoding in TeXOnePar, and got rid of it. The changes are
now always correct, so I'd like to put this patch in. There are two minor
problems:
- Still some unneeded encoding changes, see the FIXMEs. This is acceptable
IMO, we can find a better solution later if it turns out that this is
problematic.
- This new code will not work with old versions of the inputenc package if
a paragraph with more than one encoding is used. I found out that
\inputencoding commands inside paragraphs work at least since the
2000/07/01 version of the inputenc package, so I believe that we can
simply ignore older packages.
Are there any objections to putting this patch in?
Georg
Hi!
I was just testing this and ran into problems with the attached file.
The problem occurs when there is encoded text in a \section. I don't
know what's causing it, though.
I'm using inputenc version 2004/02/05 v1.0d .
Thanks!
Dov
#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 256
\begin_document
\begin_header
\textclass article
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\paperfontsize default
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "Dov Feldstern,217,658-4659,"
\end_header
\begin_body
\begin_layout Section
\change_unchanged
Section 1
\end_layout
\begin_layout Section
\change_unchanged
\lang hebrew
פרק
\numeric on
2
\end_layout
\end_body
\end_document