Re: Same figure entered twice [FIXED]

2020-06-16 Thread Rich Shepard

On Wed, 17 Jun 2020, Daniel wrote:


Looks like the snipped is not well-formed lyx code (e.g. has a stray
\begin_layout tag). Can you reproduce a minimal example as a lyx-file?


Daniel,

I discovered out how I entered the same figure twice: I had entered it last
week when I wrote the document. This afternoon I decided to add more to the
document and, not seeing the figure in the PDF because I focused on the end,
I entered it again.

Removing the second figure float solved the problem. As if I needed a
reminder not to jump from one project directly into another project without
taking a head-clearing break. Sigh.

Thanks,

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


Re: Same figure entered twice

2020-06-16 Thread Daniel

On 2020-06-17 01:56, Rich Shepard wrote:

I've no idea how I managed to enter the same figure twice, but I did.

LyX finds the same place when I search for both Figure 1 and Figure 2 using
the Navigate -> Figures menu.

Looking at the .lyx file in emacs I think the following encompasses both
instances:

\begin_layout Standard
The entity-relationship (E-R) diagram (Figure \begin_inset CommandInset ref
LatexCommand ref
reference "fig: e-r diagram"
plural "false"
caps "false"
noprefix "false"

\end_inset

)
\begin_inset Float figure
wide false
sideways false
status collapsed

\begin_layout Plain Layout
\align center
\begin_inset CommandInset ref
LatexCommand ref
reference "fig: E-R diagram"
plural "false"
caps "false"
noprefix "false"

\end_inset


\begin_inset Graphics
 filename erd.pdf
 width 75theight%
 BoundingBox 60bp 60bp 685bp 815bp
 clip

\end_inset


\end_layout


\begin_layout Plain Layout
\begin_inset Caption Standard

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "fig: E-R diagram"

\end_inset

The OpenEDMS E-R diagram.
  Each table stores observations, the results of data collection (sampling)
  events for each category of data.
  The categories do not depend on each other except that all observations
  are related to a location in the Sites table.
  The weather data are independent of the other data because weather 
stations

  frequently are separate from biological, chemical, and physical data.
\end_layout

\end_inset


\end_layout

How do I remove one and leave the other? It doesn't matter to me which 
label

is left; they're the same figure and the same caption.

I suppose I could just drop the float and re-create it but I'm not sure 
that would

lose both of them.

TIA,

Rich


Looks like the snipped is not well-formed lyx code (e.g. has a stray 
\begin_layout tag). Can you reproduce a minimal example as a lyx-file?


Daniel

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


Same figure entered twice

2020-06-16 Thread Rich Shepard

I've no idea how I managed to enter the same figure twice, but I did.

LyX finds the same place when I search for both Figure 1 and Figure 2 using
the Navigate -> Figures menu.

Looking at the .lyx file in emacs I think the following encompasses both
instances:

\begin_layout Standard
The entity-relationship (E-R) diagram (Figure 
\begin_inset CommandInset ref

LatexCommand ref
reference "fig: e-r diagram"
plural "false"
caps "false"
noprefix "false"

\end_inset

)
\begin_inset Float figure
wide false
sideways false
status collapsed

\begin_layout Plain Layout
\align center
\begin_inset CommandInset ref
LatexCommand ref
reference "fig: E-R diagram"
plural "false"
caps "false"
noprefix "false"

\end_inset


\begin_inset Graphics
filename erd.pdf
width 75theight%
BoundingBox 60bp 60bp 685bp 815bp
clip

\end_inset


\end_layout


\begin_layout Plain Layout
\begin_inset Caption Standard

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "fig: E-R diagram"

\end_inset

The OpenEDMS E-R diagram.
 Each table stores observations, the results of data collection (sampling)
 events for each category of data.
 The categories do not depend on each other except that all observations
 are related to a location in the Sites table.
 The weather data are independent of the other data because weather stations
 frequently are separate from biological, chemical, and physical data.
\end_layout

\end_inset


\end_layout

How do I remove one and leave the other? It doesn't matter to me which label
is left; they're the same figure and the same caption.

I suppose I could just drop the float and re-create it but I'm not sure that 
would
lose both of them.

TIA,

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


Re: FW: Problems using Bibtex with lyx.

2020-06-16 Thread Mike Reeks
Yes Eberhard avery useful.  Many of my colleagues have suggested it. I should 
have done it years ago. I’m 75 now and am weary of learning new  operating 
systems. Ive used windows from the beginning. Something I’m familiar with and 
works for me. So forgive me, my life left is too short for such considerations. 
Many thanksMike 

Sent from Yahoo Mail for iPhone


On Tuesday, June 16, 2020, 1:13 pm, Dr Eberhard Lisse  wrote:

