On Tue, Mar 4, 2014 at 9:40 PM, Jason F. Siegel <siege...@umail.iu.edu> wrote:
> On 03/03/2014 05:07 PM, Csikos Bela wrote:
>>
>> "Jason F. Siegel" <siege...@umail.iu.edu> írta:
>>>
>>> I've attached the LaTeX and BiBTex logs in one text file. I've also
>>> attached a LyX MWE with the ERT that got left out of the first one, to
>>> show the formatting problems that were apparent in the PDF of the beta
>>> file.
>>>
>>> --Jason
>>>
>>>
>>> On 03/03/2014 12:58 PM, stefano franchi wrote:
>>>>
>>>> On Mon, Mar 3, 2014 at 9:25 AM, Jason F. Siegel <siege...@umail.iu.edu>
>>>> wrote:
>>>>>
>>>>> Hi Csikos,
>>>>>
>>>>> I've provided a non-beta file with this e-mail. However, here the
>>>>> problem is
>>>>> different, as I stated in the original e-mail. In the non-beta, even
>>>>> with
>>>>> what I believe are the same settings (I'll admit I could be overlooking
>>>>> something), the references don't load at all. There is no formatting of
>>>>> the
>>>>> citations and no bibliography prints at the end. I would be happy to
>>>>> continue to use the stable version of LyX if it meant I could get my
>>>>> references and could format my ERT properly.
>>>>>
>>>>> I have attached the PDFs of the non beta and the PDF of the earlier LyX
>>>>> file
>>>>> and also the .bib file, as well, so that people can see what I'm
>>>>> seeing,
>>>>> even if it's not reproducing on their machine.
>>>>>
>>>>
>>>> Jason,
>>>>
>>>> you file works fine here on LyX 2.0.7 (see attached). Citation and
>>>> bibliography are as you desire (I think).
>>>>
>>>> What do you see in the log file?
>>>>
>>>>
>>>> Stefano
>>>>
>>>>> --Jason
>>>>>
>>>>>
>>>>>
>>>>> On 03/03/2014 08:37 AM, Csikos Bela wrote:
>>>>>>
>>>>>> "Jason F. Siegel" <siege...@umail.iu.edu> írta:
>>>>>>>
>>>>>>> Hello all,
>>>>>>>
>>>>>>> I'm having some trouble getting my bibliography and in-line citations
>>>>>>> formatted properly. For some reason, the bibliography is sorting in
>>>>>>> the
>>>>>>> order the references are cited, rather than in alphabetical order.
>>>>>>> Moreover, inline citations that should be Author (YEAR) are Author
>>>>>>> (Title). I'm using biblatex 2.8 and biber 1.8, with natbib and
>>>>>>> plainnat
>>>>>>> style on Ubuntu 13.10 with Lyx 2.1.0dev (the references don't even
>>>>>>> load
>>>>>>> in 2.0.7 for some reason).
>>>>>>>
>>>>>>> In the same document, ERT with the ExPex package isn't formatting as
>>>>>>> expected. I'm trying to get bold italics , but \bf gives me bold
>>>>>>> upright
>>>>>>> characters and \textbf gives me one bold italicized character
>>>>>>> followed
>>>>>>> by italics. I'm also trying to get small caps, but it's just plain
>>>>>>> lowercase. Any thoughts or aid people can give would be most welcome.
>>>>>>> I've attached an he.
>>>>>>
>>>>>> Jason,
>>>>>>
>>>>>> I tried to open your MWE but it seems it is in lyx 2.1 format. I have
>>>>>> only
>>>>>> lyx 2.0 installed.
>>>>>>
>> Jason,
>>
>> I have some general comments.
>>
>> - Please do not top post. Always write your message _below_ the included
>> previous messages or _right_below_ to a part (of a previous message) you are
>> actually refer to.
>>
>> - The examples you have provided are not minimal examples. Rather they are
>> very complex documents. Try to reduce the example to as simple as possible
>> removing unnecessary text, unnecessary options, and preamble settings but
>> keeping those that cause the error.
>>
>> Back to the specific case:
>>
>> In the bib file you attached in your previous mail (MasterList.bib) the
>> last entry (@BOOK{UNICEF2009) is incomplete and not correctly closed.  There
>> is a missing "}" at the end and I think "address = " is not valid. The entry
>> "Cohen1998" is not correct. For me this caused compilation error and a very
>> different output.
>>
>> I am attaching the corrected bib file and two pdfs, compiled with the
>> original, and with the fixed bib file.
>>
>> In your current message the log file indicates that during compilation
>> bibtex is used. This should be biber (backend is set to biber in the
>> preamble). Maybe you have not set lyx to use biber instead of bibtex under
>> Tools=>Preferences=>Output=>LaTeX=>Processor: biber. Make sure you have
>> biber set there.
>
>
> Hi Csikos,
> ,
> Thanks for your helpful instructions, and for fixing my bibliography.
> Unfortunately, they do not solve my problems. Any time I select biber as the
> backend (in the preamble, in settings, in preferences, and in any
> combination), the PDF does not compile. With your fix, in both the beta and
> the stable version, I get two 'Undefined control sequence' errors, one for
> \sortlist and the other for \endsortlist.
>

Hi Jason,

my suggestion to get out of the problem you find yourself is the same
as Cskos's: try to reduce the number of variables as much as possible
in order to isolate the root of the problem.

The first thing you need to find out is whether you have a working
biblatex+biber installation.
1. Make a new lyx file using one of the standard classes (book,
article), add )only* your biblatex call to the preamble (the
\usepackage and the \addbibresource commands), and put no more than
one word of text in the file itself, plus a couple of references at
most. See what happens.

If biblatex/biber work in the simplest possible scenario, you can
start to work on your (very complex) preamble. I would suggest:

2. start adding the pieces of your preamble one by one, until you find
the source of the problem. Or:

2'. Add all of it at once and start removing half of it at a time,
until you zero in on the root cause.



>>
>> One more thing: bibtex and biblatex are two different things. Both uses a
>> bib bibliography style. Only bibtex uses bst style file. If you use biblatex
>> it is indifferent which style is chosen. The style is controlled by preamble
>> options or by biblatex.cfg file in biblatex.
>>
>> It is worth to read the biblatex manual. (Not an easy reading as it is
>> missing a short introduction with clear examples.)
>
> I have tried to read the biblatex manual, and I have been unable to
> understand most of it.

Yes, unfortunately biblatex's documentation is rather complex. It
assumes you already know how to work with bibtex and latex, and it
focuses on what's different from the standard (old) scenario. It will
be of little help until you have it working on your system and can
start playing with the many options and customizations. But keep it
handy! It will be very helpful very soon, hopefully.


Cheers,

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

Reply via email to