Re: Cannot find control file (.bcf)

2014-04-06 Thread Jürgen Spitzmüller
2014-04-06 15:47 GMT+02:00 stefano franchi :

> This is the best and most succinct explanation I have ever seen. It should
> probably become the header of the relevant  wiki page on biblatex:
>

Done.

Jürgen


Re: Cannot find control file (.bcf)

2014-04-06 Thread stefano franchi
On Sun, Apr 6, 2014 at 8:27 AM, Jürgen Spitzmüller  wrote:

>
>
In a way, we fool both biblatex and LyX in order to let them cooperate.
>
>
This is the best and most succinct explanation I have ever seen. It should
probably become the header of the relevant  wiki page on biblatex:

"How to fool  biblatex and LyX in order to let them cooperate."
[details on natbib settings/authoryear syle and natbib=true follow]

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Compatibility between Maverick and Lyx

2014-04-06 Thread Murat Yildizoglu
I am using the recent beta2 (not the RC yet) without much problems.

Le dimanche 6 avril 2014, Harold Mouras  a écrit :

>
>
>
> Dear Lyx Users,
> I just moved to OS X 10.9.2 and Lyx does not want to open anymore (last
> version of Lyx available as a mac installable package). Have you heard
> about some incompatibilities between LyX and Maverick ?
> Thank you very much in a advance,
> Sincerely yours,
> Harold MOURAS
>
>
> --
> *Harold Mouras*
> *Professeur des Universités*
> *Psychophysiologie, Neurosciences *
> *Responsable des Enseignements de Neuroscience de Licence *
>
> -
> EA 7273 - Centre de Recherche en Psychologie | Research Center in
> Psychology
> Université de Picardie Jules Verne | Jules Verne Picardy University
> Chemin du Thil | 80 025 Amiens Cedex 1
> Phone: +33 (6) 51 52 04 29 | Mail: 
> harold.mou...@u-picardie.fr
> hmouras 
>
> -
>
>

-- 


*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: Cannot find control file (.bcf)

2014-04-06 Thread Jürgen Spitzmüller
2014-04-06 14:39 GMT+02:00 stefano franchi:

> > Do I need to say natbib=true? Because I said so already in my
> preferences.
>
> You do. The preference on settings is for LyX. The "natbib=true" is for
> biblatex. You need both.
>
More precisely: You need both if you want to use author-year citation
support of LyX for biblatex. "natbib=true" simply enables natbib syntax in
biblatex (i.e., \citep, \citealt etc. in addition to biblatex's own
commands, \textcite, \parencite etc.). You can use biblatex for author-year
citations without "natbib=true", and actually, this is the preferred
approach from the biblatex POV. However, LyX currently does not support
biblatex's own commands, so you would have to enter these in TeX mode
(ERT). The "natbib=true" trick in conjunction with the biblatex.module
provided on the wiki allows you to use biblatex with LyX _as if_ you would
use natbib. In a way, we fool both biblatex and LyX in order to let them
cooperate.

These workarounds will hopefully vanish eventually (once someone has
volunteered to implement native biblatex support in LyX, which is quite a
big task).

Jürgen


Re: Cannot find control file (.bcf)

2014-04-06 Thread stefano franchi
On Apr 6, 2014 6:47 AM, "Bernd Kappenberg"  wrote:
>
>
>>
>> Hi Bernd,
>>
>> I'm not sure about what you're trying to do. The file you sent has
basically no content, let alone citations. There is only one word, "LyX".
There are no citations of any kind.
>>
>> Second, the \addbibresource command in the preamble should include the
absolute path to the bib file, even if it is in the same directory as the
lyx file It works as it is in the your document because the bib file is in
a standard TeX location. This is not usually the case though).
>>
>> Third, I am not sure if you want to use natbib. You did select the
natbib option in the settings, but you did not load the biblatex module,
nor did you indicate to biblatex that you want to use a natbib-like style.
You need to add the natbib=true option when you load biblatex.
>>
>> I added a couple of citations to your document, modified the biblatex
loading command, and added the biblatex module. The file compiles as
expected, it seems to me (see enclosed).
>>
>> Or were you trying to cite all the references in the
biblatex-example.bib file in one single swoop? In that case, you should add
the command \nocite{*} in ERT in your document (I put it in a LyX note, if
you want to try it)
>>
>>
>>
>> Cheers,
>>
>> Stefano
>>
> Dear Stefano,
>
> Thank you very much. Yes, \nocite{*} did the trick! I'm sorry I was not
clear what I wanted to do.
>
> Do I need to say natbib=true? Because I said so already in my preferences.