Mike,

Do away with Windows and get yourself a proper Mac.

el

On 16/06/2020 13:45, Mike Reeks wrote:
> Dear Eberhard
> Could u be a little more respectful in your criticism and
> observations.  I had been using lyx 2.2 version successfully in my
> review article.  So the bibtex and referencing worked perfectly as
> wells as the nomenclature listing.  Furthermore my version of lyx is
> tolerant of spaces in flienames etc.  It is only the recent version
> that doesn’t accept spaces.  I am aware of errors in formatting
> references in the bibtex file which stops the conversion.  Now for
> some unknown reason the conversion to pdf file works but doesn’t
> contain the reference list.  What has happened to my Miktex without my
> doing anything whatsoever?  It turns out that Miktex gets up dated
> without the user knowing and that’s what might happened.
> 
> Many thanks for your comments and observations.  It is much
> appreciated.  I will cary on with review article using my prest
> version of lyx .  There is not much to be done.  Then I will reinstall
> Miktex and download the most recent version of Lyx.  I will keep you
> informed of progress.
> 
> Best regards
> Michael Reeks
> Prof Michael Reeks FinstP FAPS 
> Professor Emerius of Fluid Mechanics
> University of Newcastle 
> Visiting Professor 
> Dept of Aeronautics
> Imperial College 
[...]
> On Tuesday, June 16, 2020, 11:01 am, Dr Eberhard Lisse  
> wrote:
> 
>    You have a number of ligatures such as fl or ff being one character
>    instead of two and therefor I don't believe that this came about by
>    itself.  When I fix (all of) these it compiles without error.
> 
>    This is CLEARLY shown in the error messages produced by LyX(LaTeX).
> 
>    There are typing errors in the reference. Ruuning a spelling checker
>    would have probably picked the cause of the issue up, by the way.
> 
>    There are leading spaces within {}.
> 
>    Generally it looks untidy, if only for hyphenated titles, not something
>    I would send out when asking for help.
> 
>    BTW, not everybody is impressed by spaces in file names.
> 
>    And what is really irritating, not only is this not a MWE, but if you
>    had bothered to construct one, by removing everything but the offending
>    item (ie reference in the BIB file) you would have seen this yourself.
> 
>    el
> 
>    On 11/06/2020 13:36, Mike Reeks wrote:
>    > *From: *Mike Reeks >
>    > *Sent: *11 June 2020 10:45
>    > *To: *lyx-users-subscr...@lists.lyx.org 
>
>    > *Subject: *Problems using Bibtex with lyx. Help!!
>    >
>    > 
>    >
>    > I have used bibtex generated bibliography with access to an
>    > appropriates bibtex database of references in all my lyx files that
>    > cite references.
>    >
>    > Upto now I have had no problems.  I usually generate a pdf file in the
>    > lyx document conversion.  Now for some unknown reason when converting
>    > a lyx file toa pdf file or any other file the reference list is
>    > missing in the document conversion and the reference in the text are
>    > not recognised and appear as [?].  I have no idea what has caused the
>    > problem.  Why it was working before and not now since as far as I am
>    > aware I have done nothing.  It happens on all my lyx files.  I attach
>    > a simple example lyx file, the latex file and the pdf conversion file
>    > and the bib reference file.  I would be very grateful if someone could
>    > shed some light as to what is going on.  Its a really annoying.  I am
>    > writing a review article using lyx which is about 6o pages long
>    >
>    > Best regards
>    >
>    > Mike Reeks
>    [...]
> 
>    -- 
>    If you want to email me, replace nospam with el
> 
> 
>    -- 
>    lyx-users mailing list
>    lyx-users@lists.lyx.org 
>    http://lists.lyx.org/mailman/listinfo/lyx-users
> 
> 


-- 
If you want to email me, replace nospam with el


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



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


Re: FW: Problems using Bibtex with lyx.

2020-06-16 Thread Mike Reeks
Dear EberhardCould u  be a little more respectful in your criticism and 
observations. I had been using  lyx 2.2  version successfully in my review 
article. So the bibtex and referencing worked perfectly as wells as the 
nomenclature listing. Furthermore my version of lyx is tolerant of spaces in 
flienames etc. It is only the recent  version that doesn’t accept spaces.   I 
am aware of errors in formatting references  in the bibtex file which stops the 
conversion. Now for some unknown reason the conversion to pdf file works but 
doesn’t contain the reference list. What has happened to my Miktex without my 
doing anything whatsoever? It turns out that Miktex gets up dated without the 
user knowing and that’s what might happened. Many thanks for your comments and 
observations. It is much appreciated. I will cary  on with review article using 
my prest version of lyx .  There is not much to be done. Then I will reinstall 
Miktex and download the most recent version of Lyx. I will keep you informed of 
progress. 
Best regardsMichael ReeksProf Michael Reeks FinstP FAPS Professor Emerius of 
Fluid MechanicsUniversity of Newcastle Visiting Professor Dept of 
AeronauticsImperial College 


