Hi Georg!
Firstly, I'm sorry for only getting back to you on this now...
Secondly, I just wanted to let you know that I was upset to see your
announcement about cutting back on your involvement with LyX --- and
also to thank you for what you've done for LyX generally, and
specifically for your help to me in solving a lot of the issues that I
raised. In the few months that I've been following this list, I've
gained tremendous respect for you --- both as a programmer, and as a
person, seeing the way that you've handled conflicts that inevitably do
arise --- and I will certainly miss having your help and feedback
here... (Also, FWIW --- though I feel that I don't really have the right
to state an opinion on this, because I haven't given nearly as much to
the project as many other people here on the list --- I tend to agree
with you about a lot of the issues you've raised. I'm also worried about
some directions that LyX is taking --- I feel that we're gaining
features (which is of course good) at the expense of stability (which is
less good...). And I fear that your leaving the list will only
accelerate that trend...). So again --- thanks for your help so far, and
I hope that when you have more available time, you'll consider coming
back here... :)
Finally, to business (since you said that we could still ask you
questions ;) --- though of course, I respect you're decision to cut back
on your involvement, so feel free to just say that you don't have the
time to deal with this):
Georg Baum wrote:
Am Dienstag, 10. April 2007 14:04 schrieb Jean-Marc Lasgouttes:
I fixed this problem by not outputting the \inputencoding command in
sections. The attached file works fine now, but if you uncomment the TOC
you get some fontenc errors I don't understand.
1) This works, so thanks!
2) However, I now have a problem with the "default" encoding again! I
don't know if this is because of this fix you provided or not. The thing
is this: I think that "auto" and "default" should be identical, except
for the fact that in "default", we don't actually output the
\inputencoding commands, and in "auto" we do. Other than that, I don't
think there should be any differences between them.
The attached patch fixes the problem I'm having, I'd be glad if you
could just confirm that it makes sense; also, are there other places
which you think should be fixed to achieve what I want, given the above
explanation?
3) Regarding the TOC: I see that in 1.3.X we get the same errors (I've
never used the TOC)--- so this is of course something which should
eventually be fixed, but it's not a regression. I opened a new bug for
this at http://bugzilla.lyx.org/show_bug.cgi?id=3555 .
I actually think I know how to solve this, and it should be quite
simple, but I don't know how to implement it, so I'd be glad if you
could help (see the details in bugzilla).
Thanks!
Dov
Index: src/output_latex.cpp
===================================================================
--- src/output_latex.cpp (revision 18205)
+++ src/output_latex.cpp (working copy)
@@ -599,8 +599,7 @@
// only, but it is the best we can do.
// Since the \inputencoding command does not work inside sections
// we ignore the encoding switch also in moving arguments.
- if (((bparams.inputenc == "auto" && !moving_arg) ||
- bparams.inputenc == "default") &&
+ if ((bparams.inputenc == "auto" && !moving_arg) &&
oldEnc.name() != newEnc.name() &&
oldEnc.name() != "ascii" && newEnc.name() != "ascii" &&
oldEnc.name() != "tis620-0" && newEnc.name() != "tis620-0") {