LyX version 1.5.0 (release candidate 2) is released

2007-06-27 Thread José Matos
Public release of LyX version 1.5.0 (release candidate 2) === We are glad to announce the release of LyX 1.5.0 (release candidate 2). We expect this to be the last release before 1.5.0, and until the first stable release only critical bugs and regressions will be ad

Re: Makefile install target does a lot of work

2007-06-27 Thread Darren Freeman
On Thu, 2007-06-28 at 07:45 +0200, Jean-Marc Lasgouttes wrote: > > "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: > > Darren> Hi all, why does "make install" under Linux have so much work > Darren> to do? It seems to be linking and building docs etc. > > Darren> Surely this stuff is m

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread José Matos
On Thursday 28 June 2007 06:42:32 Jean-Marc Lasgouttes wrote: > It is on ftp now (did I do it too early?) Thank you. I have tested this several times and I just wanted to be sure that there was not nothing obvious missing. :-) > JMarc -- José Abílio

Re: Makefile install target does a lot of work

2007-06-27 Thread Jean-Marc Lasgouttes
> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: Darren> Hi all, why does "make install" under Linux have so much work Darren> to do? It seems to be linking and building docs etc. Darren> Surely this stuff is meant to be done by "make". Since I have Darren> to run "make install" as ro

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes: José> Hi all, as usual I have placed the release candidate 2 in José> http://www.lyx.org/~jamatos/lyx-1.5/ José> If no blatant errors occur I will announce this tomorrow as José> RC2. It is on ftp now (did I do it too early?) JMarc

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes: José> On Wednesday 27 June 2007 09:46:38 Jean-Marc Lasgouttes wrote: >> Jose, do I still have time to commit the following patch? José> Since I was not sure to get you, and due to my (extremely) busy José> schedule I will commit this myself a

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread Bo Peng
I see them, they are in scons_manifest. But I see that they are missing in the makefile. I fixed this: http://www.lyx.org/trac/changeset/18921 I can confirm that these are the only missing files. Cheers, Bo

Re: User guide inaccuracy

2007-06-27 Thread Darren Freeman
On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: > > "Moreover, math text mode outputs its contents inside a > > \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a > > better choice" > > > > This is wrong because LyX now uses \mbox{}. > > Where? When I look at the code o

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Darren Freeman
On Wed, 2007-06-27 at 20:37 +0200, Georg Baum wrote: > Am Mittwoch, 27. Juni 2007 17:39 schrieb Alfredo Braunstein: > > And there is an inconsistency: we pretend to have a multi-char > > nucleus internally but we output something else to latex. It's a pity > that > > there's no good solution. May

Makefile install target does a lot of work

2007-06-27 Thread Darren Freeman
Hi all, why does "make install" under Linux have so much work to do? It seems to be linking and building docs etc. Surely this stuff is meant to be done by "make". Since I have to run "make install" as root, I generally prefer not to have actual processing being done here. Have fun, Darren

[patch] for bug 2928: make "arabic_arabtex" correctly usable

2007-06-27 Thread Uwe Stöhr
Dov Feldstern schrieb: one-time setup for ArabTeX) were not taking effect. It looks like the language switch commands are currently used only if babel is activated. I cannot reproduce this - works fine here or I do need a better recipe to reproduce. Try the attached file. First, I canno

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Darren Freeman
On Wed, 2007-06-27 at 17:39 +0200, Alfredo Braunstein wrote: > Georg Baum wrote: > > Currently everything is working perfectly. There is only one drawback > > concerning the representation on screen: For things like {ab}^{c} the > > braces around {ab} are shown in red, and if you want to enter such

Re: Add BibTeX database confusing

2007-06-27 Thread Darren Freeman
On Wed, 2007-06-27 at 13:18 +0200, Juergen Spitzmueller wrote: > Darren Freeman wrote: > > > There is an Add button which brings up a dialogue with a list of things > > that mean nothing to me, which itself contains a Browse and Add button. > > > > Why are there two layers? Is it supposed to be c

[PATCH] Fix bug 3939

