Re: Need help finding error

2023-09-22 Thread Rich Shepard

On Fri, 22 Sep 2023, Herbert Voss wrote:


Instead of \S try to insert directly (not in ERT) the § symbol


Herbert,

I haven't had issues using \S when dealing with federal law and state
statute sections. And I don't know how to enter the symbol in LyX without
using ERT.

Many thanks,

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


Re: Need help finding error

2023-09-22 Thread Rich Shepard

On Fri, 22 Sep 2023, Herbert Voss wrote:


that is the deafult behaviour if you have a problem in a LaTeX run and the
created helper files for biber are corrupt. Simply ignore it, and run the
_document_ again. If it doesn't help then delete the file mwe.bcf, which
is a BiberConfigFile.


Herbert,

I've re-compiled failed builds before and didn't think of doing so this
time. Normally, I'd prefer to fix the problem, but in this case as long as I
have the PDF to deliver to my client, all's good.

Many thanks for the reminder.

Best regards,

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


Re: Need help finding error

2023-09-21 Thread Rich Shepard


On Thu, 21 Sep 2023, Rich Shepard wrote:


I need help identifying the source of this error. FWIW, the doc built
successfully before I added more text below where the error is shown.


I've learned that the error is in biber's processing of the bibliography.
The biber error log is in the attached image and I have no idea how to use
it to find why mwe.bcf is malformed.

Help, please,

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


Need help finding error

2023-09-21 Thread Rich Shepard

I've not successfully built a MWE; each time I remove text either above or
below the highlighted error the document compiles successfully. The
unmodified doc doesn't.

Attached is an image of the highlighted line and following text along with
the error reporting box, and the complete error log file. I do not see the
error there.

I need help identifying the source of this error. FWIW, the doc built
successfully before I added more text below where the error is shown.

TIA,

RichThis is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded 
format=pdflatex 2023.9.17)  21 SEP 2023 09:48
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**mwe.tex
(./mwe.tex
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-08-29>

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2023/07/07 v3.41 KOMA-Script document class (report)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2023/07/07 v3.41 KOMA-Script package (file load hooks)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2023/07/07 v3.41 KOMA-Script package (using LaTeX hooks)

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2023/07/07 v3.41 KOMA-Script package (logo)
))) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks17
)
Applying: [2021/05/01] Usage of raw or classic option list on input line 252.
Already applied: [/00/00] Usage of raw or classic option list on input line
 368.
)) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2023/07/07 v3.41 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip48
\scr@dte@tocline@numbox=\box51
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 135.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt)   file `scrsize11.clo' to setup font sizes on input line 268
8.
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2023/07/07 v3.41 KOMA-Script font size class option (11pt
)
) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2023/07/07 v3.41 KOMA-Script package (type area)
\ta@bcor=\skip49
\ta@div=\count185
\ta@hblk=\skip50
\ta@vblk=\skip51
\ta@temp=\skip52
\footheight=\skip53
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV departure   = -6%
(typearea)  \evensidemargin = 47.2316pt
(typearea)  \oddsidemargin  = -12.5192pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 514.20023pt
(typearea)  \topmargin  = 12.2347pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.6pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 1799.
)
\c@part=\count186
\c@chapter=\count187
\c@section=\count188
\c@subsection=\count189
\c@subsubsection=\count190
\c@paragraph=\count191
\c@subparagraph=\count192
\scr@dte@chapter@maxnumwidth=\skip54
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\chapter on input line 5994.
\scr@dte@section@maxnumwidth=\skip55
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\section on input line 6005.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\section on input line 6005.
\scr@dte@part@maxnumwidth=\skip56
Class scrreprt Info: using compatibility default `afterindent=true'
(scrreprt)   for `\part on input line 6014.
\scr@dte@subsection@maxnumwidth=\skip57
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsection on input line 6024.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\subsection on input line 6024.
\scr@dte@subsubsection@maxnumwidth=\skip58
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsubsection 

Deleting outline entry

2023-09-21 Thread Rich Shepard

A document that had built before now fails with an error. I'm trying to
isolate the error and want to delete chapters one-by-one before and after
the highlighted error.

Is there a way to delete an outline entry? A right-click on the entry does
not offer that option and the delete key removes characters in the
chapter/section title, not the chapter/section itself.

Regards,

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


Re: Adding horizonal lines for user entry

2023-09-17 Thread Rich Shepard

On Sun, 17 Sep 2023, Tobias Hilbricht wrote:


\hrulefill (and \dotfill and others) are available in LyX via Insert ->
Formatting -> Horizontal Space -> Choose "Variable horizontal space" and a
fill and place this into a minipage. The visual feedback in LyX - two
vertical blue thin lines - does not really mirror the result in the
compiled document.


Tobias,

Thanks. This is the first time I've needed to provide text entry lines in a
document.

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


Re: Adding horizonal lines for user entry

2023-09-15 Thread Rich Shepard

On Fri, 15 Sep 2023, Herbert Voss wrote:


insert a box (minipage) of a width like 50% of the textwidth, which can be
set in the box menue. And then use \hrulefill


Herbert,

That worked perfectly. By trial-and-error I learned how to set the width and
height. Setting the height to 5mm provides room for hand written input. I
adjusted the textwidth % to make the lines even (but I now see the last one
is 1 or 2mm too long; I'll fix that.)

The output is attached.

Best regards,

Rich

signature-block.pdf
Description: Adobe PDF document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding horizonal lines for user entry

2023-09-15 Thread Rich Shepard

On Fri, 15 Sep 2023, Herbert Voss wrote:

insert a box (minipage) of a width like 50% of the textwidth, which can be 
set in the box menue. And then use \hrulefill


Herbert,

Thank you. That hadn't occurred to me.

Best regards,

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


Adding horizonal lines for user entry

2023-09-15 Thread Rich Shepard

I need to add lines for a signature, printed neme, and other data in a
report document. I'm using the description environment for the data names to
be entered.

\hrule places a text width line above the data name.

How can I place these lines so they look like this:

Signature: _

Printed Name: __

Organization: __

Date Submitted: 

Thanks in advance,

Rich

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


Re: Subtitle not displayed on report title page

2023-09-11 Thread Rich Shepard

On Mon, 11 Sep 2023, Rich Shepard wrote:


Other than \maketitle being on a separate line I don't see why the date
does not display in the whole document. Is the error some place else?


Well, ... all I did was capitalize two words in the whole document's
subtitle, saved, and recompiled. Now the date appears on the title page.

It's fixed and I have no idea why.

Thanks again, Herbert,

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


Re: Subtitle not displayed on report title page

2023-09-11 Thread Rich Shepard

On Mon, 11 Sep 2023, Rich Shepard wrote:


I am not seeing where the paragraph layouts differ, so I'll look at the
.tex outputs for both.


Herbert,

Yes, I had the wrong environment for the \today date. Fixed that. Now,
mwe.pdf shows the title, subtitle, and date while the whole document doesn't
here are the two .tex segments:

MWE:
\begin{document}
\titlehead{\includegraphics[viewport=0bp 0bp 528bp 
157bp,clip,width=1\textwidth]{/home/rshepard/documents/templates/llc-letterhead}}
\title{Title line 1\\
Title line 2}
\subtitle{Subtitle line}
\date{\today}\maketitle

Whole document:
\begin{document}
\titlehead{\includegraphics[viewport=0bp 0bp 528bp 
157bp,clip,width=1\textwidth]{/home/rshepard/documents/templates/llc-letterhead}}
\title{Lake Merwin Campers Hideaway\\
Mooring Docks Expansion}
\subtitle{Compliance with environmental requirements}
\date{\today}
\maketitle

Other than \maketitle being on a separate line I don't see why the date does
not display in the whole document. Is the error some place else?

Regards,

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


Re: Subtitle not displayed on report title page

2023-09-11 Thread Rich Shepard

On Mon, 11 Sep 2023, Herbert Voss wrote:


your command \today is set with paragraph layout subtilte, so it
overwrites the first subtitle definition. Use paragraph layout date for
\today. Or as an alternative: use command-enter instead of only enter
after the first subtitle line. Then it will appear in _one_ \subtitle
command.


Herbert,

In previous KOMA-Script reports I have the title (often with multiple
lines), subtitle, then date. Each is separated by \n and they all compile
properly. I am not seeing where the paragraph layouts differ, so I'll look
at the .tex outputs for both.

Thanks,

Rich

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


Subtitle not displayed on report title page

2023-09-11 Thread Rich Shepard

This is a new issue for me: no subtitle displayed.

I don't see anything in the settings and there's no error when compiling
with pdflatex.

Minimal Wrong Example (MWE) attached.

Advice needed.

TIA,

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 scrbook
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\makeatletter
\@addtoreset{figure}{subsection}% Reset figure numbering at every part
\makeatother
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding default
\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 default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\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
\cite_engine_type authoryear
\biblio_style authordate4
\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 1.25in
\topmargin 1in
\rightmargin 0.75in
\bottommargin 1in
\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 Titlehead
\begin_inset Graphics
filename /home/rshepard/documents/templates/llc-letterhead.pdf
width 100text%
BoundingBox 0bp 0bp 528bp 157bp
clip

\end_inset


\end_layout

\begin_layout Title
Title line 1
\begin_inset Newline newline
\end_inset

Title line 2
\end_layout

\begin_layout Subtitle
Subtitle line
\end_layout

\begin_layout Subtitle
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

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


Re: Adding exteranally-created index

2023-07-24 Thread Rich Shepard

On Mon, 24 Jul 2023, Herbert Voss wrote:


Rich you can use a tabular in the title but LyX doesn't take the
surrounding fontsize into account. Only a problem for the LyX view.


Herbert,

I did not use a table, but the multicol packae to create two columns.

I'll remove that effort and go through each main and sub heading inserting
the index command for each one. For concepts that are not specific words,
I'll find a word on that page to mark, then change the text to the concept
rather than the word.

I suppose there are too few books created using LyX to justify development
time for incorporating an externally-created index as a professional indexer
would do. These professionals use any one of three proprietary indexing
tools that are very expensive but provide publishers with an index to add to
non-fiction books.

Thanks,

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


Re: Adding exteranally-created index

2023-07-22 Thread Rich Shepard

On Fri, 21 Jul 2023, Rich Shepard wrote:


I've created an index externally and it has abbreviations and terms not
necessarily in the text body but could be what a reader seeks to find. Is
there a way for me to add the index? Perhaps by manually adding a 2-column
unnumbered chapter after the bibliography?


I made an unnumbered chapter (Index) after the bibliography and use two
small spaces (Ctrl-spacebar) to inset subheadings. But, continuation lines
are not inset and I would like your advice on how to make a cleaner-looking
index.

A MWE (.lyx and .pdf) are attached.

TIA,

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 scrbook
\begin_preamble
%\date{}
\usepackage{mathpazo,amssymb}
\usepackage{gensymb,xurl}
\usepackage{graphicx,relsize}
\usepackage[defaultlines=2,all]{nowidow}
\usepackage{scrlayer-scrpage}
\usepackage{multicol}
\usepackage{fmtcount}
\pagestyle{scrheadings}
\setkomafont{chapter}{\huge}

\renewcommand\chapterlinesformat[3]{%
\ifx\relax#2\relax\else\makebox[\linewidth]{%
\numberstringnum{\thechapter}}\\\smallskip\fi\rule{\linewidth}{1pt}\par
\ifx\relax#2\relax\smallskip\else\bigskip\fi
\parbox{\linewidth}{\raggedchapter\raggedleft#3}%
\par\medskip\rule{\linewidth}{1pt}%
}%
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "palatino" "default"
\font_sans "uop" "default"
\font_typewriter "lmtt" "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 pdf2
\output_sync 1
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize custom
\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
\cite_engine_type authoryear
\biblio_style plainnat
\biblio_options maxcitenames=1,maxbibnames=99,uniquename=false,uniquelist=false
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 1in
\topmargin 0.75in
\rightmargin 1in
\bottommargin 0.75in
\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 headings
\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 Chapter*
Index
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
begin{multicols}{2}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
anthropogenic, 1--3, 5, 60
\end_layout

\begin_layout Standard
aquatic biota
\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\begin_inset space ~
\end_inset

to set, xxii
\end_layout

\begin_layout Standard
aquatic life
\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\begin_inset space ~
\end_inset

to set xxii, 2;
\end_layout

\begin_layout Standard
beneficial uses, xxii, 5, 10-11, 61
\end_layout

\begin_layout Standard
benthic macroinvertebrates, 6, 8
\end_layout

\begin_layout Standard
biotic indices, xxi, 7, 9--10
\end_layout

\begin_layout Standard
Biotic Integrity Index, (see biotic indices)
\end_layout

\begin_layout Standard
biplots, 75--76
\end_layout

\begin_layout Standard
Burns Creek, 20, 31, 33--34, 49
\end_layout

\begin_layout Standard
regression model, 111--114
\end_layout

\begin_layout Standard
summary statistics, 86
\end_layout

\begin_layout Standard
California Creek, 20, 43
\end_layout

\begin_layout Standard
CoDA (compsitional data analysis), 62, 70--72
\end_layout

\begin_layout Standard
diversity indicies, xxi, 7, 9--10
\end_layout

\begin_layout Standard
ecosystems
\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\begin_inset space ~
\end_inset

complexity, 1
\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\begin_inset space ~
\end_inset

functions, 8--9
\end_layout

\begin_layout Standard
\begin_inset space ~
\end_inset


\begin_inset space ~
\end_inset

structure, 9--11, 63
\end_layout

\begin_layout Standard
energy flow (see ecosy

Adding exteranally-created index

2023-07-21 Thread Rich Shepard

A book index can contain more than words found in the body; for example,
concepts that are not single words but might well be what a reader seeks
from the index.

I've created an index externally and it has abbreviations and terms not
necessarily in the text body but could be what a reader seeks to find. Is
there a way for me to add the index? Perhaps by manually adding a 2-column
unnumbered chapter after the bibliography?

TIA,

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


Re: KOMA-Script (scrbook) frontmatter issues [RESOLVED]

2023-07-17 Thread Rich Shepard

On Mon, 17 Jul 2023, Rich Shepard wrote:


I need to learn how to do this correctly.


For those in the future who need to avoid the issue I had with this here's
the solution: don't use any \vspace{} commands and separate paragraphs with
ctrl-enter.

My thanks to Herbert Voss.

Rich

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


Re: KOMA-Script (scrbook) frontmatter issues

2023-07-17 Thread Rich Shepard

On Mon, 17 Jul 2023, Rich Shepard wrote:


I moved the \uppertitleback and \lowertitleback from the half-title page
to the title page. Still have the same problems.


Re-reading the KOMA-Script manual I saw what I had missed before: "... The
header can extend to the footer and vice versa. Using this guide as an
example, the legal disclaimer was set with the help of the \uppertitleback
command."

So I changed all text to be in the \uppertitleback environment but all I get
when pdflatex compiles the document is the very last line.

Where do I learn more on how to write a page of text using only
\uppertitleback (or the footer equivalent?) How do I separate paragraphs and
space them vertically since ragged-entry and \vspace are not working as I am
using them. It's not in the manual (and I don't have a scrguideen.tex file
for it in the TL2023 tree and I don't find examples or discussion threads in
my web searches.

TIA,

Rich

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


Re: KOMA-Script (scrbook) frontmatter issues

2023-07-17 Thread Rich Shepard

On Mon, 17 Jul 2023, Rich Shepard wrote:


I need to learn how to do this correctly.


I moved the \uppertitleback and \lowertitleback from the half-title page to
the title page. Still have the same problems.

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


Re: KOMA-Script (scrbook) frontmatter issues

2023-07-17 Thread Rich Shepard

On Mon, 17 Jul 2023, Rich Shepard wrote:


I added text to the /uppertitleback


Mea culpa: it is \uppertitleback; the `\' backslash is the escape command.

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


