Re: [ANNOUNCE] LyX 2.0.7 Released

2014-01-26 Thread KIM Musak
Have downloaded and run it.
One small thing - still can't get my Lyx run with Biblatex package properly
(path to bib file problem maybe) on my Windows 8.1

But again, Well done!
Thanks

Kamarul




On Sat, Jan 25, 2014 at 1:13 AM, Richard Heck rgh...@lyx.org wrote:


 Public release of LyX version 2.0.7
 ===

 We are pleased to announce the release of LyX 2.0.7. This is the seventh
 maintenance release in the 2.0.x series.

 LyX 2.0.7 is the result of on-going efforts to make our stable version
 even more reliable and stable. We have fixed a number of bugs and made
 a number of improvements. These are detailed below.

 The most important bug was #8854, which could lead to file corruption
 in certain cases and, more often, would lead to errors in generated
 files (e.g., PDFs). We encourage all LyX users to upgrade to this
 version.

 LyX is a document processor that encourages an approach to writing based
 on the structure of your documents and not simply their appearance. It is
 released under a Free and Open Source Software license.

 You can download LyX 2.0.7 from http://www.lyx.org/Download/.

 If you think you found a bug in LyX 2.0.7, either e-mail the LyX
 developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
 report at http://www.lyx.org/trac/wiki/BugTrackerHome.

 If you have trouble using LyX or have a question, consult the
 documentation that comes with LyX and the LyX wiki, which lives at
 http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
 users' list (lyx-users at lists.lyx.org).

 We hope you enjoy using LyX 2.0.7.

 The LyX team.
 http://www.lyx.org


 What's new in LyX 2.0.7
 ===

 ** Updates:
 ***

 * DOCUMENTATION AND LOCALIZATION

 - Updated Interlingua, Japanese, Nynorsk, Swedish and Ukrainian user
 interface
   localizations.

 - Revised French Intro and User Guide.


 ** Bug fixes:
 *

 * DOCUMENT INPUT/OUTPUT

 - Fix garbage in document export (and maybe other places) by making
 encoding
   conversions thread-safe (bug 8854).

 - Fix output of ulem commands (underline etc.) which was broken as of
   LyX 2.0.6 (bug 8733).

 - Fix problem with unbalanced braces in XeTeX output (bug 8765).

 - Fix problems with unbalanced braces with a secondary CJK language
   (bug 8215).

 - Fix state of certain language packages (polyglossia, japanese) in
   child documents (bug 8770).

 - Fix compilation of documents containing chemical equations and math
   integrals (bug 8731).

 - Fix compilation with nested (sub) custom floats.

 - Fix import of CSV-files.

 - Added h5 and h6 as HTML tags for Paragraph and Subparagraph.

 - Include alt tag when exporting math as images (bug 8746).


 * USER INTERFACE

 - Fix crash when saving document with module that is not present (bug
   8523).

 - Fix crash when changing alignment of several cells in tabular (bug 8859).

 - Disable invalid actions in empty outliner that could trigger a crash
   (bug 8885).

 - Fix warning when setting layout box when Plain Layout is used (bug 8727).

 - Fix bug where searching for next change may leave an empty paragraph
   where cursor was (bug 3199).

 - Fix activation of branches from command line (bug 8627).

 - Fix display of appendix counters in some classes (bug 8666).

 - Fix toggling of misc font options (bug 8764).

 - Handle undo correctly when a branch is (de)activated.

 - Update a bibliography entry's label when it is emptied.

 - Insets in a bibliography entry are shown as text in the citation dialog.

 - Correctly detect python scripts required by the preview mechanism.

 - Fix display of file names with ampersands in the tab header (bug 8757).

 - The koma-script book class numbers equations by chapter.

 - Fix shortcut conflict in the citation dialog (bug 8878).

 - Fix wrong display of style Description in article (paper) class
   (bug 8869).


 * DOCUMENTATION AND LOCALIZATION

 - Make the aa.lyx template file and the aa_sample.lyx example file
 compilable.

 - Make the AEA.lyx template file compilable.

 - Make the landslide example file compilable.

 - Fix problem that the Chinese Tutorial could not be viewed as PDF on
   some systems.


 * LYXHTML

 - Fix problem with size of superscripts and such inside footnotes (bug
 8610).

 - Add missing space before the edition in the bibliography (part of bug
 8488).

 - Fix random character inserted as year modifier in author-year citations.


 * BUILD/INSTALLATION

 - Add support for automake 1.13.

 - Fix compilation with clang LLVM compiler.

 - Fix Qt tools search when a Qt directory has been specified.




Re: [ANNOUNCE] LyX 2.0.7 Released

2014-01-26 Thread KIM Musak
Have downloaded and run it.
One small thing - still can't get my Lyx run with Biblatex package properly
(path to bib file problem maybe) on my Windows 8.1

But again, Well done!
Thanks

Kamarul




On Sat, Jan 25, 2014 at 1:13 AM, Richard Heck rgh...@lyx.org wrote:


 Public release of LyX version 2.0.7
 ===

 We are pleased to announce the release of LyX 2.0.7. This is the seventh
 maintenance release in the 2.0.x series.

 LyX 2.0.7 is the result of on-going efforts to make our stable version
 even more reliable and stable. We have fixed a number of bugs and made
 a number of improvements. These are detailed below.

 The most important bug was #8854, which could lead to file corruption
 in certain cases and, more often, would lead to errors in generated
 files (e.g., PDFs). We encourage all LyX users to upgrade to this
 version.

 LyX is a document processor that encourages an approach to writing based
 on the structure of your documents and not simply their appearance. It is
 released under a Free and Open Source Software license.

 You can download LyX 2.0.7 from http://www.lyx.org/Download/.

 If you think you found a bug in LyX 2.0.7, either e-mail the LyX
 developers' mailing list (lyx-devel at lists.lyx.org), or open a bug
 report at http://www.lyx.org/trac/wiki/BugTrackerHome.

 If you have trouble using LyX or have a question, consult the
 documentation that comes with LyX and the LyX wiki, which lives at
 http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
 users' list (lyx-users at lists.lyx.org).

 We hope you enjoy using LyX 2.0.7.

 The LyX team.
 http://www.lyx.org


 What's new in LyX 2.0.7
 ===

 ** Updates:
 ***

 * DOCUMENTATION AND LOCALIZATION

 - Updated Interlingua, Japanese, Nynorsk, Swedish and Ukrainian user
 interface
   localizations.

 - Revised French Intro and User Guide.


 ** Bug fixes:
 *

 * DOCUMENT INPUT/OUTPUT

 - Fix garbage in document export (and maybe other places) by making
 encoding
   conversions thread-safe (bug 8854).

 - Fix output of ulem commands (underline etc.) which was broken as of
   LyX 2.0.6 (bug 8733).

 - Fix problem with unbalanced braces in XeTeX output (bug 8765).

 - Fix problems with unbalanced braces with a secondary CJK language
   (bug 8215).

 - Fix state of certain language packages (polyglossia, japanese) in
   child documents (bug 8770).

 - Fix compilation of documents containing chemical equations and math
   integrals (bug 8731).

 - Fix compilation with nested (sub) custom floats.

 - Fix import of CSV-files.

 - Added h5 and h6 as HTML tags for Paragraph and Subparagraph.

 - Include alt tag when exporting math as images (bug 8746).


 * USER INTERFACE

 - Fix crash when saving document with module that is not present (bug
   8523).

 - Fix crash when changing alignment of several cells in tabular (bug 8859).

 - Disable invalid actions in empty outliner that could trigger a crash
   (bug 8885).

 - Fix warning when setting layout box when Plain Layout is used (bug 8727).

 - Fix bug where searching for next change may leave an empty paragraph
   where cursor was (bug 3199).

 - Fix activation of branches from command line (bug 8627).

 - Fix display of appendix counters in some classes (bug 8666).

 - Fix toggling of misc font options (bug 8764).

 - Handle undo correctly when a branch is (de)activated.

 - Update a bibliography entry's label when it is emptied.

 - Insets in a bibliography entry are shown as text in the citation dialog.

 - Correctly detect python scripts required by the preview mechanism.

 - Fix display of file names with ampersands in the tab header (bug 8757).

 - The koma-script book class numbers equations by chapter.

 - Fix shortcut conflict in the citation dialog (bug 8878).

 - Fix wrong display of style Description in article (paper) class
   (bug 8869).


 * DOCUMENTATION AND LOCALIZATION

 - Make the aa.lyx template file and the aa_sample.lyx example file
 compilable.

 - Make the AEA.lyx template file compilable.

 - Make the landslide example file compilable.

 - Fix problem that the Chinese Tutorial could not be viewed as PDF on
   some systems.


 * LYXHTML

 - Fix problem with size of superscripts and such inside footnotes (bug
 8610).

 - Add missing space before the edition in the bibliography (part of bug
 8488).

 - Fix random character inserted as year modifier in author-year citations.


 * BUILD/INSTALLATION

 - Add support for automake 1.13.

 - Fix compilation with clang LLVM compiler.

 - Fix Qt tools search when a Qt directory has been specified.




