Re: Bibliography not shown in compiled PDF

2023-12-06 Thread Herbert Voss




Am 05.12.23 um 23:25 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Rich Shepard wrote:


I just updated texlive2023; it showed utf8 as the encoding during the
process. Then I created a new KOMA-Script Report class called test.lyx
(attached). When I exported this file using LaTeX (pdflatex) it had 
latin

rather than utf8 as the input encoding.


Sigh. Again fingers were quicker than the brain.

Attachment here.



This one looks good. If I inserted citations from your
example bib everything is fine

Herrbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Rich Shepard wrote:


I just updated texlive2023; it showed utf8 as the encoding during the
process. Then I created a new KOMA-Script Report class called test.lyx
(attached). When I exported this file using LaTeX (pdflatex) it had latin
rather than utf8 as the input encoding.


Sigh. Again fingers were quicker than the brain.

Attachment here.

Rich#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 scrreprt
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "palatino" "default"
\font_sans "avant" "default"
\font_typewriter "courier" "default"
\font_math "auto" "auto"
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command biber mergedate=compact
\index_command default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize executivepaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 0
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 0
\use_package mhchem 1
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine biblatex-natbib
\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 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 0.75in
\topmargin 0.5in
\rightmargin 0.5in
\bottommargin 0.5in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\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
Some text here.
\end_layout

\end_body
\end_document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Rich Shepard wrote:


That is the user preamble! It _must_ be inserted by you.


Herbert,

I just updated texlive2023; it showed utf8 as the encoding during the
process. Then I created a new KOMA-Script Report class called test.lyx
(attached). When I exported this file using LaTeX (pdflatex) it had latin
rather than utf8 as the input encoding.

How can I change this in TeXLive2023 to force the input encoding to utf8?
This is all new.

Regards,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Herbert Voss wrote:


That is the user preamble! It _must_ be inserted by you.


Herbert,

Here's the top of the preamble in a KOMA-Script report I revised a couple of
weeks ago:

%% LyX 2.3.6.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[twoside,headsepline=on, footsepline=on]{scrreprt}
\PassOptionsToPackage{natbib=true}{biblatex}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose,tmargin=4cm,bmargin=2cm,lmargin=2cm,headsep=1.5cm}
\pagestyle{plain}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{array}
\usepackage{textcomp}
\usepackage{url}
\usepackage{pdfpages}
\usepackage{graphicx}

Why the new doc uses latin9 rather than utf8 is the issue.

These are what's in Documents -> Settings -> Preamble:

\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\definecolor{lightgray}{gray}{0.8}
\pagestyle{scrheadings}
\lehead{Biological Evaluation}
\rohead{Biological Evaluation}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Herbert Voss wrote:


That is the user preamble! It _must_ be inserted by you.


Herbert,

Well, it's not in Documents -> Settings -> Preamble and I had no reason add
it and was unaware that it was in the .tex file.


It was a wrong font encoding° LyX inserts
\usepackage[T1]{fontenc}
\usepackage[latin9]{luainputenc}
which is completly nonsense if using lualatex. You'll get
unknown commands and no bibliography.


I don't use lualatex; only pdflatex. Somehow lyx inserted those two packages
because I had no reason to do so.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss



Am 05.12.23 um 21:16 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Herbert Voss wrote:


as I already  wrote:
- enable the "Use non TeX fonts"
- add \usepackage{avant}  in the document->setting->preamble
- add also  \usepackage[scaled]{beramono}
   or \usepackage{courier}   which is _not_ a nice monofont.





Rich

Okay. But I want to understand how the wrong package got into the 
preamble

when it was never there before now.


That is the user preamble! It _must_ be inserted by you.




And how is the font setting preventing the bibliography from not being
included in the report and its ToC?


It was a wrong font encoding° LyX inserts

\usepackage[T1]{fontenc}
\usepackage[latin9]{luainputenc}

which is completly nonsense if using lualatex. You'll get
unknown commands and no bibliography.

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Herbert Voss wrote:


as I already  wrote:
- enable the "Use non TeX fonts"
- add \usepackage{avant}  in the document->setting->preamble
- add also  \usepackage[scaled]{beramono}
   or \usepackage{courier}   which is _not_ a nice monofont.


Herbert,

Okay. But I want to understand how the wrong package got into the preamble
when it was never there before now.

And how is the font setting preventing the bibliography from not being
included in the report and its ToC?

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss



Am 05.12.23 um 20:05 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Rich Shepard wrote:


Attached is the font settings I've used for years,


Forgot to attach it.



Rich,
as I already  wrote:

- enable the "Use non TeX fonts"
- add \usepackage{avant}  in the document->setting->preamble
- add also  \usepackage[scaled]{beramono}
   or \usepackage{courier}   which is _not_ a nice monofont.



Taht's all

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Steve Litt wrote:


Start by using grep on your LyX file. This might give you some ideas
about where it was specified.


SteveT,

It's in the default 'usepackage{}' group at the top of the file. But that
does not tell me how it got there nor how to remove it from all my docs
since it's not in the Document -> Settings -> Preamble.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Steve Litt
Rich Shepard said on Tue, 5 Dec 2023 11:08:54 -0800 (PST)

>On Tue, 5 Dec 2023, Herbert Voss wrote:
>
>> that should be ok, but LyX used
>> \usepackage[latin9]{luainputenc}
>> which is for years deprecated. You can still use palatino with
>> \usepackage{mathpazo}
>> in the documents preamble and leave all entries in the fonts
>> settings for standard with enabled "no TeX fonts"  
>
>Herbert,
>
>I've no idea where that package was specified, not in the preamble
>that I can edit (attached) and not in any previous doc.
>
>How can I remove it from all documents?

Start by using grep on your LyX file. This might give you some ideas
about where it was specified.


SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Herbert Voss wrote:


that should be ok, but LyX used
\usepackage[latin9]{luainputenc}
which is for years deprecated. You can still use palatino with
\usepackage{mathpazo}
in the documents preamble and leave all entries in the fonts
settings for standard with enabled "no TeX fonts"


Herbert,

I've no idea where that package was specified, not in the preamble that I
can edit (attached) and not in any previous doc.

How can I remove it from all documents?

Thanks,

Rich-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Rich Shepard wrote:


Attached is the font settings I've used for years,


Forgot to attach it.

Rich-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss




Am 05.12.23 um 18:59 schrieb Rich Shepard:


I don't understand. Attached is the font settings I've used for years,
including all recent docs in KOMA-Script Book and Report classes with
bibliographies, TeXLive2023, and LyX-2.3.6.1.

When I invoke "no TeX fonts" I cannot set the body type using 
Palatino, my

default since 1997.


Rich,
that should be ok, but LyX used

\usepackage[latin9]{luainputenc}

which is for years deprecated. You can still use palatino with
\usepackage{mathpazo}
in the documents preamble and leave all entries in the fonts
settings for standard with enabled "no TeX fonts"

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Herbert Voss wrote:


you have the font setting for pdflatex. You should enable the button "no
TeX fonts" on top of document->setting->fonts. Otherwise you'll get the
latin9 encoding with luainputenc, which is rubbish ...

For the fonts use a serif font, eg Libertinus Serif, SF Libertinus Sans
and monofont Anonmyous Pro with a 90% scaling

With this modifications it runs successfully for me.


Herbert,

I don't understand. Attached is the font settings I've used for years,
including all recent docs in KOMA-Script Book and Report classes with
bibliographies, TeXLive2023, and LyX-2.3.6.1.

When I invoke "no TeX fonts" I cannot set the body type using Palatino, my
default since 1997.

Puzzled,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Herbert Voss




Am 05.12.23 um 17:12 schrieb Rich Shepard:

On Tue, 5 Dec 2023, Rich Shepard wrote:


Stay tuned ...




Attached are mwe.lyx and mwebib.bib (both with 2 references.) The mwe.lyx
compiles without error but there's no bibliography.



Rich,
you have the font setting for pdflatex. You should enable the button
"no TeX fonts" on top of document->setting->fonts. Otherwise you'll
get the latin9 encoding with luainputenc, which is rubbish ...

For the fonts use a serif font, eg Libertinus Serif, SF Libertinus Sans
and monofont Anonmyous Pro with a 90% scaling

With this modifications it runs successfully for me.

Herbert


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Pavel Sanda wrote:


Also, when I change the document class to e.g. book, the bibliography
works (probably switches to biblatex in backgrounds).


Pavel,

I changed mwe.lyx to KOMA-scrupt book class. Still no bibliography in the
document or ToC.

Running TeXLive2023 here.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Rich Shepard

On Tue, 5 Dec 2023, Pavel Sanda wrote:


When I try to compile it I see errors complaining that I do not have 'biber'.
Do you have it installed?


Pavel,

Yes, biber is the processor used here. See attached.


Also, when I change the document class to e.g. book, the bibliography
works (probably switches to biblatex in backgrounds).


Well, biblatex is the default in all my report and book classes documents.

Thanks,

Rich-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not shown in compiled PDF

2023-12-05 Thread Pavel Sanda
On Tue, Dec 05, 2023 at 08:12:48AM -0800, Rich Shepard wrote:
> On Tue, 5 Dec 2023, Rich Shepard wrote:
> 
> >Stay tuned ...
> 
> Pavel, et al.:
> 
> Attached are mwe.lyx and mwebib.bib (both with 2 references.) The mwe.lyx
> compiles without error but there's no bibliography.

When I try to compile it I see errors complaining that I do not have 'biber'.
Do you have it installed?

Also, when I change the document class to e.g. book, the bibliography works
(probably switches to biblatex in backgrounds).

Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography issues

2023-06-07 Thread Rich Shepard

On Wed, 7 Jun 2023, Herbert Voss wrote:


Export your document to latex, then run pdflatex/bibtex/pdflatex on this
document and search for the deprecated commands in the .tex and .bbl file.
If they are in the .bbl file then your problem is an old bibtex stylefile
(.bst). If they are in the .tex file then your document itself or one of
the used packages must have these commands defined.


Herbert,

Thanks for the detailed explanation. I've got my work cut out for me as
pdflatex fails with an error:
! LaTeX Error: Command \chead already defined.
   Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...