KOMA-Script (scrbook) frontmatter issues

2023-07-17 Thread Rich Shepard

I added text to the /uppertitleback environment and now the document won't
compile. I had this issue in 2007 (found on narchive) and tried that solution
but it doesn't work.

I've read the scrguide sections but I still have problems properly
implementing uppertitleback and lower title back on the obverse of the 
half-title
page and just before the title page.

Attached is a MWE starting with an \extratitle (half-title) page, the
upper- and lowertitle back content that is on the back of that page, a
title, author, and (empty) table of contents. The .lyx, .pdf, .tex, and
complete error log are attached.

I need to learn how to do this correctly.

TIA,

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 scrbook
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\makeatletter
\@addtoreset{figure}{subsection}% Reset figure numbering at every part
\makeatother
\end_preamble
\use_default_options false
\begin_modules
natbibapa
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding default
\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 default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize custom
\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 natbib
\cite_engine_type authoryear
\biblio_style authordate4
\biblio_options maxcitenames=1,maxbibnames=99,uniquename=false,uniquelist=false
\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.9in
\rightmargin 0.75in
\bottommargin 0.9in
\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
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
frontmatter
\end_layout

\end_inset


\end_layout

\begin_layout Extratitle
This is the extratitle/half-title page.
\end_layout

\begin_layout Uppertitleback
This section is the uppertitleback: it has the copyright statements.
\begin_inset Newline newline
\end_inset


\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
vspace{5cm}
\end_layout

\end_inset


\end_layout

\begin_layout Lowertitleback
And this is the lowertitleback which has the author and publisher information:
\end_layout

\begin_layout Standard
About the author.
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
vspace{5cm}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Published by I.M.
 Press
\end_layout

\begin_layout Title
Now comes the title page
\end_layout

\begin_layout Author
A.
 U.
 Thor
\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
mainmatter
\end_layout

\end_inset


\end_layout

\end_body
\end_document


mwe.pdf
Description: Adobe PDF document


mwe.tex
Description: TeX document
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded 
format=pdflatex 2023.7.16)  17 JUL 2023 09:18
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**mwe.tex
(./mwe.tex
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-06-30>

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2023/07/07 v3.41 KOMA-Script document class (book)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2023/07/07 v3.41 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)

Wide table to narrow table

2023-07-14 Thread Rich Shepard

My book has many tables that are very wide and have only a few (3-4) rows.
They fit on a page in landscape mode but don't look attractive as a narrow
vertical strip in the center of the page.

I want to reformat these tables so they have fewer columns and more rows;
that is the number of columns are divided in half with the right-most
columns underneath the left-most.

Double lines in tables should be avoided so I'm asking for ideas that would
produce attractive table layouts across the width of the text area in
portrait mode rather than a thin strip in landscape mode.

TIA,

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


Re: KOMA-Script scrbook: chapter titles right-aligned, between lines, chapter number on top in words [RESOLVED]

2023-07-14 Thread Rich Shepard

On Fri, 14 Jul 2023, Herbert Voss wrote:


Write into the documents preamble:

\usepackage{fmtcount}
\setkomafont{chapter}{\huge}

\renewcommand\chapterlinesformat[3]{%
    \ifx\relax#2\relax\else\makebox[\linewidth]{%
\numberstringnum{\thechapter}}\\\smallskip\fi\rule{\linewidth}{1pt}\par
    \ifx\relax#2\relax\smallskip\else\bigskip\fi
    \parbox{\linewidth}{\raggedchapter\raggedleft#3}%
    \par\medskip\rule{\linewidth}{1pt}%
}%


Herbert,

Wow! How simple. I need to go back and read my basic LaTeX book again.

I thought that \raggedchapter\raggedleft would left-align the heading while
it obviouly doesn't in the above.

Again I'm humbled by the reality of having so much to learn.

Best regards,

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


KOMA-Script scrbook: chapter titles right-aligned, between lines, chapter number on top in words

2023-07-13 Thread Rich Shepard

I'm trying to change the KOMA-Script book chapter headings so the heading is
right-aligned, between two horizontal rules, and the chapter title is above
the top rule as in the memoir class demo chapter head (attached.)

I had found code on the KOMA-Script wiki to place chapter headings between
two lines and right-align it, but lost the code for the latter. A minimal
working example file is attached. The chapter headings are between two
rules, but still left-aligned. The last two lines of the preamble show what I
tried from StackExchange threads; neither works for me and I've not found
code that puts the header number in lower-case words centered above the top
rule.

Pointers to solutions needed.