Re: [ANNOUNCE] LyX 2.0.7 Released

2014-01-26 Thread KIM Musak
Have downloaded and run it.
One small thing - still can't get my Lyx run with Biblatex package properly
(path to bib file problem maybe) on my Windows 8.1

But again, Well done!
Thanks

Kamarul




On Sat, Jan 25, 2014 at 1:13 AM, Richard Heck  wrote:

>
> Public release of LyX version 2.0.7
> ===
>
> We are pleased to announce the release of LyX 2.0.7. This is the seventh
> maintenance release in the 2.0.x series.
>
> LyX 2.0.7 is the result of on-going efforts to make our stable version
> even more reliable and stable. We have fixed a number of bugs and made
> a number of improvements. These are detailed below.
>
> The most important bug was #8854, which could lead to file corruption
> in certain cases and, more often, would lead to errors in generated
> files (e.g., PDFs). We encourage all LyX users to upgrade to this
> version.
>
> LyX is a document processor that encourages an approach to writing based
> on the structure of your documents and not simply their appearance. It is
> released under a Free and Open Source Software license.
>
> You can download LyX 2.0.7 from http://www.lyx.org/Download/.
>
> If you think you found a bug in LyX 2.0.7, either e-mail the LyX
> developers' mailing list (lyx-devel  lists.lyx.org), or open a bug
> report at http://www.lyx.org/trac/wiki/BugTrackerHome.
>
> If you have trouble using LyX or have a question, consult the
> documentation that comes with LyX and the LyX wiki, which lives at
> http://wiki.lyx.org/. If you can't find the answer there, e-mail the LyX
> users' list (lyx-users at lists.lyx.org).
>
> We hope you enjoy using LyX 2.0.7.
>
> The LyX team.
> http://www.lyx.org
>
>
> What's new in LyX 2.0.7
> ===
>
> ** Updates:
> ***
>
> * DOCUMENTATION AND LOCALIZATION
>
> - Updated Interlingua, Japanese, Nynorsk, Swedish and Ukrainian user
> interface
>   localizations.
>
> - Revised French Intro and User Guide.
>
>
> ** Bug fixes:
> *
>
> * DOCUMENT INPUT/OUTPUT
>
> - Fix garbage in document export (and maybe other places) by making
> encoding
>   conversions thread-safe (bug 8854).
>
> - Fix output of ulem commands (underline etc.) which was broken as of
>   LyX 2.0.6 (bug 8733).
>
> - Fix problem with unbalanced braces in XeTeX output (bug 8765).
>
> - Fix problems with unbalanced braces with a secondary CJK language
>   (bug 8215).
>
> - Fix state of certain language packages (polyglossia, japanese) in
>   child documents (bug 8770).
>
> - Fix compilation of documents containing chemical equations and math
>   integrals (bug 8731).
>
> - Fix compilation with nested ("sub") custom floats.
>
> - Fix import of CSV-files.
>
> - Added h5 and h6 as HTML tags for Paragraph and Subparagraph.
>
> - Include alt tag when exporting math as images (bug 8746).
>
>
> * USER INTERFACE
>
> - Fix crash when saving document with module that is not present (bug
>   8523).
>
> - Fix crash when changing alignment of several cells in tabular (bug 8859).
>
> - Disable invalid actions in empty outliner that could trigger a crash
>   (bug 8885).
>
> - Fix warning when setting layout box when Plain Layout is used (bug 8727).
>
> - Fix bug where searching for next change may leave an empty paragraph
>   where cursor was (bug 3199).
>
> - Fix activation of branches from command line (bug 8627).
>
> - Fix display of appendix counters in some classes (bug 8666).
>
> - Fix toggling of "misc" font options (bug 8764).
>
> - Handle undo correctly when a branch is (de)activated.
>
> - Update a bibliography entry's label when it is emptied.
>
> - Insets in a bibliography entry are shown as text in the citation dialog.
>
> - Correctly detect python scripts required by the preview mechanism.
>
> - Fix display of file names with ampersands in the tab header (bug 8757).
>
> - The koma-script book class numbers equations by chapter.
>
> - Fix shortcut conflict in the citation dialog (bug 8878).
>
> - Fix wrong display of style "Description" in "article (paper)" class
>   (bug 8869).
>
>
> * DOCUMENTATION AND LOCALIZATION
>
> - Make the aa.lyx template file and the aa_sample.lyx example file
> compilable.
>
> - Make the AEA.lyx template file compilable.
>
> - Make the landslide example file compilable.
>
> - Fix problem that the Chinese Tutorial could not be viewed as PDF on
>   some systems.
>
>
> * LYXHTML
>
> - Fix problem with size of superscripts and such inside footnotes (bug
> 8610).
>
> - Add missing space before the edition in the bibliography (part of bug
> 8488).
>
> - Fix random character inserted as year modifier in author-year citations.
>
>
> * BUILD/INSTALLATION
>
> - Add support for automake 1.13.
>
> - Fix compilation with clang LLVM compiler.
>
> - Fix Qt tools search when a Qt directory has been specified.
>
>


Re: LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-21 Thread KIM Musak
Oh, Okay. will do that.
Thanks very much

Rgds
Kamarul