Sent from Yahoo Mail for iPhone


On Tuesday, June 16, 2020, 11:01 am, Dr Eberhard Lisse  wrote:

You have a number of ligatures such as fl or ff being one character
instead of two and therefor I don't believe that this came about by
itself.  When I fix (all of) these it compiles without error.

This is CLEARLY shown in the error messages produced by LyX(LaTeX). 

There are typing errors in the reference. Ruuning a spelling checker 
would have probably picked the cause of the issue up, by the way.

There are leading spaces within {}.

Generally it looks untidy, if only for hyphenated titles, not something
I would send out when asking for help.

BTW, not everybody is impressed by spaces in file names.

And what is really irritating, not only is this not a MWE, but if you
had bothered to construct one, by removing everything but the offending
item (ie reference in the BIB file) you would have seen this yourself.

el

On 11/06/2020 13:36, Mike Reeks wrote:
> *From: *Mike Reeks 
> *Sent: *11 June 2020 10:45
> *To: *lyx-users-subscr...@lists.lyx.org
> *Subject: *Problems using Bibtex with lyx. Help!!
> 
>  
> 
> I have used bibtex generated bibliography with access to an
> appropriates bibtex database of references in all my lyx files that
> cite references.
> 
> Upto now I have had no problems.  I usually generate a pdf file in the
> lyx document conversion.  Now for some unknown reason when converting
> a lyx file toa pdf file or any other file the reference list is
> missing in the document conversion and the reference in the text are
> not recognised and appear as [?].  I have no idea what has caused the
> problem.  Why it was working before and not now since as far as I am
> aware I have done nothing.  It happens on all my lyx files.  I attach
> a simple example lyx file, the latex file and the pdf conversion file
> and the bib reference file.  I would be very grateful if someone could
> shed some light as to what is going on.  Its a really annoying.  I am
> writing a review article using lyx which is about 6o pages long
> 
> Best regards
> 
> Mike Reeks
[...]

-- 
If you want to email me, replace nospam with el


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



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


Re: FW: Problems using Bibtex with lyx.

2020-06-16 Thread Dr Eberhard W Lisse
Mike,

I am an elderly Gynecologist myself (and (have to) use Windows10 for the
practice management software (of course in a VirtualBox window on a
Mac)) :-)-O and I can tell you even my mother could switch from Windows
to the Mac :-)-O.

And, as a matter of fact, she did :-)-O


I like to bleed on the edge so I update LyX the day I become aware of 
it for myself but have it on a package manager (called homebrew) on the 
boxes I "support". 


The only small issue is one needs to reinstall MacTeX once a year.  

I have a script for this which I run on all my own and supported
machines.  The script doesn't even install the full version of MacTeX,
only the smaller BasicTeX after saving all packages installed and then
pulling the additional ones afterwards saving a few Gigs (even though 
disk space is cheap these days).

Once a month one runs the TeX Live Manager from the command line or
tlcockpit (a java app) and the updates are done.

Totally painless.


greetings, el

On 16/06/2020 14:25, Mike Reeks wrote:
> Yes Eberhard avery useful.  
> 
> Many of my colleagues have suggested it.  I should have done it years
> ago.  I’m 75 now and am weary of learning new operating systems.  Ive
> used windows from the beginning.  Something I’m familiar with and
> works for me.
> 
> So forgive me, my life left is too short for such considerations.
> 
> Many thanks
> Mike
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: FW: Problems using Bibtex with lyx.

2020-06-16 Thread Dr Eberhard Lisse
Mike,

Do away with Windows and get yourself a proper Mac.

el

