Re: tex2lyx feedback

2005-03-25 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Jean-Pierre Chrétien wrote: > >> Georg Baum <[EMAIL PROTECTED]> writes: > >>> Could you please >>> try the following patch that gets rid of the racy checks on solaris? >> >> Works fine, thanks for fixing this. > | Fine. Lars, I am going to apply this unles

Re: tex2lyx feedback

2005-03-24 Thread Georg Baum
Jean-Pierre Chrétien wrote: > Further investigation shows that > - tex2lyx imports documentclass option frenchb as \quotes_language > frenchb - tex2lyx does nothing when documentclass option is french, i.e. > sets default > \quotes_language english > > This error is a minor one, as it is corre

Re: tex2lyx feedback

2005-03-24 Thread Jean-Pierre Chrétien
Jean-Pierre ChrÃtien <[EMAIL PROTECTED]> writes: > > Jean-Pierre ChrÃtien ...> writes: > I've detected a misbehaviour: > \quotes_language frenchb > is inserted in the lyx files, which gives error: > LyX: Unknown argument `frenchb' Further investigation shows that - tex2lyx imports document

Re: tex2lyx feedback

2005-03-24 Thread Georg Baum
Jean-Pierre Chrétien wrote: > I've detected a misbehaviour: > \quotes_language frenchb > is inserted in the lyx files, which gives error: > LyX: Unknown argument `frenchb' The attached patch fixes that. It is not safe to assume that all languages known by babel have a corresponding quote language

Re: tex2lyx feedback

2005-03-24 Thread Georg Baum
Jean-Pierre Chrétien wrote: > Georg Baum <[EMAIL PROTECTED]> writes: >> Could you please >> try the following patch that gets rid of the racy checks on solaris? > > Works fine, thanks for fixing this. Fine. Lars, I am going to apply this unless I get a no. Georg

Re: tex2lyx feedback

2005-03-23 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > Georg Baum ...> writes: > > However it's not really a multipart lyx document, as tex2lyx_include.tex > > still includes mychapter.tex > > That should not happen, but lets fix the first bug first. A mistake on my anyway, forget it, sorry. > Could yo

Re: tex2lyx feedback

2005-03-23 Thread Jean-Pierre Chrétien
Jean-Pierre ChrÃtien <[EMAIL PROTECTED]> writes: [...] > However it's not really a multipart lyx document, as tex2lyx_include.tex still > includes mychapter.tex Sorry about this, I misread the lyx file: tex2lyx_include.lyx includes mychapter.lyx correctly. So multipart conversion works with the

Re: tex2lyx feedback

2005-03-23 Thread Georg Baum
Jean-Pierre Chrétien wrote: > Georg Baum <[EMAIL PROTECTED]> writes: > I get this: > ->/usr/local/LyX//bin/tex2lyx -f tex2lyx_include.tex >tex2lyx_include.lyx > Ignoring options 'T1' of package fontenc. > InFile: mychapter.tex > Readable ?1 > OutFile: mychapter.lyx > Writable ?0 > Test false >

Re: tex2lyx feedback

2005-03-23 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > Am Dienstag, 22. MÃrz 2005 18:45 schrieb Jean-Pierre ChrÃtien: > What you could do is to add some diagnostic messages in tex2lyx.C around > line 365 in function tex2lyx. I suspect that IsFileReadable() or > fs::is_writable() does not work correctly on

Re: tex2lyx feedback

2005-03-22 Thread Georg Baum
Am Dienstag, 22. März 2005 18:45 schrieb Jean-Pierre Chrétien: > I'm puzzled. I used Angus script to compile it. > Could it come from the make_tex2lyx_dist.sh shell script ? Maybe, but I doubt that. > Do you use it or do you use the full scale lyx-devel cvs ? Of course full scale devel cvs. Wh

Re: tex2lyx feedback

2005-03-22 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > I tried abolute path, explicit .tex extension without further success. > > I send you my modified example by private mail. > > They work as expected for me. Are you sure that you have both files (the > master file and the included file) in the current w

Re: tex2lyx feedback

2005-03-22 Thread Georg Baum
Jean-Pierre Chrétien wrote: >> What is inconsistent? Feel free to update the wiki information. > > I will do it when I can make it work :-) > -f switch and standard output are inconsistent, as clobbering is > controlled by the user environment. Ok, but this is not an inconsistency between the wi

Re: tex2lyx feedback