On Tue, Jan 21, 2014 at 10:59 PM, Richard Heck rgh...@lyx.org wrote:

 On 01/21/2014 12:01 AM, KIM Musak wrote:

 Dear all,

 I recently changed the page layout in the document setting (from default
 format to Height 4 cm and width 4cm). When I tried to view the pdf these
 are the errors I have received :

 --
 Missing $ inserted.
 Misplaced alignment tab character .
 Missing $ inserted.
 LaTeX Error: \begin{thebibliography} on input line 1 ended by
 \end{document}.
 

 No PDF output produced. I have changed to default (Document Setting, Page
 Layout, Page Format) but it still refused to change.


 That looks like a URL that isn't properly encoded. Check your bibliography.

 Richard




Re: LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-21 Thread KIM Musak
Oh, Okay. will do that.
Thanks very much

Rgds
Kamarul


On Tue, Jan 21, 2014 at 10:59 PM, Richard Heck rgh...@lyx.org wrote:

 On 01/21/2014 12:01 AM, KIM Musak wrote:

 Dear all,

 I recently changed the page layout in the document setting (from default
 format to Height 4 cm and width 4cm). When I tried to view the pdf these
 are the errors I have received :

 --
 Missing $ inserted.
 Misplaced alignment tab character .
 Missing $ inserted.
 LaTeX Error: \begin{thebibliography} on input line 1 ended by
 \end{document}.
 

 No PDF output produced. I have changed to default (Document Setting, Page
 Layout, Page Format) but it still refused to change.


 That looks like a URL that isn't properly encoded. Check your bibliography.

 Richard




Re: LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-21 Thread KIM Musak
Oh, Okay. will do that.
Thanks very much

Rgds
Kamarul


On Tue, Jan 21, 2014 at 10:59 PM, Richard Heck <rgh...@lyx.org> wrote:

> On 01/21/2014 12:01 AM, KIM Musak wrote:
>
>> Dear all,
>>
>> I recently changed the page layout in the document setting (from default
>> format to Height 4 cm and width 4cm). When I tried to view the pdf these
>> are the errors I have received :
>>
>> --
>> Missing $ inserted.
>> Misplaced alignment tab character &.
>> Missing $ inserted.
>> LaTeX Error: \begin{thebibliography} on input line 1 ended by
>> \end{document}.
>> 
>>
>> No PDF output produced. I have changed to default (Document Setting, Page
>> Layout, Page Format) but it still refused to change.
>>
>
> That looks like a URL that isn't properly encoded. Check your bibliography.
>
> Richard
>
>


LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-20 Thread KIM Musak
Dear all,

I recently changed the page layout in the document setting (from default
format to Height 4 cm and width 4cm). When I tried to view the pdf these
are the errors I have received :

--
Missing $ inserted.
Misplaced alignment tab character .
Missing $ inserted.
LaTeX Error: \begin{thebibliography} on input line 1 ended by
\end{document}.


No PDF output produced. I have changed to default (Document Setting, Page
Layout, Page Format) but it still refused to change.

Thanks

Kamarul


problem.pdf
Description: Adobe PDF document


LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-20 Thread KIM Musak
Dear all,

I recently changed the page layout in the document setting (from default
format to Height 4 cm and width 4cm). When I tried to view the pdf these
are the errors I have received :

--
Missing $ inserted.
Misplaced alignment tab character .
Missing $ inserted.
LaTeX Error: \begin{thebibliography} on input line 1 ended by
\end{document}.


No PDF output produced. I have changed to default (Document Setting, Page
Layout, Page Format) but it still refused to change.

Thanks

Kamarul


problem.pdf
Description: Adobe PDF document


LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-20 Thread KIM Musak
Dear all,

I recently changed the page layout in the document setting (from default
format to Height 4 cm and width 4cm). When I tried to view the pdf these
are the errors I have received :

--
Missing $ inserted.
Misplaced alignment tab character &.
Missing $ inserted.
LaTeX Error: \begin{thebibliography} on input line 1 ended by
\end{document}.


No PDF output produced. I have changed to default (Document Setting, Page
Layout, Page Format) but it still refused to change.

Thanks

Kamarul


problem.pdf
Description: Adobe PDF document


Re: Biblatex and LyX issue #was: Re: Author-year in Lyx

2014-01-14 Thread KIM Musak
Hi,

Still does not work for me. I found these in my log files:

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\blx-dm.def)

Package biblatex Info: Trying to load biblatex style data model...

Package biblatex Info: ... file 'authoryear.dbx' not found.

Package biblatex Info: Trying to load biblatex custom data model...

Package biblatex Info: ... file 'biblatex-dm.cfg' not found.


and also


Package biblatex Warning: Please (re)run Biber on the file:

(biblatex) testing-natbib

(biblatex) and rerun LaTeX afterwards.


I wonder if MikTex is the culprit?


Thanks


Kamarul


On Mon, Jan 13, 2014 at 11:01 PM, stefano franchi stefano.fran...@gmail.com
 wrote:




 On Mon, Jan 13, 2014 at 3:52 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:

  On Saturday 11 January 2014 18:03:52 stefano franchi wrote:

  On Sat, Jan 11, 2014 at 10:47 AM, Wolfgang Engelmann 

 

  engelm...@uni-tuebingen.de wrote:

   On Saturday 11 January 2014 16:23:41 stefano franchi wrote:

 On Saturday 11 January 2014 11:25:43 Wolfgang Engelmann wrote:

for biber type

   

biber --version

  

   it is 1.6

  

for biblatex, the easier way is to look at the latex log. Whn

biblatex

   

is loaded (at the beginning of the log) it will tell you the version

  

   biblatex 2013/05/01 v2.6

 

  You're all right then---biblatex 2.6 wants biber 1.6, so everything is

  fine on that front.

 

  I still think you may have path-related issues in the preamble.

 

  Do check the capitalization of your home directory (WE vs we) as per my

  previous message.



 Did take care of that, Stefano,



 Your example is working.



 However, if I try my document, I get on the terminal output under the
 biber part this:



 ###

 Scanning input file PB-Biber.nlodone (150 entries accepted, 0
 rejected).

 Sorting entriesdone (1163 comparisons).

 Generating output file PB-Biber.nlsdone (298 lines written, 0
 warnings).

 Output written in PB-Biber.nls.

 Transcript written in PB-Biber.ilg.



 Running: pdflatex PB-Biber.tex  /dev/null

 This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)

 restricted \write18 enabled.

 entering extended mode

 (./PB-Biber.tex

 LaTeX2e 2011/06/27

 Babel 3.9f and hyphenation patterns for 78 languages loaded.



 Running: xdg-open PB-Biber.pdf

 



 and as a result a pdf file with all citation included, but no
 Bibliography at the end, listing my references.




 That does not look like the output from biber. Are you sure you are
 looking at the latex log in lyx, and selected the bibtex option from the
 drop down menu?




 I wonder what

 Running: xdg-open PB-Biber.pdf

 means.


 xdg-open is just the program that will try to find a suitable program to
 open the pdf file, in your case that will most likely be okular (or
 acroread, depending on your setup).

 S.

 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

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



Re: Biblatex and LyX issue #was: Re: Author-year in Lyx

2014-01-14 Thread KIM Musak
Hi,

Still does not work for me. I found these in my log files:

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\blx-dm.def)

Package biblatex Info: Trying to load biblatex style data model...

Package biblatex Info: ... file 'authoryear.dbx' not found.

Package biblatex Info: Trying to load biblatex custom data model...

Package biblatex Info: ... file 'biblatex-dm.cfg' not found.


and also


Package biblatex Warning: Please (re)run Biber on the file:

