Re: Old font style names found in doc

2024-01-03 Thread Herbert Voss




Am 03.01.24 um 15:16 schrieb Rich Shepard:

On Wed, 3 Jan 2024, Herbert Voss wrote:


I suppose, that it is part of the bibstyle file *.bst




Then shouldn't this have been corrected in the most recent TeXLive2023?
There's only one citation (so far) in the doc and I've not had this 
issue in

other docs I've recently revised.


Rich,
this depends to the author of the bibliography style. Which one your
are using?

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


Re: Old font style names found in doc

2024-01-03 Thread Rich Shepard

On Wed, 3 Jan 2024, Herbert Voss wrote:


this depends to the author of the bibliography style. Which one your
are using?


Herbert,

The biblatex bibliography style is authoryear.

Regards,

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


Re: JabRef insertion to LyX fails with accented character

2024-01-03 Thread Rich Shepard

On Wed, 3 Jan 2024, Herbert Voss wrote:


every problem is listed in the logfiles ...


Herbert,

Just re-exported to LaTeX (pdflatex) and ran pdflatex and biber.


.log


The .log file, line 725:
LaTeX Warning: Citation 'Ant=E3o2021' on page 5 undefined on input line
324.


.blg


The biodiversity.blg:
$ biber biodiversity 
INFO - This is Biber 2.19

INFO - Logfile is 'biodiversity.blg'
INFO - Reading 'biodiversity.bcf'
INFO - Found 12 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex file '/home/rshepard/documents/jabrefdb.bib' for 
section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source '/home/rshepard/documents/jabrefdb.bib'
INFO - Overriding locale 'en-US' defaults 'variable = shifted' with 'variable = 
non-ignorable'
INFO - Overriding locale 'en-US' defaults 'normalization = NFD' with 
'normalization = prenormalized'
INFO - Sorting list 'nyt/global//global/global' of type 'entry' with template 
'nyt' and locale 'en-US'
INFO - No sort tailoring available for locale 'en-US'
INFO - Writing 'biodiversity.bbl' with encoding 'latin9'
INFO - Output to biodiversity.bbl
WARN - I didn't find a database entry for 'Ant=E3o2021' (section 0)
INFO - WARNINGS: 1

Two things:
1. Where is biber finding the latin9 encoding?
2. The string E3 is a hex color, not ã.

Looks to me like these two are the source of the problems.

Thanks,

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


JabRef insertion to LyX fails with accented character

2024-01-03 Thread Rich Shepard

Now I've learned how to insert accented characters using my keyboard I
corrected the lead author's name in JabRef from Antao to Antão. This morning
when I tried compiling the document with that citation it failed to find the
non-accented record in the .bib.

I deleted the ??.?? citation and tried to push the accented one to the
document. It keeps failing; the citation is still ??.??. I'm really
surprised that this happens.

Is this a LyX or JabRef issue?

TIA,

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


Re: JabRef insertion to LyX fails with accented character

2024-01-03 Thread Herbert Voss



Am 03.01.24 um 15:41 schrieb Rich Shepard:

Now I've learned how to insert accented characters using my keyboard I
corrected the lead author's name in JabRef from Antao to Antão. This 
morning
when I tried compiling the document with that citation it failed to 
find the

non-accented record in the .bib.

I deleted the ??.?? citation and tried to push the accented one to the
document. It keeps failing; the citation is still ??.??. I'm really
surprised that this happens.


Rich,

every problem is listed in the logfiles ...

.log
.blg

Herbert





Is this a LyX or JabRef issue?

TIA,

Rich


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


Re: JabRef insertion to LyX fails with accented character

2024-01-03 Thread Herbert Voss



Am 03.01.24 um 16:51 schrieb Rich Shepard:

On Wed, 3 Jan 2024, Herbert Voss wrote:


every problem is listed in the logfiles ...

The .log file, line 725:
LaTeX Warning: Citation 'Ant=E3o2021' on page 5 undefined on input 
line

324.



Rich,
I suppose again the "mergedate=..." option problem in the setting
of biblatex.




.blg


The biodiversity.blg:

INFO - Writing 'biodiversity.bbl' with encoding 'latin9'


In general biber uses the encoding from the main document unless
you explicitely call

biber --bibencoding=latin9 



INFO - Output to biodiversity.bbl
WARN - I didn't find a database entry for 'Ant=E3o2021' (section 0)
INFO - WARNINGS: 1

Two things:
1. Where is biber finding the latin9 encoding?
2. The string E3 is a hex color, not ã.

Looks to me like these two are the source of the problems.


yes and no, because the bibliography is wrong, but should have some
entries. It is only a warning not an error.

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


Re: Old font style names found in doc