l.1551 ...nel@ifstar {\@dblarg\@@@chead}{\@chead}}
  %
?

I'll look in my copy of 'The LaTeX Companion, 2nd Ed.' and see if I can find
that error.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography issues

2023-06-07 Thread Rich Shepard

On Wed, 7 Jun 2023, Herbert Voss wrote:


you are using the for long time deprecated font commands like \sc. I
suppose that they are part of your created bbl file and therefore defined
in the style file of bibtex.


Herbert,

Yes, this document was started a long time ago.


enabledeprecatedfontcommands
you can allow KOMAScript to use these old commands. However, changing
it to the correct LaTeX commands would make sense: \sc  -> \scshape


Do I make those changes in the .lyx file? Newer documents use the current
font specifiers and allow me to set biblatex as the processor. I do not find
where to make these changes as they're not in the Document -> Settings ->
Bibliography dialog box or in Settings -> Preamble.

Where do I update older documents to match the newer ones?

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography issues

2023-06-07 Thread Herbert Voss



Am 07.06.23 um 18:45 schrieb Rich Shepard:

I'm using lyx-2.3.6.1 and the (older) document class is KOMA-Script Book.

A while ago I changed the bibliography generator from bibtex to biblatex,
but that's not an option for this document; only Default, biber, 
bibtex, and

bibtex8 are available from the Settings -> Bibliography dialog box. See
attached bibliography dialog box image.

When I try to compile the document (pdflatex) I find old-font-type errors
(see attached build error image.) Those should have been corected long 
ago.


Rich,

you are using the for long time deprecated font commands like \sc.
I suppose that they are part of your created bbl file and therefore defined
in the style file of bibtex.

Hower, withe documentclass option:

enabledeprecatedfontcommands

you can allow KOMAScript to use these old commands. However, changing
it to the correct LaTeX commands would make sense: \sc  -> \scshape

Herbert





Recent documents using the report classe haven't had these issues.

I need a pointer to find where I start looking for the reasons of these
issues.

TIA,

Rich



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography filtering by type

2022-10-22 Thread Oliver Margraf



Am 21.10.22 um 08:42 schrieb Jürgen Spitzmüller:


If you only want a main heading "Bibliography" in the toc, simply add
it as a chapter heading above the insets. If you also want the
bibliography section heading in the toc, use heading=subbibintoc
instead of heading=subbibliography in the inset options


Thank you so much - that's it. Sometimes the easiest things are the 
hardest... Maybe I was using plain LaTeX too much in the past to 
anticipate that it can be also that easy (with that little code) ;-)


Oliver
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography filtering by type

2022-10-21 Thread Jürgen Spitzmüller
Am Donnerstag, dem 20.10.2022 um 08:29 +0200 schrieb Oliver Margraf:
> I also tried that - however then I won't get a "Bibliography" entry
> in the toc and (logically) only the subheadings, so this would work 
> yet then I would need to know how to add the toc entry and the main
> heading "Bibliography".

If you only want a main heading "Bibliography" in the toc, simply add
it as a chapter heading above the insets. If you also want the
bibliography section heading in the toc, use heading=subbibintoc
instead of heading=subbibliography in the inset options

HTH,

-- 
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


Re: Bibliography filtering by type

2022-10-19 Thread Jürgen Spitzmüller
Am Dienstag, dem 18.10.2022 um 21:04 +0200 schrieb Oliver Margraf:
> However with the change (bibliography just put in from the list
> menu), I have now the problem of getting one full, unseparated
> bibliography and I don't know how to get my "old" sorting. Because
> when I try to set the option of the printbibliography command in the
> option of the LyX-biblatex entry (obviously one entry corresponding
> to the former printbib-command), I get that section from my bib
> printed, however, I couldn't find out how to get the "main" section
> "Biblography" on top and into the toc - if I add a biblatex-bib on
> top, I get (of course) full bibliography before the "filtered"
> sections.

For the code you showed, you need to insert 5 Bib(la)TeX Bibliography
insets, and add the options you want for each \printbibliography to the
respective inset. This should work.

If it doesn't, please send a complete minimal example file of the
previous (working) way and your failing approach.

-- 
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


Re: Bibliography filtering by type

2022-10-19 Thread Oliver Margraf
I don't think so - Umlauts are shown without any problems (using UTF-8 
encoding) - just having a complete bibliography plus the filtered ones...


Oliver

Am 19.10.22 um 14:06 schrieb Dr Eberhard Lisse:

Perhaps an Umlaut Issue?

el

On 18/10/2022 21:04, Oliver Margraf wrote:

Dear list,

I have used LyX for some time and came now across the change of the
handling of the bibliography in 2.3.6. I managed to understand the
changes concering inserting a biblography, changes towards the preamble
and the change of using the options, however I have the following problem:
When I insert my bibliograpy, I separate it by the type of entry (as a
subbibliography). In the old form (with the biblatex entry set into a
note), I had a LaTeX box with entries like these:

\printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
 in Journals und Tagungsbänden}]
\printbibliography[type=inbook,heading=subbibliography,title={Artikel
aus Sammelbänden}]
\printbibliography[type=book,heading=subbibliography,title={Bücher}]
\printbibliography[type=report,heading=subbibliography,title={Studien}]
\printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]

However with the change (bibliography just put in from the list menu), I
have now the problem of getting one full, unseparated bibliography and I
don't know how to get my "old" sorting. Because when I try to set the
option of the printbibliography command in the option of the
LyX-biblatex entry (obviously one entry corresponding to the former
printbib-command), I get that section from my bib printed, however, I
couldn't find out how to get the "main" section "Biblography" on top and
into the toc - if I add a biblatex-bib on top, I get (of course) full
bibliography before the "filtered" sections.
If I try to work without the insert of the Bibliography from LyX and use
LaTeX Code like this:


\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Literaturverzeichnis}
\printbibheading
\printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
 in Journals und Tagungsbänden}]
\printbibliography[type=inbook,heading=subbibliography,title={Artikel
aus Sammelbänden}]
\printbibliography[type=book,heading=subbibliography,title={Bücher}]
\printbibliography[type=report,heading=subbibliography,title={Studien}]
\printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]


I get a problem with the appendix - LyX gives me an LaTeX error like this:

LaTeX Error: Something's wrong --perhaps a missing \item
  ...on}{\numberline {A}Anhang}{21}{appendix.A}
   %
Try typing    to proceed.
If that doesn't work, type  X   to quit.


So my question is: How do I get the Bibliography-section (also in the
toc), plus the bib splitted into the specified types?
I tried to search the archives, but couldn't find anything matching.

TIA
Oliver



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography filtering by type

2022-10-19 Thread Dr Eberhard Lisse
Perhaps an Umlaut Issue?

el

On 18/10/2022 21:04, Oliver Margraf wrote:
> Dear list,
> 
> I have used LyX for some time and came now across the change of the
> handling of the bibliography in 2.3.6. I managed to understand the
> changes concering inserting a biblography, changes towards the preamble
> and the change of using the options, however I have the following problem:
> When I insert my bibliograpy, I separate it by the type of entry (as a
> subbibliography). In the old form (with the biblatex entry set into a
> note), I had a LaTeX box with entries like these:
> 
> \printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
>  in Journals und Tagungsbänden}]
> \printbibliography[type=inbook,heading=subbibliography,title={Artikel
> aus Sammelbänden}]
> \printbibliography[type=book,heading=subbibliography,title={Bücher}]
> \printbibliography[type=report,heading=subbibliography,title={Studien}]
> \printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]
> 
> However with the change (bibliography just put in from the list menu), I
> have now the problem of getting one full, unseparated bibliography and I
> don't know how to get my "old" sorting. Because when I try to set the
> option of the printbibliography command in the option of the
> LyX-biblatex entry (obviously one entry corresponding to the former
> printbib-command), I get that section from my bib printed, however, I
> couldn't find out how to get the "main" section "Biblography" on top and
> into the toc - if I add a biblatex-bib on top, I get (of course) full
> bibliography before the "filtered" sections.
> If I try to work without the insert of the Bibliography from LyX and use
> LaTeX Code like this:
> 
> 
> \cleardoublepage
> \phantomsection
> \addcontentsline{toc}{chapter}{Literaturverzeichnis}
> \printbibheading
> \printbibliography[nottype=online,nottype=inarticle,nottype=report,nottype=book,nottype=inbook,heading=subbibliography,title={Aufsätze
>  in Journals und Tagungsbänden}]
> \printbibliography[type=inbook,heading=subbibliography,title={Artikel
> aus Sammelbänden}]
> \printbibliography[type=book,heading=subbibliography,title={Bücher}]
> \printbibliography[type=report,heading=subbibliography,title={Studien}]
> \printbibliography[type=online,heading=subbibliography,title={Onlinequellen}]
> 
> 
> I get a problem with the appendix - LyX gives me an LaTeX error like this:
> 
> LaTeX Error: Something's wrong --perhaps a missing \item
>  ...on}{\numberline {A}Anhang}{21}{appendix.A}
>   %
> Try typing    to proceed.
> If that doesn't work, type  X   to quit.
> 
> 
> So my question is: How do I get the Bibliography-section (also in the
> toc), plus the bib splitted into the specified types?
> I tried to search the archives, but couldn't find anything matching.
> 
> TIA
> Oliver

-- 
To email me replace 'nospam' with 'el'


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography Problem

2022-05-27 Thread Joseph Hesse

On 5/26/22 08:17, Jürgen Spitzmüller wrote:

Am Donnerstag, dem 26.05.2022 um 05:50 -0500 schrieb Joseph Hesse:

  Thank you for your reply.
  
  I duplicated what you had in the MWE.  My document settings are now

"Biblatex, Author-number, numeric, numeric".
  When I do a citation I only get 3 choices for the citation style,
"[#ID], Add to bibliography only, Key only".  In your MWE you had
more choices, including the one I am trying to get.
  I don't know what I am missing.

Can you sent me your document in PM?


  Thank you,
  Joe
After many hours, I solved my problem.  In my master document I had the 
style format Biblatex but I did not put this in the child document where 
I wanted to do the citation.  Changing, in the child document, Basic to 
Biblatex now gives me more choices in the citation style, including the 
one I want.


I hope this might help someone else.

