Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:59 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Yes - that's what I meant - I roght-clicked on the BibTeX insets -
 Settings - Style and changed both to elsarticle-harv.

 Am I missing something?


 Remove the style completely in the second instance, i.e. the Style field
 should be empty.

 You might to close an reopen the document afterwards.

I did - and I still get an error:

,
| This is BibTeX, Version 0.99d (TeX Live 2013)
| Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
| The top-level auxiliary file: Untitled.aux
| The style file: elsarticle-harv.bst
| Multiple inclusions of entire database
| ---line 22 of file Untitled.aux
|  : \citation{*
|  :}
| I'm skipping whatever remains of this command
| Illegal, another \bibdata command---line 23 of file Untitled.aux
|  : \bibdata
|  : {1_Users_rainerkrug_tmp_Proceedings}
| I'm skipping whatever remains of this command
`

Any suggestions now? It seems that it has to do with the multiple
complete databases I want to include.

Rainer



 Jürgen



 Rainer

 
  Jürgen

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982


-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpImacFYA5jy.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Vincent van Ravesteijn
On Fri, Mar 28, 2014 at 3:37 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



 You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
 So were just not informed that something is wrong before.

 In general, the problem is that you cannot use two different bib styles in
 one document.


We could pop up a message box telling the user. Hey,we found a bibtex
problem. We're sorry that we didn't complain about it in previous version,
but you should fix it like this. \n\n (Don't show me again [checkbox])

Vincent


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:42 GMT+01:00 Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr
:

  However, until LyX 2.1, we did not track bibtex errors. Now we do. So
 were just not informed that something is wrong before.

 Concerning this point, could we have a preference somewhere for ignoring
 them? I remarked in the previous beta (having tested yet the RC1)  that
 even if the PDF does compiles with these errors, Lyx does not show it. It
 would be nice to preview the PDF nevertheless.


 I am reluctant to do this. If bibtex reports an error, you should fix it.

I agree here - although I have bitten by this...

 You could make the same argument wrt LaTeX error. In many cases, a PDF
 would be produced nonetheless, but a wrong one (the same applies to bibtex
 errors).

 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpxKNOoMYXnj.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:03 GMT+01:00 Philipp Gröne philipp.gro...@googlemail.com:

 Yes, sometimes the PDF would be the wrong one.
 But imagine this case: My thesis had 4 chapters, and was made up from
 6 documents (Master document+Appendix where 5. and 6.).
 Out of some reasons, the 4th chapter wouldn't compile alone, but ended
 with some or the other error message. If I tried to compile the master
 document, everything looked fine.
 Probably, with some work, I would've been able to repair the 4th
 chapter, so it would've compile alone.


But your point is that you want to skip all sorts of errors, right, not
only bibtex errors?

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Scott Kostyshak
On Fri, Mar 28, 2014 at 11:12 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 2014-03-28 16:10 GMT+01:00 Philipp Gröne:

 Yes. In fact, I want to be able to choose which errors are skipped.
 Or, even better, I want a comprehensive list of errors and a pdf-file.


 http://www.lyx.org/trac/ticket/8739

 Jürgen

I agree with Jürgen. I personally don't think there should even be an
option available. The only thing that makes me hesitant is Julien's
example that there is a bug in some software. What do other software
do? gcc/clang do not still produce binaries. knitr I think by default
does not stop on errors (although this might have changed). LaTeX I
guess does still produce a pdf if you keep returning through the
errors (or you put \nonstopmode).

As far as a comprehensive list of errors, I agree that this would in
theory be nice, but I believe that only the first error is accurate.

Best,

Scott


Fwd: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Murat Yildizoglu
Maybe I am missing something here, but I am against softwares that decide
in place of the users. This is one of the reasons why I have never adopted
MS programs.

If latex accepts to build the file, lyx should accept to show the file
built by latex. It is not its job to get on the way of the user.
It is the user's job to decide which errors and warnings must be taken care
of, not Lyx's one, in my opinion.

Best regards,

Murat

Le vendredi 28 mars 2014, Scott Kostyshak
skost...@lyx.orgjavascript:_e(%7B%7D,'cvml','skost...@lyx.org');
a écrit :

 On Fri, Mar 28, 2014 at 11:12 AM, Jürgen Spitzmüller sp...@lyx.org
 wrote:
  2014-03-28 16:10 GMT+01:00 Philipp Gröne:
 
  Yes. In fact, I want to be able to choose which errors are skipped.
  Or, even better, I want a comprehensive list of errors and a pdf-file.
 
 
  http://www.lyx.org/trac/ticket/8739
 
  Jürgen

 I agree with Jürgen. I personally don't think there should even be an
 option available. The only thing that makes me hesitant is Julien's
 example that there is a bug in some software. What do other software
 do? gcc/clang do not still produce binaries. knitr I think by default
 does not stop on errors (although this might have changed). LaTeX I
 guess does still produce a pdf if you keep returning through the
 errors (or you put \nonstopmode).

 As far as a comprehensive list of errors, I agree that this would in
 theory be nice, but I believe that only the first error is accurate.

 Best,

 Scott



-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info




-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Scott Kostyshak
On Fri, Mar 28, 2014 at 12:56 PM, Murat Yildizoglu
murat.yildizo...@u-bordeaux4.fr wrote:

 Maybe I am missing something here, but I am against softwares that decide in 
 place of the users. This is one of the reasons why I have never adopted MS 
 programs.

 If latex accepts to build the file, lyx should accept to show the file built 
 by latex. It is not its job to get on the way of the user.
 It is the user's job to decide which errors and warnings must be taken care 
 of, not Lyx's one, in my opinion.

Hi Murat,

Warnings, yes. As for errors, I think things are a little more
complicated than latex accepts to build the file. First, LaTeX makes
you press return many many times. It makes no attempts to make
compiling a pleasant experience if your LaTeX file contains an error.
Second, often there is a chain of commands that need to be run. e.g.
1. latex, 2. bibtex 3. latex. If there is an error at 2, yes there is
a pdf file still available, but this only happens because 1 produced
the pdf file without errors. If you run 3 then maybe it updates the
pdf file as it can because I don't think it is expecting that you
would dare to continue to 3 if 2 had errors. I don't think it's the
job of latex to check for bibtex errors.

I'm still open to other opinions on this, but not convinced yet.

Best,

Scott


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 16:11 GMT+01:00 Rainer M Krug:

 I did - and I still get an error:

 ,
 | This is BibTeX, Version 0.99d (TeX Live 2013)
 | Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
 | The top-level auxiliary file: Untitled.aux
 | The style file: elsarticle-harv.bst
 | Multiple inclusions of entire database
 | ---line 22 of file Untitled.aux
 |  : \citation{*
 |  :}
 | I'm skipping whatever remains of this command
 | Illegal, another \bibdata command---line 23 of file Untitled.aux
 |  : \bibdata
 |  : {1_Users_rainerkrug_tmp_Proceedings}
 | I'm skipping whatever remains of this command
 `

 Any suggestions now? It seems that it has to do with the multiple
 complete databases I want to include.


 Try Sectioned bibliographies in Document  Settings  Bibliography