TIA,

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 scrbook
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\usepackage{lipsum}
%% Add clines above and below chaper headings
\usepackage{xpatch}
\xapptocmd{\chapterheadstartvskip}{%
  {%
 \setlength{\parskip}{0pt}%
 \setlength{\parfillskip}{0pt plus 1fil}%
  \noindent\rule[.3\baselineskip]{\linewidth}{1pt}\par
   }\nobreak
}{%
  \typeout{Horizontal line before chapter heading added.}%
}{%
  \errmessage{Failed to patch \string\chapterheadstartvskip}%
}%
\xpretocmd{\chapterheadendvskip}{%
  {%
 \setlength{\parskip}{0pt}%
 \setlength{\parfillskip}{0pt plus 1fil}%
  \noindent\rule[-.3\baselineskip]{\linewidth}{1pt}\par
   }\nobreak
}{%
  \typeout{Horizontal line after chapter heading added.}%
}{%
  \errmessage{Failed to patch \string\chapterheadendvskip}%
}%
%% Align chapter heading on right
%\let\raggedchapter\raggedrightrenewcommand*{\raggedsec
%%\renewcommand*{\raggedchapter}{\raggedright}
\end_preamble
\use_default_options false
\begin_modules
natbibapa
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding default
\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 default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize custom
\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 natbib
\cite_engine_type authoryear
\biblio_style authordate4
\biblio_options maxcitenames=1,maxbibnames=99,uniquename=false,uniquelist=false
\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.9in
\rightmargin 0.75in
\bottommargin 0.9in
\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
Change Chapter Headings to Right Aligned and Between Lines
\end_layout

\begin_layout Author
I.M.
 Writing
\end_layout

\begin_layout Chapter
First Chapter
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum{2-4}
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Another Chapter
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum{99-102}
\end_layout

\end_inset


\end_layout

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


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


That is only a LyX problem; the output (pdf) should be ok!


Herbert,

Yes, the PDF output has et al. citations and all authors in the
bibliography.

Because the LyX display does not reflect that is distracting; I spent the
past couple of days trying to fix it when I need to focus on writing the
index and implementing a different chapter heading look (which will wait
until the index is done.)

Best regards,

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


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


Remove the module apa(natbib) from documents->preferences->modules


Since bibtex, natlib, and juralib have been deprecated would it be
reasonable to drop them from LyX? I've no idea how many LyX users run older
versions of TeXLive and supported these options.

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


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


LyX itself uses the et.al. only for more than _three_ authors, which looks
like a bug to me. It should recognize for biblatex the setting of the
above option field.


HHerbert,

I agree. (And all options in the Citation Style section does the trick.)

Seeing, in the LyX document itself, both et al. and all three author names
troubled me. Yesterday I read part of TLC3/II chapter 15 on bibliographic
styles and could not identify which of the many options I needed; hadn't
made it to chapte 16 on citation styles.

Best regards,

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


Re: Bibliographic citations citation style formatting

2023-07-13 Thread Rich Shepard

On Thu, 13 Jul 2023, Herbert Voss wrote:


Remove the module apa(natbib) from documents->preferences->modules


Herbert,

I'm suitably embarassed by not checking all settings and seeing this. Mea
culpa!


and then insert into documents->preferences->bibliography the options
maxcitenames=1,maxbibnames=99,uniquename=false,uniquelist=false

However, inside LyX it doesn't look right for the citation, but the pdf is 
ok.


There are three sections in the Bibliography settings dialog box: Citation
Style (with an options box), Bibliography Style (without an options box),
and Bibliography Generation (with an options box). Are all the above options
entered in the Citation Style section?

Many thanks,

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


Re: Bibliographic citations citation style formatting

2023-07-12 Thread Rich Shepard

On Wed, 12 Jul 2023, Rich Shepard wrote:


Here's a different one from a report written a couple of months ago. See
second attachment (citation-style.png). Notice that the citation is a pair
of question marks (and all variants of that are the only display options)
while the citation (Langless2000) is what should be displayed.


Fixed this one. While the Settings dialog box showed the authoryear, it was
not in the list of authors. Scrolling down that list I clicked on that name
and the proper entry was loaded. The LyX and PDF files are correct.

However, ... there are still bibliography errors that can be seen in the
mwe.lyx file (attached, along with a mwe.bib containing two entries).

Creating the new file (KOMA-Sctipt book class), the bibliography setting is
stuck at bibtex, not biblatex. I need to fix this for the MWE and future new
docs. It also presents only bibtex citation styles, not the biblatex ones.

I need help setting biblatex as the default for all book and report docs and
having all multi-author docs (3 or more authors) display citations and
bibliography entrries as the first author + et al.

Now to read TLC3/II on biblatex.

TIA,

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 scrbook
\begin_preamble
\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\makeatletter
\@addtoreset{figure}{subsection}% Reset figure numbering at every part
\makeatother
\end_preamble
\use_default_options true
\begin_modules
natbibapa
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding default
\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
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize custom
\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 natbib
\cite_engine_type authoryear
\biblio_style authordate4
\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.9in
\rightmargin 0.75in
\bottommargin 0.9in
\secnumdepth 2
\tocdepth 2
\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 Enumerate
assessment of streams and rivers for determining whether designated beneficial
 uses have been attained, for measurements of biodiversity, or for quantifying
 ecosystem function (
\begin_inset CommandInset citation
LatexCommand cite
key "Doledec2000"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Resh2005"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Chessman2007"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Cuffney2007"
literal "false"

\end_inset

.) In addition to mixed taxonomic levels being given the same weight in a
 diversity or integrity index, these metrics do not accommodate the range
 of benthic macroinvertebrate life history strategies.
 These life history differences mean that taxa collected at any site depends
 on the collection date (
\begin_inset CommandInset citation
LatexCommand cite
key "Lenat1988"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Clarke2002"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Bruce2002"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Boyero2005"
literal "false"

\end_inset

, 
\begin_inset CommandInset citation
LatexCommand cite
key "Bogan2007"
literal "false"

\end_inset

.) For example, at one extreme are the terrestrial

Bibliographic citations citation style formatting

2023-07-12 Thread Rich Shepard

Running lyx-2.3.6.1 on Slackware64-14.2 linux.

When I push a multi-author bibliographic citation from JabRef-5.1 sometimes
it displays with all the author's names, sometimes with first author's name
and 'et al.' See attached image.

In both cases, looking at the Settings -> Citation Style -> formatting I'm
presented with variants of the displayed citation, and not both types.

I don't recall having this problem before. Looking at a couple of documents
with bibliographic citations, all multi-author citations are of the '... et
al.' type.

Here's a different one from a report written a couple of months ago. See
second attachment (citation-style.png). Notice that the citation is a pair
of question marks (and all variants of that are the only display options)
while the citation (Langless2000) is what should be displayed.

How can I clean up both of these documents so they properly display
citations?

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


Re: Citations discrepancy

2023-07-12 Thread Rich Shepard

On Wed, 12 Jul 2023, Herbert Voss wrote:


run in a terminal
texdoc biblatex
pages 49ff

And yes, the LC3 has also a large chapter about biblatex (II-472f, II-547f).


Herbert,

That's really good to know. I've not yet looked at LC3 part II; now I will.

Best regards,

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


Re: Citations discrepancy

2023-07-12 Thread Rich Shepard

On Wed, 12 Jul 2023, Herbert Voss wrote:


Use instead
maxbibnames=99, maxcitenames=1


Herbert,

Okay. What do I read to learn more about bibliography options? Does one of
the LyX manuals have this information? Or, perhaps, The LaTeX Companion, 3rd
Edition?

Much appreciated,

Rich

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


Re: Citations discrepancy

2023-07-12 Thread Rich Shepard

On Wed, 12 Jul 2023, Herbert Voss wrote:


insert into document->preferences->bib->option
maxnames=1

then you'll always get et.al. for citations and the bibliography if there
are more than one author.


Herbert,

Thank you. Is there an option that limits citations to one name but has all
authors named in the bibliography?

Best regards,

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


Citations discrepancy

2023-07-11 Thread Rich Shepard

I have multi-author publications cited in my book. Some have all authors'
names in the in-text citation while others have the first author's last name
followed by 'et al.' Before, the latter is the only one I've seen. When I
look at the settings for the all-name citations I don't see an option to
change that to 'et al.' How can I fix this?

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


Re: biblatex question

2023-06-29 Thread Rich Shepard

On Wed, 28 Jun 2023, Rich Shepard wrote:


I'm getting a build error at the bibliography grey box at the end of the
document: "Package inputenc error: keyboard character used is undefined."


Part of the KOMA-Script bug.

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


Re: How do I increase TL2023 TeX capacity?

2023-06-29 Thread Rich Shepard

On Wed, 28 Jun 2023, Steve Litt wrote:


You can, and I suggest you try it just in case it works, but my experience
tells me that out of stack errors are caused by bad LaTeX authoring, not a
correct LaTeX file that just happens to need a little more stack.


Steve,

In my case it's a bug in the KOMA-Script book class. Herbert filed a bug
report and sent me a temporary replacement class. Sunday, when
/etc/cron.weekly runs, there might be an official fix. If not, then next
week.

Thanks,

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


biblatex question

2023-06-28 Thread Rich Shepard

I'm getting a build error at the bibliography grey box at the end of the
document: "Package inputenc error: keyboard character used is undefined."

In the biblatex cheat sheet the first command in the preamble should be
\usepackage[utf8]{inputenc}
but in my document it's
\usepackage[latin9]{inputenc}

I don't see where in Settings I can change that. It must be an option in one
of the settings and I don't know which one.

Pointer needed.

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


Re: How do I increase TL2023 TeX capacity?

2023-06-28 Thread Rich Shepard

On Wed, 28 Jun 2023, Dr Eberhard W Lisse wrote:


Reduce the document by half and look at the half which triggers the
error.


Would make no difference.

TL2023 needed an update. Updating TL2023 is now included in
/etc/cron.weekly.

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


Re: How do I increase TL2023 TeX capacity?

2023-06-28 Thread Rich Shepard

On Wed, 28 Jun 2023, Herbert Voss wrote:


You can try to increase the stack.for example
stack_size = 2  % simultaneous input sources
Put this into a file /usr/local/texlive/2023/texmf.cnf
Create it, if not present. The main system configuration file is in 
.../texmf-dist/web2c/

but should not be touched. Then run fmtutil-sys --all


Herbert,

Did all this.

Tried compiling the book and get the same error, but with the stack_size at
2. The build stops at the same point: `Data' on line 402.

Should I increase the stack_size more (there's 32G RAM on this host)?

What might be causing this error? There are many figures and tables in the
book if that is an issue.

Thanks,

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


Re: How do I increase TL2023 TeX capacity?

2023-06-28 Thread Rich Shepard

On Wed, 28 Jun 2023, Herbert Voss wrote:


[11] [12]
chapter without number
[1]
! TeX capacity exceeded, sorry [input stack size=1].
\protect ->\noexpand \protect
  \noexpand
l.204 Data}



that looks like a recursion. In line 204 you are reading a file with
Data in its name. Right? Show that part of the source code.


Herbert,

I saw that in the log file and had no idea what it meant. The Preface is a
chapter without number, and I'm adding an Acknowledgement page before that
which will also be a chapter without number.

Here's the context for line 204 in the .tex file:

To appreciate why the statistical framework used for environmental
data is critical for decision-makers it is necessary to understand
the details of each one.

\section{\label{sec:Analyzing-Environmental-Data}Analyzing Environmental
Data}

There are three statistical model frameworks applied to data sets.
They are not equivalent and each is most appropriate to answer questions
about different types of data. 



I want to learn more about incorporating LaTeX in my LyX documents. For this
book I want to modify the chapter headings and found code that does most of
that (chapter name left-aligned between two horizontal rules) and I want the
chapter number in words (all lower case) centered above that. This will wait
until I learn how to fix the capacity issue and prepare the index.

Regards,

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


Re: How do I increase TL2023 TeX capacity?

2023-06-27 Thread Rich Shepard

On Tue, 27 Jun 2023, Rich Shepard wrote:


This is another new one for me: TeX capacity exceeded when I tried compiling
my book. The full error log is attached.


I forgot to add that I looked at several StackExchange threads but they did
not seem relevant to my situation.

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


How do I increase TL2023 TeX capacity?

2023-06-27 Thread Rich Shepard

This is another new one for me: TeX capacity exceeded when I tried compiling
my book. The full error log is attached.

TIA,

RichThis is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded 
format=pdflatex 2023.6.27)  27 JUN 2023 15:53
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**quantifying-ambient-conditions.tex
(./quantifying-ambient-conditions.tex
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-06-16>

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbook.cls
Document Class: scrbook 2023/04/24 v3.40 KOMA-Script document class (book)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2023/04/24 v3.40 KOMA-Script package (file load hooks)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2023/04/24 v3.40 KOMA-Script package (using LaTeX hooks)

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2023/04/24 v3.40 KOMA-Script package (logo)
))) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks17
)
Applying: [2021/05/01] Usage of raw or classic option list on input line 252.
Already applied: [/00/00] Usage of raw or classic option list on input line
 368.
)) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2023/04/24 v3.40 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip48
\scr@dte@tocline@numbox=\box51
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 135.
Class scrbook Info: File `scrsize11pt.clo' used instead of
(scrbook)   file `scrsize11.clo' to setup font sizes on input line 2671
.
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2023/04/24 v3.40 KOMA-Script font size class option (11pt
)
) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2023/04/24 v3.40 KOMA-Script package (type area)
\ta@bcor=\skip49
\ta@div=\count185
Package typearea Info: You've used standard option `executivepaper'.
(typearea) This is correct!
(typearea) Internally I'm using `paper=executive'.
(typearea) If you'd like to set the option with \KOMAoptions,
(typearea) you'd have to use `paper=executive' there
(typearea) instead of `executivepaper', too.
\ta@hblk=\skip50
\ta@vblk=\skip51
\ta@temp=\skip52
\footheight=\skip53
Package typearea Info: With paper sizes other than (almost) `A4' predefined
(typearea) DIV values do not exist. Using DIV calculation for good
(typearea) line width (unless using `version=3.24` or prior).
DIV calculation for typearea with good linewidth.
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 523.95749pt
(typearea)  \textwidth  = 366.77028pt
(typearea)  DIV departure   = 0%
(typearea)  \evensidemargin = 32.52148pt
(typearea)  \oddsidemargin  = -19.87425pt
(typearea) \paperheight = 758.83499pt
(typearea)  \textheight = 541.40024pt
(typearea)  \topmargin  = -33.7865pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.6pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 1798.
)
\c@part=\count186
\c@chapter=\count187
\c@section=\count188
\c@subsection=\count189
\c@subsubsection=\count190
\c@paragraph=\count191
\c@subparagraph=\count192
\scr@dte@chapter@maxnumwidth=\skip54
Class scrbook Info: using compatibility default `afterindent=bysign'
(scrbook)   for `\chapter on input line 5957.
\scr@dte@section@maxnumwidth=\skip55
Class scrbook Info: using compatibility default `runin=bysign'
(scrbook)   for `\section on input line 5968.
Class scrbook Info: using compatibility default `afterindent=bysign'
(scrbook)   for `\section on input line 5968.
\scr@dte@part@maxnumwidth=\skip56
Class scrbook Info: using compatibility default `afterindent=true'
(scrbook)   for `\part on input line 5977.
\scr@dte@subsection@maxnumwidth=\skip57
Class scrbook Info: using compatibility default `runin=bysign'

Re: expl3.sty error

2023-06-27 Thread Rich Shepard

On Tue, 27 Jun 2023, Rich Shepard wrote:


Attached. Apparently expl3.sty was not updated when I last ran `tlmgr update
--all'. Perhaps I should make this a weekly cron job.


