Re: Bibliography not shown in compiled PDF
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Bibliography not shown in compiled PDF
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. Regards, 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} \usepackage{gensymb,textcomp} \usepackage{lipsum} \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 Title Title \end_layout \begin_layout Author Author \end_layout \begin_layout Date \begin_inset ERT status open \begin_layout Plain Layout \backslash today \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset CommandInset toc LatexCommand tableofcontents \end_inset \end_layout \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Chapter Introduction \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash lipsum[1] \end_layout \end_inset \end_layout \begin_layout Chapter Distribution \end_layout \begin_layout Standard Some more text \end_layout \begin_layout Section Idaho \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash lipsum[2] \end_layout \end_inset \begin_inset CommandInset citation LatexCommand cite key "Adams1997" literal "true" \end_inset \end_layout \begin_layout Section Oregon \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash lipsum[1] \end_layout \end_inset \begin_inset CommandInset citation LatexCommand citep key "Czarnomski2001" literal "true" \end_inset \end_layout \begin_layout Standard \begin_inset CommandInset bibtex LatexCommand bibtex btprint "btPrintCited" bibfiles "mwebib" options "bibtotoc" \end_inset \end_layout \end_body \end_document % Encoding: UTF-8 @comment{x-kbibtex-encoding=utf-8} @comment{ This file was created with JabRef 2.9.2. } @InProceedings{Adams1997, author= {Adams, S.B. and Bjornn, T.C.}, booktitle = {{Friends of the Bull Trout Conference Proceedings}}, title = {{Bull trout distributions related to temperature regimes in four central Idaho straams}}, year = {1997}, editor= {Mackay, W.C. and Brewin, M.K. and Monita, M.}, pages = {371--380}, abstract = {Bull trout, Salvelinus confluentus, distributions and water temperature regimes were studied in four streams of the Weiser River basin, Idaho, in 1992 and 1993. Bull trout occurred at elevations ranging from 1,472 m to 2,182 m and densities up to 9.5 fish per 100 m^2. Bull trout were sympatric with rainbos trout, Orchorynchus mykiss, in all streams and with brook trout, S. fontinalis, and brook trout x bull trout hybrids in two streams. Summer temperatures were continuously recorded in 1992 and 1993. The 1993 temperature monitoring sites were at the upstream distrobutionlimits of juvenile bull trout, the upstream limits of either the brook trout or rainbow trout distributions, and six additional locations. Temperatures recorded from June throu
Re: Outline pane FUBAR
On Tue, 5 Dec 2023, Rich Shepard wrote: This is a bibliography issue and my jabrefbib.bib file is 2.2Mb large; too big to send. Now there are only 3 citations in the text. I'll make a MWE using package lipsum with those three citations and attach the bibtex entries for each. Stay tuned ... Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Outline pane FUBAR
On Tue, 5 Dec 2023, Pavel Sanda wrote: Given that this normally works for me, MWE would be indeed useful.. Pavel, This is a bibliography issue and my jabrefbib.bib file is 2.2Mb large; too big to send. Might there be a clue in the .tex file? There are no errors when I compile with pdflatex so there's no error file in /tmp/lyx_tmpdir.PbbUwId27698 or the three lyx_tempbuf? subdirectories. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Outline pane FUBAR
On Tue, Dec 05, 2023 at 06:40:32AM -0800, Rich Shepard wrote: > Have you any thoughts on this? Given that this normally works for me, MWE would be indeed useful.. Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Outline pane FUBAR
On Tue, 5 Dec 2023, Pavel Sanda wrote: I can't see this. Can you report more details about your setup (Qt version, LyX version, OS type)? Pavel, In the process of creating a MWE I found the problem: somehow the bibliography was moved from the end to a place in the second chapter. Correcting this fixed the problem of the outline tab display. However, I still need help in learning why the bibliography does not appear at the end of the compiled (pdflatex) document nor in the ToC. Have you any thoughts on this? Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Search and replace in selection only
On Tue, 5 Dec 2023, Folsk Pratima wrote: The subject. LyX Version 2.3.7. Any luck in newer versions? Have not before had any issues with current version 2.3.6.1. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Search and replace in selection only
The subject. LyX Version 2.3.7. Any luck in newer versions? -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Outline pane FUBAR
On Mon, Dec 04, 2023 at 01:45:32PM -0800, Rich Shepard wrote: > I used the up and down arrows at the bottom of the outline pane window to > re-order sections in the report doc. Now only one is displayed rather than > all four sections. > > If I use the down arrow with that section highlighted the others show up in > order, but now the first one is the last one. > > Please teach me how to view all four secions in alphabetic order. I can't see this. Can you report more details about your setup (Qt version, LyX version, OS type)? Pavel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users