2007-06-27 Thread Richard Heck
This fixes a bug reported by Helge: changing the paragraph style needlessly resets all the paragraph parameters. This is important to fix in the context of the recently committed fixes to paragraph settings. I'd appreciate it if someone could commit this for me, once we get the OK. I'll be o

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread Uwe Stöhr
> There is no examples/hu/example_lyxified.lyx, and example_raw.lyx. I > am not sure what else are missing. I see them, they are in scons_manifest. But I see that they are missing in the makefile. I fixed this: http://www.lyx.org/trac/changeset/18921 regards Uwe

Re: Enhancement

2007-06-27 Thread Mael Hilléreau
Le 27 juin 07 à 13:21, Abdelrazak Younes a écrit : Mael Hilléreau wrote: Great! BTW, do you have an opinion (better, an explanation) on whether it is needed to perform a CRC for graphics? I'm referring to a previous discussion entitled "Converter problem with Mac OS packages" (http://marc.

Re: User guide inaccuracy

2007-06-27 Thread Uwe Stöhr
> "Moreover, math text mode outputs its contents inside a > \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a > better choice" > > This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But

Re: Arabic Wiki Page

2007-06-27 Thread Uwe Stöhr
Dov Feldstern schrieb: Once we do the ArabTeX / Arabi separation, the Wiki page will have to be updated (if you want, I can try to make the changes myself, but I didn't want to do it without your OK, Uwe): * the cuaArab.bind file should have for the F12 key: "language arabic_arabtex" or "la

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 22:24:56 Bo Peng wrote: > > Of course this fails 'scons installer'. > > Bo Please fix it in svn. :-) I would like to have this fixed before the final release. -- José Abílio

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread Bo Peng
There is no examples/hu/example_lyxified.lyx, and example_raw.lyx. I am not sure what else are missing. Of course this fails 'scons installer'. Bo

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Uwe Stöhr
> After RC2 it is OK. It is in: http://www.lyx.org/trac/changeset/18918

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread Bo Peng
as usual I have placed the release candidate 2 in http://www.lyx.org/~jamatos/lyx-1.5/ If no blatant errors occur I will announce this tomorrow as RC2. There is no examples/hu/example_lyxified.lyx, and example_raw.lyx. I am not sure what else are missing. Bo

Re: [PATCH-updated] Reworking of Paragraph Settings Dialog

2007-06-27 Thread Richard Heck
Helge Hafting wrote: Richard Heck wrote: An update to the previous patch, incorporating a check for a multi-paragraph selection. I'll commit after rc2, if there is no objection. I go away Thursday morning on vacation, though, so if rc2 is not out by then, someone else will have to do it for me.

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Georg Baum
Am Mittwoch, 27. Juni 2007 17:39 schrieb Alfredo Braunstein: > Georg Baum wrote: > > >> Alfredo> From a quick research with svn I've found two seemingly > >> Alfredo> relevant (not sure really) entries. Seems we don't output > >> Alfredo> them because it's a problem reading them back? > > > > To

Re: RC2 - release candidate (to a release candidate)

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 19:40:20 José Matos wrote: > The repository is open again for commits but let us restrict this > to critical bugs and regressions only if they imply a file format change. This does not revert any previous OK, if I said yes after RC-2 then now is the right time. :

RC2 - release candidate (to a release candidate)

2007-06-27 Thread José Matos
Hi all, as usual I have placed the release candidate 2 in http://www.lyx.org/~jamatos/lyx-1.5/ If no blatant errors occur I will announce this tomorrow as RC2. The repository is open again for commits but let us restrict this to critical bugs and regressions only if they

Re: [Cvslog] r18885 - in /lyx-devel/trunk: development/FORMAT lib/lyx2...

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 19:08:36 Juergen Spitzmueller wrote: > However, there are also other python masters that could jump in (Bo?). I > think it would be bad to release 1.5.0 (and 1.4.5, for that matter) with a > broken conversion/reversion chain. AFAIU the full problem is quite difficult to

Re: [Cvslog] r18885 - in /lyx-devel/trunk: development/FORMAT lib/lyx2...