(biblatex) testing-natbib

(biblatex) and rerun LaTeX afterwards.


I wonder if MikTex is the culprit?


Thanks


Kamarul


On Mon, Jan 13, 2014 at 11:01 PM, stefano franchi stefano.fran...@gmail.com
 wrote:




 On Mon, Jan 13, 2014 at 3:52 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:

  On Saturday 11 January 2014 18:03:52 stefano franchi wrote:

  On Sat, Jan 11, 2014 at 10:47 AM, Wolfgang Engelmann 

 

  engelm...@uni-tuebingen.de wrote:

   On Saturday 11 January 2014 16:23:41 stefano franchi wrote:

 On Saturday 11 January 2014 11:25:43 Wolfgang Engelmann wrote:

for biber type

   

biber --version

  

   it is 1.6

  

for biblatex, the easier way is to look at the latex log. Whn

biblatex

   

is loaded (at the beginning of the log) it will tell you the version

  

   biblatex 2013/05/01 v2.6

 

  You're all right then---biblatex 2.6 wants biber 1.6, so everything is

  fine on that front.

 

  I still think you may have path-related issues in the preamble.

 

  Do check the capitalization of your home directory (WE vs we) as per my

  previous message.



 Did take care of that, Stefano,



 Your example is working.



 However, if I try my document, I get on the terminal output under the
 biber part this:



 ###

 Scanning input file PB-Biber.nlodone (150 entries accepted, 0
 rejected).

 Sorting entriesdone (1163 comparisons).

 Generating output file PB-Biber.nlsdone (298 lines written, 0
 warnings).

 Output written in PB-Biber.nls.

 Transcript written in PB-Biber.ilg.



 Running: pdflatex PB-Biber.tex  /dev/null

 This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)

 restricted \write18 enabled.

 entering extended mode

 (./PB-Biber.tex

 LaTeX2e 2011/06/27

 Babel 3.9f and hyphenation patterns for 78 languages loaded.



 Running: xdg-open PB-Biber.pdf

 



 and as a result a pdf file with all citation included, but no
 Bibliography at the end, listing my references.




 That does not look like the output from biber. Are you sure you are
 looking at the latex log in lyx, and selected the bibtex option from the
 drop down menu?




 I wonder what

 Running: xdg-open PB-Biber.pdf

 means.


 xdg-open is just the program that will try to find a suitable program to
 open the pdf file, in your case that will most likely be okular (or
 acroread, depending on your setup).

 S.

 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

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



Re: Biblatex and LyX issue #was: Re: Author-year in Lyx

2014-01-14 Thread KIM Musak
Hi,

Still does not work for me. I found these in my log files:

("C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\blx-dm.def")

Package biblatex Info: Trying to load biblatex style data model...

Package biblatex Info: ... file 'authoryear.dbx' not found.

Package biblatex Info: Trying to load biblatex custom data model...

Package biblatex Info: ... file 'biblatex-dm.cfg' not found.


and also


Package biblatex Warning: Please (re)run Biber on the file:

(biblatex) testing-natbib

(biblatex) and rerun LaTeX afterwards.


I wonder if MikTex is the culprit?


Thanks


Kamarul


On Mon, Jan 13, 2014 at 11:01 PM, stefano franchi  wrote:

>
>
>
> On Mon, Jan 13, 2014 at 3:52 AM, Wolfgang Engelmann <
> engelm...@uni-tuebingen.de> wrote:
>
>>  On Saturday 11 January 2014 18:03:52 stefano franchi wrote:
>>
>> > On Sat, Jan 11, 2014 at 10:47 AM, Wolfgang Engelmann <
>>
>> >
>>
>> > engelm...@uni-tuebingen.de> wrote:
>>
>> > > On Saturday 11 January 2014 16:23:41 stefano franchi wrote:
>>
>> > > > > On Saturday 11 January 2014 11:25:43 Wolfgang Engelmann wrote:
>>
>> > > > for biber type
>>
>> > > >
>>
>> > > > biber --version
>>
>> > >
>>
>> > > it is 1.6
>>
>> > >
>>
>> > > > for biblatex, the easier way is to look at the latex log. Whn
>>
>> > > > biblatex
>>
>> > > >
>>
>> > > > is loaded (at the beginning of the log) it will tell you the version
>>
>> > >
>>
>> > > biblatex 2013/05/01 v2.6
>>
>> >
>>
>> > You're all right then---biblatex 2.6 wants biber 1.6, so everything is
>>
>> > fine on that front.
>>
>> >
>>
>> > I still think you may have path-related issues in the preamble.
>>
>> >
>>
>> > Do check the capitalization of your home directory (WE vs we) as per my
>>
>> > previous message.
>>
>>
>>
>> Did take care of that, Stefano,
>>
>>
>>
>> Your example is working.
>>
>>
>>
>> However, if I try my document, I get on the terminal output under the
>> biber part this:
>>
>>
>>
>> ###
>>
>> Scanning input file PB-Biber.nlodone (150 entries accepted, 0
>> rejected).
>>
>> Sorting entriesdone (1163 comparisons).
>>
>> Generating output file PB-Biber.nlsdone (298 lines written, 0
>> warnings).
>>
>> Output written in PB-Biber.nls.
>>
>> Transcript written in PB-Biber.ilg.
>>
>>
>>
>> Running: pdflatex "PB-Biber.tex" > /dev/null
>>
>> This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
>>
>> restricted \write18 enabled.
>>
>> entering extended mode
>>
>> (./PB-Biber.tex
>>
>> LaTeX2e <2011/06/27>
>>
>> Babel <3.9f> and hyphenation patterns for 78 languages loaded.
>>
>>
>>
>> Running: xdg-open "PB-Biber.pdf"
>>
>> 
>>
>>
>>
>> and as a result a pdf file with all citation included, but no
>> Bibliography at the end, listing my references.
>>
>>
>>
>
> That does not look like the output from biber. Are you sure you are
> looking at the latex log in lyx, and selected the "bibtex" option from the
> drop down menu?
>
>
>
>
>> I wonder what
>>
>> Running: xdg-open "PB-Biber.pdf"
>>
>> means.
>>
>>
> xdg-open is just the program that will try to find a suitable program to
> open the pdf file, in your case that will most likely be okular (or
> acroread, depending on your setup).
>
> S.
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: Author-year in Lyx

2014-01-12 Thread KIM Musak
Dear Wolgang, Stefano

I have followed your suggestion. I copied and pasted the files into the tmp
folders in my windows. still got errors and these are the log files --- it
is long. But I could see some potential problems as shown by the log file -
BOLD by me. I know it will take time, but someone will able to find the
problems there.

Regards,

kamarul




LATEX:


This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded
format=pdflatex 2013.11.8) 13 JAN 2014 08:42

entering extended mode

**testing-natbib.tex


(C:\Users\kim\AppData\Local\Temp\lyx_tmpdir.Hp8364\lyx_tmpbuf2\testing-natbib.t

ex

LaTeX2e 2011/06/27

Babel v3.8m and hyphenation patterns for english, afrikaans,
ancientgreek, ar

abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan,
coptic,

croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish,
french, ga

lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian,
iceland

ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin,
latvian,

lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek,
ngerman, n

german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
roman

ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
swissgerm

an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian,
usengl

ishmax, welsh, loaded.


(C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\article.cls

Document Class: article 2007/10/19 v1.4h Standard LaTeX document class

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\size11.clo

File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)

)

\c@part=\count79

\c@section=\count80

\c@subsection=\count81

\c@subsubsection=\count82

\c@paragraph=\count83

\c@subparagraph=\count84

\c@figure=\count85

\c@table=\count86

\abovecaptionskip=\skip41

\belowcaptionskip=\skip42

\bibindent=\dimen102

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\fontenc.sty

Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\t1enc.def

File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file

LaTeX Font Info: Redeclaring font encoding T1 on input line 43.

)) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\setspace\setspace.sty