On 16/06/2020 13:45, Mike Reeks wrote:
> Dear Eberhard
> Could u be a little more respectful in your criticism and
> observations.  I had been using lyx 2.2 version successfully in my
> review article.  So the bibtex and referencing worked perfectly as
> wells as the nomenclature listing.  Furthermore my version of lyx is
> tolerant of spaces in flienames etc.  It is only the recent version
> that doesn’t accept spaces.  I am aware of errors in formatting
> references in the bibtex file which stops the conversion.  Now for
> some unknown reason the conversion to pdf file works but doesn’t
> contain the reference list.  What has happened to my Miktex without my
> doing anything whatsoever?  It turns out that Miktex gets up dated
> without the user knowing and that’s what might happened.
> 
> Many thanks for your comments and observations.  It is much
> appreciated.  I will cary on with review article using my prest
> version of lyx .  There is not much to be done.  Then I will reinstall
> Miktex and download the most recent version of Lyx.  I will keep you
> informed of progress.
> 
> Best regards
> Michael Reeks
> Prof Michael Reeks FinstP FAPS 
> Professor Emerius of Fluid Mechanics
> University of Newcastle 
> Visiting Professor 
> Dept of Aeronautics
> Imperial College 
[...]
> On Tuesday, June 16, 2020, 11:01 am, Dr Eberhard Lisse  
> wrote:
> 
> You have a number of ligatures such as fl or ff being one character
> instead of two and therefor I don't believe that this came about by
> itself.  When I fix (all of) these it compiles without error.
> 
> This is CLEARLY shown in the error messages produced by LyX(LaTeX).
> 
> There are typing errors in the reference. Ruuning a spelling checker
> would have probably picked the cause of the issue up, by the way.
> 
> There are leading spaces within {}.
> 
> Generally it looks untidy, if only for hyphenated titles, not something
> I would send out when asking for help.
> 
> BTW, not everybody is impressed by spaces in file names.
> 
> And what is really irritating, not only is this not a MWE, but if you
> had bothered to construct one, by removing everything but the offending
> item (ie reference in the BIB file) you would have seen this yourself.
> 
> el
> 
> On 11/06/2020 13:36, Mike Reeks wrote:
> > *From: *Mike Reeks  >
> > *Sent: *11 June 2020 10:45
> > *To: *lyx-users-subscr...@lists.lyx.org 
> 
> > *Subject: *Problems using Bibtex with lyx. Help!!
> >
> > 
> >
> > I have used bibtex generated bibliography with access to an
> > appropriates bibtex database of references in all my lyx files that
> > cite references.
> >
> > Upto now I have had no problems.  I usually generate a pdf file in the
> > lyx document conversion.  Now for some unknown reason when converting
> > a lyx file toa pdf file or any other file the reference list is
> > missing in the document conversion and the reference in the text are
> > not recognised and appear as [?].  I have no idea what has caused the
> > problem.  Why it was working before and not now since as far as I am
> > aware I have done nothing.  It happens on all my lyx files.  I attach
> > a simple example lyx file, the latex file and the pdf conversion file
> > and the bib reference file.  I would be very grateful if someone could
> > shed some light as to what is going on.  Its a really annoying.  I am
> > writing a review article using lyx which is about 6o pages long
> >
> > Best regards
> >
> > Mike Reeks
> [...]
> 
> -- 
> If you want to email me, replace nospam with el
> 
> 
> -- 
> lyx-users mailing list
> lyx-users@lists.lyx.org 
> http://lists.lyx.org/mailman/listinfo/lyx-users
> 
> 


-- 
If you want to email me, replace nospam with el


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


Re: FW: Problems using Bibtex with lyx.

2020-06-16 Thread Dr Eberhard Lisse
You have a number of ligatures such as fl or ff being one character
instead of two and therefor I don't believe that this came about by
itself.  When I fix (all of) these it compiles without error.

This is CLEARLY shown in the error messages produced by LyX(LaTeX). 

There are typing errors in the reference. Ruuning a spelling checker 
would have probably picked the cause of the issue up, by the way.

There are leading spaces within {}.

Generally it looks untidy, if only for hyphenated titles, not something
I would send out when asking for help.

BTW, not everybody is impressed by spaces in file names.

And what is really irritating, not only is this not a MWE, but if you
had bothered to construct one, by removing everything but the offending
item (ie reference in the BIB file) you would have seen this yourself.

el

On 11/06/2020 13:36, Mike Reeks wrote:
> *From: *Mike Reeks 
> *Sent: *11 June 2020 10:45
> *To: *lyx-users-subscr...@lists.lyx.org
> *Subject: *Problems using Bibtex with lyx. Help!!
> 
>  
> 
> I have used bibtex generated bibliography with access to an
> appropriates bibtex database of references in all my lyx files that
> cite references.
> 
> Upto now I have had no problems.  I usually generate a pdf file in the
> lyx document conversion.  Now for some unknown reason when converting
> a lyx file toa pdf file or any other file the reference list is
> missing in the document conversion and the reference in the text are
> not recognised and appear as [?].  I have no idea what has caused the
> problem.  Why it was working before and not now since as far as I am
> aware I have done nothing.  It happens on all my lyx files.  I attach
> a simple example lyx file, the latex file and the pdf conversion file
> and the bib reference file.  I would be very grateful if someone could
> shed some light as to what is going on.  Its a really annoying.  I am
> writing a review article using lyx which is about 6o pages long
> 
> Best regards
> 
> Mike Reeks
[...]

-- 
If you want to email me, replace nospam with el


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