independent numbering lemmas using LyX

2020-03-10 Thread Ke-Cai Cao
Dear all;

I am new LyX user.

When I import a tex file into Lyx (template of “IEEE Transactions”) there
is a problem.

The following tex code

\theoremstyle{plain}

\newtheorem{lem}{\protect\remarkname}

are forced into

\theoremstyle{plain}

\newtheorem{lem}[thm]{\protect\remarkname}.



That means the independent number of lemmas cannot be realized in LyX using
template of “IEEE Transactions”.



I have tried a lot of methods. Are there any possible methods to solve that?



Thank you very much.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography missing publication date. [FIXED]

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Rich Shepard wrote:


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


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

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


Re: Bibliography missing publication date. [FIXED]

2020-03-10 Thread Rich Shepard

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


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


Paul,

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

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

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

Thanks very much!

Regards,

Rich



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


Re: Bibliography missing publication date.

2020-03-10 Thread Paul A. Rubin

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

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

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

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

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


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


Bibliography missing publication date.

2020-03-10 Thread Rich Shepard

The bibtex source includes date = {1986}. The citation is (Cronshey et al.
1986), but the reference is,
Cronshey, R., McCuen, R.H., Miller, N., Rawls, W., Robbins, S., & Woodward,
D. Urban Hydrology for Small Watersheds. Tech. rept. TR-55. Natural
Resources Conservation Service.

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

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


Re: Bibliographic citation not allowing formatting [FIXED]

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Rich Shepard wrote:


Prior lyx versions would show a selection of citation formats; e.g.,
(Author date), (Author, date), Author (date). They ain't available to me
now and I don't know what I did to lose them. Same thing when the biblio
style is authordate3 which worked as expected in a recent document with an
earlier lyx version.


Fixed. By re-setting all options to match those which worked properly on the
last document the citation styles are now working properly.

I've no idea which setting broke things but careful restoration of all fixed
the problem.

Thanks, Kornel,

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


Re: Bibliographic citation not allowing formatting

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Kornel Benko wrote:


What about
Document->Settings...->Bibliography->Style format:
ATM you have selected 'Basic (BibTeX)', try for instance Biblatex.


Kornel,

That setting needed to be changed. It's now Citation Style Format Natbib
(Bibtex) Author-Year, Bibliography style plain, and Bibliography Generation
Processor Bibtex. These are the settings for another document I last worked
on a few weeks ago but I'm still not able to select the range of citation
presentation formats.

Regards,

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


Re: Bibliographic citation not allowing formatting

2020-03-10 Thread Rich Shepard

On Tue, 10 Mar 2020, Kornel Benko wrote:


What about
Document->Settings...->Bibliography->Style format:


Kornel,

Doesn't matter if that, and the bibliography setting, are both APA or
authordate3, the only formatting styles remain the three I included in my
message.


ATM you have selected 'Basic (BibTeX)', try for instance Biblatex.


I've stayed with bibtex for many years rather than learning biblatex.

Regards,

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


Re: Bibliographic citation not allowing formatting

2020-03-10 Thread Kornel Benko
Am Tue, 10 Mar 2020 07:12:30 -0700 (PDT)
schrieb Rich Shepard :

> Running lyx-2.3.4.3-x86_64 on Slackware-14.2/x86_64.
> 
> I inserted the bibtex bibliography at the end of the document and a citation
> from JabRef-5.1.dev. The bibliography style is APA, but when I try to format
> the appearance of the citation in the text I am allowed only [#ID], Add to
> biblography only, and Key only.
> 
> Prior lyx versions would show a selection of citation formats; e.g., (Author
> date), (Author, date), Author (date). They ain't available to me now and I
> don't know what I did to lose them. Same thing when the biblio style is
> authordate3 which worked as expected in a recent document with an earlier
> lyx version.
> 
> I've attached a mwe.lyx but without my entire 1.8M bibliographic database.
> 
> A cluestick is needed.
> 
> Regards,
> 
> Rich

What about
Document->Settings...->Bibliography->Style format:
ATM you have selected 'Basic (BibTeX)', try for instance Biblatex.

Kornel


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


Preview a single child document while maintaining counters and references

2020-03-10 Thread Daniel

Hi,

I know that it is possible to exclude several child documents in a 
master document while maintaining counters and references. This feature 
is available in the master document's settings.


However, often I would like to preview only one child document (e.g. one 
chapter) while maintaining counters and references. Is there a quick way 
to do so?


Daniel

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


Bibliographic citation not allowing formatting

2020-03-10 Thread Rich Shepard

Running lyx-2.3.4.3-x86_64 on Slackware-14.2/x86_64.

I inserted the bibtex bibliography at the end of the document and a citation
from JabRef-5.1.dev. The bibliography style is APA, but when I try to format
the appearance of the citation in the text I am allowed only [#ID], Add to
biblography only, and Key only.

Prior lyx versions would show a selection of citation formats; e.g., (Author
date), (Author, date), Author (date). They ain't available to me now and I
don't know what I did to lose them. Same thing when the biblio style is
authordate3 which worked as expected in a recent document with an earlier
lyx version.

I've attached a mwe.lyx but without my entire 1.8M bibliographic database.

A cluestick is needed.

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 scrartcl
\begin_preamble
\date{}
\usepackage{scrpage2,textcomp}
\usepackage{draftwatermark}
\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 "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 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 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 basic
\cite_engine_type default
\biblio_style plain
\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 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\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
In urban areas methods such as the process described in the Natural Resource
 Conservation Service Technical Report (
\begin_inset CommandInset citation
LatexCommand keyonly
key "Cronshey1986"
literal "true"

\end_inset

) are sufficient for regulatory compliance in most cases.
\end_layout

\begin_layout Standard
\begin_inset CommandInset bibtex
LatexCommand bibtex
btprint "btPrintCited"
bibfiles "/home/rshepard/documents/jabrefdb"
options "bibtotoc,apa"

\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