Re: Adding footnote to table cell

2022-07-07 Thread Daniel

On 07/07/2022 20:54, Rich Shepard wrote:

On Thu, 7 Jul 2022, Daniel wrote:


Works for me (attached). If I misunderstood you, could you explain how?


Daniel,

When I look at the preamble for fn.lyx I see nothing; it's all blank which
makes comparison with my file difficult.

Regards,

Rich


Rich,

The strange thing is that I don't see any file attached in your original 
post. Hence, I did not know what you were after. But you did attach one, 
right? I am not sure what is going on. Maybe Thunderbird is bugging.


Daniel

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


Re: Adding footnote to table cell [RESOLVED]

2022-07-07 Thread Rich Shepard

On Thu, 7 Jul 2022, Rich Shepard wrote:


Well, huh! That works. When I added it to the preamble I wondered if the
order of \usepackage{} was important, but had no idea whether it was. This
module is locaton-sensitive for some reason.


Paul, Herbert, et al.:

Changing the sequence of the \usepackage{} commands allowed the document to
compile without error. But ... while the pdflatex output showed footnote 7
in the table cell the footnote's contents were not printed at the bottom of
the page below footnote 6.

So, rather than continuing to beat on this issue I moved the footnote from
the cell to the subsbusection title end. Now it compiles without error and
the footnote content is printed.

Thanks all,

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


Extend the visible area of the text

2022-07-07 Thread tush via lyx-users
Is it possible to extend to the bottom of the visible area where one types the 
text?
At least, a bit lower than just to the bottom of the text (LyX's default)?

To clarify my question, here is in image with an explanation.

https://i.ibb.co/bKJPd8Q/visible-area.png-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding footnote to table cell [RESOLVED]

2022-07-07 Thread Rich Shepard

On Thu, 7 Jul 2022, Paul A. Rubin wrote:


Try moving \usepackage{ftnxtra} to the very top of the preamble. I found
something about it conflicting with the array package, and loading ftnxtra
first apparently solved that.


Paul,

Well, huh! That works. When I added it to the preamble I wondered if the
order of \usepackage{} was important, but had no idea whether it was. This
module is locaton-sensitive for some reason.

Next time I hit strange results after adding a package to a preamble I'll
try moving its position in the list before asking for help.

Thank you very much,

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


Re: Adding footnote to table cell

2022-07-07 Thread Paul A. Rubin

On 7/7/22 15:36, Rich Shepard wrote:

On Wed, 6 Jul 2022, Rich Shepard wrote:


When I add a footnote to a table cell the compiled page has the footnote
number in the cell, but the text is not at the bottom of the page.


Now the problem is an error in the ERT \today just under the title.

A MWE is attached.

Rich

Try moving \usepackage{ftnxtra} to the very top of the preamble. I found 
something about it conflicting with the array package, and loading 
ftnxtra first apparently solved that.


Paul

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


Re: Adding footnote to table cell

2022-07-07 Thread Rich Shepard

On Wed, 6 Jul 2022, Rich Shepard wrote:


When I add a footnote to a table cell the compiled page has the footnote
number in the cell, but the text is not at the bottom of the page.


Now the problem is an error in the ERT \today just under the title.

A MWE is attached.

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{newpxtext}
%\usepackage{newpxmath}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
\usepackage{scrlayer-scrpage}
\usepackage{xcolor,colortbl}
\usepackage{ftnxtra}
\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}
%DeclareNolabel{
%  \nolabel{\regexp{[\p{S}\p{Z}\p{C}]+}}
%}
\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 Title
BIOLOGICAL EVALUATION FOR INFORMAL ESA CONSULTATION
\end_layout

\begin_layout Date
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
today
\end_layout

\end_inset


\end_layout

\begin_layout Subsubsection*
G.
 Is the project located within designated/proposed bull trout or Pacific
 salmon critical habitat?
\end_layout

\begin_layout Standard
\align center
\begin_inset Tabular








\begin_inset Text

\begin_layout Plain Layout
Yes
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
checkmark
\end_layout

\end_inset


\begin_inset Foot
status collapsed

\begin_layout Plain Layout
See section 
\begin_inset CommandInset ref
LatexCommand ref
reference "subsec  species Introduction"
plural "false"
caps "false"
noprefix "false"

\end_inset

 above.
\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout
No
\end_layout

\end_inset


\begin_inset Text

\begin_layout Plain Layout

\end_layout

\end_inset




\end_inset


\end_layout

\begin_layout Subsubsection*

\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 footnote to table cell

2022-07-07 Thread Rich Shepard

On Thu, 7 Jul 2022, Daniel wrote:


Works for me (attached). If I misunderstood you, could you explain how?


Daniel,

When I look at the preamble for fn.lyx I see nothing; it's all blank which
makes comparison with my file difficult.

