Why so complicated?

no ERT required.

el

On 08/07/2021 10:47, Wolfgang Engelmann wrote:
[...]
Herbert

thanks, Herbert.

I add in the appendix a short file
AnonymousPro.23-WE-HV-bib.lyx
and a bib file BIBFILE.bib
with one entry

Could somebody check it?
I tried it with export as lualatex and running lualatex on a terminal without 
success >

(./AnonymousPro.23-WE-HV-bib.bbl)
LaTeX Warning: Citation 'Daan1984' on page 1 undefined on input line 20.
! LaTeX Error: Can be used only in preamble.

Does it mean, I can't use a bib file for the references, but have to include it 
in the preamble?

Wolfgang

sorry, the \ before printbibliography was missing
but still the error I reported before
Wolfgang



--
To email me replace 'nospam' with 'el'
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\begin_preamble
\usepackage{libertinus-otf}
\setmonofont[Scale=MatchLowercase,FakeStretch=0.88,Ligatures=ResetAll]{AnonymousPro}
\end_preamble
\use_default_options true
\maintain_unincluded_children false
\language ngerman
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "default"
\font_default_family default
\use_non_tex_fonts true
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\output_sync_macro "\synctex=1"
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine biblatex
\cite_engine_type authoryear
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style german
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset CommandInset citation
LatexCommand citep
key "Daan1984"
literal "false"

\end_inset


\end_layout

\begin_layout Standard
Test-serif
\end_layout

\begin_layout Standard

\family sans
Test-sans
\end_layout

\begin_layout Standard

\family typewriter
Test-mono
\end_layout

\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
btprint "btPrintCited"
bibfiles "BIBFILE"
options "plaindinen"

\end_inset


\end_layout

\end_body
\end_document

Attachment: AnonymousPro.23-WE-HV-bib.pdf
Description: Adobe PDF document

% Encoding: UTF-8

@Article{Daan1984,
  author    = {Daan, S. and Beersma, D. G. and Borbely, A. A.},
  journal   = {Am J Physiol},
  title     = {Timing of human sleep: recovery process gated by a circadian 
pacemaker},
  year      = {1984},
  pages     = {161--183},
  volume    = {246},
  groups    = {Imported MODELLE-WITTE-BUCH.bib},
  owner     = {we},
  timestamp = {2015.12.12},
}

@Comment{jabref-meta: databaseType:bibtex;}
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to