2005-03-22 Thread Jean-Pierre Chrétien
Angus Leeming <[EMAIL PROTECTED]> writes: > > Jean-Pierre ChrÃtien wrote: > [...] > > Perhaps. Perhaps someone can tell you how to force a static build. I guess I know: just add a -Bstatic option to the link command. But it's awkward if it's not built in the makefiles (which I guess are the ly

Re: tex2lyx feedback

2005-03-22 Thread Jean-Pierre Chrétien
> This is exactly what it is supposed to do. And ist does so with the attached > example. Writing the main file to stdout and the other files directly to > disk is maybe a bit inconsistent, but it works. Ok [...] > What is inconsistent? Feel free to update the wiki information. I will do it when

Re: tex2lyx feedback

2005-03-22 Thread Angus Leeming
Jean-Pierre Chrétien wrote: > PS the reamining dynamic libraries are: > /usr/local/LyX/bin/tex2lyx: > > DYNAMIC SECTION INFORMATION > .dynamic: > [INDEX]Tag Value > [1]NEEDED libstdc++.so.5 > [2]NEEDED libgcc_s.so.1 > [3]NEEDED

Re: tex2lyx feedback

2005-03-22 Thread Jean-Pierre Chrétien
Angus Leeming <[EMAIL PROTECTED]> writes: > > Jean-Pierre Chretien wrote: > > Hello, > > Hi, Jean-Pierre. > > > I successfully compiled tex2lyx on a Sun Sparc and here is some > feedback: > > > > 1/ About the make_tex2lyx_dist.sh script, I had to make, sed and > > tar with the gnu versions of

Re: tex2lyx feedback

2005-03-22 Thread Georg Baum
Angus Leeming wrote: > Georg Baum wrote: > Georg, why not write the main file to disk, with the option to write it to > stdout (--output -)? Doesn't that feel more consistent? Of course. It is like that for historical reasons. Changing the output file is on my TODO list, but not with high priori

Re: tex2lyx feedback

2005-03-22 Thread Angus Leeming
Georg Baum wrote: > This is exactly what it is supposed to do. And ist does so with the > attached example. Writing the main file to stdout and the other files > directly to disk is maybe a bit inconsistent, but it works. Georg, why not write the main file to disk, with the option to write it to s

Re: tex2lyx feedback

2005-03-22 Thread Georg Baum
Jean-Pierre Chrétien wrote: > Georg Baum <[EMAIL PROTECTED]> writes: > >> No. All included documents are converted if they can be found. > > Sorry, I modified slightly my example to \include the first chapter > and I can't make it work. > > I don't understand how it could work anyway, as the te

Re: tex2lyx feedback

2005-03-22 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > Am Donnerstag, 17. MÃrz 2005 19:28 schrieb Jean-Pierre ChrÃtien: > > > OK, then I have fresh question which seems undocumented > > how does tex2lyx manage multipart documents ? > > Currently master and included file must be converted separately > > Is t

Re: tex2lyx feedback

2005-03-19 Thread Angus Leeming
Jean-Pierre Chretien wrote: > Hello, Hi, Jean-Pierre. > I successfully compiled tex2lyx on a Sun Sparc and here is some feedback: > > 1/ About the make_tex2lyx_dist.sh script, I had to make, sed and > tar with the gnu versions of the utilities, Oh dear. I made a big effort some time ago to try

Re: tex2lyx feedback

2005-03-17 Thread Georg Baum
Am Donnerstag, 17. März 2005 19:28 schrieb Jean-Pierre Chrétien: > OK, then I have fresh question which seems undocumented > how does tex2lyx manage multipart documents ? > Currently master and included file must be converted separately > Is this correct ? No. All included documents are converted

Re: tex2lyx feedback

2005-03-17 Thread Jean-Pierre ChrÃtien
Georg Baum <[EMAIL PROTECTED]> writes: > > Jean-Pierre ChrÃtien wrote: > > > Where will I find this section ? I will check there before giving > > feedback. > > I meant the wiki page: > > http://wiki.lyx.org/LaTeX/LatexToLyx OK, then I have fresh question which seems undocumented how does tex

Re: tex2lyx feedback

2005-03-17 Thread Georg Baum
Jean-Pierre Chrétien wrote: > Where will I find this section ? I will check there before giving > feedback. I meant the wiki page: http://wiki.lyx.org/LaTeX/LatexToLyx Georg

Re: tex2lyx feedback

2005-03-17 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > Jean-Pierre, > > thanks for the feedback. > > Lastly it seems that the converter adds a \bibliographystyle{plain} in ERT > > if there is no \bibliographystyle command in the document: this fails if > > the command is in the class (which I did here to c

Re: tex2lyx feedback

2005-03-17 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> Georg, could tex2lyx undo this quoted-printable stuff (maybe when >> it detects that the file was produced by LyX...)? It seems >> reasonably safe to me... Georg> Except when the label occurs in a user c

Re: tex2lyx feedback

2005-03-17 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Georg, could tex2lyx undo this quoted-printable stuff (maybe when it > detects that the file was produced by LyX...)? It seems reasonably > safe to me... Except when the label occurs in a user command: We cannot understand that in this snippet: \newcommand{\myref}[1

Re: tex2lyx feedback

2005-03-17 Thread Jean-Marc Lasgouttes
> "Jean-Pierre" == Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes: Jean-Pierre> This was due to round trip from lyx to latex and back. Jean-Pierre> Lys exports to latex with quoted-printable diacritics in Jean-Pierre> references. This has nothing to do with tex2lyx, sorry. Georg, could tex2l

Re: tex2lyx feedback

2005-03-17 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > Jean-Pierre, > > thanks for the feedback. > > b) text of labels is concerted in quoted-printable, which does not impact > > the functionality, but is harder to read > > I don't understand what you mean. Can you please provide a minimal > example .t

Re: tex2lyx feedback

2005-03-16 Thread Georg Baum
Jean-Pierre, thanks for the feedback. Jean-Pierre Chretien wrote: > Then inside the report, I noticed 4 differences > a) the french guillemets are translated as [ERT instead of quotes] This will be fixed soon. > b) text of labels is concerted in quoted-printable, which does not impact > t

tex2lyx feedback

2005-03-16 Thread Jean-Pierre Chretien
Hello, I successfully compiled tex2lyx on a Sun Sparc and here is some feedback: 1/ About the make_tex2lyx_dist.sh script, I had to make, sed and tar with the gnu versions of the utilities, and make minor chage in the script -> make_tex2lyx_dist.sh.patch 2/ I wrote a wrapper to automate the c