Package: setspace 2011/12/19 v6.7a set line spacing

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex.sty

Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB)

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex2.sty

Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber)
(PK/JW/

AB)

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\etoolbox\etoolbox.sty

Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\misc\etex.sty

Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)

\et@xins=\count87

)

\etb@tempcnta=\count88

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\graphics\keyval.sty

Package: keyval 1999/03/16 v1.13 key=value parser (DPC)

\KV@toks@=\toks14

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\oberdiek\kvoptions.sty

Package: kvoptions 2011/06/30 v3.11 Key value format for package options
(HO)

(C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ltxcmds.sty

Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)

) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\kvsetkeys.sty

Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)

(C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\infwarerr.sty

Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages
(HO)

) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\etexcmds.sty

Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands
(HO)

(C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ifluatex.sty

Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)

Package ifluatex Info: LuaTeX not detected.

)

Package etexcmds Info: Could not find \expanded.

(etexcmds) That can mean that you are not using pdfTeX 1.50 or

(etexcmds) that some package has redefined \expanded.

(etexcmds) In the latter case, load this package earlier.

))) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.sty

Package: logreq 2010/08/04 v1.0 xml request logger

\lrq@indent=\count89

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.def

File: logreq.def 2010/08/04 v1.0 logreq spec v1.0

)) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\ifthen.sty

Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\ltxmisc\url.sty

\Urlmuskip=\muskip10

Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.

)

\c@tabx@nest=\count90

\c@listtotal=\count91

\c@listcount=\count92

\c@liststart=\count93

\c@liststop=\count94

\c@citecount=\count95

\c@citetotal=\count96

\c@multicitecount=\count97

\c@multicitetotal=\count98


Re: Author-year in Lyx

2014-01-12 Thread KIM Musak
Dear Wolgang, Stefano

I have followed your suggestion. I copied and pasted the files into the tmp
folders in my windows. still got errors and these are the log files --- it
is long. But I could see some potential problems as shown by the log file -
BOLD by me. I know it will take time, but someone will able to find the
problems there.

Regards,

kamarul




LATEX:


This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded
format=pdflatex 2013.11.8) 13 JAN 2014 08:42

entering extended mode

**testing-natbib.tex


(C:\Users\kim\AppData\Local\Temp\lyx_tmpdir.Hp8364\lyx_tmpbuf2\testing-natbib.t

ex

LaTeX2e 2011/06/27

Babel v3.8m and hyphenation patterns for english, afrikaans,
ancientgreek, ar

abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan,
coptic,

croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish,
french, ga

lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian,
iceland

ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin,
latvian,

lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek,
ngerman, n

german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
roman

ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
swissgerm

an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian,
usengl

ishmax, welsh, loaded.


(C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\article.cls

Document Class: article 2007/10/19 v1.4h Standard LaTeX document class

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\size11.clo

File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)

)

\c@part=\count79

\c@section=\count80

\c@subsection=\count81

\c@subsubsection=\count82

\c@paragraph=\count83

\c@subparagraph=\count84

\c@figure=\count85

\c@table=\count86

\abovecaptionskip=\skip41

\belowcaptionskip=\skip42

\bibindent=\dimen102

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\fontenc.sty

Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\t1enc.def

File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file

LaTeX Font Info: Redeclaring font encoding T1 on input line 43.

)) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\setspace\setspace.sty

Package: setspace 2011/12/19 v6.7a set line spacing

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex.sty

Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB)

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex2.sty

Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber)
(PK/JW/

AB)

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\etoolbox\etoolbox.sty

Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\misc\etex.sty

Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)

\et@xins=\count87

)

\etb@tempcnta=\count88

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\graphics\keyval.sty

Package: keyval 1999/03/16 v1.13 key=value parser (DPC)

\KV@toks@=\toks14

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\oberdiek\kvoptions.sty

Package: kvoptions 2011/06/30 v3.11 Key value format for package options
(HO)

(C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ltxcmds.sty

Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)

) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\kvsetkeys.sty

Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)

(C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\infwarerr.sty

Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages
(HO)

) (C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\etexcmds.sty

Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands
(HO)

(C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ifluatex.sty

Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)

Package ifluatex Info: LuaTeX not detected.

)

Package etexcmds Info: Could not find \expanded.

(etexcmds) That can mean that you are not using pdfTeX 1.50 or

(etexcmds) that some package has redefined \expanded.

(etexcmds) In the latter case, load this package earlier.

))) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.sty

Package: logreq 2010/08/04 v1.0 xml request logger

\lrq@indent=\count89

(C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.def

File: logreq.def 2010/08/04 v1.0 logreq spec v1.0

)) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\ifthen.sty

Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)

) (C:\Program Files (x86)\MiKTeX2.9\tex\latex\ltxmisc\url.sty

\Urlmuskip=\muskip10

Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.

)

\c@tabx@nest=\count90

\c@listtotal=\count91

\c@listcount=\count92

\c@liststart=\count93

\c@liststop=\count94

\c@citecount=\count95

\c@citetotal=\count96

\c@multicitecount=\count97

\c@multicitetotal=\count98


Re: Author-year in Lyx

2014-01-12 Thread KIM Musak
Dear Wolgang, Stefano

I have followed your suggestion. I copied and pasted the files into the tmp
folders in my windows. still got errors and these are the log files --- it
is long. But I could see some potential problems as shown by the log file -
BOLD by me. I know it will take time, but someone will able to find the
problems there.

Regards,

kamarul




LATEX:


This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded
format=pdflatex 2013.11.8) 13 JAN 2014 08:42

entering extended mode

**testing-natbib.tex


(C:\Users\kim\AppData\Local\Temp\lyx_tmpdir.Hp8364\lyx_tmpbuf2\testing-natbib.t

ex

LaTeX2e <2011/06/27>

Babel  and hyphenation patterns for english, afrikaans,
ancientgreek, ar

abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan,
coptic,

croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish,
french, ga

lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian,
iceland

ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin,
latvian,

lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek,
ngerman, n

german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
roman

ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
swissgerm

an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian,
usengl

ishmax, welsh, loaded.


("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\article.cls"

Document Class: article 2007/10/19 v1.4h Standard LaTeX document class

("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\size11.clo"

File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)

)

\c@part=\count79

\c@section=\count80

\c@subsection=\count81

\c@subsubsection=\count82

\c@paragraph=\count83

\c@subparagraph=\count84

\c@figure=\count85

\c@table=\count86

\abovecaptionskip=\skip41

\belowcaptionskip=\skip42

\bibindent=\dimen102

) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\fontenc.sty"

Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\t1enc.def"

File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file

LaTeX Font Info: Redeclaring font encoding T1 on input line 43.

)) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\setspace\setspace.sty"