Yep. After updating all the error goes away. I'll add the command to root's
crontab for a weekly update.

Thanks for the pointer, Herbert.

Regards,

Rich

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


Re: expl3.sty error

2023-06-27 Thread Rich Shepard

On Tue, 27 Jun 2023, Herbert Voss wrote:


there must be files in another directory. What is the output of


Herbert,

'locate' ('whereis') finds all occurrences.


kpsewhich -a expl3.sty


$ kpsewhich -a expl3.sty
/usr/local/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty


If there is only one file, then show the log file of your latex run.


Attached. Apparently expl3.sty was not updated when I last ran `tlmgr update
--all'. Perhaps I should make this a weekly cron job.

Thanks,

Rich

This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded 
format=pdflatex 2023.5.23)  27 JUN 2023 10:14
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**SMP-lee.tex
(./SMP-lee.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-05-15>
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2023/04/24 v3.40 KOMA-Script document class (report)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2023/04/24 v3.40 KOMA-Script package (file load hooks)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2023/04/24 v3.40 KOMA-Script package (using LaTeX hooks)

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2023/04/24 v3.40 KOMA-Script package (logo)
))) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
)
Applying: [2021/05/01] Usage of raw or classic option list on input line 252.
Already applied: [/00/00] Usage of raw or classic option list on input line
 368.
)) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2023/04/24 v3.40 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip48
\scr@dte@tocline@numbox=\box51
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 135.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt)   file `scrsize11.clo' to setup font sizes on input line 266
8.
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2023/04/24 v3.40 KOMA-Script font size class option (11pt
)
) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2023/04/24 v3.40 KOMA-Script package (type area)
\ta@bcor=\skip49
\ta@div=\count185
\ta@hblk=\skip50
\ta@vblk=\skip51
\ta@temp=\skip52
\footheight=\skip53
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV departure   = -6%
(typearea)  \evensidemargin = 47.2316pt
(typearea)  \oddsidemargin  = -12.5192pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 514.20023pt
(typearea)  \topmargin  = 12.2347pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.6pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 1798.
)
\c@part=\count186
\c@chapter=\count187
\c@section=\count188
\c@subsection=\count189
\c@subsubsection=\count190
\c@paragraph=\count191
\c@subparagraph=\count192
\scr@dte@chapter@maxnumwidth=\skip54
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\chapter on input line 5961.
\scr@dte@section@maxnumwidth=\skip55
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\section on input line 5972.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\section on input line 5972.
\scr@dte@part@maxnumwidth=\skip56
Class scrreprt Info: using compatibility default `afterindent=true'
(scrreprt)   for `\part on input line 5981.
\scr@dte@subsection@maxnumwidth=\skip57
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsection on input line 5991.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\subsection on input line 5991.
\scr@dte@subsubsection@maxnumwidth=\skip58
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)

expl3.sty error

2023-06-27 Thread Rich Shepard

Good morning, all:

Compiling a document with pdflatex throws this error:
LaTeX Error: Mispatched LaTeX support files detected.
\ExplLoaderFileDate{expl3.sty}

Looking for expl3.sty I find:
/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty
/usr/local/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty
/usr/local/texlive/2023/texmf-dist/tex/platex/base/plexpl3.sty

Checking the dates on each shows:
Dec 31  2020 
/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty
Jun 17 12:59 /usr/local/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty
Sep 30  2020 /usr/local/texlive/2023/texmf-dist/tex/platex/base/plexpl3.sty

Three different file names and three different installation dates. I don't
see the error so how do I fix it?

TIA,

Rich

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


Re: Display font shrunk

2023-06-24 Thread Rich Shepard

On Sat, 24 Jun 2023, Daniel wrote:


Strange that the keyboard shortcuts don't work for you. Could you check
whether they are assigned (Preferences > Editing > Shortcuts). For
example, filter for "buffer-zoom-in".


Daniel,