Joe

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography Problem

2022-05-26 Thread Jürgen Spitzmüller
Am Donnerstag, dem 26.05.2022 um 05:50 -0500 schrieb Joseph Hesse:
>  Thank you for your reply.
>  
>  I duplicated what you had in the MWE.  My document settings are now
> "Biblatex, Author-number, numeric, numeric".
>  When I do a citation I only get 3 choices for the citation style,
> "[#ID], Add to bibliography only, Key only".  In your MWE you had
> more choices, including the one I am trying to get.
>  I don't know what I am missing.

Can you sent me your document in PM?

>  Thank you,
>  Joe
-- 
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


Re: Bibliography Problem

2022-05-26 Thread Joseph Hesse

On 5/25/22 05:30, Jürgen Spitzmüller wrote:
Am Mi., 25. Mai 2022 um 11:51 Uhr schrieb Joseph Hesse 
:


I want the citation to look something like "Smith [5]" where the
author's name appears in the citation.  I don't have a citation style
available  (Insert->Citation) that allows this, the best I can do is
just "[5]".  How can I get "Smith [5]"?

My latex preamble has \usepackage{biblatex}. 



Remove this, not needed (and this causes the clash you get).

In "Document->Settings->Bibliography" I have Style = Biblatex and
Variant =
Author-number. 



Also select a numeric citation style such as "numeric" (and the 
matching bibliography style).


See attached MWE.

HTH,
Jürgen

Joe

-- 
lyx-users mailing list

lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users



Thank you for your reply.

I duplicated what you had in the MWE.  My document settings are now 
"Biblatex, Author-number, numeric, numeric".
When I do a citation I only get 3 choices for the citation style, 
"[#ID], Add to bibliography only, Key only".  In your MWE you had more 
choices, including the one I am trying to get.

I don't know what I am missing.
Thank you,
Joe
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography Problem

2022-05-25 Thread Jürgen Spitzmüller
Am Mi., 25. Mai 2022 um 11:51 Uhr schrieb Joseph Hesse :

> I want the citation to look something like "Smith [5]" where the
> author's name appears in the citation.  I don't have a citation style
> available  (Insert->Citation) that allows this, the best I can do is
> just "[5]".  How can I get "Smith [5]"?
>
> My latex preamble has \usepackage{biblatex}.


Remove this, not needed (and this causes the clash you get).


> In "Document->Settings->Bibliography" I have Style = Biblatex and Variant
> =
> Author-number.


Also select a numeric citation style such as "numeric" (and the matching
bibliography style).

See attached MWE.

HTH,
Jürgen


> Joe
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


author-number.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC [RESOLVED]

2021-12-15 Thread Steve Litt via lyx-users
Rich Shepard via lyx-users said on Tue, 14 Dec 2021 13:23:05 -0800 (PST)


>Why it did not take when I changed the bibliography style I've no
>idea. But the reconfigure forced lyx to show me there were errors in
>the .bib file.

When troubleshooting, I always texhash;reconfigure; and then do
whatever. The extra 90 seconds is well worth it, because a misleading
diagnostic test can cost hours. By doing it this way, I never need to
tax my brain wondering whether a texhash and/or reconfigure is
necessary.

My troubleshooting is usually done from a looping shellscript.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC [RESOLVED]

2021-12-14 Thread Rich Shepard via lyx-users

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


no, switching to biblatex (without natbib) and deleting the option below
was what I changed. Look into the status bar, what the biber runs reports.


Herbert,

That's what I had done, too. Yet, I ran 'Reconfigure' and when I tried to
compile the document lyx pointed me to three errors in my .bib file.
Somehow, the authoryear citation at the beginning of three entries
disappeared. I replaced them, recompiled, and the problem is fixed:
bibliography is present and shown in the ToC.

Why it did not take when I changed the bibliography style I've no idea. But
the reconfigure forced lyx to show me there were errors in the .bib file.

Thanks for the help.

Stay well,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users




Am 14.12.21 um 22:11 schrieb Rich Shepard via lyx-users:

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


not in my doc



Regardless, in your version of the .lyx file cite-engine is biblatex 
while
in mine it's biblatex-natbib, but I changed the bibliography style 
from the

latter to the former and saved the change.

Do I need to reconfigure LyX to get the change to take effect?


Rich,

no, switching to biblatex (without natbib) and deleting the option
below was what I changed. Look into the status bar, what the biber runs
reports.

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Rich Shepard via lyx-users

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


not in my doc


Herbert,

Regardless, in your version of the .lyx file cite-engine is biblatex while
in mine it's biblatex-natbib, but I changed the bibliography style from the
latter to the former and saved the change.

Do I need to reconfigure LyX to get the change to take effect?

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 21:30 schrieb Rich Shepard via lyx-users:

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:

then the biber run is missing. Try the following: you have a citation 
(the

last one) which is not in the bib file. Delete it and run the document
again. Does the TOC-entry appears?



I'm not following. There are four citations in the text, each in its own
chapter, and four entries in mwe.bib. The last citation is Shepard2016 
and

that's in the .bib file.


Rich,

not in my doc





What is the control window

The control window is under the text area. You have to enable it
with the menu view->...


Is that what I've known as the status bar?


Ah yes, you are right.

Attached your working example.

HErbert<>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Rich Shepard via lyx-users

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


then the biber run is missing. Try the following: you have a citation (the
last one) which is not in the bib file. Delete it and run the document
again. Does the TOC-entry appears?


Herbert:

I'm not following. There are four citations in the text, each in its own
chapter, and four entries in mwe.bib. The last citation is Shepard2016 and
that's in the .bib file.


What is the control window

The control window is under the text area. You have to enable it
with the menu view->...


Is that what I've known as the status bar?

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 21:17 schrieb Rich Shepard via lyx-users:

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


You have a wrong option in the document->settings->bibliography:
Delete the mergedate=compact. However, using the natbib mode
is something from the last millenium ... you should simply use
the authoryear style of biblatex.



Thanks. I don't know where the mergedate=compact came from.
I changed the style from biblatex(natbib mode) to biblatex.

It still does not output the bibliography nor place that entry in the 
ToC.


Rich,

then the biber run is missing. Try the following: you have a citation
(the last one)  which is not in the bib file. Delete it and run the document
again. Does the TOC-entry appears?





If you open the controll window in LyX then you see the errors
of the biber run, too!


What is the control window?


The control window is under the text area. You have to enable it
with the menu view->...





Btw:
- your format was defined as pdf (pdftex), but it should be  pdf 
(luatex)


In Settings -> Formats I have the output format set to PDF (pdflatex). 
I've

no idea what luatex does)


- do not use the line
   \usepackage{luainputenc},  it is superflous


There is no such line in the preamble:



Ah, maybe that it  was the LyX internal preamble. I'll have look
at tomorrow.

Herbert


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Rich Shepard via lyx-users

On Tue, 14 Dec 2021, Herbert Voss via lyx-users wrote:


You have a wrong option in the document->settings->bibliography:
Delete the mergedate=compact. However, using the natbib mode
is something from the last millenium ... you should simply use
the authoryear style of biblatex.


Herbert,

Thanks. I don't know where the mergedate=compact came from.
I changed the style from biblatex(natbib mode) to biblatex.

It still does not output the bibliography nor place that entry in the ToC.


If you open the controll window in LyX then you see the errors
of the biber run, too!


What is the control window?


Btw:
- your format was defined as pdf (pdftex), but it should be  pdf (luatex)


In Settings -> Formats I have the output format set to PDF (pdflatex). I've
no idea what luatex does)


- do not use the line
   \usepackage{luainputenc},  it is superflous


There is no such line in the preamble:
\date{}
\usepackage{mathpazo}
\usepackage{gensymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\usepackage{xurl}
\refoot{Applied Ecosystem Services, LLC}
\lofoot{Applied Ecosystem Services, LLC}
\automark*{section}

- do not use \usepackage[T1]{fontenc}, it is only for pdflatex and _not_ 
xelatex/lualatex


Ditto above. I have never used xeletax nor luatex.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 20:51 schrieb Herbert Voss via lyx-users:



Am 14.12.21 um 19:58 schrieb Rich Shepard via lyx-users:

Running LyX-2.3.6.1 on Slackware64-14.2.

The bibliography settings at the end of the paper indicate the 
bibliography
should be added to the end of the Table of Contents. It's not. Do I 
need to

explicitly add that command to the preamble?

I don't recall having this issue before and find no reference to it 
in my

saved threads of the mail list.

A MWE is attached: .lyx, .pdf, and .bib. I look forward to learning what
I've done incorrectly (or neglected to do at all.)


You have a wrong option in the document->settings->bibliography:



the image was missing ...



-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography not in ToC

2021-12-14 Thread Herbert Voss via lyx-users



Am 14.12.21 um 19:58 schrieb Rich Shepard via lyx-users:

Running LyX-2.3.6.1 on Slackware64-14.2.

The bibliography settings at the end of the paper indicate the 
bibliography
should be added to the end of the Table of Contents. It's not. Do I 
need to

explicitly add that command to the preamble?

I don't recall having this issue before and find no reference to it in my
saved threads of the mail list.

A MWE is attached: .lyx, .pdf, and .bib. I look forward to learning what
I've done incorrectly (or neglected to do at all.)


You have a wrong option in the document->settings->bibliography:





Delete the mergedate=compact. However, using the natbib mode
is something from the last millenium ... you should simply use
the authoryear style of biblatex.

If you open the controll window in LyX then you see the errors
of the biber run, too!

Btw:
- your format was defined as pdf (pdftex), but it should be  pdf (luatex)
- do not use the line
   \usepackage{luainputenc},  it is superflous
- do not use \usepackage[T1]{fontenc}, it is only for pdflatex and _not_ 
xelatex/lualatex



HErbert


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-14 Thread Dr Eberhard Lisse

I can only find LOG and PNG files, not a LyX, never mind an MWE :-)-O

On 13/10/2021 17:06, Rich Shepard wrote:

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:


Because it is in the "label" (\cite key?)  field whereas (I assume
without having seen a MWE) the others are elsewhere ("author" field
for example).


Yep.

And I sent a MWE with my first post but you thought it too long.

Rich


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-13 Thread Rich Shepard

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:


Because it is in the "label" (\cite key?)  field whereas (I assume without
having seen a MWE) the others are elsewhere ("author" field for example).


Yep.

And I sent a MWE with my first post but you thought it too long.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-13 Thread Dr Eberhard Lisse

Because it is in the "label" (\cite key?)  field whereas (I assume
without having seen a MWE) the others are elsewhere ("author" field for
example).

From

 https://bibdesk.sourceforge.io/manual/BibDeskHelp_2.html

 Citation Keys

 A cite key is a unique identifier for a given reference.  BibTeX
 scans your document for occurrences of a cite command with a cite
 key embedded in it, and translates it into a properly formatted
 reference.  Several patterns are common in choosing cite keys, from
 simple ones such as "lastnameYEAR" to more complicated abbreviations
 of journal names and author names.  BibDesk will automatically
 generate cite keys for you (See section Citation Keys), or you can
 enter your own in the editor.

-->
 BibDesk takes a fairly strict interpretation of the valid characters
 for cite keys, and the characters " "@',\#}{~%" (including the space
 character) are never allowed, while you will be warned if you use
 one of "&$^" in a cite key.
<--

 Cite keys are essentially TeX commands, so you should avoid
 using underscores, for instance, if you ever need to print the
 actual cite key itself.

el

On 13/10/2021 14:54, Rich Shepard wrote:

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:


IT. IS. THE. APOSTROPHE!


1. Then why is it only this one entry and not any of the other 9?

2. Why has this not been an issue before now? Is it biblatex-related and not
seen by bibtex?

3. If you're correct then how does one enter an apostrophy in an author's
name so it's properly written in both citation and bibliography?

You keep pointing out the source of the problem so I assume you have the
solution to it. I'd greatly appreciate learning that solution.

Rich


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-13 Thread Rich Shepard

On Wed, 13 Oct 2021, Dr Eberhard Lisse wrote:


IT. IS. THE. APOSTROPHE!


1. Then why is it only this one entry and not any of the other 9?

2. Why has this not been an issue before now? Is it biblatex-related and not
seen by bibtex?

3. If you're correct then how does one enter an apostrophy in an author's
name so it's properly written in both citation and bibliography?

You keep pointing out the source of the problem so I assume you have the
solution to it. I'd greatly appreciate learning that solution.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-13 Thread Dr Eberhard Lisse

IT. IS. THE. APOSTROPHE!


On 12/10/2021 17:10, Rich Shepard wrote:

On Tue, 12 Oct 2021, Dr Eberhard Lisse wrote:


Change the label/reference to OConnor2019 :-)-O
BibDesk does not allow me to even enter a "'"


el,

$ grep -c -e "O'" documents/jabrefdb.bib 10

There are 10 entries begining with "O'" and none has before been an
issue.

Rich


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Steve Litt
Rich Shepard said on Tue, 12 Oct 2021 07:17:34 -0700 (PDT)

>On Tue, 12 Oct 2021, Rich Shepard wrote:
>
>> More importantly, that article is not cited in the document; the
>> only two citations from JabRef refer to salmon migration.  
>
>And I forgot to mention that there's no Bibliography in the PDF.

Did you remember to compile it twice?


SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Rich Shepard

On Tue, 12 Oct 2021, Dr Eberhard Lisse wrote:


you can have whatever BST file is found by LaTeX, or rather whatever BST
file LyX finds when Tools --> Reconfigure... is run.


EL,

Before I escaped from academia and its politics all my published articles'
references were in author-year format. I've used that same format ever
since.

This bibliography issue is new since the pandemic; I've had no need to
prepare reports or other documents with references or bibliographies until
now.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Rich Shepard

On Tue, 12 Oct 2021, Dr Eberhard Lisse wrote:


Change the label/reference to OConnor2019 :-)-O
BibDesk does not allow me to even enter a "'"


el,

$ grep -c -e "O'" documents/jabrefdb.bib 
10


There are 10 entries begining with "O'" and none has before been an issue.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Dr Eberhard Lisse

Change the label/reference to OConnor2019 :-)-O

BibDesk does not allow me to even enter a "'"

el

On 12/10/2021 15:47, Rich Shepard wrote:
[...]