2007-06-27 Thread Juergen Spitzmueller
José Matos wrote: > Not on June and July (I am in the middle of a Conference, I will gave a > talk in another next week, I still have more than 300 tests to view, ...) However, there are also other python masters that could jump in (Bo?). I think it would be bad to release 1.5.0 (and 1.4.5, for t

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 09:46:38 Jean-Marc Lasgouttes wrote: > Jose, do I still have time to commit the following patch? Since I was not sure to get you, and due to my (extremely) busy schedule I will commit this myself and release RC2 as soon as the tests finishes. -- José Abílio

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 15:24:58 Juergen Spitzmueller wrote: > I'm away from my svn tree again (until Friday). So I can't commit anything. > > Jürgen After RC2 it is OK. -- José Abílio

Re: Update documents to latest file format

2007-06-27 Thread José Matos
On Tuesday 26 June 2007 21:10:31 Michael Gerz wrote: > José, > > (when) should we update all LyX files to the latest file format? We should wait and do that before the first stable release. So after RC2 it is OK. > Michael -- José Abílio

Re: [Cvslog] r18885 - in /lyx-devel/trunk: development/FORMAT lib/lyx2...

2007-06-27 Thread José Matos
On Tuesday 26 June 2007 20:51:33 Michael Gerz wrote: > José, isn't lyx2lyx your hobby-horse :-) > > Michael Not on June and July (I am in the middle of a Conference, I will gave a talk in another next week, I still have more than 300 tests to view, ...) :-) -- José Abílio

Re: Any last minute request?

2007-06-27 Thread José Matos
On Tuesday 26 June 2007 21:42:18 Jean-Marc Lasgouttes wrote: > Anyway, since the current situation is that FreeBSD is roken, applying > the patch cannot make it worse. So, if somebody wants to apply it > before rc2 (and if Jose agrees), it is OK with me. > > JMarc I agree. :-) -- José Abílio

Re: RC2 coming soon

2007-06-27 Thread José Matos
On Wednesday 27 June 2007 08:32:37 Jean-Marc Lasgouttes wrote: > > I wonder whether we could add an entry like > Style Caption > LatexName caption > ObsoletedBy Standard > End > to our layouts. This would be invisible from inside LyX, but tex2lyx > would see it and translated \caption t

Re: symbols don't display

2007-06-27 Thread Enrico Forestieri
On Wed, Jun 27, 2007 at 06:48:46PM +0200, Abdelrazak Younes wrote: > Leuven, E. wrote: > >>> in math, \kappa and \leq don't show > >>> > >>> others seeing this as well? > >> Since when? > > > > dunno, perhaps since forever > > > >> Everything seems ok here. > > > > maybe some font trouble on my

Re: symbols don't display

2007-06-27 Thread Abdelrazak Younes
Leuven, E. wrote: in math, \kappa and \leq don't show others seeing this as well? Since when? dunno, perhaps since forever Everything seems ok here. maybe some font trouble on my side... On my side too. So it's either a Windows problem or CMake problem. Abdel.

RE: Re: symbols don't display

2007-06-27 Thread Leuven, E.
>> in math, \kappa and \leq don't show >> >> others seeing this as well? > > Since when? dunno, perhaps since forever > Everything seems ok here. maybe some font trouble on my side...

Re: symbols don't display

2007-06-27 Thread Alfredo Braunstein
Leuven, E. wrote: > in math, \kappa and \leq don't show > > others seeing this as well? Since when? Everything seems ok here. A/

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Alfredo Braunstein
Georg Baum wrote: >> Alfredo> From a quick research with svn I've found two seemingly >> Alfredo> relevant (not sure really) entries. Seems we don't output >> Alfredo> them because it's a problem reading them back? > > To which braces do you refer? The one of the sub/superscript are AFAIK > alway

symbols don't display

2007-06-27 Thread Leuven, E.
in math, \kappa and \leq don't show others seeing this as well? thanks

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Alfredo" == Alfredo Braunstein >> <[EMAIL PROTECTED]> writes: > > Alfredo> Darren Freeman wrote: >>> According to the View->Source panel, these both result in $Ge^{3}$. >>> >>> Did this get broken recently? I have been using this "feature" to >>> put my ch

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Juergen Spitzmueller
Uwe Stöhr wrote: > For me it works too. So somebody should ask José to commit. Jürgen, as > Anders doesn't currently have SVN permissions, could you do this please > and commit if OK? I'm away from my svn tree again (until Friday). So I can't commit anything. Jürgen

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Uwe Stöhr
> I see. That wasn't clear to me. So your patch is probably sufficient. For me it works too. So somebody should ask José to commit. Jürgen, as Anders doesn't currently have SVN permissions, could you do this please and commit if OK? thanks and regards Uwe

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Juergen Spitzmueller
Anders Ekberg wrote: > I see your point, but the replacement is only made in the > unicodesymbols file (to store it in a dictionary which is used to > replace the unicode symbols with commands). In that file, the only > occurence of quotation marks is AFAIU surrounding commands (and pre- > ambles)