Package: setspace 2011/12/19 v6.7a set line spacing

) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex.sty"

Package: biblatex 2013/11/25 v2.8a programmable bibliographies (PK/JW/AB)

("C:\Program Files (x86)\MiKTeX2.9\tex\latex\biblatex\biblatex2.sty"

Package: biblatex2 2013/11/25 v2.8a programmable bibliographies (biber)
(PK/JW/

AB)

("C:\Program Files (x86)\MiKTeX2.9\tex\latex\etoolbox\etoolbox.sty"

Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX

("C:\Program Files (x86)\MiKTeX2.9\tex\latex\misc\etex.sty"

Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)

\et@xins=\count87

)

\etb@tempcnta=\count88

) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\graphics\keyval.sty"

Package: keyval 1999/03/16 v1.13 key=value parser (DPC)

\KV@toks@=\toks14

) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\oberdiek\kvoptions.sty"

Package: kvoptions 2011/06/30 v3.11 Key value format for package options
(HO)

("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ltxcmds.sty"

Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)

) ("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\kvsetkeys.sty"

Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)

("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\infwarerr.sty"

Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages
(HO)

) ("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\etexcmds.sty"

Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands
(HO)

("C:\Program Files (x86)\MiKTeX2.9\tex\generic\oberdiek\ifluatex.sty"

Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)

Package ifluatex Info: LuaTeX not detected.

)

Package etexcmds Info: Could not find \expanded.

(etexcmds) That can mean that you are not using pdfTeX 1.50 or

(etexcmds) that some package has redefined \expanded.

(etexcmds) In the latter case, load this package earlier.

))) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.sty"

Package: logreq 2010/08/04 v1.0 xml request logger

\lrq@indent=\count89

("C:\Program Files (x86)\MiKTeX2.9\tex\latex\logreq\logreq.def"

File: logreq.def 2010/08/04 v1.0 logreq spec v1.0

)) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\base\ifthen.sty"

Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)

) ("C:\Program Files (x86)\MiKTeX2.9\tex\latex\ltxmisc\url.sty"

\Urlmuskip=\muskip10

Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.

)

\c@tabx@nest=\count90

\c@listtotal=\count91

\c@listcount=\count92

\c@liststart=\count93

\c@liststop=\count94

\c@citecount=\count95

\c@citetotal=\count96

\c@multicitecount=\count97


Re: Author-year in Lyx

2014-01-11 Thread KIM Musak
Dear Stefano, unfortunately I still can't get lyx to
1) show Author-Year , instead the bibtexkey shown
2) no bibliography listed at the end of the text

I am pretty sure the problem happens during generation of the PDF file. The
reasons being, I could see all the reference in my Lyx document, I could
cite the selected reference. They are nicely shown in lyx file, and nicely
shown as Author-Year.  The only problem is when I click preview, the PDF
only shows the citation but only in bibtexkey and no bibliography printed.
Anything to do with the module? or Windows 8? or probably with Lyx 2.0.6?

--, what have I done wrong? still clueless ---

Regards,

Kamarul


On Sat, Jan 11, 2014 at 1:30 AM, Stefano Franchi stef...@tamu.edu wrote:




 On Fri, Jan 10, 2014 at 10:49 AM, KIM Musak kim2u4...@gmail.com wrote:

 Dear Stefano and all,

 Coming back to setting Lyx to work with biblatex, I am not so sure how to
 make it works in my Lyx. I have tried the steps listed at
 http://wiki.lyx.org/BibTeX/Biblatex , which includes
 1) Put the file biblatex.module in the layouts folder

 2) Reconfigure Lyx - then restart



 3) Setting the Preamble with
 a) \usepackage[style=authoryear,natbib=true,backend=bibtex]{biblatex}


 you should really use biber instead of bibtex with bibblatex. It is not
 mandatory but I strongly recommend it. Many biblatex features only wotk
 with biber. So replace your line with:

 \usepackage[style=authoryear,natbib=true,backend=biber]{biblatex}

 (actually biber is the default, so you clould eliminate the backend clause
 completely, but just for clarity)

 b) \usepackage[style=numeric,backend=bibtex]{biblatex}


 This is wrong. You should only load biblatex once, with the style you
 want. So either load it with style=authoryear, or with style=numeric, but
 do not load it twice

 Stefano, yes, I used only
 \usepackage[style=authoryear,natbib=true,backend=biber]{biblatex}

c) \addbibresource{name of bib-file with .bib-extension}


 You should have the complete path from root here, otherwise biblatex won't
 find you bib file. This is actually  lyx's problem, not biblatex's. The
 problem is that when you instruct lix to typeset your file into a a pdf,
 lyx first copies your lyx-converted tex  file to a temp directory, then it
 runs (pdf)latex and biber/bibtex on it. At that point, the relative path
 you had inserted in the preamble becomes meaningless since you are no
 longer in the original location.
 IN SHORT: always use absolute paths in your \addbibresource commands in
 the preamble.


Stefano, i did use the complete the path and also the file name only




 4) insert the BibTeX inset (Insert→List/TOC→BibTeX Bibliography... ) in a
 LyX note or comment

 good


I can confirmed that I did this



 5) enter \printbibliography in ERT

 good


I can confirm that i did this


 6) change from bibtex to biber, go to Tools→Settings→Output→LaTeX and
 change the bibtex

 good


I can confirm I did this


 7) pass the option backend=biber

 see comment to point 3a above


I did add this and without this



 When I inserted the citation, Lyx managed to find it.
 But when I previewed it, the citation is not in author-year and no
 bibliography printed

 Did I miss any steps? I am using Lyx 2.0.6




 Let me know if it works.

 Cheers,
 Stefano
 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

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



Re: Author-year in Lyx

2014-01-11 Thread KIM Musak
Dear Stefano, unfortunately I still can't get lyx to
1) show Author-Year , instead the bibtexkey shown
2) no bibliography listed at the end of the text

I am pretty sure the problem happens during generation of the PDF file. The
reasons being, I could see all the reference in my Lyx document, I could
cite the selected reference. They are nicely shown in lyx file, and nicely
shown as Author-Year.  The only problem is when I click preview, the PDF
only shows the citation but only in bibtexkey and no bibliography printed.
Anything to do with the module? or Windows 8? or probably with Lyx 2.0.6?

--, what have I done wrong? still clueless ---

Regards,

Kamarul


On Sat, Jan 11, 2014 at 1:30 AM, Stefano Franchi stef...@tamu.edu wrote:




 On Fri, Jan 10, 2014 at 10:49 AM, KIM Musak kim2u4...@gmail.com wrote:

 Dear Stefano and all,

 Coming back to setting Lyx to work with biblatex, I am not so sure how to
 make it works in my Lyx. I have tried the steps listed at
 http://wiki.lyx.org/BibTeX/Biblatex , which includes
 1) Put the file biblatex.module in the layouts folder

 2) Reconfigure Lyx - then restart



 3) Setting the Preamble with
 a) \usepackage[style=authoryear,natbib=true,backend=bibtex]{biblatex}


 you should really use biber instead of bibtex with bibblatex. It is not
 mandatory but I strongly recommend it. Many biblatex features only wotk
 with biber. So replace your line with:

 \usepackage[style=authoryear,natbib=true,backend=biber]{biblatex}

 (actually biber is the default, so you clould eliminate the backend clause
 completely, but just for clarity)

 b) \usepackage[style=numeric,backend=bibtex]{biblatex}


 This is wrong. You should only load biblatex once, with the style you
 want. So either load it with style=authoryear, or with style=numeric, but
 do not load it twice

 Stefano, yes, I used only
 \usepackage[style=authoryear,natbib=true,backend=biber]{biblatex}

