TeX comments in preamble (was: Biblatex in LyX 2.3 and newer)

2018-11-16 Thread Guenter Milde
On 2018-11-10, jezZiFeR wrote:

> Also the lines:
> \urlstyle{%}
> \usepackage{%}
> \begin{%}

> caused some errors – do I really have to remove all of them? Is there
> is one obvious reason for this?

In TeX (and the LyX-user-preamble), a % starts a comment that stretches till
the end of line. Therefore, all these lines produce unbalanced braces, for
TeX the code becomes:

 \urlstyle{
 \usepackage{
 \begin{

Günter



Re: Biblatex in LyX 2.3 and newer

2018-11-10 Thread jezZiFeR
Dear Daniel,

yes, I thought that the problems I have are a biblatex-problem, because it 
happened when I installed LyX 2.3. The other packages I now deactivated were 
working fine before, so I am still not sure, what exactly the problem might be 
– all of those error messages seemed to have startet at the same point. I will 
try some things and most probably make another minimal-example.

Thanks also for your minimal-example, this is obvious.

Best
Jess


Am 10. Nov. 2018, 12:32 +0100 schrieb Daniel :
> Dear Jess,
>
> Your question was about biblatex that is what I concentrated on. If
> there are other problems try to produce a minimal example that shows
> these other errors.
>
> On 10/11/2018 08:34, jezZiFeR wrote:
> > And also, why do I have to remove the
> >
> > pageref=true
> >
> > option from biblatex?
> I might be wrong but pageref=true does not seem to be a valid biblatex
> option. Attached is a minimal example to show it. Remove pageref=true
> from the biblatex options in this example and it should work fine.
>
> Best,
> Daniel


Re: Biblatex in LyX 2.3 and newer

2018-11-10 Thread Daniel

Dear Jess,

Your question was about biblatex that is what I concentrated on. If 
there are other problems try to produce a minimal example that shows 
these other errors.


On 10/11/2018 08:34, jezZiFeR wrote:

And also, why do I have to remove the

pageref=true

option from biblatex?
I might be wrong but pageref=true does not seem to be a valid biblatex 
option. Attached is a minimal example to show it. Remove pageref=true 
from the biblatex options in this example and it should work fine.


Best,
Daniel


pageref.lyx
Description: application/lyx


Re: Biblatex in LyX 2.3 and newer

2018-11-09 Thread jezZiFeR
Dear Daniel,

thank you for trying my file out. Okay, the file is not minimal enough, so I 
removed the list of figures and also the footnote with the missing reference. 
There is no reason, why I once added the page numbers as part of the citation, 
once not. That might be the result of trying out how to get a decent distance 
between »S.« and the number.

I now also erased some of the lines in the preamble that do not correspond to 
biblatex. It was obvious, that most of the errors were caused by the line:
\DeclareFieldFormat{title}{\mkbibemph{#1}}
which I have added italic fonts in titles. Is there also another achieve that?

Also the lines:
\urlstyle{%}
\usepackage{%}
\begin{%}
caused some errors – do I really have to remove all of them? Is there is one 
obvious reason for this?

And also, why do I have to remove the
pageref=true
option from biblatex?

I add a minimal example this time which I think is really minimal, in a working 
form. I left the mentioned lines in the preamble, deactivated.

Thank you, best,
Jess




Am 10. Nov. 2018, 02:51 +0100 schrieb Daniel :
> On 09/11/2018 19:39, jezZiFeR wrote:
> > Hello,
> >
> > I do not get Biblatex working correctly since using LyX 2.3 on
> > OSX10.13.6, I get a lot of errors and am not sure about the changes I
> > have made in the preferences and in the preamble. I tried to follow
> > these descriptions:
> > https://wiki.lyx.org/BibTeX/Biblatex#toc2
> >
> > It seems I did not do that correctly… What did I do wrong? I add a
> > minimal example here.
> >
> > Thanks for help
> > Jess
>
> Hi
>
> It is a bit hard to say what might cause your errors. There are three
> references and some text in your document. If you remove any of those
> your error disappears? If not, then the attached is not a minimal example.
>
> After removing the a bit strange looking preamble (which seems to have
> nothing to do with biblatex if I saw it correctly) and the
> "pageref=true" option from biblatex, I could typeset the document
> without problems on Windows 10.
>
> One of the references was not in the attached bib file though. Although,
> is there a reason some of the page numbers were part of the citation and
> some not?
>
> Best,
> Daniel
>


Minimal.bib
Description: Binary data


Minimal.lyx
Description: Binary data


Re: Biblatex in LyX 2.3 and newer

2018-11-09 Thread Daniel

On 09/11/2018 19:39, jezZiFeR wrote:

Hello,

I do not get Biblatex working correctly since using LyX 2.3 on 
OSX10.13.6, I get a lot of errors and am not sure about the changes I 
have made in the preferences and in the preamble. I tried to follow 
these descriptions:

https://wiki.lyx.org/BibTeX/Biblatex#toc2

It seems I did not do that correctly… What did I do wrong? I add a 
minimal example here.


Thanks for help
Jess


Hi

It is a bit hard to say what might cause your errors. There are three 
references and some text in your document. If you remove any of those 
your error disappears? If not, then the attached is not a minimal example.


After removing the a bit strange looking preamble (which seems to have 
nothing to do with biblatex if I saw it correctly) and the 
"pageref=true" option from biblatex, I could typeset the document 
without problems on Windows 10.


One of the references was not in the attached bib file though. Although, 
is there a reason some of the page numbers were part of the citation and 
some not?


Best,
Daniel



Biblatex in LyX 2.3 and newer

2018-11-09 Thread jezZiFeR
Hello,

I do not get Biblatex working correctly since using LyX 2.3 on OSX10.13.6, I 
get a lot of errors and am not sure about the changes I have made in the 
preferences and in the preamble. I tried to follow these descriptions:
https://wiki.lyx.org/BibTeX/Biblatex#toc2

It seems I did not do that correctly… What did I do wrong? I add a minimal 
example here.

Thanks for help
Jess


Minimal.lyx
Description: Binary data


Diss4.bib
Description: Binary data