2024-01-03 Thread Rich Shepard

On Wed, 3 Jan 2024, Herbert Voss wrote:


I suppose, that it is part of the bibstyle file *.bst


Herbert,

Then shouldn't this have been corrected in the most recent TeXLive2023?
There's only one citation (so far) in the doc and I've not had this issue in
other docs I've recently revised.

Regards,

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


Re: Old font style names found in doc

2024-01-03 Thread Herbert Voss



Am 03.01.24 um 16:24 schrieb Rich Shepard:

On Wed, 3 Jan 2024, Herbert Voss wrote:


this depends to the author of the bibliography style. Which one your
are using?



The biblatex bibliography style is authoryear.


Rich,

from your example I believe that you used bibtex with a bibtex style
(\bibliographystyle{...})  and not biblatex/biber ...

Look into the bibliography interface for the setting.

Herbert




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


Re: Revising old LyX documents

2024-01-03 Thread Rich Shepard

On Wed, 3 Jan 2024, Herbert Voss wrote:


You'll find everything in the documentation. It is the class option
abstract=on


Herbert,

I missed seeing that I add it to the Document class custom text entry
widget. Now done.


and in the text body choose paragraph layout abstract for the text


Yes, I did that.

And no bibliography in this doc so no issues with that. :-)

Many thanks,

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


Bug report: wrong unicode conversion from JabRef

2024-01-03 Thread Rich Shepard

Herbert Voss identified part of my issue of an accented character in a
bibiography citation is the bib_key. Removing the ã from the bib_key and
leaving it in the first author's name produced the attached citation image.

In the doc's preamble I inserted:
\usepackage{newunicodechar}
\newunicodechar{ã}{\~{a}}
but the resulting citation was still wrong.

Can this be fixed?

TIA,

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


Re: JabRef insertion to LyX fails with accented character

2024-01-03 Thread Rich Shepard

On Wed, 3 Jan 2024, Herbert Voss wrote:


I suppose again the "mergedate=..." option problem in the setting
of biblatex.


Herbert,

That's long gone.


In general biber uses the encoding from the main document unless
you explicitely call
biber --bibencoding=latin9 


And I've not done that.


Looks to me like these two are the source of the problems.


yes and no, because the bibliography is wrong, but should have some
entries. It is only a warning not an error.


Yes, changing the citation style from `Biblatex' to `Biblatex (natbib mode)'
allowed the bibliography to be included in the PDF.

Why only with non-accented characters remains unanswered, but I doubt the
expected audience for this doc will notice any difference.

Many thanks,

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


Revising old LyX documents

2024-01-03 Thread Rich Shepard

I'm revising several old LyX documents and running into many issues since
the TeXLive versions have been revised over the years.

For example, one doc written in 2010 using KOMA-Script report class used a
class option of 'abstraction.' That's deprecated and may well account for
deprecated font style labels as well as other issues.

Removing that option and adding `Abstract' using the abstract environment
under the ToC places the word directly under the ToC and no heading on the
following page with the abstract. According to the 2023-04-20 English
version of the KOMA-Script manual (page 71),

"3.8. Abstract

"Particularly with articles, more rarely with reports, there is an abstract,
or summary, directly beneath the title and before the table of contents.
When using an in-page title, this abstract is normally a kind of left- and
right-indented block. In comparison, the abstract appears as a chapter or
section when using title pages.

"abstract=simple switch

"In the standard classes, the abstract environment sets the text “Abstract”
centred before the abstract text. This used to be the normal practice. Since
then, reading newspapers has trained us to recognize a suitably highlighted
text at the beginning of an article or report as the abstract. This is even
more true when the text comes before the table of contents. It is also
confusing if, of all things, this title appears small and centred.
KOMA-Script offers the option to include or exclude the abstract’s title
with the abstract option. For simple switch , you can use any value from
table 2.5, page 41. The default for KOMA-Script is false."

That's not what I'm seeing in the LyX doc; see attached screenshot.

Where do I add a simple switch (true) if I'm using the LyX Abstract
environment?

In addition to adding the word Abstract above the abstract on the page
following the ToC are there general guidelines for updating old lyx
documents?

TIA,

Rich

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


Re: Old font style names found in doc

2024-01-03 Thread Rich Shepard

On Wed, 3 Jan 2024, Herbert Voss wrote:


from your example I believe that you used bibtex with a bibtex style
(\bibliographystyle{...})  and not biblatex/biber ...
Look into the bibliography interface for the setting.


Herbert,

Actually, I accidently used the biblatex citation style rather than the
biblatex (natbib mode) citation style.

Changing the citation style to the latter flavor the bibliography is in the
PDF, but only if I remove the ã and replace it with a plain a.

Thanks,

Rich

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