c) \addbibresource{name of bib-file with .bib-extension}


 You should have the complete path from root here, otherwise biblatex won't
 find you bib file. This is actually  lyx's problem, not biblatex's. The
 problem is that when you instruct lix to typeset your file into a a pdf,
 lyx first copies your lyx-converted tex  file to a temp directory, then it
 runs (pdf)latex and biber/bibtex on it. At that point, the relative path
 you had inserted in the preamble becomes meaningless since you are no
 longer in the original location.
 IN SHORT: always use absolute paths in your \addbibresource commands in
 the preamble.


Stefano, i did use the complete the path and also the file name only




 4) insert the BibTeX inset (Insert→List/TOC→BibTeX Bibliography... ) in a
 LyX note or comment

 good


I can confirmed that I did this



 5) enter \printbibliography in ERT

 good


I can confirm that i did this


 6) change from bibtex to biber, go to Tools→Settings→Output→LaTeX and
 change the bibtex

 good


I can confirm I did this


 7) pass the option backend=biber

 see comment to point 3a above


I did add this and without this



 When I inserted the citation, Lyx managed to find it.
 But when I previewed it, the citation is not in author-year and no
 bibliography printed

 Did I miss any steps? I am using Lyx 2.0.6




 Let me know if it works.

 Cheers,
 Stefano
 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

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



Re: Author-year in Lyx

2014-01-11 Thread KIM Musak
Dear Stefano, unfortunately I still can't get lyx to
1) show Author-Year , instead the bibtexkey shown
2) no bibliography listed at the end of the text

I am pretty sure the problem happens during generation of the PDF file. The
reasons being, I could see all the reference in my Lyx document, I could
cite the selected reference. They are nicely shown in lyx file, and nicely
shown as Author-Year.  The only problem is when I click preview, the PDF
only shows the citation but only in bibtexkey and no bibliography printed.
Anything to do with the module? or Windows 8? or probably with Lyx 2.0.6?

--, what have I done wrong? still clueless ---

Regards,

Kamarul


On Sat, Jan 11, 2014 at 1:30 AM, Stefano Franchi <stef...@tamu.edu> wrote:

>
>
>
> On Fri, Jan 10, 2014 at 10:49 AM, KIM Musak <kim2u4...@gmail.com> wrote:
>
>> Dear Stefano and all,
>>
>> Coming back to setting Lyx to work with biblatex, I am not so sure how to
>> make it works in my Lyx. I have tried the steps listed at
>> http://wiki.lyx.org/BibTeX/Biblatex , which includes
>> 1) Put the file biblatex.module in the layouts folder
>>
> 2) Reconfigure Lyx - then restart
>>
>
>
>> 3) Setting the Preamble with
>> a) \usepackage[style=authoryear,natbib=true,backend=bibtex]{biblatex}
>>
>
> you should really use biber instead of bibtex with bibblatex. It is not
> mandatory but I strongly recommend it. Many biblatex features only wotk
> with biber. So replace your line with:
>
> \usepackage[style=authoryear,natbib=true,backend=biber]{biblatex}
>
> (actually biber is the default, so you clould eliminate the backend clause
> completely, but just for clarity)
>
>> b) \usepackage[style=numeric,backend=bibtex]{biblatex}
>>
>
> This is wrong. You should only load biblatex once, with the style you
> want. So either load it with style=authoryear, or with style=numeric, but
> do not load it twice
>
> Stefano, yes, I used only
 \usepackage[style=authoryear,natbib=true,backend=biber]{biblatex}

c) \addbibresource{}
>>
>
> You should have the complete path from root here, otherwise biblatex won't
> find you bib file. This is actually  lyx's problem, not biblatex's. The
> problem is that when you instruct lix to typeset your file into a a pdf,
> lyx first copies your lyx-converted tex  file to a temp directory, then it
> runs (pdf)latex and biber/bibtex on it. At that point, the relative path
> you had inserted in the preamble becomes meaningless since you are no
> longer in the original location.
> IN SHORT: always use absolute paths in your \addbibresource commands in
> the preamble.
>

Stefano, i did use the complete the path and also the file name only

>
>
>
>> 4) insert the BibTeX inset (Insert→List/TOC→BibTeX Bibliography... ) in a
>> LyX note or comment
>>
> good
>

I can confirmed that I did this

>
>
>> 5) enter \printbibliography in ERT
>>
> good
>

I can confirm that i did this

>
> 6) change from bibtex to biber, go to Tools→Settings→Output→LaTeX and
>> change the bibtex
>>
> good
>

I can confirm I did this

>
> 7) pass the option backend=biber
>>
> see comment to point 3a above
>

I did add this and without this

>
>
>> When I inserted the citation, Lyx managed to find it.
>> But when I previewed it, the citation is not in author-year and no
>> bibliography printed
>>
>> Did I miss any steps? I am using Lyx 2.0.6
>>
>>
>
>
> Let me know if it works.
>
> Cheers,
> Stefano
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>


Re: Author-year in Lyx

2014-01-10 Thread KIM Musak
Dear Stefano and all,

Coming back to setting Lyx to work with biblatex, I am not so sure how to
make it works in my Lyx. I have tried the steps listed at
http://wiki.lyx.org/BibTeX/Biblatex , which includes
1) Put the file biblatex.module in the layouts folder
2) Reconfigure Lyx - then restart
3) Setting the Preamble with
a) \usepackage[style=authoryear,natbib=true,backend=bibtex]{biblatex}
b) \usepackage[style=numeric,backend=bibtex]{biblatex}
c) \addbibresource{name of bib-file with .bib-extension}
4) insert the BibTeX inset (Insert→List/TOC→BibTeX Bibliography... ) in a
LyX note or comment
5) enter \printbibliography in ERT
6) change from bibtex to biber, go to Tools→Settings→Output→LaTeX and
change the bibtex
7) pass the option backend=biber

When I inserted the citation, Lyx managed to find it.
But when I previewed it, the citation is not in author-year and no
bibliography printed

Did I miss any steps? I am using Lyx 2.0.6

Regards,

Kamarul