@article{O'Connor2019,
  abstract = {Mercury (Hg) is a potentially harmful trace element
 in the environment and one of the World Health Organization's
 foremost chemicals of concern.  The threat posed by Hg

[...]

--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Dr Eberhard Lisse

Would be so much more helpful to include the complete citation, and even better 
a MWE.

el


On 12/10/2021 15:47, Rich Shepard wrote:
[...]

@article{O'Connor2019,
 abstract = {Mercury (Hg) is a potentially harmful trace element in the
   environment and one of the World Health Organization's
   foremost chemicals of concern. The threat posed by Hg

and the error refers to the first line, but I don't understand why. Should
the apostrophe be doubled?

[...]

--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Dr Eberhard Lisse

Rich,

you can have whatever BST file is found by LaTeX, or rather whatever BST
file LyX finds when Tools --> Reconfigure...  is run.

I for one like one called plaindin.bst which for German texts comes with
the din1505 package (via the tlmgr manager) and have hacked me an
English version which resides below texmf-local to survive updates :-)-O


Click on the BibTeX Generated Bibliograpy which you get from

Insert -> List/TOC -> Bib(la)tex Bibliography...

and then type into the Style field whatever style BST file you have and
like.


BTW, you probably should upgrade (anyway) from 2.6.3.1 (!)  to 2.3.6.2
:-)-O

greetings, el

On 11/10/2021 19:23, Rich Shepard wrote:

The last document with a bibliography used the APA style. I don't see that
in the list of styles in 2.6.3.1. With what style has it been replaced?

TIA,

Rich


--
To email me replace 'nospam' with 'el'

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Rich Shepard

On Tue, 12 Oct 2021, Herbert Voss wrote:


Biber reads the _complete_ bibliography and exports the list of
citied entries.


Herbert,

Okay. That explains why the non-cited entry was shown but not why that
happened.

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Rich Shepard

On Tue, 12 Oct 2021, Herbert Voss wrote:


Biber reads the _complete_ bibliography and exports the list of
citied entries.


Herbert,

Okay. That explains why the non-cited entry was shown but not why that
happened.

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Herbert Voss




Am 12.10.21 um 16:25 schrieb Rich Shepard:

On Tue, 12 Oct 2021, Herbert Voss wrote:

The problem is _before_ line 28116 and often in the entry before, 
where a

comma is missing at the end of a data entry.


Herbert,

Scrolling up from that entry for several prior ones all key/value 
pairs have

commas after each pair, except for the last one.


send me the bibliography by private mail ...

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Rich Shepard

On Tue, 12 Oct 2021, Herbert Voss wrote:


The problem is _before_ line 28116 and often in the entry before, where a
comma is missing at the end of a data entry.


Herbert,

Scrolling up from that entry for several prior ones all key/value pairs have
commas after each pair, except for the last one.

Regards,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Herbert Voss




Am 12.10.21 um 16:17 schrieb Rich Shepard:

On Tue, 12 Oct 2021, Rich Shepard wrote:

More importantly, that article is not cited in the document; the only 
two

citations from JabRef refer to salmon migration.


And I forgot to mention that there's no Bibliography in the PDF.

Also, the changes I made to the bibliography settings took effect after I
closed LyX yesterday and opened it again this morning. The remaining 
issue

is why there's no Bibliography with the two (current) citations and why
biblatex complains about a JabRef entry not used in this document.


Biber reads the _complete_ bibliography and exports the list of
citied entries.

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Rich Shepard

On Tue, 12 Oct 2021, Rich Shepard wrote:


More importantly, that article is not cited in the document; the only two
citations from JabRef refer to salmon migration.


And I forgot to mention that there's no Bibliography in the PDF.

Also, the changes I made to the bibliography settings took effect after I
closed LyX yesterday and opened it again this morning. The remaining issue
is why there's no Bibliography with the two (current) citations and why
biblatex complains about a JabRef entry not used in this document.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Herbert Voss



Am 12.10.21 um 15:47 schrieb Rich Shepard:

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


I assume you are compiling the doc from LyX. The log will be in the temp
directory where LyX is doing the compiling, and you can view it from LyX
via Document > LaTeX Log.


Paul,

I've not paid attention to that menu item before today.

Now, the error displayed when I try to compile the file is: [3697]
Utils.pm:320> ERROR - BibTeX subsystem:
/tmp/biber_tmp_kxRQ/0_home_rshepard_documents_jabrefdb.bib_12116.utf8, 
line

28116, syntax error: found "onnor2019", expected ","


The problem is _before_ line 28116 and often in the entry before, where a
comma is missing at the end of a data entry.

Herbert



When I look at jabref.bib's line 28116 it's three below the start of the
entry:

@article{O'Connor2019,
abstract = {Mercury (Hg) is a potentially harmful trace element in 
the

  environment and one of the World Health Organization's
  foremost chemicals of concern. The threat posed by Hg

and the error refers to the first line, but I don't understand why. 
Should

the apostrophe be doubled?

More importantly, that article is not cited in the document; the only two
citations from JabRef refer to salmon migration.

Puzzled,

Rich



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-12 Thread Rich Shepard

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


I assume you are compiling the doc from LyX. The log will be in the temp
directory where LyX is doing the compiling, and you can view it from LyX
via Document > LaTeX Log.


Paul,

I've not paid attention to that menu item before today.

Now, the error displayed when I try to compile the file is: [3697]
Utils.pm:320> ERROR - BibTeX subsystem:
/tmp/biber_tmp_kxRQ/0_home_rshepard_documents_jabrefdb.bib_12116.utf8, line
28116, syntax error: found "onnor2019", expected ","

When I look at jabref.bib's line 28116 it's three below the start of the
entry:

@article{O'Connor2019,
abstract = {Mercury (Hg) is a potentially harmful trace element in the
  environment and one of the World Health Organization's
  foremost chemicals of concern. The threat posed by Hg

and the error refers to the first line, but I don't understand why. Should
the apostrophe be doubled?

More importantly, that article is not cited in the document; the only two
citations from JabRef refer to salmon migration.

Puzzled,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-11 Thread Paul A. Rubin

On 10/11/21 6:09 PM, Rich Shepard wrote:

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


Any error messages related to the bibliography in the LaTeX log?


Paul,

The only latex.log on this host is usr/share/texmf-var/web2c/latex.log 
from
March 24, 2015. And there's a /usr/share/texmf-var/web2c/pdflatex.log 
from

Feb 17, 2021.

Nothing from today.

Rich

Rich,

I assume you are compiling the doc from LyX. The log will be in the temp 
directory where LyX is doing the compiling, and you can view it from LyX 
via Document > LaTeX Log.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-11 Thread Rich Shepard

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


Any error messages related to the bibliography in the LaTeX log?


Paul,

The only latex.log on this host is usr/share/texmf-var/web2c/latex.log from
March 24, 2015. And there's a /usr/share/texmf-var/web2c/pdflatex.log from
Feb 17, 2021.

Nothing from today.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-11 Thread Paul A. Rubin

On 10/11/21 5:32 PM, Rich Shepard wrote:

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


I'm not sure there has been any replacement. I've used "apalike" in the
past, but I think the package that is specifically designed to match APA
requirements is "apacite". I've got both of them in 2.6.3.1.


Paul,

Could be. Actually, I don't know why that document showed APA as the
bibliography file style since I've been using authordate4 for years.

Regardless, now I've hit a bibliography glitch that's new for me. I use
JabRef for my scientific publications database and it's set to use 
BibLaTeX.


In Settings -> Bibliography the style format is Biblatex (natbib mode),
variant authoryear; biblatex citation style is authoryear; biblatex
bibliography style is authoryear.

Using Insert -> List/ToC -> Bib(la)tex bibliography I put the 
bibliography

toward the end of the document (ahead of the Appendix). The bibliography
shows up in the Navigate menu, but not in the complied PDF.

Always, before the current document, when I selected that database in the
grey bibliography link and set the style as authoryear4 the citations
transferred from JabRef to LyX were of the form, AuthorYEAR, and 
clicking on
that grey box allowed me to select whether it was surrounded by 
parentheses,
had a comma separating author and year, and other styles. Now I get 
choices

of only #ID or Key.

I assume that I'm missing something or have made an incorrect choice
somewhere and I'd appreciate someone passing me a cluestick so I can fix
this issue.

Regards,

Rich


Rich,

Any error messages related to the bibliography in the LaTeX log?

Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-11 Thread Rich Shepard

On Mon, 11 Oct 2021, Paul A. Rubin wrote:


I'm not sure there has been any replacement. I've used "apalike" in the
past, but I think the package that is specifically designed to match APA
requirements is "apacite". I've got both of them in 2.6.3.1.


Paul,

Could be. Actually, I don't know why that document showed APA as the
bibliography file style since I've been using authordate4 for years.

Regardless, now I've hit a bibliography glitch that's new for me. I use
JabRef for my scientific publications database and it's set to use BibLaTeX.

In Settings -> Bibliography the style format is Biblatex (natbib mode),
variant authoryear; biblatex citation style is authoryear; biblatex
bibliography style is authoryear.

Using Insert -> List/ToC -> Bib(la)tex bibliography I put the bibliography
toward the end of the document (ahead of the Appendix). The bibliography
shows up in the Navigate menu, but not in the complied PDF.

Always, before the current document, when I selected that database in the
grey bibliography link and set the style as authoryear4 the citations
transferred from JabRef to LyX were of the form, AuthorYEAR, and clicking on
that grey box allowed me to select whether it was surrounded by parentheses,
had a comma separating author and year, and other styles. Now I get choices
of only #ID or Key.

I assume that I'm missing something or have made an incorrect choice
somewhere and I'd appreciate someone passing me a cluestick so I can fix
this issue.

Regards,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography styles

2021-10-11 Thread Paul A. Rubin

On 10/11/21 1:23 PM, Rich Shepard wrote:
The last document with a bibliography used the APA style. I don't see 
that

in the list of styles in 2.6.3.1. With what style has it been replaced?

TIA,

Rich
I'm not sure there has been any replacement. I've used "apalike" in the 
past, but I think the package that is specifically designed to match APA 
requirements is "apacite". I've got both of them in 2.6.3.1.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: bibliography style

2021-08-24 Thread Herbert Voss
Sophie Julie Scheller schrieb:
> So can you tell me what to do? Where can I save my literature, which
> style do I use to match my institute, where do I get this style? Im
> really lost


Attached is an example file, created with latest LyX version.

Herbert


>
> Sophie
>
> Am 24.08.2021 um 12:45 schrieb Herbert Voss:
>>
>>
>> Am 24.08.21 um 12:28 schrieb Sophie Julie Scheller:
>>>
>>>
>>> so there is no solution for the bibtex format? I would like to keep
>>> that
>>> one..
>>
>> sure, package natbib. But it is simple to move from bibtex to biblatex!
>>
>> Herbert
>>
>>>
>>>
>>> Am 24.08.2021 um 11:59 schrieb Herbert Voss:


 Am 24.08.21 um 11:45 schrieb Sophie Julie Scheller:
>
> Hello everyone,
>
> very basic question. I`m looking fpr bibliography style in German,
> that looks like the Citavi-Basic style added below. I alreadyy tried
> Din 1505 but it didnt fit. Is there an overview over the avaliable
> styles so I can look for the right one? Or do you know which one I
> should use for my thesis?
>
> And another question: I can change the style in the settings at the
> beginning and I can change the style when adding the bibliography.
> But I didn´t get the difference. Can you explain that?
>
>
 That looks like a simple authoryear style for biblatex.

 You shouldn't use the old \bibliography format with bibtex. Use
 biblatex
 with biber instead. Then it is much more easier to handle author names
 mit special characters, e.g. Aksın, with a dotless i

 Herbert
>>>
>>> --
>>> Diese E-Mail wurde von AVG auf Viren geprüft.
>>> http://www.avg.com
>>
>




Neues_Dokument2.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: bibliography style

2021-08-24 Thread Herbert Voss



Am 24.08.21 um 11:45 schrieb Sophie Julie Scheller:


Hello everyone,

very basic question. I`m looking fpr bibliography style in German, 
that looks like the Citavi-Basic style added below. I alreadyy tried 
Din 1505 but it didnt fit. Is there an overview over the avaliable 
styles so I can look for the right one? Or do you know which one I 
should use for my thesis?


And another question: I can change the style in the settings at the 
beginning and I can change the style when adding the bibliography. But 
I didn´t get the difference. Can you explain that?




That looks like a simple authoryear style for biblatex.

You shouldn't use the old \bibliography format with bibtex. Use biblatex
with biber instead. Then it is much more easier to handle author names
mit special characters, e.g. Aksın, with a dotless i

Herbert
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


CHECKED: Re: Bibliography

2021-03-27 Thread Wolfgang Engelmann



Am 27.03.21 um 16:53 schrieb Doug Martin:

All helpful comments.

Thanks all for suggestions/questions/answer/proposals



To answer my question: The first bib file wins.
I just did the experiment: Bib1-shortRef.bib Bib2-longRef > short Ref
   Bib2-longRef.bib Bib1-shortRef > long Ref

From Bib1 first
Aase SO, Ruoff P (2008) Semi-algebraic optimization of temperature
compensation in a general switch-type negative feedback model of
circadian clocks. J Math Biol 56(3):279–292 3

^ That's the one I need

And that one I don't want:

From Bib2 first
Aase SO, Ruoff P (2008) Semi-algebraic optimization of temper-
ature compensation in a general switch-type negative feedback
model of circadian clocks. J Math Biol 56(3):279–292, DOI
10.1007/s00285-007-0115-5, URL http://dx.doi.org/10.1007/
s00285-007-0115-5 3

Sorry, I should have done this right away, but I thought somebody would 
know offhand.


Wolfgang

p.s. I used biblatex
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
All helpful comments.

Doug

On Sat, Mar 27, 2021 at 9:48 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Richard Kimberly Heck wrote:
>
> > Just to be clear: It is entirely possible to mix and match here.
>
> Riki,
>
> Of course.
>
> > I use JabRef's push function sometimes and the dialog other times, which
> I
> > typically access as Alt-I + C. You can navigate around that dialog, too,
> > with the keyboard, pretty easily.
>
> I may look at the dialog and learn what it offers. So far having JabRef
> push
> the citation to the document has met all my needs.
>
> Thanks and stay well,
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
On Sat, Mar 27, 2021 at 9:31 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Doug Martin wrote:
>
> > I'm guessing that you don't use that dialog and somehow when you insert a
> > citation using the Jabref external link, you choose directly from JabRef?
> > An example of how you do the initial insert would be helpful.
>
> Doug,
>
> I've never used that dialog; wasn't aware of its existance. I've been using
> JabRef for many years. It used to have a LyX icon on the icon bar along
> the top
> which would insert the selected document in the lyx document where the
> cursor is located. Now I use Ctrl-L which invokes Tool -> Push entries to
> external applications (LyX/Kile).
>

I'm using a fairly recent version of JabRef (5.2 Dec. 2020), which doesn't
have
such an icon.  But what you are doing sounds interesting and I will check
it out.

Thanks again,
Doug

>
> As a touch-typist I prefer to use the keyboard as much as possible (and CLI
> over GUI) so I am unfamiliar with many menu items offered by applications.
>
> HTH,
>
> Rich
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Rich Shepard

On Sat, 27 Mar 2021, Richard Kimberly Heck wrote:


Just to be clear: It is entirely possible to mix and match here.


Riki,

Of course.


I use JabRef's push function sometimes and the dialog other times, which I
typically access as Alt-I + C. You can navigate around that dialog, too,
with the keyboard, pretty easily.


I may look at the dialog and learn what it offers. So far having JabRef push
the citation to the document has met all my needs.

Thanks and stay well,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Richard Kimberly Heck
On 3/27/21 11:31 AM, Rich Shepard wrote:
> On Sat, 27 Mar 2021, Doug Martin wrote:
>
>> I'm guessing that you don't use that dialog and somehow when you
>> insert a
>> citation using the Jabref external link, you choose directly from
>> JabRef?
>> An example of how you do the initial insert would be helpful.
>
> Doug,
>
> I've never used that dialog; wasn't aware of its existance. I've been
> using
> JabRef for many years. It used to have a LyX icon on the icon bar
> along the top
> which would insert the selected document in the lyx document where the
> cursor is located. Now I use Ctrl-L which invokes Tool -> Push entries to
> external applications (LyX/Kile).

Just to be clear: It is entirely possible to mix and match here. I use
JabRef's push function sometimes and the dialog other times, which I
typically access as Alt-I + C. You can navigate around that dialog, too,
with the keyboard, pretty easily.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Rich Shepard

On Sat, 27 Mar 2021, Doug Martin wrote:


I'm guessing that you don't use that dialog and somehow when you insert a
citation using the Jabref external link, you choose directly from JabRef?
An example of how you do the initial insert would be helpful.


Doug,

I've never used that dialog; wasn't aware of its existance. I've been using
JabRef for many years. It used to have a LyX icon on the icon bar along the top
which would insert the selected document in the lyx document where the
cursor is located. Now I use Ctrl-L which invokes Tool -> Push entries to
external applications (LyX/Kile).

As a touch-typist I prefer to use the keyboard as much as possible (and CLI
over GUI) so I am unfamiliar with many menu items offered by applications.

HTH,

Rich

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
On Sat, Mar 27, 2021 at 8:25 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Doug Martin wrote:
>
> > I also use Jabref and have a very large bibliography that I would like to
> > be able to draw on for other papers, and would think about using that
> > large bibliography (with enhancements) as my master bibliography.
>
> Doug,
>
> I suppose that if you're collaborating with others on a document you'd want
> a document-specific bibliography. On the other hand, there's no harm in
> using a single bibliography, even with collaborators.
>
> > But it seems that when you use the Jabref external link you have to give
> > up using the Lyx-Citation dialog? When you say "insertion in the text" do
> > you mean the LYX text?
>
> I'm not sure I understand, but assuming I do I'll answer your questions
> with
> "no" and "yes."
>

Rich,  Thanks for your quick response.

>
> Attached is a sample of a JabRef-inserted citation in the LyX text. I can
> click on that grey box and change the format of the citation. Is that the
> lyx-citation dialog to which you refer?
>

I mean the dialog you get when you choose Citation from the Insert Dropdown
list.
When I use that I can only use references that are in the specific bibTex
file I use for the
book or paper.

I'm guessing that you don't use that dialog and somehow when you insert a
citation using
the Jabref external link, you choose directly from JabRef?  An example of
how you
do the initial insert would be helpful.

Thanks,
Doug

>
> As you can see, the citation is inserted in the text and the full reference
> is in the bibliographic listing (renamed References) at the end of the
> document.
>
> HTH,
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users--
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Rich Shepard

On Sat, 27 Mar 2021, Doug Martin wrote:


I also use Jabref and have a very large bibliography that I would like to
be able to draw on for other papers, and would think about using that
large bibliography (with enhancements) as my master bibliography.


Doug,

I suppose that if you're collaborating with others on a document you'd want
a document-specific bibliography. On the other hand, there's no harm in
using a single bibliography, even with collaborators.


But it seems that when you use the Jabref external link you have to give
up using the Lyx-Citation dialog? When you say "insertion in the text" do
you mean the LYX text?


I'm not sure I understand, but assuming I do I'll answer your questions with
"no" and "yes."

Attached is a sample of a JabRef-inserted citation in the LyX text. I can
click on that grey box and change the format of the citation. Is that the
lyx-citation dialog to which you refer?

As you can see, the citation is inserted in the text and the full reference
is in the bibliographic listing (renamed References) at the end of the
document.

HTH,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Rich Shepard

On Sat, 27 Mar 2021, Doug Martin wrote:


I also use Jabref and have a very large bibliography that I would like to
be able to draw on for other papers, and would think about using that
large bibliography (with enhancements) as my master bibliography.


Doug,

I suppose that if you're collaborating with others on a document you'd want
a document-specific bibliography. On the other hand, there's no harm in
using a single bibliography, even with collaborators.


But it seems that when you use the Jabref external link you have to give
up using the Lyx-Citation dialog? When you say "insertion in the text" do
you mean the LYX text?


I'm not sure I understand, but assuming I do I'll answer your questions with
"no" and "yes."

Attached is a sample of a JabRef-inserted citation in the LyX text. I can
click on that grey box and change the format of the citation. Is that the
lyx-citation dialog to which you refer?

As you can see, the citation is inserted in the text and the full reference
is in the bibliographic listing (renamed References) at the end of the
document.

HTH,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Richard Kimberly Heck
On 3/27/21 5:43 AM, Wolfgang Engelmann wrote:
>
>
> Am 25.03.21 um 18:56 schrieb Wolfgang Engelmann:
>> If I have two bib files in the bibliography; is the second one only
>> used, if the citation is NOT in the first one?
>> Wolfgang
> Perhaps I explained badly:
> I have two relatively large bib files.
> The first one contains (among many others) most of the needed
> references for my book.
> The second one (among many others) those which are missing in the
> first one.
> I would like to get those into my document.
> But I do not want to have any references of the first one to be
> replaced by the same references in the second bib file.

If you have two entries with the same key, then you will get errors, and
LyX will abort the compilation. I just ran a test, with the same entry
(Heck:SolveFrege) repeated between two files, and get:

10:11:17.197: The style file: plainnat.bst

10:11:17.198: Database file #1: 0_home_rikiheck_files_bibtex_test-a.bib

10:11:17.202: Database file #2: 1_home_rikiheck_files_bibtex_test-b.bib

10:11:17.202: Repeated entry---line 1 of file
1_home_rikiheck_files_bibtex_test-b.bib

10:11:17.203: : @article{Heck:SolveFrege

10:11:17.203: : ,

10:11:17.204: I'm skipping whatever remains of this entry

10:11:17.204: (There was 1 error message)

10:11:17.205: bibtex "test"

10:11:17.301: This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live
2020) (preloaded format=pdflatex)

10:11:17.302: restricted \write18 enabled.

10:11:17.302: entering extended mode

10:11:17.302: (./test.tex

10:11:17.302: LaTeX2e <2020-02-02> patch level 5

10:11:17.302: L3 programming layer <2020-04-06>

10:11:17.302: pdflatex "test.tex"Systemcall.cpp (291): Systemcall:
'bibtex "test"' finished with exit code 2

10:11:17.504: Error while exporting format: PDF (pdflatex)


In LaTeX, you get the same error when running bibtex. It is up to you
whether to proceed! The first included entry is what appears in the bbl
file (as the second is ignored). And yes, LyX does output the bib files
in the order in which they are included in the dialog. (Note that the
dialog allows them to be re-ordered for this reason.)

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
Rich,

I also use Jabref and have a very large bibliography that I would like to
be able to
draw on for other papers, and would think about using that large
bibliography
(with enhancements) as my master bibliography.

But it seems that when you use the Jabref external link you have to give up
using the
Lyx-Citation dialog?  When you say "insertion in the text" do you mean the
LYX text?

Doug

On Sat, Mar 27, 2021 at 6:38 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Wolfgang Engelmann wrote:
>
> > Perhaps I explained badly: I have two relatively large bib files. The
> > first one contains (among many others) most of the needed references for
> > my book. The second one (among many others) those which are missing in
> the
> > first one. I would like to get those into my document. But I do not want
> > to have any references of the first one to be replaced by the same
> > references in the second bib file.
>
> Wolfgang,
>
> What tool do you use to manage your references?
>
> Why do you have multiple bibliographies?
>
> Here, I use JabRef for all my references (981 of 'em). When I want to cite
> one in a document (such as the book I'm writing), I select it and use
> JabRef's external link to insert the citation in the text and the full
> reference in the bibliography.
>
> Would something like this work for you?
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Wolfgang Engelmann




Am 27.03.21 um 13:38 schrieb Rich Shepard:

On Sat, 27 Mar 2021, Wolfgang Engelmann wrote:


Perhaps I explained badly: I have two relatively large bib files. The
first one contains (among many others) most of the needed references for
my book. The second one (among many others) those which are missing in 
the

first one. I would like to get those into my document. But I do not want
to have any references of the first one to be replaced by the same
references in the second bib file.


Wolfgang,

What tool do you use to manage your references?

Why do you have multiple bibliographies?

Here, I use JabRef for all my references (981 of 'em). When I want to cite
one in a document (such as the book I'm writing), I select it and use
JabRef's external link to insert the citation in the text and the full
reference in the bibliography.

Would something like this work for you?

Rich


Jabref, like you, Rich.

The bib files are from different jobs/books.

Most of them are placed already in the lyx document. The sizes of the 
bib files are 2.2 and 5.4 MB.


I want to use only the one inserted by using the aux file (I use the 
.tar.gz file, which would include also the bib files, to share it with a 
colleague working on the book too).


To avoid trimming them (the first bib is trimmed)

I wanted to know, whether the references of the first bib are not partly 
replaced by the untrimmed of the second (trimmed means e.g. no 
abstracts, etc)


Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Rich Shepard

On Sat, 27 Mar 2021, Wolfgang Engelmann wrote:


Perhaps I explained badly: I have two relatively large bib files. The
first one contains (among many others) most of the needed references for
my book. The second one (among many others) those which are missing in the
first one. I would like to get those into my document. But I do not want
to have any references of the first one to be replaced by the same
references in the second bib file.


Wolfgang,

What tool do you use to manage your references?

Why do you have multiple bibliographies?

Here, I use JabRef for all my references (981 of 'em). When I want to cite
one in a document (such as the book I'm writing), I select it and use
JabRef's external link to insert the citation in the text and the full
reference in the bibliography.

Would something like this work for you?

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Wolfgang Engelmann




Am 25.03.21 um 18:56 schrieb Wolfgang Engelmann:
If I have two bib files in the bibliography; is the second one only 
used, if the citation is NOT in the first one?

Wolfgang

Perhaps I explained badly:
I have two relatively large bib files.
The first one contains (among many others) most of the needed references 
for my book.
The second one (among many others) those which are missing in the first 
one.

I would like to get those into my document.
But I do not want to have any references of the first one to be replaced 
by the same references in the second bib file.


I have in my bibtex generated bibliography at the end of my document
first.bib
second.bib
and hope that the selection of lyx is in this order.
The reason is, that the second bib file contains fields such as abstract 
that I do not want in the final bib

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-25 Thread Richard Kimberly Heck

On 3/25/21 1:56 PM, Wolfgang Engelmann wrote:
If I have two bib files in the bibliography; is the second one only 
used, if the citation is NOT in the first one?


If you have duplicate citations in the two files, I believe that will 
cause a warning. I do not know which would be used. Is that the question?


Riki


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography missing publication date. [FIXED]

2020-03-11 Thread Jürgen Spitzmüller
Am Dienstag, den 10.03.2020, 13:12 -0700 schrieb Rich Shepard:
> For some reason that entry did not have a "year" field, only the
> "date"
> field. Many entries have both fields, but this one lacked the "year."
> So I
> added the year and now it shows up.

date is biblatex-specific*, while year is bibtex (biblatex also
understands year, but bibtex does not understand date).

You probably use some biblatex-mode in Jabref.

Jürgen

* date can take much more structured information than year, such as
month and day, date ranges, circa-specifiers, AC/BC-specifiers.


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: Bibliography missing publication date. [FIXED]

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Rich Shepard wrote:


This may be a glitch in the JabRef 5.x snapshots. I don't recall which of
the 28597 entries in the bibliographic database I've entered most
recently, but they might also be lacking the year field. I'll ask on the
JabRef dev mail list if this could be tested as I have no un-entered
references now.


To follow up with the found reason: This one technical report's entry in
JabRef 5.1 has an 'optional fields' tab while other technical reports have
both that field and an 'other fields' tab. The Year is in the other fields
tab and not available to that one document. Strange. Mentioned on the JabRef
developer's list on github.

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography missing publication date. [FIXED]

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Paul A. Rubin wrote:


I'm used to the date being the "year" field ("year = {1986}"). Is it
literally "date" in your .bib file and, if so, just for that one reference
or for all of them?


Paul,

The direct answer to your questrion is both yes and no.

For some reason that entry did not have a "year" field, only the "date"
field. Many entries have both fields, but this one lacked the "year." So I
added the year and now it shows up.

This may be a glitch in the JabRef 5.x snapshots. I don't recall which of
the 28597 entries in the bibliographic database I've entered most recently,
but they might also be lacking the year field. I'll ask on the JabRef dev
mail list if this could be tested as I have no un-entered references now.

Thanks very much!

Regards,

Rich



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography missing publication date.

2020-03-10 Thread Paul A. Rubin

On 3/10/20 1:48 PM, Rich Shepard wrote:
The bibtex source includes date = {1986}. The citation is (Cronshey et 
al.

1986), but the reference is,
Cronshey, R., McCuen, R.H., Miller, N., Rawls, W., Robbins, S., & 
Woodward,

D. Urban Hydrology for Small Watersheds. Tech. rept. TR-55. Natural
Resources Conservation Service.

No date. Is this because I don't have the proper LyX file converter
selected? I'm puzzled.

Rich
I'm used to the date being the "year" field ("year = {1986}"). Is it 
literally "date" in your .bib file and, if so, just for that one 
reference or for all of them?


Paul
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography includes document type

2019-11-02 Thread Rich Shepard

On Sat, 2 Nov 2019, Kornel Benko wrote:


Checking TL19 I found some .bst files containing this string.
./texmf-dist/bibtex/bst/uestcthesis/uestcthesis.bst:1687:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/seuthesis/seuthesis.bst:1685:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate1.bst:570:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate3.bst:570:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate4.bst:571:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate2.bst:571:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/doc/latex/seuthesis/zharticle/zharticle.bst:1684:{ "Tech.
rept."  }  %  ODWE abbrevs.


Kornel,

I hadn't thought to look at the .bst files. I did find deprecated font
encodings (e.g., \sc, \bf) in the authordate series but did not look further
in them.

I've used authordate3 or 4 for years so the font encodings were not an issue
before, but I hadn't encountered the 'Tech. rept.' string before now.

Think it's time to send a message to TUG about these.

Thanks,

Rich
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography includes document type

2019-11-02 Thread Kornel Benko
Am Fri, 1 Nov 2019 06:30:29 -0700 (PDT)
schrieb Rich Shepard :

> This is a new issue with kbibtex. Technical report reference in the
> bibliography include the document type, Tech. rept., even though that's not
> in the bibtex source in the kbibtex database. Three examples of the output
> and their source listings (minus the abstracts):
> 
> Brinson, M.M. 1993. A hydrogeomorphic classification for wetlands. Tech.
> rept. Technical Report WRP-DE-4. US Army Corps of Engineers, Waterways
> Experiment Station.

Checking TL19 I found some .bst files containing this string.
./texmf-dist/bibtex/bst/uestcthesis/uestcthesis.bst:1687:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/seuthesis/seuthesis.bst:1685:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate1.bst:570:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate3.bst:570:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate4.bst:571:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/bibtex/bst/authordate/authordate2.bst:571:{ "Tech.
rept."  }  %  ODWE abbrevs.
./texmf-dist/doc/latex/seuthesis/zharticle/zharticle.bst:1684:{ "Tech.
rept."  }  %  ODWE abbrevs.

...

> Since the string, 'Tech. rept.' does not appear in the bibtex source I don't
> know where to look to find why it appears in the compiled document's
> bibliography. All ideas welcome.
> 
> Regards,
> 
> Rich

Kornel



pgpkgeljkExYp.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: bibliography-question

2019-06-04 Thread Paul A. Rubin

On 6/3/19 2:49 PM, M.B. Schiekel wrote:

Am 02.06.19 um 20:40 schrieb Paul A. Rubin:

On 6/2/19 12:53 PM, M.B. Schiekel wrote:

...
Another case is still open for me.
Can I have a part-bibliography at the end of part 1 and part 2 and a
full document-bibliography at the document-end?
...

Yes. One way is the following.

1. Repeat what you did before to generate a .bib file containing all
    references cited anywhere in the paper (and only those references).
2. Use the document bibliography settings to specify "subdivided
    bibliograph" "per part".
3. Put the LaTeX code from my previous suggestion
    ("\renewcommand{\btPrintCited}{\btPrintAll}") in a TeX inset (ERT)
    somewhere in the final part (after part 2) and do /not/ put it in
    the document preamble.
...


Dear Paul,

thank you very much for your patient support! Your suggestions worked
fine and really helped me.
Many thanks again to all LyX supporters for our wounderful LyX and our
wounderful lyx-users community!
Sincerely - bernhard



Gern geschehen.

Paul



Re: bibliography-question

2019-06-03 Thread M.B. Schiekel
Am 02.06.19 um 20:40 schrieb Paul A. Rubin:
> On 6/2/19 12:53 PM, M.B. Schiekel wrote:
>> ...
>> Another case is still open for me.
>> Can I have a part-bibliography at the end of part 1 and part 2 and a
>> full document-bibliography at the document-end?
>> ...
> Yes. One way is the following.
> 
> 1. Repeat what you did before to generate a .bib file containing all
>    references cited anywhere in the paper (and only those references).
> 2. Use the document bibliography settings to specify "subdivided
>    bibliograph" "per part".
> 3. Put the LaTeX code from my previous suggestion
>    ("\renewcommand{\btPrintCited}{\btPrintAll}") in a TeX inset (ERT)
>    somewhere in the final part (after part 2) and do /not/ put it in
>    the document preamble.
> ...


Dear Paul,

thank you very much for your patient support! Your suggestions worked
fine and really helped me.
Many thanks again to all LyX supporters for our wounderful LyX and our
wounderful lyx-users community!
Sincerely - bernhard


-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature


Re: bibliography-question

2019-06-02 Thread Paul A. Rubin

On 6/2/19 12:53 PM, M.B. Schiekel wrote:


Thank Paul and all others,

now I've learned, that
1. my LyX-document has to be open in LyX and has the document just
exported to PDF, then I can find the .aux file in the Linux \tmp directory.
2. I have to make a copy of my physics.bib with name
   0_home_myname_dir-A_dir-B_physics.bib
and then I can run bibexport:
   bibexport -o mydoc.bib mydoc.aux

Ok, now I have a complete document-bibliography and can use this at the
end of each part of my multipart-document. Great :-)



Another case is still open for me.
Can I have a part-bibliography at the end of part 1 and part 2 and a
full document-bibliography at the document-end?

Thank you very much,
bernhard



Yes. One way is the following.

1. Repeat what you did before to generate a .bib file containing all
   references cited anywhere in the paper (and only those references).
2. Use the document bibliography settings to specify "subdivided
   bibliograph" "per part".
3. Put the LaTeX code from my previous suggestion
   ("\renewcommand{\btPrintCited}{\btPrintAll}") in a TeX inset (ERT)
   somewhere in the final part (after part 2) and do /not/ put it in
   the document preamble.

I've attached a new MWE.

Paul




multibib2.lyx
Description: application/lyx


Re: bibliography-question

2019-06-02 Thread M.B. Schiekel
>>> ...
>>> You might have a look at
>>>
>>> https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file,
>>> ...
> Start by checking Tools > Preferences... > Paths. The "Temporary
> directory" shown there will be your starting point. (On Linux, this is
> normally /tmp.) In that directory, look for a directory named
> "lyx_tmpdir." and move there. In that directory, look
> for "lyx_tmpbuf0" if this is the only document you have open. 
> ...


Thank Paul and all others,

now I've learned, that
1. my LyX-document has to be open in LyX and has the document just
exported to PDF, then I can find the .aux file in the Linux \tmp directory.
2. I have to make a copy of my physics.bib with name
  0_home_myname_dir-A_dir-B_physics.bib
and then I can run bibexport:
  bibexport -o mydoc.bib mydoc.aux

Ok, now I have a complete document-bibliography and can use this at the
end of each part of my multipart-document. Great :-)



Another case is still open for me.
Can I have a part-bibliography at the end of part 1 and part 2 and a
full document-bibliography at the document-end?

Thank you very much,
bernhard


-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature


Re: bibliography-question

2019-06-01 Thread Paul A. Rubin

On 6/1/19 3:50 AM, M.B. Schiekel wrote:

Am 28.05.19 um 22:34 schrieb Paul A. Rubin:

...
You might have a look at


https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file,

...
2. Use the .aux file created by that to extract all entries cited
anywhere in your paper (and only those entries) to a new .bib file,
applying one of the methods in the StackExchange thread.
...


Dear Paul and LyX-friends,

good, but where do I find the LyX generated .aux file?
Thank you very much again,
bernhard

Start by checking Tools > Preferences... > Paths. The "Temporary 
directory" shown there will be your starting point. (On Linux, this is 
normally /tmp.) In that directory, look for a directory named 
"lyx_tmpdir." and move there. In that directory, look 
for "lyx_tmpbuf0" if this is the only document you have open. If you 
have multiple documents open, there will be "lyx_tmpbuf1", "lyx_tmpbuf2" 
etc., and you'll need to figure out which is the right one. The .aux 
file will be in there.


Paul



Re: bibliography-question

2019-06-01 Thread Wolfgang Engelmann


On 01.06.19 10:24, Wolfgang Engelmann wrote:



On 01.06.19 09:50, M.B. Schiekel wrote:

Am 28.05.19 um 22:34 schrieb Paul A. Rubin:

...
You might have a look at


https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file,

...
2. Use the .aux file created by that to extract all entries cited
anywhere in your paper (and only those entries) to a new .bib file,
applying one of the methods in the StackExchange thread.
...

Dear Paul and LyX-friends,

good, but where do I find the LyX generated .aux file?
Thank you very much again,
bernhard


lyx > file > export >latex(plain).

you get the .tex file

run (on a terminal)

latex your.tex 3 times

run (on terminal)

bibtex your (without .tex!)

2-3 times

this gives you in the same folder the your.aux file.

Wolfgang

p.s. if you use a large bib file which contains more than the citations 
you are using in your document, you can strip the needed easily if you 
are using the Jabref Reference Manager by


JabRef>tools>new sublibrary based on AUX file

Ref library; your.bib

latex AUX file; your.aux

name this e,g, yourstriped.aux

Wolfgang



Re: bibliography-question

2019-06-01 Thread Wolfgang Engelmann


On 01.06.19 09:50, M.B. Schiekel wrote:

Am 28.05.19 um 22:34 schrieb Paul A. Rubin:

...
You might have a look at


https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file,

...
2. Use the .aux file created by that to extract all entries cited
anywhere in your paper (and only those entries) to a new .bib file,
applying one of the methods in the StackExchange thread.
...


Dear Paul and LyX-friends,

good, but where do I find the LyX generated .aux file?
Thank you very much again,
bernhard


lyx > file > export >latex(plain).

you get the .tex file

run (on a terminal)

latex your.tex 3 times

run (on terminal)

bibtex your (without .tex!)

2-3 times

this gives you in the same folder the your.aux file.

Wolfgang



Re: bibliography-question

2019-06-01 Thread M.B. Schiekel
Am 28.05.19 um 22:34 schrieb Paul A. Rubin:
> ...
> You might have a look at
>
https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file,
> ...
> 2. Use the .aux file created by that to extract all entries cited
>anywhere in your paper (and only those entries) to a new .bib file,
>applying one of the methods in the StackExchange thread.
> ...


Dear Paul and LyX-friends,

good, but where do I find the LyX generated .aux file?
Thank you very much again,
bernhard

-- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/



signature.asc
Description: OpenPGP digital signature


Re: bibliography-question

2019-05-30 Thread Jürgen Spitzmüller
Am Mittwoch, den 29.05.2019, 17:11 -0400 schrieb Benedict Holland:
> I want to reiterate the ERT of \nocite{*}

The LyX way of doing this would be to select "all references" in the
BibTeX settings dialog (this automatically puts a \nocite* to the LaTeX
output).

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: bibliography-question

2019-05-30 Thread Jürgen Spitzmüller
Am Montag, den 27.05.2019, 17:15 -0400 schrieb Paul A. Rubin:
> If every entry in the .bib file is cited somewhere (so that you want
> the full contents of the .bib file in each part), you might try the
> following:
> In the Bibliography section, select "Subdivided bibliography" and set
> the "Multiple bibliographies" choice to "per part".
> In the LaTeX preamble, add the following:
> "\renewcommand{\btPrintCited}{\btPrintAll}".

Instead of that, why don't you simply select "All References" in the
BibTeX settings dialog (instead of "all cited references")?

Jürgen


signature.asc
Description: This is a digitally signed message part


Re: bibliography-question

2019-05-29 Thread Benedict Holland
I want to reiterate the ERT of \nocite{*} and you can probably put it in
your preamble if you want it for all parts in your document. This is your
answer:

https://tex.stackexchange.com/questions/17653/how-to-list-all-bibliography-entries-without-citing


Then you just have to create a references/bibliography section at the end
of each part.

This doesn't need JabRef. All JabRef does is create and manage your .bib
file. Biblatex will read your .bib file and create your references. Lyx
kicks off the biblatex command. BTW, I would not use bibtex to do it as
biblatex has a lot more options and features than bibtex does.

thanks,
~Ben

On Tue, May 28, 2019 at 4:34 PM Paul A. Rubin  wrote:

> On 5/28/19 9:57 AM, M.B. Schiekel wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Am 27.05.19 um 23:15 schrieb Paul A. Rubin:
>
> ... Now I would like to have a biography at the end of each part
> - but each time the complete document biography, and not the
> part dependent biography. Might be this is trivial, but I can't
> see it. Any hint is wellcome. Thank you very much, bernhard
>
> ...
>
> Dear Paul,
>
> thank you for your answer, and well, you are right :-)
>
> I assume here that "biography" --> "bibliography".
>
> The next paragraph of your answer highlights my problem:
>
> /If/ every entry in the .bib file is cited somewhere (so that you
> want the full contents of the .bib file in each part), you might
> try the following: ...
>
> My .bib file is a bib-database of all my different papers, books, 
> So \btPrintAll seems not to be a very good idea :-)
>
> Vaguely I remember, that many years ago Herbert Voss, our LaTeX-guru,
> suggested exporting the document-bibliography at the end and in a
> second run importing it after after part 1 and part 2. How to manage thi
> s?
>
> Might be a workaround for my wishes would be a part-based bibliography
> after each part /plus/ a document-bibliography at the end of part 3.
> Is this possible?
>
> Any suggestions? Again thank you very much!
> bernhard
>
>
> You might have a look at
> https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file,
> particularly if you use (or are willing to use JabRef). The approach would
> be along the following lines:
>
>1. Do a sectioned bibliography without using my hack. This will
>generate a file with only a partial bibliography in each part (which is
>fine for now).
>2. Use the .aux file created by that to extract all entries cited
>anywhere in your paper (and only those entries) to a new .bib file,
>applying one of the methods in the StackExchange thread.
>3. Switch to the new .bib file in all sections of your paper, then add
>my hack in the preamble.
>
> Paul
>
>
>


Re: bibliography-question

2019-05-28 Thread Paul A. Rubin

On 5/28/19 9:57 AM, M.B. Schiekel wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 27.05.19 um 23:15 schrieb Paul A. Rubin:

... Now I would like to have a biography at the end of each part
- but each time the complete document biography, and not the
part dependent biography. Might be this is trivial, but I can't
see it. Any hint is wellcome. Thank you very much, bernhard

...

Dear Paul,

thank you for your answer, and well, you are right :-)

I assume here that "biography" --> "bibliography".

The next paragraph of your answer highlights my problem:

/If/ every entry in the .bib file is cited somewhere (so that you
want the full contents of the .bib file in each part), you might
try the following: ...

My .bib file is a bib-database of all my different papers, books, 
So \btPrintAll seems not to be a very good idea :-)

Vaguely I remember, that many years ago Herbert Voss, our LaTeX-guru,
suggested exporting the document-bibliography at the end and in a
second run importing it after after part 1 and part 2. How to manage thi
s?

Might be a workaround for my wishes would be a part-based bibliography
after each part /plus/ a document-bibliography at the end of part 3.
Is this possible?

Any suggestions? Again thank you very much!
bernhard

You might have a look at 
https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file, 
particularly if you use (or are willing to use JabRef). The approach 
would be along the following lines:


1. Do a sectioned bibliography without using my hack. This will
   generate a file with only a partial bibliography in each part (which
   is fine for now).
2. Use the .aux file created by that to extract all entries cited
   anywhere in your paper (and only those entries) to a new .bib file,
   applying one of the methods in the StackExchange thread.
3. Switch to the new .bib file in all sections of your paper, then add
   my hack in the preamble.

Paul




Re: bibliography-question

2019-05-28 Thread M.B. Schiekel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 27.05.19 um 23:15 schrieb Paul A. Rubin:
>> ... Now I would like to have a biography at the end of each part 
>> - but each time the complete document biography, and not the
>> part dependent biography. Might be this is trivial, but I can't
>> see it. Any hint is wellcome. Thank you very much, bernhard
> ...

Dear Paul,

thank you for your answer, and well, you are right :-)
> I assume here that "biography" --> "bibliography".

The next paragraph of your answer highlights my problem:
> /If/ every entry in the .bib file is cited somewhere (so that you 
> want the full contents of the .bib file in each part), you might 
> try the following: ...

My .bib file is a bib-database of all my different papers, books, 
So \btPrintAll seems not to be a very good idea :-)

Vaguely I remember, that many years ago Herbert Voss, our LaTeX-guru,
suggested exporting the document-bibliography at the end and in a
second run importing it after after part 1 and part 2. How to manage thi
s?

Might be a workaround for my wishes would be a part-based bibliography
after each part /plus/ a document-bibliography at the end of part 3.
Is this possible?

Any suggestions? Again thank you very much!
bernhard


- -- 
Homepage: https://www.mb-schiekel.de/
GnuPG: http://p80.pool.sks-keyservers.net/
-BEGIN PGP SIGNATURE-

iF0EARECAB0WIQR1oo94k6dUHpHERdOxOsCN/2xXCgUCXO0+KwAKCRCxOsCN/2xX
ChugAJ9nQfQC9ORXHKUYcsvkGorR0MoizQCgrCu3bqTQJm9t/5tB3hX/2xF2kmo=
=0XPy
-END PGP SIGNATURE-


  1   2   3   4   5   6   7   8   9   10   >