Re: Enhancement

2007-06-27 Thread Abdelrazak Younes
Mael Hilléreau wrote: Great! BTW, do you have an opinion (better, an explanation) on whether it is needed to perform a CRC for graphics? I'm referring to a previous discussion entitled "Converter problem with Mac OS packages" (http://marc.info/?t=11801978938&r=1&w=4). Besides, nobody answer

Re: Add BibTeX database confusing

2007-06-27 Thread Juergen Spitzmueller
Darren Freeman wrote: > There is an Add button which brings up a dialogue with a list of things > that mean nothing to me, which itself contains a Browse and Add button. > > Why are there two layers? Is it supposed to be caching the most recent > databases accessed? These are the bibtex style f

Re: [PATCH-updated] Reworking of Paragraph Settings Dialog

2007-06-27 Thread Helge Hafting
Richard Heck wrote: An update to the previous patch, incorporating a check for a multi-paragraph selection. I'll commit after rc2, if there is no objection. I go away Thursday morning on vacation, though, so if rc2 is not out by then, someone else will have to do it for me I tested this. T

Re: [patch] linking source view with text

2007-06-27 Thread Mael Hilléreau
Le 27 juin 07 à 12:24, Alfredo Braunstein a écrit : Mael Hilléreau wrote: Thanks for the suggestion. How do you think would it help error handling? Right now we don't show latex errors line numbers at all. In fact, I was thinking of non blocking errors or warnings, which are indicated into t

Re: [patch] fix bug 3886: Cut/paste bug with environment depths in 1.5svn

2007-06-27 Thread Helge Hafting
Alfredo Braunstein wrote: Jean-Marc Lasgouttes wrote: I like it (fixes a bug, does useful cleanup). You should probably remove the // finally, invoke the DEPM comment which looks a bit strange in such a small method. Done. OK I commited it. Tested, and "paste" now work

Re: [patch] linking source view with text

2007-06-27 Thread Alfredo Braunstein
Mael Hilléreau wrote: >> Thanks for the suggestion. How do you think would it help error >> handling? Right now we don't show latex errors line numbers at all. > > In fact, I was thinking of non blocking errors or warnings, which are > indicated into the LaTeX log and often come with a line numbe

Re: [PATCH] Reworking of Paragraph Settings Dialog

2007-06-27 Thread Asger Ottar Alstrup
Jürgen Spitzmüller wrote: Richard Heck wrote: "Use this paragraph's default alignment (Justified)" That's fine with me, though I'd suggest "the" instead of "this", as that is OK for the multi-paragraph case, too. Oh no, please don't. Use tooltips for verbose hints (you can't imagine how long

Re: [patch] linking source view with text

2007-06-27 Thread Mael Hilléreau
Le 27 juin 07 à 11:51, Alfredo Braunstein a écrit : On 6/27/07, Mael Hilléreau <[EMAIL PROTECTED]> wrote: What about displaying line numbers in the source view? This may not be hard to do and could help error handling as well... But it would Thanks for the suggestion. How do you think would it

Re: [patch] linking source view with text

2007-06-27 Thread Alfredo Braunstein
On 6/27/07, Mael Hilléreau <[EMAIL PROTECTED]> wrote: What about displaying line numbers in the source view? This may not be hard to do and could help error handling as well... But it would be needed to consider child documents separately (offset due to preamble skipping). Thanks for the sugg

LyX 1.5.0 (release candidate 1) crashes when beamer-template is scrolled down

2007-06-27 Thread xerx
When I open the "beamer-conference-ornate-20min.lyx" template in the "\lyx15\resources\templates" directory and scroll down the document, lyx crashes every time! I installed the LyX-1.5.0rc1-Installer-bundle.exe for Windows. -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versi

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Anders Ekberg
Jürgen Spitzmüller Wed, 27 Jun 2007 00:06:46 -0700 Anders Ekberg wrote: > + line=line.replace(' "',' ') #remove all qoutation marks w spaces before > + line=line.replace('" ',' ') #remove all qoutation marks w spaces after > + line=line.replace(r'\"','"') #replace \" by " (for characters wit