Regards,

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


An equivalent to microsot word "Show/Hide"

2022-07-07 Thread tush via lyx-users
MS Word has a useful tool called "Show/Hide". According to the documentation 
(link at the bottom),

"The Show/Hide ¶ button turns hidden characters like spaces, paragraph markers, 
or tab marks on and off."

I am looking for a similar tool or feature in LyX. Can any one point it out for 
me? I couldn't find it.

https://support.microsoft.com/en-us/office/84a53213-5d02-404a-b022-09cae1a3958b-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Question re bib file

2022-07-07 Thread Wolfgang Engelmann




Am 07.07.22 um 18:17 schrieb Herbert Voss:

Am 07.07.22 um 18:06 schrieb Wolfgang Engelmann:



Am 07.07.22 um 10:12 schrieb Herbert Voss:

I have in the meantime started to check the bib file (I am using 
jabref) thoroughly and collect the references used in my document in a 
separate lyx file which has almost no text, and I set it to 'all 
references'. Frequent runs (e.g. after having checked all references 
with A..., then B...) of the pdf output show me whether 
errors/warnings are given. I know that I can in Jabref use 
Quality>check_integrity, but that did not disclose critical errors.



Wolfgang,
run in a terminal

|biber --tool -V .bib|

Herbert


cool! Did not know that.
I used
biber --tool -V my.bib > mybib.txt

I must now try to learn more about this tool

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


Re: Adding footnote to table cell

2022-07-07 Thread Rich Shepard

On Thu, 7 Jul 2022, Herbert Voss wrote:


\usepackage{ftnxtra}
works only for tabulars _not_ inside an floating environment table


Herbert,

Interesting: it added the footnote but changed the format of the table from
horizontal to vertical (and removed two border lines). And, pdflatex
complained about the date on the first page, an ERT box with \today inside.

Two attached figures:
1. The table in LyX.
2. The table in the compiled .pdf

I do want to learn how to add a tabular cell footnote without borking the
PDF output.

Regards,

Rich

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


Re: Question re bib file

2022-07-07 Thread Herbert Voss

Am 07.07.22 um 18:06 schrieb Wolfgang Engelmann:



Am 07.07.22 um 10:12 schrieb Herbert Voss:

I have in the meantime started to check the bib file (I am using 
jabref) thoroughly and collect the references used in my document in a 
separate lyx file which has almost no text, and I set it to 'all 
references'. Frequent runs (e.g. after having checked all references 
with A..., then B...) of the pdf output show me whether 
errors/warnings are given. I know that I can in Jabref use 
Quality>check_integrity, but that did not disclose critical errors.



Wolfgang,
run in a terminal

|biber --tool -V .bib|

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


Re: Question re bib file

2022-07-07 Thread Wolfgang Engelmann




Am 07.07.22 um 10:12 schrieb Herbert Voss:



Am 07.07.22 um 09:55 schrieb Wolfgang Engelmann:

Hi,
I have a larger bib file for a book, for which a lyx file run spits 
this warning


[7580] Utils.pm:410> ERROR - BibTeX subsystem: 
/tmp/biber_tmp_SWLO/d7dc170ec507816e85d64326c042e07e_4336.utf8, line 
7118, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


Wolfgang,

your bib datafile has a syntax error which is detected at line 7118 by 
biber

It looks like something as


foo = ,


Herbert



Thanks, Herbert,

yes, I could change that, but there are probably still many more errors 
left after that.

Therefore my question.

I have in the meantime started to check the bib file (I am using jabref) 
thoroughly and collect the references used in my document in a separate 
lyx file which has almost no text, and I set it to 'all references'. 
Frequent runs (e.g. after having checked all references with A..., then 
B...) of the pdf output show me whether errors/warnings are given. I 
know that I can in Jabref use Quality>check_integrity, but that did not 
disclose critical errors.


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


Re: Adding footnote to table cell

2022-07-07 Thread Daniel

On 07/07/2022 10:42, Herbert Voss wrote:

Am 07.07.22 um 09:02 schrieb Daniel:

On 06/07/2022 20:42, Rich Shepard wrote:

When I add a footnote to a table cell the compiled page has the footnote
number in the cell, but the text is not at the bottom of the page.

Placing the footnote at the end of the subsection heading immediately 
above

the 2-cell table also doesn't work as intended.

Is there a work-around for either position of a footnote?



Works for me (attached). If I misunderstood you, could you explain how?


for section a.o. you should use the "shorttitle" option and place the
footnote only in the "longtitle". Otherwise you'll get _two_ footnotes
if you use a table of contents.

Herbert


It is still unclear to me what the OP's problem was.

Daniel

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


Re: Adding footnote to table cell

2022-07-07 Thread Herbert Voss