No `buffer-zoom-*' available. Only move to start, end, and select.

Regards,

Rich

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


Re: Indexing a book

2023-06-24 Thread Rich Shepard

On Sat, 24 Jun 2023, Jürgen Spitzmüller wrote:


With biblatex:
indexing=cite
in the bibliography options.


Jürgen,

Thank you. I'll read to learn more about biblatex.

Regards,

Rich


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


Re: Display font shrunk

2023-06-23 Thread Rich Shepard

On Sat, 24 Jun 2023, Daniel wrote:


Strange that the keyboard shortcuts don't work for you. Could you check
whether they are assigned (Preferences > Editing > Shortcuts). For
example, filter for "buffer-zoom-in".

(Ctrl+wheel/trackball should work in addition to this.)


Daniel,

Since I made this inadvertent mistake only once since LyX-1.0, and the
trackball will fix any future accidents I don't care about the keyboard
shortcuts. Chasing this down isn't worth the time for me.

Carpe weekend,

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


Indexing a book

2023-06-23 Thread Rich Shepard

Hi group,

I've read the Indexing chapter in the Users Guide, a couple of StackExchange
threads plus general guides to indexing. One LyX-specific issue I've not
seen addressed is how to add bibliography authors to the index.

The book has citations entered by JabRef. Some authors have entries as
single authors, others as both single and part of multiple authors. Since
my book is technical I would like to add all cited authors to the index.
Pointers on how to do this (perhaps manually at each document citation?)
will be very helpful.

Rich

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


Re: Selecting an author-year biblatex option [RESOLVED]

2023-06-23 Thread Rich Shepard

On Fri, 23 Jun 2023, Rich Shepard wrote:


My document bibliography is stuck at bibtex. After installing TL2023 I
changed it to biblatex but now it's reverted back to bibtex. And the
biblatex authordate options for TL3 are not those seen by bibtex.


Furgeddaboutit. When LyX shut down when I pressed the wrong keys I reloaded
the old version, not the new one.

Mea culpa!

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


Selecting an author-year biblatex option

2023-06-23 Thread Rich Shepard

My document bibliography is stuck at bibtex. After installing TL2023 I
changed it to biblatex but now it's reverted back to bibtex. And the
biblatex authordate options for TL3 are not those seen by bibtex.

How can I clean this up so that Settings -> Bibliography allow me to select
biblatex and the citation and bibliography styles use those of TL3 and
biblatex?

TIA,

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


Re: pdflatex build error: Mismatched LaTeX support files detected

2023-06-21 Thread Rich Shepard

On Wed, 21 Jun 2023, Steve Litt wrote:


Several years ago I de-installed the distro-provided TeXLive and used only
TUG provided TeXLive (with tlmgr), and I've been very happy ever since. My
experience is that I got very weird intermittent appearing errors when
both were installed.


I had no expectation there would be distro installed files that weren't
removed when I removed the TL packages. Removing those remnant files
eliminated the error I got when running a document through pdflatex.

All's well now.

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


Re: Display font shrunk

2023-06-21 Thread Rich Shepard

On Wed, 21 Jun 2023, Daniel wrote:


LyX 2.3.x, it's Alt-Plus for zoom in, Alt-Minus for zoom out, and Alt-0
for default zoom on (stable). Ctrl-Minus inserts a soft hyphen (as common
other word processors).


Daniel,

Not here. It's the trackball scroll ring when the Ctrl key is depressed.
Ctrl-scrool ring counter- and clockwise shrinks and expands the displayed
font.

Thanks,

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


Re: pdflatex build error: Mismatched LaTeX support files detected

2023-06-20 Thread Rich Shepard

On Tue, 20 Jun 2023, Herbert Voss wrote:


that looks like a mismatch between TeXLive from TUG
(/usr/local/texlive/) and from your linux distribution
(/usr/share/tex...)


Herbert,

I removed the SBo TL packages so there shouldn't be conflicts. Regardless,
if there was something left behind it should be cleared out.


what is the output of
which -a fmtutil-sys


/usr/share/texmf/bin/fmtutil-sys

Yep. There are too many of them:
$ locate fmtutil-sys
/usr/share/texmf/bin/fmtutil-sys
/usr/share/texmf/man/man1/fmtutil-sys.1.gz
/usr/local/texlive/2023/bin/x86_64-linux/fmtutil-sys
/usr/local/texlive/2023/texmf-dist/scripts/texlive/fmtutil-sys.sh
/usr/local/texlive/2023/texmf-dist/doc/man/man1/fmtutil-sys.1
/usr/local/texlive/2023/texmf-dist/doc/man/man1/fmtutil-sys.man1.pdf

I'll remove the ones in /usr/share/texmf/; that's where the SBo TLs lived.
Actually, I can remove all of /usr/share/texmf/ because files there all date
from 2004-2016.

Thanks for making me aware of this.


Running fmtutil-sys is in general done by the update manager of TeXLive
and only in specific cases by the user.


Oh. So much to learn, so little time.

Many thanks ... again.

Best regards,

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


Re: pdflatex build error: Mismatched LaTeX support files detected

2023-06-19 Thread Rich Shepard

On Mon, 19 Jun 2023, Herbert Voss wrote:

Herbert,

I'm the only user of this host.


fmtutil-sys --all

$ fmtutil-sys --all
fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
fmtutil:   /usr/local/texlive/2023/texmf-dist/web2c/fmtutil.cnf
fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
fmtutil:   /usr/local/texlive/2023/texmf-config/web2c/fmtutil.cnf
fmtutil [ERROR]: format directory not writable: 
/usr/local/texlive/2023/texmf-var/web2c

Huh. Looks okay to me:
$ ll /usr/local/texlive/2023/texmf-var/
total 28
drwxr-xr-x  6 root root 4096 May 23 15:52 fonts/
-rw-r--r--  1 root root 3689 Jun 14 06:03 ls-R
drwxr-xr-x  3 root root 4096 May 23 15:50 luametatex-cache/
drwxr-xr-x  3 root root 4096 May 23 15:50 luatex-cache/
drwxr-xr-x  4 root root 4096 May 23 14:35 tex/
drwxr-xr-x 14 root root 4096 May 23 15:50 web2c/
drwxr-xr-x  2 root root 4096 May 23 14:35 xdvi/


and
sudo fmtutil-sys --all

 ...
###
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /usr/share/texmf-var/web2c
for details.
###

This is a summary of all `failed' messages and warnings:
`pdfetex -ini  -jobname=amstex -progname=amstex -translate-file=cp227.tcx 
*amstex.ini' failed
`pdfetex -ini  -jobname=bamstex -progname=bamstex -translate-file=cp227.tcx 
bamstex.ini' failed

What do I read to learn how to properly build amstex and bamstex?


In this case you get local format or system format files.


Different errors when run by user and root.

Thanks,

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


Re: pdflatex build error: Mismatched LaTeX support files detected

2023-06-19 Thread Rich Shepard

On Mon, 19 Jun 2023, Paul A. Rubin wrote:


I think the stuff about UTF-8 right above the error message has nothing to
do with the error. The error just got discovered after that log line.


Paul,

Makes sense to me.