Re: [patch] linking source view with text

2007-06-27 Thread Mael Hilléreau
Le 20 juin 07 à 17:06, Alfredo Braunstein a écrit : The following short patch is a links the source view window with the work area: now when navigating with the cursor the line of the latex source which should contain the corresponding position of the cursor position is selected. The patch

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> Darren Freeman wrote: >> According to the View->Source panel, these both result in $Ge^{3}$. >> >> Did this get broken recently? I have been using this "feature" to >> put my chemical elements as the nucleus of a subscript

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: [now with the patch!] > "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Is it correct that this line remains untouched? Peter> #if SIZEOF_WCHAR_T != 4 && defined(__GNUC__) && Peter> defined(__GNUC_MINOR__) && __

Re: [PATCH] bug 3537: lyx-1.5.0beta2 dumps core on freebsd-6.2 when it tries to handle strings of filenames etc.

2007-06-27 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Is it correct that this line remains untouched? Peter> #if SIZEOF_WCHAR_T != 4 && defined(__GNUC__) && Peter> defined(__GNUC_MINOR__) && __GNUC__ == 3 && __GNUC_M

Boost assertion triggered

2007-06-27 Thread Darren Freeman
I just closed LyX, and found this on the command line. Didn't have any adverse effects. Just thought the relevant person might be interested. Have fun, Darren 8<8<8<8<8<8<8< Assertion triggered in T* boost::scoped_ptr::operator->() c

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Alfredo Braunstein
Darren Freeman wrote: > According to the View->Source panel, these both result in $Ge^{3}$. > > Did this get broken recently? I have been using this "feature" to put my > chemical elements as the nucleus of a subscript for a while and I'd hate > to think it was for nothing. > > Also, shouldn't L

Re: Add BibTeX database confusing

2007-06-27 Thread Darren Freeman
On Wed, 2007-06-27 at 09:39 +0200, Jean-Marc Lasgouttes wrote: > > "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: > > Darren> Hi all, I just added a fresh BibTeX database to a document and > Darren> found the file selection dialogue to be utterly baffling. > > Darren> Is it meant to b

Re: Blank line not cleaned up?

2007-06-27 Thread Darren Freeman
On Wed, 2007-06-27 at 09:38 +0200, Jean-Marc Lasgouttes wrote: > > "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: > We (c|s)hould indeed delete empty lines when reading a file. But of > course there would remain other ways to obtain these empty lines. You > may want to create a bugzilla

Re: [patch] bug 3931: elsart.layout fix

2007-06-27 Thread Jean-Marc Lasgouttes
> "Jürgen" == Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: Jürgen> http://bugzilla.lyx.org/show_bug.cgi?id=3931 A simple fix, as Jürgen> \ack does not use a counter (it uses \section* internally) and Jürgen> is output in plural form in DVI. Jürgen> This could also go in branch. OK? Yes. It

Re: Add BibTeX database confusing

2007-06-27 Thread Jean-Marc Lasgouttes
> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: Darren> Hi all, I just added a fresh BibTeX database to a document and Darren> found the file selection dialogue to be utterly baffling. Darren> Is it meant to be like that?? Could you tell us more about what you do not like? JMarc

Re: Blank line not cleaned up?

2007-06-27 Thread Jean-Marc Lasgouttes
> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: Darren> Hi all, I just imported a Word document and am now cleaning it Darren> up. Darren> I found a curiosity for you: after a subsection heading, there Darren> was a blank line before the next paragraph. I only noticed it Darren> beca

Re: RC2 coming soon

2007-06-27 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes: José> On Tuesday 26 June 2007 14:26:13 Leuven, E. wrote: >> > > Annoying? Yes. Should be fixed? Yes. Unusable? No. It will >> simply > translate captions to ERT, that is all. >> >> wan't there a patch by hangzai ? José> I have reviewed tha

Re: [PATCH] Bug3313 unicode error when invoking lyx2lyx

2007-06-27 Thread Jürgen Spitzmüller
Anders Ekberg wrote: > + line=line.replace(' "',' ') #remove all qoutation marks w spaces before > + line=line.replace('" ',' ') #remove all qoutation marks w spaces after > + line=line.replace(r'\"','"') #replace \" by " (for characters with diaresis) Is this sufficient? What about quotation m