That worked - after closing and re-opening the document.

After which changes do I actual have to close and re-open the document?

A complete re-compile option which deletes all temporary files would
be quite useful.

Thanks,

Rainer

 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpUIrJkY6R6l.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 18:06 GMT+01:00 Rainer M Krug rai...@krugs.de:

 That worked - after closing and re-opening the document.

 After which changes do I actual have to close and re-open the document?


I am not sure. In any case, the problem are the aux and bbl files that need
to be deleted.


 A complete re-compile option which deletes all temporary files would
 be quite useful.


Agreed. Or let LyX detect these cases and try to rebuild from scratch.

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:11 GMT+01:00 Rainer M Krug:

 I did - and I still get an error:

 ,
 | This is BibTeX, Version 0.99d (TeX Live 2013)
 | Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
 | The top-level auxiliary file: Untitled.aux
 | The style file: elsarticle-harv.bst
 | Multiple inclusions of entire database
 | ---line 22 of file Untitled.aux
 |  : \citation{*
 |  :}
 | I'm skipping whatever remains of this command
 | Illegal, another \bibdata command---line 23 of file Untitled.aux
 |  : \bibdata
 |  : {1_Users_rainerkrug_tmp_Proceedings}
 | I'm skipping whatever remains of this command
 `

 Any suggestions now? It seems that it has to do with the multiple
 complete databases I want to include.


Try Sectioned bibliographies in Document  Settings  Bibliography

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



 You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
 So were just not informed that something is wrong before.

That is actually nice.


 In general, the problem is that you cannot use two different bib styles in
 one document.

I changed the bib style to the same, and still get the error (new lyx
file attached). So where do I have to change them?

Thanks,


Untitled.lyx
Description: LyX file

Rainer


 Jürgen



 Suggestions

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982



-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgppWiLC5sFMp.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Murat Yildizoglu
 However, until LyX 2.1, we did not track bibtex errors. Now we do. So
were just not informed that something is wrong before.

Concerning this point, could we have a preference somewhere for ignoring
them? I remarked in the previous beta (having tested yet the RC1)  that
even if the PDF does compiles with these errors, Lyx does not show it. It
would be nice to preview the PDF nevertheless.


2014-03-28 15:37 GMT+01:00 Jürgen Spitzmüller sp...@lyx.org:

 2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



 You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
 So were just not informed that something is wrong before.

 In general, the problem is that you cannot use two different bib styles in
 one document.

 Jürgen



 Suggestions

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982





-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Hi

I am having a document (attached) which does not compile in the new LyX
rc but on 2.0.7.1


Untitled.lyx
Description: Lyx rc1 2.1


Proceedings.bib
Description: bibtex 1


InBook.bib
Description: bibtex 2


Untitled.20.lyx
Description: Lyx 2.0.x file of the document

It has something to do with multiple bibliographies - if I delete one,
it is working. 

Suggestions

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpk2Xv0fH0Kw.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:42 GMT+01:00 Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr
:

  However, until LyX 2.1, we did not track bibtex errors. Now we do. So
 were just not informed that something is wrong before.

 Concerning this point, could we have a preference somewhere for ignoring
 them? I remarked in the previous beta (having tested yet the RC1)  that
 even if the PDF does compiles with these errors, Lyx does not show it. It
 would be nice to preview the PDF nevertheless.


I am reluctant to do this. If bibtex reports an error, you should fix it.
You could make the same argument wrt LaTeX error. In many cases, a PDF
would be produced nonetheless, but a wrong one (the same applies to bibtex
errors).

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:50 GMT+01:00 Rainer M Krug rai...@krugs.de:

 I changed the bib style to the same, and still get the error (new lyx
 file attached). So where do I have to change them?


 The problem is not the bib file (you can of course have multiple of these),
 but the bst files (styles).

Yes - that's what I meant - I roght-clicked on the BibTeX insets -
Settings - Style and changed both to elsarticle-harv. 

Am I missing something?

Rainer


 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpep_9KCFlC1.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
So were just not informed that something is wrong before.

In general, the problem is that you cannot use two different bib styles in
one document.

Jürgen



 Suggestions

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982




Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 18:06 GMT+01:00 Rainer M Krug rai...@krugs.de:

 That worked - after closing and re-opening the document.

 After which changes do I actual have to close and re-open the document?


 I am not sure. In any case, the problem are the aux and bbl files that need
 to be deleted.


 A complete re-compile option which deletes all temporary files would
 be quite useful.


 Agreed. Or let LyX detect these cases and try to rebuild from scratch.

Filed a ticket:

http://www.lyx.org/trac/ticket/9061

Cheers,

Rainer


 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpjStS5vrnW3.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:10 GMT+01:00 Philipp Gröne:

 Yes. In fact, I want to be able to choose which errors are skipped.
 Or, even better, I want a comprehensive list of errors and a pdf-file.


http://www.lyx.org/trac/ticket/8739

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Philipp Gröne
Hi there!

Murat Yildizoglu wrote:
 Concerning this point, could we have a preference somewhere for ignoring
 them? I remarked in the previous beta (having tested yet the RC1)  that even
 if the PDF does compiles with these errors, Lyx does not show it. It would
 be nice to preview the PDF nevertheless.
 Concerning this point, could we have a preference somewhere for ignoring
 them?

I just turned in my final thesis, completely written in LyX. I've got
not much to complain - quite the opposite. LyX spared me a lot of
hassle. More robustness against errors would nonetheless further
enhance my enjoyment of LyX.
I second the notion of a ignore errors and show pdf nonetheless.

Jürgen Spitzmüller wrote:

 I am reluctant to do this. If bibtex reports an error, you should fix it. You 
 could make the same argument wrt LaTeX error. In many cases, a PDF would be 
 produced nonetheless, but a wrong one (the same applies to bibtex errors).

Yes, sometimes the PDF would be the wrong one.
But imagine this case: My thesis had 4 chapters, and was made up from
6 documents (Master document+Appendix where 5. and 6.).
Out of some reasons, the 4th chapter wouldn't compile alone, but ended
with some or the other error message. If I tried to compile the master
document, everything looked fine.
Probably, with some work, I would've been able to repair the 4th
chapter, so it would've compile alone.

I didn't do that, because the time was pressing, but opened the master
every time I worked at the 4th chapter and compiled that.
It was a hassle.

Yes, it is better to repair bugs instead of glossing them over, but I
don't want to be forced to do that. Give the LyX-users the credit to
know when they have to repair things, and when it's okay to gloss over
them.
(In my case, the error came from some wrongly put labels/cross
references, I think. All I wanted to do was checking of my pictures
looked right. For that, the wrong pdf would've been completely
sufficient.)

Greetings!
Ph.


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:50 GMT+01:00 Rainer M Krug rai...@krugs.de:

 I changed the bib style to the same, and still get the error (new lyx
 file attached). So where do I have to change them?


The problem is not the bib file (you can of course have multiple of these),
but the bst files (styles).

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:59 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Yes - that's what I meant - I roght-clicked on the BibTeX insets -
 Settings - Style and changed both to elsarticle-harv.

 Am I missing something?


Remove the style completely in the second instance, i.e. the Style field
should be empty.

You might to close an reopen the document afterwards.

Jürgen



 Rainer

 
  Jürgen

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982



Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:59 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Yes - that's what I meant - I roght-clicked on the BibTeX insets -
 Settings - Style and changed both to elsarticle-harv.

 Am I missing something?


 Remove the style completely in the second instance, i.e. the Style field
 should be empty.

 You might to close an reopen the document afterwards.

I did - and I still get an error:

,
| This is BibTeX, Version 0.99d (TeX Live 2013)
| Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
| The top-level auxiliary file: Untitled.aux
| The style file: elsarticle-harv.bst
| Multiple inclusions of entire database
| ---line 22 of file Untitled.aux
|  : \citation{*
|  :}
| I'm skipping whatever remains of this command
| Illegal, another \bibdata command---line 23 of file Untitled.aux
|  : \bibdata
|  : {1_Users_rainerkrug_tmp_Proceedings}
| I'm skipping whatever remains of this command
`