Am 07.07.22 um 09:02 schrieb Daniel:

On 06/07/2022 20:42, Rich Shepard wrote:

When I add a footnote to a table cell the compiled page has the footnote
number in the cell, but the text is not at the bottom of the page.

Placing the footnote at the end of the subsection heading immediately 
above

the 2-cell table also doesn't work as intended.

Is there a work-around for either position of a footnote?



Works for me (attached). If I misunderstood you, could you explain how?


for section a.o. you should use the "shorttitle" option and place the
footnote only in the "longtitle". Otherwise you'll get _two_ footnotes
if you use a table of contents.

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


Re: Question re bib file

2022-07-07 Thread Herbert Voss




Am 07.07.22 um 09:55 schrieb Wolfgang Engelmann:

Hi,
I have a larger bib file for a book, for which a lyx file run spits 
this warning


[7580] Utils.pm:410> ERROR - BibTeX subsystem: 
/tmp/biber_tmp_SWLO/d7dc170ec507816e85d64326c042e07e_4336.utf8, line 
7118, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


Wolfgang,

your bib datafile has a syntax error which is detected at line 7118 by biber
It looks like something as


foo = ,


Herbert


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


Question re bib file

2022-07-07 Thread Wolfgang Engelmann

Hi,
I have a larger bib file for a book, for which a lyx file run spits this 
warning


[7580] Utils.pm:410> ERROR - BibTeX subsystem: 
/tmp/biber_tmp_SWLO/d7dc170ec507816e85d64326c042e07e_4336.utf8, line 
7118, syntax error: found ",", expected one of: number, name (entry 
type, key, field, or macro name), end of entry ("}" or ")") or quoted 
string ({...} or "...")


even if I reduce the lyx file to just one reference and using the large 
bib file. There is no Bibliography output in the pdf and the citation is 
not as expected, but a bold author name.


If I, however, use a minimal bib file with just this one citation, it 
works fine.


For me this looks like lyx goes through the (large) bib file, finds 
something which it does not like and does not build a correct pdf 
output, although it could if it would use from the (large) bib file only 
this one reference.


Is this correct? And could it be changed so that one is not forced to 
check the whole bib file for possible errors before submitting it to the 
lyx file?


I use Debian bullseye and
lyx Version 2.4.0dev (not released yet)
Built from git commit hash 53ed3dc0
Qt Version (run-time): 5.15.2 on platform xcb
Qt Version (compile-time): 5.15.2
Python detected: python3 -tt

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


Re: Packages: actuarialsymbol, actuarialangle

2022-07-07 Thread Daniel

On 07/07/2022 02:19, William Szuch wrote:

Hi

I am new to LaTex/MiKTeX and Lyx.

I have loaded MiKTeX and LyX 2.3.61

I have also installed the packages:

      actuarialsymbols

 actuarialangle

in MiKTeX to create actuarial symbols.

How do I use these packages in LyX?

eg: \actsymbol{A}{x}

*Regards*

*_Bill _*


Hi Bill,

If you want to use a package that is not internally supported by LyX, 
you have to add it manually in the preamble and put the desired command 
into a TeX Code inset (aka ERT).


Add the package to the preamble:
1. Select "Settings" in the "Document" menu which opens the "Document 
Settings" dialog.

2. In the dialog, select "LaTeX Preamble" on the left side and put

\usepackage{actuarialsymbols}
\usepackage{actuarialangle}

3. Press "OK" in the dialog.

Put the command into a TeX Code inset:
1. Put the cursor where you want to add the command in your document.
2. Insert "TeX Code" from the "Insert" menu (there is also a shortcut 
indicated next to the menu which allows you to do this quicker).

3. In TeX Code inset (red box) add your command, e.g. \actsymbol{A}{x}.

Daniel


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


Re: Adding footnote to table cell

2022-07-07 Thread Daniel

On 06/07/2022 20:42, Rich Shepard wrote:

When I add a footnote to a table cell the compiled page has the footnote
number in the cell, but the text is not at the bottom of the page.

Placing the footnote at the end of the subsection heading immediately above
the 2-cell table also doesn't work as intended.

Is there a work-around for either position of a footnote?

TIA,

Rich


Hi Rich,

Works for me (attached). If I misunderstood you, could you explain how?

Daniel

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


Re: Adding footnote to table cell

2022-07-07 Thread Herbert Voss




Am 06.07.22 um 20:42 schrieb Rich Shepard:

When I add a footnote to a table cell the compiled page has the footnote
number in the cell, but the text is not at the bottom of the page.

Placing the footnote at the end of the subsection heading immediately 
above

the 2-cell table also doesn't work as intended.

Is there a work-around for either position of a footnote?


\usepackage{ftnxtra}

works only for tabulars _not_ inside an floating environment table

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