Taking the error message at face value, it looks like you somehow ended up
with a very recent (June 2023) version of TeXLive with a not quite so
recent (May '23) version of one of the files (expl3.sty). So maybe an
installation or update of TeXLive got bollixed up? At any rate, it's
unrelated to LyX. Somebody reported this

with an earlier version of TeXLive and posted what looks like a fix.


Yes, I did a tl update earlier this month. Just did another one (34 updates
packages.) Perhaps I need to make this a weekly cron task for root.

Thanks for the URL. Reading that thread I just ran `fmtutil-sys --all' and
now have a different issue:
##
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /usr/share/texmf-var/web2c
for details.
###

This is a summary of all `failed' messages and warnings:
`pdfetex -ini  -jobname=amstex -progname=amstex -translate-file=cp227.tcx 
*amstex.ini' failed
`pdfetex -ini  -jobname=bamstex -progname=bamstex -translate-file=cp227.tcx 
bamstex.ini' failed

There are 14 .log files in web2c. Guess that's where my afternoon will be
spent.

Thanks,

Rich


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


Re: pdflatex build error: Mismatched LaTeX support files detected

2023-06-19 Thread Rich Shepard

On Mon, 19 Jun 2023, Rich Shepard wrote:


The problem seems to be a biblatex/utf8 issue. The whole error log is
attached and the error starts at line 500.


Er, not so. This just popped up again in a different doc without a
bibliography. But, a second ctrl-h to copy the whole error log produced the
.pdf.

With the first doc, a new ctrl-h also resulted in the .pdf being produced.

I'd still like to understand the error, but since I can send these docs to
my client there's no rush.

Regards,

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


pdflatex build error: Mismatched LaTeX support files detected

2023-06-19 Thread Rich Shepard

The problem seems to be a biblatex/utf8 issue. The whole error log is
attached and the error starts at line 500.

Please teach me how to fix this and avoid future occurrences.

TIA,

RichThis is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded 
format=pdflatex 2023.5.23)  19 JUN 2023 10:45
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**BE-lee.tex
(./BE-lee.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-05-15>
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2023/04/24 v3.40 KOMA-Script document class (report)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2023/04/24 v3.40 KOMA-Script package (KOMA-Script-independent 
basics and keyval usage)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2023/04/24 v3.40 KOMA-Script package (file load hooks)
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty
Package: scrlfile-hook 2023/04/24 v3.40 KOMA-Script package (using LaTeX hooks)

(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrlogo.sty
Package: scrlogo 2023/04/24 v3.40 KOMA-Script package (logo)
))) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
)
Applying: [2021/05/01] Usage of raw or classic option list on input line 252.
Already applied: [/00/00] Usage of raw or classic option list on input line
 368.
)) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2023/04/24 v3.40 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip48
\scr@dte@tocline@numbox=\box51
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 135.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt)   file `scrsize11.clo' to setup font sizes on input line 266
8.
(/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2023/04/24 v3.40 KOMA-Script font size class option (11pt
)
) (/usr/local/texlive/2023/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2023/04/24 v3.40 KOMA-Script package (type area)
\ta@bcor=\skip49
\ta@div=\count185
\ta@hblk=\skip50
\ta@vblk=\skip51
\ta@temp=\skip52
\footheight=\skip53
Package typearea Info: These are the values describing the layout:
(typearea) DIV  = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth  = 597.50793pt
(typearea)  \textwidth  = 418.2pt
(typearea)  DIV departure   = -6%
(typearea)  \evensidemargin = 47.2316pt
(typearea)  \oddsidemargin  = -12.5192pt
(typearea) \paperheight = 845.04694pt
(typearea)  \textheight = 514.20023pt
(typearea)  \topmargin  = 12.2347pt
(typearea)  \headheight = 17.0pt
(typearea)  \headsep= 20.40001pt
(typearea)  \topskip= 11.0pt
(typearea)  \footskip   = 47.6pt
(typearea)  \baselineskip   = 13.6pt
(typearea)  on input line 1798.
)
\c@part=\count186
\c@chapter=\count187
\c@section=\count188
\c@subsection=\count189
\c@subsubsection=\count190
\c@paragraph=\count191
\c@subparagraph=\count192
\scr@dte@chapter@maxnumwidth=\skip54
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\chapter on input line 5961.
\scr@dte@section@maxnumwidth=\skip55
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\section on input line 5972.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\section on input line 5972.
\scr@dte@part@maxnumwidth=\skip56
Class scrreprt Info: using compatibility default `afterindent=true'
(scrreprt)   for `\part on input line 5981.
\scr@dte@subsection@maxnumwidth=\skip57
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsection on input line 5991.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\subsection on input line 5991.
\scr@dte@subsubsection@maxnumwidth=\skip58
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\subsubsection on input line 6001.
Class scrreprt Info: using compatibility default `afterindent=bysign'
(scrreprt)   for `\subsubsection on input line 6001.
\scr@dte@paragraph@maxnumwidth=\skip59
Class scrreprt Info: using compatibility default `runin=bysign'
(scrreprt)   for `\paragraph 

Re: Display font shrunk [FIXED]

2023-06-19 Thread Rich Shepard

On Mon, 19 Jun 2023, Rich Shepard wrote:

Fixed! I found the solution on a StackOverflow thread from 4yrs/10mos ago:
Ctrl+trackball scroll wheel. Boy howdy! That's something I've not before
encountered in 30+ years using a trackball as the pointy device.

I must have inadvertently been pressing the Ctrl key while scrolling up.

Whew!

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


Re: Display font shrunk

2023-06-19 Thread Rich Shepard

On Mon, 19 Jun 2023, Rich Shepard wrote:


In Documents -> Settings -> Display -> Preferences the font settings
haven't changed; the point size is still 12.


Also, reinstalling lyx-2.3.6.1 and yesterday's version of the document makes
no difference. All documents display on screen in the smallest font (5pt?).
I find nothing in any menu to change this.

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


Re: Display font shrunk

2023-06-19 Thread Rich Shepard

On Mon, 19 Jun 2023, Rich Shepard wrote:


I don't know what I did on the keyboard, but suddenly all my documents
display in about a 2pt font when I open them in LyX.


In Documents -> Settings -> Display -> Preferences the font settings haven't
changed; the point size is still 12.

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


Display font shrunk

2023-06-19 Thread Rich Shepard

I don't know what I did on the keyboard, but suddenly all my documents
display in about a 2pt font when I open them in LyX.

How might I have unintentionally done this, and how do I fix it so I can
actually see what I'm writing?

TIA,

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


Re: Settings -> Bibliography: no access to biblatex

2023-06-17 Thread Rich Shepard

On Sat, 17 Jun 2023, Jürgen Spitzmüller wrote:


Do you have a module loaded or something in Local Layout?


Jürgen,

No, I don't. The issue has been resolved by my creating a new document
(KOMA-Script book class) and inserting the text file converted from the
problem file's PDF. Biblatex and biber are the defaults in the new document.

Thank you very much,

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


Re: Need KOMA-Script scrbook help

2023-06-16 Thread Rich Shepard

On Fri, 16 Jun 2023, Rich Shepard wrote:


I am suitably embarrassed for not seeing this; I assumed it was in a
standard environment and didn't check. Mea culpa!


Herbert,

There are still chapter header and ToC issues (no chapter numbers in the
header or ToC). I'll wait until I finish reformatting the book before
addressing layout issues.

Carpe weekend,

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


Re: Need KOMA-Script scrbook help

2023-06-16 Thread Rich Shepard

On Fri, 16 Jun 2023, Herbert Voss wrote:


your first \addcontensline in ERT is superflous, The preface is in the TOC
by default as long as it is a numbered chapter.


Herbert,

I thought so, but didn't see it in the ToC


Your mainmatter is inside  the paragraph layout for quotation. Use
standard and everything will be fine.


I am suitably embarrassed for not seeing this; I assumed it was in a
standard environment and didn't check. Mea culpa!

Many thanks,

Rich

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


Need KOMA-Script scrbook help

2023-06-16 Thread Rich Shepard

Environment: lyx-2.3.6.1, TL2023.

I've been using KOMA-Script report, article, and letter2 classes for years
and all work flawlessly.

After examining available LaTeX frameworks for a book I'm converting from a
monograph I've settled on the KOMA-Script book class; and I've read the
scrguideen.pdf Part I. But, it's not working as expected. If there's a more
appropriate source for KOMA-Script help please point me to it.

The minimal (non)working example .lyx and .tex files are attached.

Problem 1: \mainmatter is enclosed in \begin{quote} and \end{quote}. I don't
see why. \frontmatter isn't and \backmatter in the book itself aren't so
constrained.

Problem 2: When I try to compile the mwe.lyx using pdflatex it fails with an
error involving 'data' which is not present. The book from which the mwe was
extracted has no problems producing a PDF using pdflatex.

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 scrbook
\begin_preamble
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\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 "uop" "default"
\font_typewriter "lmtt" "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 pdf2
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize executivepaper
\use_geometry false
\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
\cite_engine_type authoryear
\biblio_style plainnat
\biblatex_bibstyle authoryear
\biblatex_citestyle authoryear
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\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.9in
\rightmargin 0.75in
\bottommargin 0.9in
\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 headings
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
frontmatter
\end_layout

\end_inset


\end_layout

\begin_layout Title
Document Title
\end_layout

\begin_layout Subtitle
And the sub-title
\end_layout

\begin_layout Author
A.N.
 Author
\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 Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
addcontentsline{toc}{chapter}{Preface}
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Preface
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[19-21]
\end_layout

\end_inset


\end_layout

\begin_layout Quote
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
mainmatter
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[3-9]
\end_layout

\end_inset


\end_layout

\begin_layout Section
First intro section
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[1-2]
\end_layout

\end_inset


\end_layout

\begin_layout Section
Second intro section
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
lipsum[42-47]
\end_layout

\end_inset


\end_layout

\end_body
\end_document


mwe.tex
Description: TeX document
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Major issues with Memoir class

2023-06-15 Thread Rich Shepard

On Thu, 15 Jun 2023, Rich Shepard wrote:


- The documentclass{} settings dialog box does not have an option for the
 number of columns; nor do the other settings except for Modules (which
 allows adding the multicols package). Yet, the .tex file shows
 'twocolumns' as a class option. Okay for articles, but not for books. I
 added 'singlecolumn' in the document class options and that fixed this
 issue.


Oops! That's in Page Layout and I missed it every time I want through all
the options looking for it.

The other issues remain valid.

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


Major issues with Memoir class

2023-06-15 Thread Rich Shepard

After looking at what the Peter Wilson's Memoir class provides for books I
decided to learn how to use it for a book. Unfortunately, the LyX
implementation is flawed. I'm not on the dev mail list so I'm writing to the
general list asking for improvements in that document class. In the
meantime, I'll see if I can use the KOMA-Script or basic book class to
create the same title page and section headings as I wanted to use with the
Memoir class.

These are what I've learned about the Memoir class in LyX-2.3.6.1:

- The documentclass{} settings dialog box does not have an option for the
  number of columns; nor do the other settings except for Modules (which
  allows adding the multicols package). Yet, the .tex file shows
  'twocolumns' as a class option. Okay for articles, but not for books. I
  added 'singlecolumn' in the document class options and that fixed this
  issue.

- The environment options are appropriate for the memoir article class, not
  the book class. There's an Abstract, but no half-title or other book front
  matter page layouts.

- Adding the LaTeX (ERT) \mainmatter after the front matter puts that
  command between \begin{quote} and \end{quote} so there is no chapter
  number assigned to the unstarred chapters. It thinks chapter* is used.

This is as far as I've done. I cannot build LyX-2.4.x on this
Slackware64-14.2 desktop which is my server and main workstation.

Please find time to make the Memoir book class fully functional in currnet
LyX.

TIA,

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 memoir
\begin_preamble
%\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
%\usepackage{scrlayer-scrpage}
%\pagestyle{scrheadings}
%makeatletter
%\@addtoreset{figure}{subsection}% Reset figure numbering at every part
%makeatother
\chapterstyle{demo2}
\end_preamble
\options onecolumn
\use_default_options false
\begin_modules
natbibapa
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding default
\fontencoding global
\font_roman "palatino" "default"
\font_sans "uop" "default"
\font_typewriter "lmtt" "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 pdf2
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\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 natbib
\cite_engine_type authoryear
\biblio_style plainnat
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\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.9in
\rightmargin 0.75in
\bottommargin 0.9in
\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 2
\papersides 2
\paperpagestyle Ruled
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
frontmatter
\end_layout

\end_inset


\end_layout

\begin_layout Title
Quantifying Freshwater Ambient Conditions
\begin_inset Newline newline
\end_inset

Complying with the Clean Water Act
\end_layout

\begin_layout Author
Richard B.
 Shepard
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
clearpage
\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 Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter*
Preface
\end_layout

\begin_layout Standard
The original Water Pollution Control Act of 1899 based assessments on ambient
 water quality.
 In the 1948 revision the focus turned to point source pollutant discharges.
 In the 1972 revision (the Clean Water Act, or CWA) the objective to restore
 and maintain the physical, chemical, and biological constituents of the
 nation's waters was reinstated and requires ambient conditions as the assessmen
t basis.
 Unfortunately, the EPA, Tribes, and states continue to set maximum concentratio
n levels for specific inorganic ions and 

Re: Two-column pages with memoir class

2023-06-14 Thread Rich Shepard

On Wed, 14 Jun 2023, Rich Shepard wrote:


\documentclass[executivepaper,twocolumn,onecolumn]{memoir}


Herbert,

There it is! But I cannot see the 'twocolumn' in the LyX settings.
I gues the kludge stays there because unless I modify the .tex (or .lyx)
file the unwanted 'twocolumn' option will remain.

Regards,

Rich


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


Re: Two-column pages with memoir class

2023-06-14 Thread Rich Shepard

On Wed, 14 Jun 2023, Herbert Voss wrote:


Rich, that is not the default. There must be something set in your
preamble.


Herbert,

I know it't not the default and don't see why it occurs. Here's the
preamble:
%% 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[executivepaper,twocolumn,onecolumn]{memoir}
\usepackage[sc]{mathpazo}
\renewcommand{\sfdefault}{uop}
\renewcommand{\ttdefault}{lmtt}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{verbose,executivepaper,tmargin=0.9in,bmargin=0.9in,lmargin=0.75in,rmargin=0.75in}
\pagestyle{Ruled}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{textcomp}

\makeatletter
%% Textclass specific LaTeX commands.
\usepackage[natbibapa]{apacite}

\@ifundefined{date}{}{\date{}}
%% User specified LaTeX commands.
%%\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
%\usepackage{scrlayer-scrpage}
%\pagestyle{scrheadings}
\makeatletter
\@addtoreset{figure}{subsection}% Reset figure numbering at every part
\makeatother
\chapterstyle{demo2}

\makeatother

\begin{document}
\frontmatter
\title{Quantifying Freshwater Ambient Conditions\protect \\
Complying with the Clean Water Act}
\author{Richard B. Shepard}

\maketitle
\clearpage

\tableofcontents{}

In the LyX Documnent -> Settings -> Document Class dialog box I added a
custom option of 'onecolumn' and that kludge works.

Regards,

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


Two-column pages with memoir class

2023-06-14 Thread Rich Shepard

What might cause a document using the memoir book class to produce pdflatex
output with two columns per page? That might be appropriate for some
articles, but not for a book.

Help's needed.

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


Using memoir class

2023-06-14 Thread Rich Shepard

If you've used the memoir class for a book please share your knowledge with
me.

Since there are no front matter environments for half-title or copyright
pages (but there is one for abstract which is found on articles, not books)
I need to learn how to define the first two.

Reading Peter Wilson's sample title page documents I've decided on his
\titleM design. He provides the code. But TeXLaTeX2023 does not inclue that
style. Do I copy the code into the book's preamble?

These two are the only issues for which I've not yet found solutions and I
would like pointers on how to apply them to my book.

TIA,

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


Re: Installing a new font in TexLive2023

2023-06-14 Thread Rich Shepard

On Wed, 14 Jun 2023, Steve Litt wrote:


What I did was remove all distribution-provided texlive and grabbed it
from CTAN, including the tlmgr program, which makes it easy to install
new fonts.


SteveT,

That's what I did. But tlmgr finds only the U. Utah repo and won't add
another one. This problem is being addressed off the LyX mail list.

Thanks,

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


Re: Installing a new font in TexLive2023

2023-06-13 Thread Rich Shepard

On Tue, 13 Jun 2023, Herbert Voss wrote:


Do not download anything by hand, add texlive contrib
https://contrib.texlive.info/
And then run
tlmgr install classico


Herbert,

[root@salmo /usr/local/texlive/2023/ ./tlmgr repository add 
https://mirror.ctan.org/systems/texlive/tlcontrib tlcontrib
[root@salmo /usr/local/texlive/2023/bin/x86_64-linux]# ./tlmgr install classico
tlmgr: package repositories
main = 
https://ctan.math.utah.edu/ctan/tex-archive/systems/texlive/tlnet (verified)
tlcontrib = https://mirror.ctan.org/systems/texlive/tlcontrib (not 
verified: pubkey missing)
For more about verification, see https://texlive.info/verification.html.
tlmgr install: package classico not present in repository.
tlmgr: action install returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.

Missing a public key for the tlcontrib repo.

Thanks,

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


Re: Installing a new font in TexLive2023

2023-06-13 Thread Rich Shepard

On Tue, 13 Jun 2023, Dr Eberhard W Lisse wrote:


find it on CTAN install it with tlmgr


el,

I downloaded it from CTAN and unzipped it in
/usr/local/texlive/2023/texmf-dist/fonts/vf/urw/

Changing $PWD to /usr/local/texlive/2023/bin/x86_64-linux/ I run
 ./tlmgr ../../texmf-dist/fonts/vf/urw/urw-classico
with these results:
/tlmgr install ../../texmf-dist/fonts/vf/urw/urw-classico
tlmgr: package repository 
https://ctan.math.utah.edu/ctan/tex-archive/systems/texlive/tlnet (verified)
tlmgr install: package ../../texmf-dist/fonts/vf/urw/urw-classico not present 
in repository.
tlmgr: action install returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.

The package (both .zip and unzipped files) are local, not in Utah. I
specified the location on the command line but it was ignored.

How do I tell tlmgr that the font is local?

Regards,

Rich

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


Settings -> Bibliography: no access to biblatex

2023-06-13 Thread Rich Shepard

Installed are lyx-2.3.6.1-x86_64-1_SBo and TexLive2023.

Configuring a new book document using the memoir class the bibliography
dialog box has made all biblatex choices unavailable (see attached screen
shot.) Why? How do I fix this issue?

TIA,

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


Installing a new font in TexLive2023

2023-06-13 Thread Rich Shepard

I'm starting to learn the memoir class for my book and want to add the URW
Classico san-serif type family in TeXLive2023. The URW Palatino family is in
/usr/local/texlive/2023/texmf-dist/fonts/vf/urw35vf/palatino/.

Du I unzip urw-classico.zip in that .../vf/directory? And what is the TeX
command to make it visible to TeXLive2023 and LyX?

TIA,

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:


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


Bibliography issues

2023-06-07 Thread 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.

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: Import docx to lyx

2023-06-02 Thread Rich Shepard

On Fri, 2 Jun 2023, Benedict Holland wrote:


I've tried it. If it works for you, I think that's great. It generated
really bad formatting for me in my use cases, which is why I forgot about
it.


Ben,

It's rare for me to need to transfer a Word doc to LaTeX. I'll keep the
plug-in in mind should the need arise.

Thanks for sharing your experiences,

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


Re: Import docx to lyx

2023-06-02 Thread Rich Shepard

On Fri, 2 Jun 2023, Dr Eberhard W Lisse wrote:


Have you tried Libre Office and the Writer2Latex plug in?


el,

Thank you. I didn't know about that plug-in, which will be useful for me,
too.

Best regards,

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


Re: Change color of mouse/trackball "I" pointer

2023-06-01 Thread Rich Shepard

On Thu, 1 Jun 2023, Daniel wrote:


I am surprised that this is only an issue for you in LyX. LyX/Qt uses the
default operating system mouse pointers as far as I know. So, the only way
might be to change it for the whole operating system. Or you change the
background color of LyX work area (Tools > Settings > Look & Feel >
Colors).


Daniel,

I thought that the system was responsible, yet some applications apparently
do change both shape and color of the cursor.

Thanks,

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


Change color of mouse/trackball "I" pointer

2023-05-31 Thread Rich Shepard

The background of my LyX documents are a pale yellow and while the point
position's cursor is red and stands out well on the background, the
trackball/mouse pointer is a very thin black and easily lost amoung the
black text. Is there a way to change that pointer's color?

I didn't see that option in Tools -> Settings -> Display. In other
applications (e.g., alpine where it's a white "I" bar which stands out on
the black background, or the web browser where it's a black arrow on a
white background.) In my urxvt virtual terminals I set the color to yellow
which contrasts with the dark blue background.)

Having the LyX cursor stand out from both the pale yellow background _and_
the black text would be really helpful.

Regards,

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


Re: MWE compiles; full file doesn't

2023-05-23 Thread Rich Shepard

On Tue, 23 May 2023, Herbert Voss wrote:


I have no problems with your examples and TeXLive 2023. The reason why I
cannot give more help.


Herbert,

That's interesting. I should be able to upgrade TeXLive on this
Slackware64-14.2 system.

Thanks,

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


Re: MWE compiles; full file doesn't

2023-05-23 Thread Rich Shepard

On Tue, 23 May 2023, Rich Shepard wrote:


I wonder why the differences?


Looking at the document settings, they're the same for the full document and
the MWE, but when exported to pdflatex their *.tex file preambles differ.

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


Re: MWE compiles; full file doesn't

2023-05-23 Thread Rich Shepard

On Tue, 23 May 2023, Herbert Voss wrote:


It looks like a problem with your header or title definition. Does it
contain a tabular? However, export your LyX document to latex and then
show the preamble.


Herbert,

I created the MWE by deleting everything after the chapter and first
section. The preamble is different from that of the entire document from
which the MWE was extracted:

%% 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}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{graphicx}

\makeatletter
%% User specified LaTeX commands.
\date{}
\usepackage{ftnxtra}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr}
\counterwithout{figure}{section}
\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}

\makeatother

\usepackage[style=authoryear]{biblatex}
\begin{document}
\titlehead{\includegraphics[viewport=0bp 0bp 528bp 
157bp,clip,width=1\textwidth]{/home/rshepard/documents/templates/llc-letterhead}}
\title{Title goes here\\
It can have multiple lines\\
like the real doc}
\subtitle{Prepared for:\\
some agency's\\
Regulatory Branch}
\date{\today}
\maketitle

\chapter*{Chapter title}

\section*{Section 1}

Some text here.
\end{document}

I wonder why the differences?

Regards,

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


Re: MWE compiles; full file doesn't

2023-05-23 Thread Rich Shepard

On Tue, 23 May 2023, Herbert Voss wrote:


It looks like a problem with your header or title definition. Does it
contain a tabular? However, export your LyX document to latex and then
show the preamble.


Herbert,

I changed the title and subtitle so the style formatted them, rather than me
adding newlines. Still have the same error.

Rich

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


Re: MWE compiles; full file doesn't

2023-05-23 Thread Rich Shepard

On Tue, 23 May 2023, Herbert Voss wrote:


It looks like a problem with your header or title definition. Does it
contain a tabular? However, export your LyX document to latex and then
show the preamble.


Herbert,

No tabular in the title or preamble. Here's the preamble and header:

%% 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}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{array}
\usepackage{units}
\usepackage{textcomp}
\usepackage{url}
\usepackage{pdfpages}
\usepackage{graphicx}

\makeatletter

%% LyX specific LaTeX commands.
%% Special footnote code from the package 'stblftnt.sty'
%% Author: Robin Fairbairns -- Last revised Dec 13 1996
\let\SF@@footnote\footnote
\def\footnote{\ifx\protect\@typeset@protect
\expandafter\SF@@footnote
  \else
\expandafter\SF@gobble@opt
  \fi
}
\expandafter\def\csname SF@gobble@opt \endcsname{\@ifnextchar[%]
  \SF@gobble@twobracket
  \@gobble
}
\edef\SF@gobble@opt{\noexpand\protect
  \expandafter\noexpand\csname SF@gobble@opt \endcsname}
\def\SF@gobble@twobracket[#1]#2{}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


%% User specified LaTeX commands.
\date{}
\usepackage{ftnxtra}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr}
\counterwithout{figure}{section}
\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}

\makeatother

\usepackage[style=authoryear]{biblatex}
\addbibresource{/home/rshepard/documents/jabrefdb.bib}
\begin{document}
\titlehead{\includegraphics[viewport=0bp 0bp 528bp 
157bp,clip,width=1\textwidth]{/home/rshepard/documents/templates/llc-letterhead}}

\title{Biological Evaluation:\\
Recreational Boat Dock Elevated Walkway\\
Clark County Reach of the Columbia River}
\subtitle{Prepared for:\\
U.S. Army Corps of Engineers\\
Seattle District\\
Regulatory Branch}
\date{\today}

Regards,

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


Re: MWE compiles; full file doesn't

2023-05-22 Thread Rich Shepard

On Mon, 22 May 2023, Steve Litt wrote:


Either your MWE failed to isolate the root cause, or there are two
(probably clashing or interacting) root causes and you only got one of
them.

Just start with a copy of the whole document and subtract little by
little until something you subtract causes the symptom to disappear.
Then put that piece back in and leave that piece permanently in and
subtract other things little by little until the symptom again toggles,
and once again put it back in permanently. Continue until there's
nothing left to subtract.


SteveT,

I've used this document (modified as necessary) with similar projects
without any issues. This one uses un-numbered sectioning rather than
numbered ones, otherwise it's essentially the same.

I'll use the same divide-and-conquer as I used chasing bugs in Fortran code
long ago.

Thanks,

Rich


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


MWE compiles; full file doesn't

2023-05-22 Thread Rich Shepard

This is a new one for me: the full document won't compile (but it did one
time) while the MWE compiles each time. The error is in the heading; the MWE
has my company logo (.pdf not attached), a title, a subtitle and a date. The
date (or the last line of the subtitle) is highlighted when the build fails.

The whole document has the same, plus the document content.

The entire lyx error file is attached.

I'm not seeing why I cannot compile the entire doc.

Help's needed.

Rich

lyx-compile-error.log.Z
Description: Binary data
#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{ftnxtra}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{chngcntr}
\counterwithout{figure}{section}
\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}
\end_preamble
\options headsepline=on, footsepline=on
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 0
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\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
\leftmargin 2cm
\topmargin 4cm
\bottommargin 2cm
\headsep 1.5cm
\secnumdepth 2
\tocdepth 2
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle plain
\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 Titlehead
\begin_inset Graphics
filename /home/rshepard/documents/templates/llc-letterhead.pdf
width 100text%
BoundingBox 0bp 0bp 528bp 157bp
clip

\end_inset


\end_layout

\begin_layout Title
Title goes here
\end_layout

\begin_layout Subtitle
Prepared for:
\begin_inset Newline newline
\end_inset

some agency's
\begin_inset Newline newline
\end_inset

Regulatory Branch
\end_layout

\begin_layout Date
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

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


Re: R: Using tables

2023-05-18 Thread Rich Shepard

On Thu, 18 May 2023, Cesare Padovani wrote:


I've already tried the first suggestion, in the page layout of the
document, because the width of the table is about equal to the width of an
A4 sheet (I could also try in the table settings). So I would be left with
the second one.


Cesare,

As a last resort, split the table into two parts (a longtable) and repeat
the key column on the second part.

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


Re: R: Using tables

2023-05-18 Thread Rich Shepard

On Thu, 18 May 2023, Cesare Padovani wrote:


It seems that the problem is due to the table width established in the
settings. I did various tests. As a first test, I set the width of each
cell and then that of the table, equal to the sum of the widths of the
cells in a row. In these conditions the problem occurs: the terminal part
of the table (on the right) has no horizontal rows, which stop earlier. If
in the settings I increase the width of the table, keeping the width of
each cell fixed (or I decrease the width of each cell and keeping the
width of the table fixed), then the part of the table without horizontal
rows is reduced. Further increasing the width of the table, at some point
the phenomenon disappears. It also happens that in printing, the real
width of the table is greater than the one established in the settings!


Cesare,

Two things to try:
1) Rotate the table so it displays in landscape mode.

2) Make the font smaller.

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


Re: versioning

2023-03-31 Thread Rich Shepard

On Fri, 31 Mar 2023, William R. Buckley wrote:


More to the point, I never thought that the original post had anything to
do with recompilation of the LyX product.


Bill,

It's long been understood that email communications more easily are
misinterpreted than oral communications. We know what we mean when we write
something, but readers process it through their own experiences and don't
always grok what we wrote.

I don't recall seeing my response when the first message was the only one in
the thread, but I suggested using git separate from lyx. For that matter I
suspect that I've not been aware of a version control system built into lyx
despite the years I've used it.

Regards,

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


Re: versioning

2023-03-31 Thread Rich Shepard

On Fri, 31 Mar 2023, William R. Buckley wrote:


So, with VCS, it is possible to version control successive iterations of a
document as you make successive changes thereto?


William,

That's why they exist. You can always revert to an previous version.

Rich

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


Re: LyX and Git for version control

2023-03-26 Thread Rich Shepard

On Sat, 25 Mar 2023, Madame Michu wrote:


I’m facing an issue with git and LyX for version control.



I followed the guidelines in section 7.2.6 in the "Additional Features"
LyX manual, but once the git repo is created for the document, and I try
to `register` my document with LyX GUI I get the following error:


I've been using git for years to track lyx document changes, but I never
used any integration.

In the document directory when I first save it, from the shell I run the
command `git init`. Then the sequence `git add *`, `git status`, `git commit
-m "description"`.

Works flawlessly.

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


Re: Lyx 2.3.7 on Linux Mint

2023-02-23 Thread Rich Shepard

On Thu, 23 Feb 2023, Paul A. Rubin wrote:


There's always the option to compile from source. Alternatively, if you go
to https://repology.org/project/lyx/versions you can see the versions of
LyX for various Ubuntu distros, along with the email addresses of the
maintainers. They show 2.3.6 as the latest for Jammy, but 2.3.7 for Lunar.
That makes me wonder if there is some installation problem with 2.3.7 on
Jammy. We may have to wait for Mint 22 (sigh).


Paul,

The real question to ask is whether the new version adds something you need
that's not in 2.3.6.

Regards,

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


Re: Tables: Setting width for entire column

2023-02-10 Thread Rich Shepard

On Fri, 10 Feb 2023, Udicoudco wrote:


Since the alignment of the text inside the second row is centered,
contrary to the rest of the tabular, these cells are typeset inside
\multicell, and in this case their width can be independent from the width
of their column.


Udi,

The column headers are in the first row, and centered. Unchecking
multicolumn for the two header cells doesn't allow me to center them above
the left-aligned cells beneath them.


If you will keep the column width field in the settings empty, they will
have the same width as the rest of the column (currently they have widths
of 45% and 55% of \textwidth, thus the table flows out of the screen).
Change the column width only when the cursor is below the headings.


With the cursor in each of the header cells, there's no width, but the
alignment is Left. The top and bottom borders for the first row, and the
bottom border for the last row slightly overlap the text area.

I'll ignore the left-aligned column headers and slight overhang of the
borders because they're not critical.

Thanks,

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


Re: Tables: Setting width for entire column

2023-02-10 Thread Rich Shepard

On Fri, 10 Feb 2023, Paul A. Rubin wrote:


I'm with Udi on this. Maybe you should post a MWE?


Paul, Udi:

I placed the cursor in a cell below the first row (for each column) and
changed the widths from inches to % text area (43%, 53%). Not using the top
row cell made a difference.

The table heading and the cell underlines overhang the right margin a bit. I
don't know how fix this.

MWE attached.

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{gensymb,colortbl,textcomp}
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\end_preamble
\options abstract=on
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8
\fontencoding global
\font_roman "palatino" "default"
\font_sans "cmss" "default"
\font_typewriter "cmtt" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command bibtex
\index_command default
\float_placement H
\paperfontsize default
\spacing single
\use_hyperref false
\papersize custom
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 0
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style authordate3
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\headsep 1in
\secnumdepth 2
\tocdepth 2
\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
The Nehalem River and its tributaries provide habitats for 49 species of
 fish, both resident fresh water and anadromous life histories (Table 
\begin_inset CommandInset ref
LatexCommand ref
reference "tab: fish species list"
plural "false"
caps "false"
noprefix "false"

\end_inset

).
\end_layout

\begin_layout Standard
\align center
\begin_inset Tabular






\begin_inset Text

\begin_layout Plain Layout
\begin_inset Caption Standard

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "tab: fish species list"

\end_inset

Common and scientific names of fish recorded in the Nehalem River and its
 tributaries.
\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout
Common Name
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
Scientific Name
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\xout off
\uuline off
\uwave off
\noun off
\color none
Black crappie
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\xout off
\uuline off
\uwave off
\noun off
\color none
Pomoxis nigromaculatus
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\xout off
\uuline off
\uwave off
\noun off
\color none
Bluegill
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\xout off
\uuline off
\uwave off
\noun off
\color none
Lepomis macrochirus
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\xout off
\uuline off
\uwave off
\noun off
\color none
Brook trout
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\xout off
\uuline off
\uwave off
\noun off
\color none
Salvelinus fontinalis
\end_layout

\end_inset




\begin_inset Text

\begin_layout Plain Layout

\family roman
\series medium
\shape up
\size normal
\emph off
\bar no
\strikeout off
\xout off
\uuline off
\uwave off
\noun off
\color none
Brown bullhead
\end_layout

\end_inset


\begin_inset Text


Re: Tables: Setting width for entire column

2023-02-10 Thread Rich Shepard

On Fri, 10 Feb 2023, Udicoudco wrote:


Right click on the table and select "settings..." to open the tabular
settings dialog. Put the cursor in a cell inside the column you want to
change, and in the settings dialog in Table settings->Column settings
change the width to the desired one.


Udi,

That's what I did. The cursor is in the top row of the column and Column
settings changes only that one cell.

Thanks,

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


  1   2   3   4   5   6   7   8   9   10   >