You do. The preference on settings is for LyX. The "natbib=true" is for
biblatex. You need both. You also need a biblatex style consistent with
natbib. The most commonly used is author year and its variations. You may
want to take a look at biblatex's extensive documentation about styles.

Cheers,

Stefano

> Regards,
> Bernd


Re: Cannot find control file (.bcf)

2014-04-06 Thread Bernd Kappenberg
2014-04-05 22:00 GMT+02:00 Bernd Kappenberg >:


I changed English to German, but "user defined",
"\usepackage{polyglossia}" was default. I did not change that.


Set it to "Automatically", unless you really know what you are doing. 
Your setting is bound to fail.


Strangely it worked, but anyway, now I've set it to "Automatically".

Thank you Jürgen and Stefano for helping me!

Bernd :)


Re: Cannot find control file (.bcf)

2014-04-06 Thread Bernd Kappenberg




Hi Bernd,

I'm not sure about what you're trying to do. The file you sent has 
basically no content, let alone citations. There is only one word, 
"LyX". There are no citations of any kind.


Second, the \addbibresource command in the preamble should include the 
absolute path to the bib file, even if it is in the same directory as 
the lyx file It works as it is in the your document because the bib 
file is in a standard TeX location. This is not usually the case though).


Third, I am not sure if you want to use natbib. You did select the 
natbib option in the settings, but you did not load the biblatex 
module, nor did you indicate to biblatex that you want to use a 
natbib-like style. You need to add the natbib=true option when you 
load biblatex.


I added a couple of citations to your document, modified the biblatex 
loading command, and added the biblatex module. The file compiles as 
expected, it seems to me (see enclosed).


Or were you trying to cite all the references in the 
biblatex-example.bib file in one single swoop? In that case, you 
should add the command \nocite{*} in ERT in your document (I put it in 
a LyX note, if you want to try it)




Cheers,

Stefano


Dear Stefano,

Thank you very much. Yes, \nocite{*} did the trick! I'm sorry I was not 
clear what I wanted to do.


Do I need to say natbib=true? Because I said so already in my preferences.

Regards,
Bernd


Re: Compatibility between Maverick and Lyx

2014-04-06 Thread Anders Ekberg
With ²last version² I assume 2.0.7.1?
Works fine for me on two computers (although I have mainly changed to
2.1rc1-now).
Could you elaborate on "does not want to open²?

/Anders

From:  Harold Mouras 
Date:  söndag 6 april 2014 13:03
To:  
Subject:  Compatibility between Maverick and Lyx

Dear Lyx Users, 
I just moved to OS X 10.9.2 and Lyx does not want to open anymore (last
version of Lyx available as a mac installable package). Have you heard about
some incompatibilities between LyX and Maverick ?
Thank you very much in a advance,
Sincerely yours, 
Harold MOURAS





Compatibility between Maverick and Lyx

2014-04-06 Thread Harold Mouras
Dear Lyx Users,
I just moved to OS X 10.9.2 and Lyx does not want to open anymore (last
version of Lyx available as a mac installable package). Have you heard
about some incompatibilities between LyX and Maverick ?
Thank you very much in a advance,
Sincerely yours,
Harold MOURAS


-- 
*Harold Mouras*
*Professeur des Universités*
*Psychophysiologie, Neurosciences *
*Responsable des Enseignements de Neuroscience de Licence *
-
EA 7273 - Centre de Recherche en Psychologie | Research Center in Psychology
Université de Picardie Jules Verne | Jules Verne Picardy University
Chemin du Thil | 80 025 Amiens Cedex 1
Phone: +33 (6) 51 52 04 29 | Mail: harold.mou...@u-picardie.fr
https://sites.google.com/site/hmouras
-


Re: Cannot find control file (.bcf)

2014-04-06 Thread Jürgen Spitzmüller
2014-04-05 22:00 GMT+02:00 Bernd Kappenberg :

>  I changed English to German, but "user defined",
> "\usepackage{polyglossia}" was default. I did not change that.
>

Set it to "Automatically", unless you really know what you are doing. Your
setting is bound to fail.


> I sent you in the last mail the updated version.
>

As Stefano already wrote: This one does not contain a single citation.

Jürgen


>
> Bernd
>