Re: margin text and labelling environment generates a bug

2020-02-08 Thread Jürgen Spitzmüller
Am Samstag, den 08.02.2020, 07:08 + schrieb John Beattie:
> When I create a margin text on the same line as a labelling
> environment, the
> document will not compile.  This happens with lyx 2.3.3 on Windows
> and with lyx
> 2.3.1 on linux mint 18.2.  Details of the two environments are below.

You need to put the margin outside of the description label (the first
item of the line)

> 
> The mwe is attached and the picture shows the error which the
> compiler reports.
> 
> Should I raise a bug?

Thanks, but this is already tracked.

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Biblatex tells me \addbibresource was never defined

2020-02-08 Thread Bernd

I am using LyX 2.3.4

I set it to Biblatex in the GUI, but it tells me \addbibresource was
never defined. (See the two documents attached.)

Anybody has a clue why? I am out of ideas...

Bernd

This is XeTeX, Version 3.14159265-2.6-0.92 (MiKTeX 2.9.7300 64-bit) 
(preloaded format=xelatex 2020.2.8)  8 FEB 2020 14:19
entering extended mode
**./Neues_Dokument1.tex
(Neues_Dokument1.tex
LaTeX2e <2020-02-02>
L3 programming layer <2020-02-03>
("C:\Program Files\MiKTeX 2.9\tex/latex/base\article.cls"
Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex/latex/base\size10.clo"
File: size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
)
\c@part=\count163
\c@section=\count164
\c@subsection=\count165
\c@subsubsection=\count166
\c@paragraph=\count167
\c@subparagraph=\count168
\c@figure=\count169
\c@table=\count170
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen134
) ("C:\Program Files\MiKTeX 2.9\tex/latex/base\fontenc.sty"
Package: fontenc 2020/01/25 v2.0m Standard LaTeX package
LaTeX Font Info:Trying to load font information for T1+lmr on input line 11
2.
("C:\Program Files\MiKTeX 2.9\tex/latex/lm\t1lmr.fd"
File: t1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
! Undefined control sequence.
l.10 \addbibresource
{further-5.bib}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.10 \addbibresource{f
  urther-5.bib}
You're in trouble here.  Try typingto proceed.
If that doesn't work, type  X   to quit.

("C:\Program Files\MiKTeX 2.9\tex/generic/babel\babel.sty"
Package: babel 2020/02/03 3.39 The Babel package
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\switch.def"
File: switch.def 2020/02/03 3.39 Babel switching mechanism
)
*
* Local config file bblopts.cfg used
*
(C:\Users\Bernd\AppData\Roaming\MiKTeX\2.9\tex/latex/arabi\bblopts.cfg
File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of
 babel
) ("C:\Program Files\MiKTeX 2.9\tex/latex/babel-english\english.ldf"
Language: english 2017/06/06 v3.3r English support from the babel system
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\babel.def"
File: babel.def 2020/02/03 3.39 Babel common definitions
\babel@savecnt=\count171
\U@D=\dimen135
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\xebabel.def" ("C:\Program Files
\MiKTeX 2.9\tex/generic/babel\txtbabel.def"))
\bbl@readstream=\read2
\bbl@dirlevel=\count172
)
Package babel Info: \l@canadian = using hyphenrules for english
(babel) (\language0) on input line 102.
Package babel Info: \l@australian = using hyphenrules for ukenglish
(babel) (\language76) on input line 105.
Package babel Info: \l@newzealand = using hyphenrules for ukenglish
(babel) (\language76) on input line 108.
)) (C:\Users\Bernd\AppData\Roaming\MiKTeX\2.9\tex/latex/biblatex\biblatex.sty
Package: biblatex 2019/12/01 v3.14 programmable bibliographies (PK/MW)
("C:\Program Files\MiKTeX 2.9\tex/latex/pdftexcmds\pdftexcmds.sty"
Package: pdftexcmds 2019/11/24 v0.31 Utility functions of pdfTeX for LuaTeX (HO
)
(C:\Users\Bernd\AppData\Roaming\MiKTeX\2.9\tex/generic/infwarerr\infwarerr.sty
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
) ("C:\Program Files\MiKTeX 2.9\tex/generic/iftex\iftex.sty"
Package: iftex 2019/11/07 v1.0c TeX engine tests
) ("C:\Program Files\MiKTeX 2.9\tex/generic/ltxcmds\ltxcmds.sty"
Package: ltxcmds 2019/12/15 v1.24 LaTeX kernel commands for general use (HO)
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode not found.
) ("C:\Program Files\MiKTeX 2.9\tex/latex/etoolbox\etoolbox.sty"
Package: etoolbox 2019/09/21 v2.5h e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count173
) ("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\keyval.sty"
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
) ("C:\Program Files\MiKTeX 2.9\tex/latex/kvoptions\kvoptions.sty"
Package: kvoptions 2019/11/29 v3.13 Key value format for package options (HO)
(C:\Users\Bernd\AppData\Roaming\MiKTeX\2.9\tex/generic/kvsetkeys\kvsetkeys.sty
Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO)
)) ("C:\Program Files\MiKTeX 2.9\tex/latex/logreq\logreq.sty"
Package: logreq 2010/08/04 v1.0 xml request logger
\lrq@indent=\count174
("C:\Program Files\MiKTeX 2.9\tex/latex/logreq\logreq.def"
File: logreq.def 2010/08/04 v1.0 logreq spec v1.0
)) ("C:\Program Files\MiKTe

Re: Biblatex tells me \addbibresource was never defined

2020-02-08 Thread Jürgen Spitzmüller
Am Samstag, den 08.02.2020, 14:57 +0100 schrieb Bernd:
> I am using LyX 2.3.4
> 
> I set it to Biblatex in the GUI, but it tells me \addbibresource was
> never defined. (See the two documents attached.)
> 
> Anybody has a clue why? I am out of ideas...

Please send the LyX file.

Jürgen

> 
> Bernd
> 


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Biblatex tells me \addbibresource was never defined

2020-02-08 Thread Jürgen Spitzmüller
Am Samstag, den 08.02.2020, 15:38 +0100 schrieb Jürgen Spitzmüller:
> Am Samstag, den 08.02.2020, 14:57 +0100 schrieb Bernd:
> > I am using LyX 2.3.4
> > 
> > I set it to Biblatex in the GUI, but it tells me \addbibresource
> > was
> > never defined. (See the two documents attached.)
> > 
> > Anybody has a clue why? I am out of ideas...
> 
> Please send the LyX file.

I got the LyX file in private mail.

So here's how to fix it:

* Delete \bibliography{further-6} from the preamble
* Also remove \usepackage{polyglossia} from the preamble (this is
loaded automatically by LyX)

* In the document, remove the TeX code:
\printbibliography[title={Further readings}]
* move the Biblatex inset out of the note inset
* in the Biblatex inset settings, load the further-6 bibliography and
add the following to the options field: title={Further readings}

You can also remove the TeX code \nocite{*} if you set "All references"
in the Biblatex inset settings ("content")


Explanation:

You have loaded used biblatex-related macros in your user preamble, but
biblatex is loaded after the user preamble.


Jürgen



> 
> Jürgen
> 
> > Bernd
> > 


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users