On Thu, Jan 9, 2014 at 9:26 PM, Stefano Franchi stef...@tamu.edu wrote:

 Hi Kamarul,

 in order to use author-year you need to use natbib. If you use bibtex as
 your reference processor, all you need to do is to put
 \usepackage{natbib} in your preamble (DocumentSettingsPreamble) and
 choose Natbib in DocumentSettingsBibliography. When you insert your
 bibliography file (InsertList/TOCBibTeX Bibliography), you should
 choose plainnat as a style. This gives you the basic setting. Many more
 things are possible, including changing the style and so on. See the lyx
 wiki page on bibliography for a first description of the package  [1].
 There is also documentation for natbib in your latex installation (search
 for the file natbib.pdf on your computer or type texdoc natbib at a
 terminal). I enclosed a minimal  example as a working LyX file (with a
 minimal bib file).

 The above assumes you are using bibtex. If, instead, you are using
 biblatex (like me), you should proceed differently. Write again and I'll
 explain how (it is very easy).

 Also, please write to the whole lyx users list---your chances to get help
 will increase substantially

 Cheers,

 Stefano


 [1] http://wiki.lyx.org/BibTeX/Background#natbib


 On Thu, Jan 9, 2014 at 12:26 AM, Kamarul Imran kim4...@gmail.com wrote:

 Dear Prof Franchi,

 I stumbled a post by you on setting the author-year citation in Lyx. I
 have problems in writing the citation using author-year style in Lyx. I
 have tried a few links and the suggested workaround on Lyx website, but
 nothing works.

 I guess the problems lie in the 'Document setting' and 'Tools' in Lyx. I
 am using Lyx 2.0.6 on Windows 8. My citation does not show properly and no
 bibliography generated, even though the bib files were correctly
 set/linked.

 Would you mind, list the correct (your working) setting in Lyx so that I
 might be able to test it on my laptop.

 Thanks very much.

 Best wishes,

 Kamarul Imran Musa
 Malaysia




 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

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



Re: Author-year in Lyx

2014-01-10 Thread KIM Musak
Dear Stefano and all,

Coming back to setting Lyx to work with biblatex, I am not so sure how to
make it works in my Lyx. I have tried the steps listed at
http://wiki.lyx.org/BibTeX/Biblatex , which includes
1) Put the file biblatex.module in the layouts folder
2) Reconfigure Lyx - then restart
3) Setting the Preamble with
a) \usepackage[style=authoryear,natbib=true,backend=bibtex]{biblatex}
b) \usepackage[style=numeric,backend=bibtex]{biblatex}
c) \addbibresource{name of bib-file with .bib-extension}
4) insert the BibTeX inset (Insert→List/TOC→BibTeX Bibliography... ) in a
LyX note or comment
5) enter \printbibliography in ERT
6) change from bibtex to biber, go to Tools→Settings→Output→LaTeX and
change the bibtex
7) pass the option backend=biber

When I inserted the citation, Lyx managed to find it.
But when I previewed it, the citation is not in author-year and no
bibliography printed

Did I miss any steps? I am using Lyx 2.0.6

Regards,

Kamarul




On Thu, Jan 9, 2014 at 9:26 PM, Stefano Franchi stef...@tamu.edu wrote:

 Hi Kamarul,

 in order to use author-year you need to use natbib. If you use bibtex as
 your reference processor, all you need to do is to put
 \usepackage{natbib} in your preamble (DocumentSettingsPreamble) and
 choose Natbib in DocumentSettingsBibliography. When you insert your
 bibliography file (InsertList/TOCBibTeX Bibliography), you should
 choose plainnat as a style. This gives you the basic setting. Many more
 things are possible, including changing the style and so on. See the lyx
 wiki page on bibliography for a first description of the package  [1].
 There is also documentation for natbib in your latex installation (search
 for the file natbib.pdf on your computer or type texdoc natbib at a
 terminal). I enclosed a minimal  example as a working LyX file (with a
 minimal bib file).

 The above assumes you are using bibtex. If, instead, you are using
 biblatex (like me), you should proceed differently. Write again and I'll
 explain how (it is very easy).

 Also, please write to the whole lyx users list---your chances to get help
 will increase substantially

 Cheers,

 Stefano


 [1] http://wiki.lyx.org/BibTeX/Background#natbib


 On Thu, Jan 9, 2014 at 12:26 AM, Kamarul Imran kim4...@gmail.com wrote:

 Dear Prof Franchi,

 I stumbled a post by you on setting the author-year citation in Lyx. I
 have problems in writing the citation using author-year style in Lyx. I
 have tried a few links and the suggested workaround on Lyx website, but
 nothing works.

 I guess the problems lie in the 'Document setting' and 'Tools' in Lyx. I
 am using Lyx 2.0.6 on Windows 8. My citation does not show properly and no
 bibliography generated, even though the bib files were correctly
 set/linked.

 Would you mind, list the correct (your working) setting in Lyx so that I
 might be able to test it on my laptop.

 Thanks very much.

 Best wishes,

 Kamarul Imran Musa
 Malaysia




 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

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



Re: Author-year in Lyx

2014-01-10 Thread KIM Musak
Dear Stefano and all,

Coming back to setting Lyx to work with biblatex, I am not so sure how to
make it works in my Lyx. I have tried the steps listed at
http://wiki.lyx.org/BibTeX/Biblatex , which includes
1) Put the file biblatex.module in the layouts folder
2) Reconfigure Lyx - then restart
3) Setting the Preamble with
a) \usepackage[style=authoryear,natbib=true,backend=bibtex]{biblatex}
b) \usepackage[style=numeric,backend=bibtex]{biblatex}
c) \addbibresource{}
4) insert the BibTeX inset (Insert→List/TOC→BibTeX Bibliography... ) in a
LyX note or comment
5) enter \printbibliography in ERT
6) change from bibtex to biber, go to Tools→Settings→Output→LaTeX and
change the bibtex
7) pass the option backend=biber

When I inserted the citation, Lyx managed to find it.
But when I previewed it, the citation is not in author-year and no
bibliography printed

Did I miss any steps? I am using Lyx 2.0.6

Regards,

Kamarul




On Thu, Jan 9, 2014 at 9:26 PM, Stefano Franchi  wrote:

> Hi Kamarul,
>
> in order to use author-year you need to use natbib. If you use bibtex as
> your reference processor, all you need to do is to put
> "\usepackage{natbib}" in your preamble (Document>>Settings>>Preamble) and
> choose Natbib in Document>>Settings>>Bibliography. When you insert your
> bibliography file (Insert>>List/TOC>>BibTeX Bibliography), you should
> choose "plainnat" as a style. This gives you the basic setting. Many more
> things are possible, including changing the style and so on. See the lyx
> wiki page on bibliography for a first description of the package  [1].
> There is also documentation for natbib in your latex installation (search
> for the file natbib.pdf on your computer or type "texdoc natbib" at a
> terminal). I enclosed a minimal  example as a working LyX file (with a
> minimal bib file).
>
> The above assumes you are using bibtex. If, instead, you are using
> biblatex (like me), you should proceed differently. Write again and I'll
> explain how (it is very easy).
>
> Also, please write to the whole lyx users list---your chances to get help
> will increase substantially
>
> Cheers,
>
> Stefano
>
>
> [1] http://wiki.lyx.org/BibTeX/Background#natbib
>
>
> On Thu, Jan 9, 2014 at 12:26 AM, Kamarul Imran  wrote:
>
>> Dear Prof Franchi,
>>
>> I stumbled a post by you on setting the author-year citation in Lyx. I
>> have problems in writing the citation using author-year style in Lyx. I
>> have tried a few links and the suggested workaround on Lyx website, but
>> nothing works.
>>
>> I guess the problems lie in the 'Document setting' and 'Tools' in Lyx. I
>> am using Lyx 2.0.6 on Windows 8. My citation does not show properly and no
>> bibliography generated, even though the bib files were correctly
>> set/linked.
>>
>> Would you mind, list the correct (your working) setting in Lyx so that I
>> might be able to test it on my laptop.
>>
>> Thanks very much.
>>
>> Best wishes,
>>
>> Kamarul Imran Musa
>> Malaysia
>>
>
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>