Any suggestions now? It seems that it has to do with the multiple
complete databases I want to include.

Rainer



 Jürgen



 Rainer

 
  Jürgen

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982


-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpImacFYA5jy.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Vincent van Ravesteijn
On Fri, Mar 28, 2014 at 3:37 PM, Jürgen Spitzmüller sp...@lyx.org wrote:

 2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



 You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
 So were just not informed that something is wrong before.

 In general, the problem is that you cannot use two different bib styles in
 one document.


We could pop up a message box telling the user. Hey,we found a bibtex
problem. We're sorry that we didn't complain about it in previous version,
but you should fix it like this. \n\n (Don't show me again [checkbox])

Vincent


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:42 GMT+01:00 Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr
:

  However, until LyX 2.1, we did not track bibtex errors. Now we do. So
 were just not informed that something is wrong before.

 Concerning this point, could we have a preference somewhere for ignoring
 them? I remarked in the previous beta (having tested yet the RC1)  that
 even if the PDF does compiles with these errors, Lyx does not show it. It
 would be nice to preview the PDF nevertheless.


 I am reluctant to do this. If bibtex reports an error, you should fix it.

I agree here - although I have bitten by this...

 You could make the same argument wrt LaTeX error. In many cases, a PDF
 would be produced nonetheless, but a wrong one (the same applies to bibtex
 errors).

 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpxKNOoMYXnj.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:03 GMT+01:00 Philipp Gröne philipp.gro...@googlemail.com:

 Yes, sometimes the PDF would be the wrong one.
 But imagine this case: My thesis had 4 chapters, and was made up from
 6 documents (Master document+Appendix where 5. and 6.).
 Out of some reasons, the 4th chapter wouldn't compile alone, but ended
 with some or the other error message. If I tried to compile the master
 document, everything looked fine.
 Probably, with some work, I would've been able to repair the 4th
 chapter, so it would've compile alone.


But your point is that you want to skip all sorts of errors, right, not
only bibtex errors?

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Scott Kostyshak
On Fri, Mar 28, 2014 at 11:12 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 2014-03-28 16:10 GMT+01:00 Philipp Gröne:

 Yes. In fact, I want to be able to choose which errors are skipped.
 Or, even better, I want a comprehensive list of errors and a pdf-file.


 http://www.lyx.org/trac/ticket/8739

 Jürgen

I agree with Jürgen. I personally don't think there should even be an
option available. The only thing that makes me hesitant is Julien's
example that there is a bug in some software. What do other software
do? gcc/clang do not still produce binaries. knitr I think by default
does not stop on errors (although this might have changed). LaTeX I
guess does still produce a pdf if you keep returning through the
errors (or you put \nonstopmode).

As far as a comprehensive list of errors, I agree that this would in
theory be nice, but I believe that only the first error is accurate.

Best,

Scott


Fwd: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Murat Yildizoglu
Maybe I am missing something here, but I am against softwares that decide
in place of the users. This is one of the reasons why I have never adopted
MS programs.

If latex accepts to build the file, lyx should accept to show the file
built by latex. It is not its job to get on the way of the user.
It is the user's job to decide which errors and warnings must be taken care
of, not Lyx's one, in my opinion.

Best regards,

Murat

Le vendredi 28 mars 2014, Scott Kostyshak
skost...@lyx.orgjavascript:_e(%7B%7D,'cvml','skost...@lyx.org');
a écrit :

 On Fri, Mar 28, 2014 at 11:12 AM, Jürgen Spitzmüller sp...@lyx.org
 wrote:
  2014-03-28 16:10 GMT+01:00 Philipp Gröne:
 
  Yes. In fact, I want to be able to choose which errors are skipped.
  Or, even better, I want a comprehensive list of errors and a pdf-file.
 
 
  http://www.lyx.org/trac/ticket/8739
 
  Jürgen

 I agree with Jürgen. I personally don't think there should even be an
 option available. The only thing that makes me hesitant is Julien's
 example that there is a bug in some software. What do other software
 do? gcc/clang do not still produce binaries. knitr I think by default
 does not stop on errors (although this might have changed). LaTeX I
 guess does still produce a pdf if you keep returning through the
 errors (or you put \nonstopmode).

 As far as a comprehensive list of errors, I agree that this would in
 theory be nice, but I believe that only the first error is accurate.

 Best,

 Scott



-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info




-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Scott Kostyshak
On Fri, Mar 28, 2014 at 12:56 PM, Murat Yildizoglu
murat.yildizo...@u-bordeaux4.fr wrote:

 Maybe I am missing something here, but I am against softwares that decide in 
 place of the users. This is one of the reasons why I have never adopted MS 
 programs.

 If latex accepts to build the file, lyx should accept to show the file built 
 by latex. It is not its job to get on the way of the user.
 It is the user's job to decide which errors and warnings must be taken care 
 of, not Lyx's one, in my opinion.

Hi Murat,

Warnings, yes. As for errors, I think things are a little more
complicated than latex accepts to build the file. First, LaTeX makes
you press return many many times. It makes no attempts to make
compiling a pleasant experience if your LaTeX file contains an error.
Second, often there is a chain of commands that need to be run. e.g.
1. latex, 2. bibtex 3. latex. If there is an error at 2, yes there is
a pdf file still available, but this only happens because 1 produced
the pdf file without errors. If you run 3 then maybe it updates the
pdf file as it can because I don't think it is expecting that you
would dare to continue to 3 if 2 had errors. I don't think it's the
job of latex to check for bibtex errors.

I'm still open to other opinions on this, but not convinced yet.

Best,

Scott


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 16:11 GMT+01:00 Rainer M Krug:

 I did - and I still get an error:

 ,
 | This is BibTeX, Version 0.99d (TeX Live 2013)
 | Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
 | The top-level auxiliary file: Untitled.aux
 | The style file: elsarticle-harv.bst
 | Multiple inclusions of entire database
 | ---line 22 of file Untitled.aux
 |  : \citation{*
 |  :}
 | I'm skipping whatever remains of this command
 | Illegal, another \bibdata command---line 23 of file Untitled.aux
 |  : \bibdata
 |  : {1_Users_rainerkrug_tmp_Proceedings}
 | I'm skipping whatever remains of this command
 `

 Any suggestions now? It seems that it has to do with the multiple
 complete databases I want to include.


 Try Sectioned bibliographies in Document  Settings  Bibliography

That worked - after closing and re-opening the document.

After which changes do I actual have to close and re-open the document?

A complete re-compile option which deletes all temporary files would
be quite useful.

Thanks,

Rainer

 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpUIrJkY6R6l.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 18:06 GMT+01:00 Rainer M Krug rai...@krugs.de:

 That worked - after closing and re-opening the document.

 After which changes do I actual have to close and re-open the document?


I am not sure. In any case, the problem are the aux and bbl files that need
to be deleted.


 A complete re-compile option which deletes all temporary files would
 be quite useful.


Agreed. Or let LyX detect these cases and try to rebuild from scratch.

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:11 GMT+01:00 Rainer M Krug:

 I did - and I still get an error:

 ,
 | This is BibTeX, Version 0.99d (TeX Live 2013)
 | Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
 | The top-level auxiliary file: Untitled.aux
 | The style file: elsarticle-harv.bst
 | Multiple inclusions of entire database
 | ---line 22 of file Untitled.aux
 |  : \citation{*
 |  :}
 | I'm skipping whatever remains of this command
 | Illegal, another \bibdata command---line 23 of file Untitled.aux
 |  : \bibdata
 |  : {1_Users_rainerkrug_tmp_Proceedings}
 | I'm skipping whatever remains of this command
 `

 Any suggestions now? It seems that it has to do with the multiple
 complete databases I want to include.


Try Sectioned bibliographies in Document  Settings  Bibliography

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



 You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
 So were just not informed that something is wrong before.

That is actually nice.


 In general, the problem is that you cannot use two different bib styles in
 one document.

I changed the bib style to the same, and still get the error (new lyx
file attached). So where do I have to change them?

Thanks,


Untitled.lyx
Description: LyX file

Rainer


 Jürgen



 Suggestions

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982



-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgppWiLC5sFMp.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Murat Yildizoglu
 However, until LyX 2.1, we did not track bibtex errors. Now we do. So
were just not informed that something is wrong before.

Concerning this point, could we have a preference somewhere for ignoring
them? I remarked in the previous beta (having tested yet the RC1)  that
even if the PDF does compiles with these errors, Lyx does not show it. It
would be nice to preview the PDF nevertheless.


2014-03-28 15:37 GMT+01:00 Jürgen Spitzmüller sp...@lyx.org:

 2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



 You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
 So were just not informed that something is wrong before.

 In general, the problem is that you cannot use two different bib styles in
 one document.

 Jürgen



 Suggestions

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982





-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Hi

I am having a document (attached) which does not compile in the new LyX
rc but on 2.0.7.1


Untitled.lyx
Description: Lyx rc1 2.1


Proceedings.bib
Description: bibtex 1


InBook.bib
Description: bibtex 2


Untitled.20.lyx
Description: Lyx 2.0.x file of the document

It has something to do with multiple bibliographies - if I delete one,
it is working. 

Suggestions

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpk2Xv0fH0Kw.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:42 GMT+01:00 Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr
:

  However, until LyX 2.1, we did not track bibtex errors. Now we do. So
 were just not informed that something is wrong before.

 Concerning this point, could we have a preference somewhere for ignoring
 them? I remarked in the previous beta (having tested yet the RC1)  that
 even if the PDF does compiles with these errors, Lyx does not show it. It
 would be nice to preview the PDF nevertheless.


I am reluctant to do this. If bibtex reports an error, you should fix it.
You could make the same argument wrt LaTeX error. In many cases, a PDF
would be produced nonetheless, but a wrong one (the same applies to bibtex
errors).

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 15:50 GMT+01:00 Rainer M Krug rai...@krugs.de:

 I changed the bib style to the same, and still get the error (new lyx
 file attached). So where do I have to change them?


 The problem is not the bib file (you can of course have multiple of these),
 but the bst files (styles).

Yes - that's what I meant - I roght-clicked on the BibTeX insets -
Settings - Style and changed both to elsarticle-harv. 

Am I missing something?

Rainer


 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpep_9KCFlC1.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:19 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Hi

 I am having a document (attached) which does not compile in the new LyX
 rc but on 2.0.7.1


 It has something to do with multiple bibliographies - if I delete one,
 it is working.



You get a bibtex error in both cases (look at Tools  LaTeX log in LyX
2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
So were just not informed that something is wrong before.

In general, the problem is that you cannot use two different bib styles in
one document.

Jürgen



 Suggestions

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982




Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller sp...@lyx.org writes:

 2014-03-28 18:06 GMT+01:00 Rainer M Krug rai...@krugs.de:

 That worked - after closing and re-opening the document.

 After which changes do I actual have to close and re-open the document?


 I am not sure. In any case, the problem are the aux and bbl files that need
 to be deleted.


 A complete re-compile option which deletes all temporary files would
 be quite useful.


 Agreed. Or let LyX detect these cases and try to rebuild from scratch.

Filed a ticket:

http://www.lyx.org/trac/ticket/9061

Cheers,

Rainer


 Jürgen

-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


pgpjStS5vrnW3.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:10 GMT+01:00 Philipp Gröne:

 Yes. In fact, I want to be able to choose which errors are skipped.
 Or, even better, I want a comprehensive list of errors and a pdf-file.


http://www.lyx.org/trac/ticket/8739

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Philipp Gröne
Hi there!

Murat Yildizoglu wrote:
 Concerning this point, could we have a preference somewhere for ignoring
 them? I remarked in the previous beta (having tested yet the RC1)  that even
 if the PDF does compiles with these errors, Lyx does not show it. It would
 be nice to preview the PDF nevertheless.
 Concerning this point, could we have a preference somewhere for ignoring
 them?

I just turned in my final thesis, completely written in LyX. I've got
not much to complain - quite the opposite. LyX spared me a lot of
hassle. More robustness against errors would nonetheless further
enhance my enjoyment of LyX.
I second the notion of a ignore errors and show pdf nonetheless.

Jürgen Spitzmüller wrote:

 I am reluctant to do this. If bibtex reports an error, you should fix it. You 
 could make the same argument wrt LaTeX error. In many cases, a PDF would be 
 produced nonetheless, but a wrong one (the same applies to bibtex errors).

Yes, sometimes the PDF would be the wrong one.
But imagine this case: My thesis had 4 chapters, and was made up from
6 documents (Master document+Appendix where 5. and 6.).
Out of some reasons, the 4th chapter wouldn't compile alone, but ended
with some or the other error message. If I tried to compile the master
document, everything looked fine.
Probably, with some work, I would've been able to repair the 4th
chapter, so it would've compile alone.

I didn't do that, because the time was pressing, but opened the master
every time I worked at the 4th chapter and compiled that.
It was a hassle.

Yes, it is better to repair bugs instead of glossing them over, but I
don't want to be forced to do that. Give the LyX-users the credit to
know when they have to repair things, and when it's okay to gloss over
them.
(In my case, the error came from some wrongly put labels/cross
references, I think. All I wanted to do was checking of my pictures
looked right. For that, the wrong pdf would've been completely
sufficient.)

Greetings!
Ph.


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:50 GMT+01:00 Rainer M Krug rai...@krugs.de:

 I changed the bib style to the same, and still get the error (new lyx
 file attached). So where do I have to change them?


The problem is not the bib file (you can of course have multiple of these),
but the bst files (styles).

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:59 GMT+01:00 Rainer M Krug rai...@krugs.de:

 Yes - that's what I meant - I roght-clicked on the BibTeX insets -
 Settings - Style and changed both to elsarticle-harv.

 Am I missing something?


Remove the style completely in the second instance, i.e. the Style field
should be empty.

You might to close an reopen the document afterwards.

Jürgen



 Rainer

 
  Jürgen

 --
 Rainer M. Krug
 email: Raineratkrugsdotde
 PGP: 0x0F52F982



Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller  writes:

> 2014-03-28 15:59 GMT+01:00 Rainer M Krug :
>
>> Yes - that's what I meant - I roght-clicked on the BibTeX insets -
>> Settings - Style and changed both to elsarticle-harv.
>>
>> Am I missing something?
>>
>
> Remove the style completely in the second instance, i.e. the "Style" field
> should be empty.
>
> You might to close an reopen the document afterwards.

I did - and I still get an error:

,
| This is BibTeX, Version 0.99d (TeX Live 2013)
| Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
| The top-level auxiliary file: Untitled.aux
| The style file: elsarticle-harv.bst
| Multiple inclusions of entire database
| ---line 22 of file Untitled.aux
|  : \citation{*
|  :}
| I'm skipping whatever remains of this command
| Illegal, another \bibdata command---line 23 of file Untitled.aux
|  : \bibdata
|  : {1_Users_rainerkrug_tmp_Proceedings}
| I'm skipping whatever remains of this command
`

Any suggestions now? It seems that it has to do with the multiple
complete databases I want to include.

Rainer


>
> Jürgen
>
>
>>
>> Rainer
>>
>> >
>> > Jürgen
>>
>> --
>> Rainer M. Krug
>> email: Rainerkrugsde
>> PGP: 0x0F52F982
>>

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


pgpImacFYA5jy.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Vincent van Ravesteijn
On Fri, Mar 28, 2014 at 3:37 PM, Jürgen Spitzmüller  wrote:

> 2014-03-28 15:19 GMT+01:00 Rainer M Krug :
>
>> Hi
>>
>> I am having a document (attached) which does not compile in the new LyX
>> rc but on 2.0.7.1
>>
>>
>> It has something to do with multiple bibliographies - if I delete one,
>> it is working.
>>
>
>
> You get a bibtex error in both cases (look at Tools > LaTeX log in LyX
> 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
> So were just not informed that something is wrong before.
>
> In general, the problem is that you cannot use two different bib styles in
> one document.
>

We could pop up a message box telling the user. "Hey,we found a bibtex
problem. We're sorry that we didn't complain about it in previous version,
but you should fix it like this. \n\n (Don't show me again [checkbox])"

Vincent


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller  writes:

> 2014-03-28 15:42 GMT+01:00 Murat Yildizoglu >:
>
>> > However, until LyX 2.1, we did not track bibtex errors. Now we do. So
>> were just not informed that something is wrong before.
>>
>> Concerning this point, could we have a preference somewhere for ignoring
>> them? I remarked in the previous beta (having tested yet the RC1)  that
>> even if the PDF does compiles with these errors, Lyx does not show it. It
>> would be nice to preview the PDF nevertheless.
>>
>
> I am reluctant to do this. If bibtex reports an error, you should fix it.

I agree here - although I have bitten by this...

> You could make the same argument wrt LaTeX error. In many cases, a PDF
> would be produced nonetheless, but a wrong one (the same applies to bibtex
> errors).
>
> Jürgen

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


pgpxKNOoMYXnj.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:03 GMT+01:00 "Philipp Gröne" :

> Yes, sometimes the PDF would be "the wrong one".
> But imagine this case: My thesis had 4 chapters, and was made up from
> 6 documents (Master document+Appendix where 5. and 6.).
> Out of some reasons, the 4th chapter wouldn't compile alone, but ended
> with some or the other error message. If I tried to compile the master
> document, everything looked fine.
> Probably, with some work, I would've been able to repair the 4th
> chapter, so it would've compile alone.
>

But your point is that you want to skip all sorts of errors, right, not
only bibtex errors?

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Scott Kostyshak
On Fri, Mar 28, 2014 at 11:12 AM, Jürgen Spitzmüller  wrote:
> 2014-03-28 16:10 GMT+01:00 "Philipp Gröne":
>>
>> Yes. In fact, I want to be able to choose which errors are skipped.
>> Or, even better, I want a comprehensive list of errors and a pdf-file.
>
>
> http://www.lyx.org/trac/ticket/8739
>
> Jürgen

I agree with Jürgen. I personally don't think there should even be an
option available. The only thing that makes me hesitant is Julien's
example that there is a bug in some software. What do other software
do? gcc/clang do not still produce binaries. knitr I think by default
does not stop on errors (although this might have changed). LaTeX I
guess does still produce a pdf if you keep "return"ing through the
errors (or you put \nonstopmode).

As far as a comprehensive list of errors, I agree that this would in
theory be nice, but I believe that only the first error is accurate.

Best,

Scott


Fwd: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Murat Yildizoglu
Maybe I am missing something here, but I am against softwares that decide
in place of the users. This is one of the reasons why I have never adopted
MS programs.

If latex accepts to build the file, lyx should accept to show the file
built by latex. It is not its job to get on the way of the user.
It is the user's job to decide which errors and warnings must be taken care
of, not Lyx's one, in my opinion.

Best regards,

Murat

Le vendredi 28 mars 2014, Scott Kostyshak
>
a écrit :

> On Fri, Mar 28, 2014 at 11:12 AM, Jürgen Spitzmüller 
> wrote:
> > 2014-03-28 16:10 GMT+01:00 "Philipp Gröne":
> >>
> >> Yes. In fact, I want to be able to choose which errors are skipped.
> >> Or, even better, I want a comprehensive list of errors and a pdf-file.
> >
> >
> > http://www.lyx.org/trac/ticket/8739
> >
> > Jürgen
>
> I agree with Jürgen. I personally don't think there should even be an
> option available. The only thing that makes me hesitant is Julien's
> example that there is a bug in some software. What do other software
> do? gcc/clang do not still produce binaries. knitr I think by default
> does not stop on errors (although this might have changed). LaTeX I
> guess does still produce a pdf if you keep "return"ing through the
> errors (or you put \nonstopmode).
>
> As far as a comprehensive list of errors, I agree that this would in
> theory be nice, but I believe that only the first error is accurate.
>
> Best,
>
> Scott
>


-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info




-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Scott Kostyshak
On Fri, Mar 28, 2014 at 12:56 PM, Murat Yildizoglu
 wrote:
>
> Maybe I am missing something here, but I am against softwares that decide in 
> place of the users. This is one of the reasons why I have never adopted MS 
> programs.
>
> If latex accepts to build the file, lyx should accept to show the file built 
> by latex. It is not its job to get on the way of the user.
> It is the user's job to decide which errors and warnings must be taken care 
> of, not Lyx's one, in my opinion.

Hi Murat,

Warnings, yes. As for errors, I think things are a little more
complicated than "latex accepts to build the file". First, LaTeX makes
you press return many many times. It makes no attempts to make
compiling a pleasant experience if your LaTeX file contains an error.
Second, often there is a chain of commands that need to be run. e.g.
1. latex, 2. bibtex 3. latex. If there is an error at 2, yes there is
a pdf file still available, but this only happens because 1 produced
the pdf file without errors. If you run 3 then maybe it updates the
pdf file as it can because I don't think it is expecting that you
would dare to continue to 3 if 2 had errors. I don't think it's the
job of latex to check for bibtex errors.

I'm still open to other opinions on this, but not convinced yet.

Best,

Scott


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller  writes:

> 2014-03-28 16:11 GMT+01:00 Rainer M Krug:
>
>> I did - and I still get an error:
>>
>> ,
>> | This is BibTeX, Version 0.99d (TeX Live 2013)
>> | Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
>> | The top-level auxiliary file: Untitled.aux
>> | The style file: elsarticle-harv.bst
>> | Multiple inclusions of entire database
>> | ---line 22 of file Untitled.aux
>> |  : \citation{*
>> |  :}
>> | I'm skipping whatever remains of this command
>> | Illegal, another \bibdata command---line 23 of file Untitled.aux
>> |  : \bibdata
>> |  : {1_Users_rainerkrug_tmp_Proceedings}
>> | I'm skipping whatever remains of this command
>> `
>>
>> Any suggestions now? It seems that it has to do with the multiple
>> complete databases I want to include.
>>
>
> Try "Sectioned bibliographies" in Document > Settings > Bibliography"

That worked - after closing and re-opening the document.

After which changes do I actual have to close and re-open the document?

A "complete re-compile" option which deletes all temporary files would
be quite useful.

Thanks,

Rainer
>
> Jürgen

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


pgpUIrJkY6R6l.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 18:06 GMT+01:00 Rainer M Krug :

> That worked - after closing and re-opening the document.
>
> After which changes do I actual have to close and re-open the document?
>

I am not sure. In any case, the problem are the aux and bbl files that need
to be deleted.

>
> A "complete re-compile" option which deletes all temporary files would
> be quite useful.
>

Agreed. Or let LyX detect these cases and try to rebuild from scratch.

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:11 GMT+01:00 Rainer M Krug:

> I did - and I still get an error:
>
> ,
> | This is BibTeX, Version 0.99d (TeX Live 2013)
> | Capacity: max_strings=35307, hash_size=35307, hash_prime=30011
> | The top-level auxiliary file: Untitled.aux
> | The style file: elsarticle-harv.bst
> | Multiple inclusions of entire database
> | ---line 22 of file Untitled.aux
> |  : \citation{*
> |  :}
> | I'm skipping whatever remains of this command
> | Illegal, another \bibdata command---line 23 of file Untitled.aux
> |  : \bibdata
> |  : {1_Users_rainerkrug_tmp_Proceedings}
> | I'm skipping whatever remains of this command
> `
>
> Any suggestions now? It seems that it has to do with the multiple
> complete databases I want to include.
>

Try "Sectioned bibliographies" in Document > Settings > Bibliography"

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller  writes:

> 2014-03-28 15:19 GMT+01:00 Rainer M Krug :
>
>> Hi
>>
>> I am having a document (attached) which does not compile in the new LyX
>> rc but on 2.0.7.1
>>
>>
>> It has something to do with multiple bibliographies - if I delete one,
>> it is working.
>>
>
>
> You get a bibtex error in both cases (look at Tools > LaTeX log in LyX
> 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
> So were just not informed that something is wrong before.

That is actually nice.

>
> In general, the problem is that you cannot use two different bib styles in
> one document.

I changed the bib style to the same, and still get the error (new lyx
file attached). So where do I have to change them?

Thanks,


Untitled.lyx
Description: LyX file

Rainer

>
> Jürgen
>
>
>>
>> Suggestions
>>
>> --
>> Rainer M. Krug
>> email: Rainerkrugsde
>> PGP: 0x0F52F982
>>
>>

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


pgppWiLC5sFMp.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Murat Yildizoglu
> However, until LyX 2.1, we did not track bibtex errors. Now we do. So
were just not informed that something is wrong before.

Concerning this point, could we have a preference somewhere for ignoring
them? I remarked in the previous beta (having tested yet the RC1)  that
even if the PDF does compiles with these errors, Lyx does not show it. It
would be nice to preview the PDF nevertheless.


2014-03-28 15:37 GMT+01:00 Jürgen Spitzmüller :

> 2014-03-28 15:19 GMT+01:00 Rainer M Krug :
>
>> Hi
>>
>> I am having a document (attached) which does not compile in the new LyX
>> rc but on 2.0.7.1
>>
>>
>> It has something to do with multiple bibliographies - if I delete one,
>> it is working.
>>
>
>
> You get a bibtex error in both cases (look at Tools > LaTeX log in LyX
> 2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
> So were just not informed that something is wrong before.
>
> In general, the problem is that you cannot use two different bib styles in
> one document.
>
> Jürgen
>
>
>>
>> Suggestions
>>
>> --
>> Rainer M. Krug
>> email: Rainerkrugsde
>> PGP: 0x0F52F982
>>
>>
>


-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Hi

I am having a document (attached) which does not compile in the new LyX
rc but on 2.0.7.1


Untitled.lyx
Description: Lyx rc1 2.1


Proceedings.bib
Description: bibtex 1


InBook.bib
Description: bibtex 2


Untitled.20.lyx
Description: Lyx 2.0.x file of the document

It has something to do with multiple bibliographies - if I delete one,
it is working. 

Suggestions

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


pgpk2Xv0fH0Kw.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:42 GMT+01:00 Murat Yildizoglu :

> > However, until LyX 2.1, we did not track bibtex errors. Now we do. So
> were just not informed that something is wrong before.
>
> Concerning this point, could we have a preference somewhere for ignoring
> them? I remarked in the previous beta (having tested yet the RC1)  that
> even if the PDF does compiles with these errors, Lyx does not show it. It
> would be nice to preview the PDF nevertheless.
>

I am reluctant to do this. If bibtex reports an error, you should fix it.
You could make the same argument wrt LaTeX error. In many cases, a PDF
would be produced nonetheless, but a wrong one (the same applies to bibtex
errors).

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller  writes:

> 2014-03-28 15:50 GMT+01:00 Rainer M Krug :
>
>> I changed the bib style to the same, and still get the error (new lyx
>> file attached). So where do I have to change them?
>>
>
> The problem is not the bib file (you can of course have multiple of these),
> but the bst files ("styles").

Yes - that's what I meant - I roght-clicked on the BibTeX insets -
Settings - Style and changed both to elsarticle-harv. 

Am I missing something?

Rainer

>
> Jürgen

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


pgpep_9KCFlC1.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:19 GMT+01:00 Rainer M Krug :

> Hi
>
> I am having a document (attached) which does not compile in the new LyX
> rc but on 2.0.7.1
>
>
> It has something to do with multiple bibliographies - if I delete one,
> it is working.
>


You get a bibtex error in both cases (look at Tools > LaTeX log in LyX
2.0.7). However, until LyX 2.1, we did not track bibtex errors. Now we do.
So were just not informed that something is wrong before.

In general, the problem is that you cannot use two different bib styles in
one document.

Jürgen


>
> Suggestions
>
> --
> Rainer M. Krug
> email: Rainerkrugsde
> PGP: 0x0F52F982
>
>


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Rainer M Krug
Jürgen Spitzmüller  writes:

> 2014-03-28 18:06 GMT+01:00 Rainer M Krug :
>
>> That worked - after closing and re-opening the document.
>>
>> After which changes do I actual have to close and re-open the document?
>>
>
> I am not sure. In any case, the problem are the aux and bbl files that need
> to be deleted.
>
>>
>> A "complete re-compile" option which deletes all temporary files would
>> be quite useful.
>>
>
> Agreed. Or let LyX detect these cases and try to rebuild from scratch.

Filed a ticket:

http://www.lyx.org/trac/ticket/9061

Cheers,

Rainer

>
> Jürgen

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


pgpjStS5vrnW3.pgp
Description: PGP signature


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 16:10 GMT+01:00 "Philipp Gröne":

> Yes. In fact, I want to be able to choose which errors are skipped.
> Or, even better, I want a comprehensive list of errors and a pdf-file.
>

http://www.lyx.org/trac/ticket/8739

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Philipp Gröne
Hi there!

Murat Yildizoglu wrote:
> Concerning this point, could we have a preference somewhere for ignoring
> them? I remarked in the previous beta (having tested yet the RC1)  that even
> if the PDF does compiles with these errors, Lyx does not show it. It would
> be nice to preview the PDF nevertheless.
> Concerning this point, could we have a preference somewhere for ignoring
> them?

I just turned in my final thesis, completely written in LyX. I've got
not much to complain - quite the opposite. LyX spared me a lot of
hassle. More robustness against errors would nonetheless further
enhance my enjoyment of LyX.
I second the notion of a "ignore errors and show pdf nonetheless".

Jürgen Spitzmüller wrote:

> I am reluctant to do this. If bibtex reports an error, you should fix it. You 
> could make the same argument wrt LaTeX error. In many cases, a PDF would be 
> produced nonetheless, but a wrong one (the same applies to bibtex errors).

Yes, sometimes the PDF would be "the wrong one".
But imagine this case: My thesis had 4 chapters, and was made up from
6 documents (Master document+Appendix where 5. and 6.).
Out of some reasons, the 4th chapter wouldn't compile alone, but ended
with some or the other error message. If I tried to compile the master
document, everything looked fine.
Probably, with some work, I would've been able to repair the 4th
chapter, so it would've compile alone.

I didn't do that, because the time was pressing, but opened the master
every time I worked at the 4th chapter and compiled that.
It was a hassle.

Yes, it is better to repair bugs instead of glossing them over, but I
don't want to be forced to do that. Give the LyX-users the credit to
know when they have to repair things, and when it's okay to gloss over
them.
(In my case, the error came from some wrongly put labels/cross
references, I think. All I wanted to do was checking of my pictures
looked right. For that, "the wrong pdf" would've been completely
sufficient.)

Greetings!
Ph.


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:50 GMT+01:00 Rainer M Krug :

> I changed the bib style to the same, and still get the error (new lyx
> file attached). So where do I have to change them?
>

The problem is not the bib file (you can of course have multiple of these),
but the bst files ("styles").

Jürgen


Re: Document doews not compile with rc1 and multiple bibliograpies

2014-03-28 Thread Jürgen Spitzmüller
2014-03-28 15:59 GMT+01:00 Rainer M Krug :

> Yes - that's what I meant - I roght-clicked on the BibTeX insets -
> Settings - Style and changed both to elsarticle-harv.
>
> Am I missing something?
>

Remove the style completely in the second instance, i.e. the "Style" field
should be empty.

You might to close an reopen the document afterwards.

Jürgen


>
> Rainer
>
> >
> > Jürgen
>
> --
> Rainer M. Krug
> email: Rainerkrugsde
> PGP: 0x0F52F982
>