How to Insert a Custom Float

2023-06-05 Thread Doug Martin
Stoyan Stoyanov and I have a paper accepted by a Journal that does not use
Figures or Tables,
and instead uses Exhibits for both.  Stoyan points out the following:

We can load the newfloat package and define a custom Exhibit float
environment trivially in the preamble in this way:

\usepackage{newfloat}
\DeclareFloatingEnvironment{exhibit}

Then, in latex one use it the usual way:
\begin{exhibit}
...
\end{exhibit}

Although we can include those two lines in the preamble in LyX, the menu in
Inset -> Float does not have a "custom" option.
How can we insert a custom float in LyX?

Any guidance that anyone can provide would be very much appreciated.

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


Re: Lyx on Chromebook - Yes it works!

2021-04-16 Thread Doug Martin
Paul,

That is really great to see, close to home.  My wife uses Chromebook, and I
have often been
frustrated as a Windows user not being able to help her with some things.
Also, I have the
impression that more and more students use the affordable Chromebook, and
many of them
could make good use of LYX.

Doug

On Fri, Apr 16, 2021 at 7:42 AM Dr Paul Verschueren 
wrote:

> I assumed that the relative silence indicated I’m on my own, so I thought
> I would make an initial investigation this lunchtime.
>
> Great news - it turns out to be relatively trivial to get Lyx working
> under Chrome OS, and there is no need to compile a native app.
>
>
>
> Chrome OS sets up a small VM with a copy of Debian 10, and Lyx 2.3.2
> installs cleanly via apt(?) - even for a Windows die-hard like myself with
> no previous Linux exposure.
>
> Performance does not seem an issue – there is a slight slow-down
> noticeable compiling a complex 40 page math paper, but it is perfectly
> acceptable (to me at least).
>
> I now have several Word docs open, about 20 Chrome browser tabs, some
> pdfs, Debian and Lyx all running happily in 4Gb RAM and with a 32Gb disk –
> amazing!
>
>
>
> The more challenging steps now will be replicating my custom Lyx
> environment under Linux (all those weird path names!), and gaining access
> to all my OneDrive disks (I’ve found a Linux utility called rclone, but it
> doesn’t seem to like my multiple OneDrive setup). Again any previous
> experience/hints/tips would be most welcome.
>
>
>
> My congratulations to all the team who have obviously kept the product
> lean and mean – I did not have high expectation of getting it working well
> on a Chromebook, but I was wrong!
>
> Best wishes
>
> Paul
>
>
>
> *From:* Richard Kimberly Heck 
> *Sent:* 15 April 2021 22:26
> *To:* Dr Paul Verschueren ; LyX Users <
> lyx-users@lists.lyx.org>
> *Subject:* Re: Lyx on Chromebook
>
>
>
> On 4/15/21 1:01 PM, Dr Paul Verschueren wrote:
>
> I’m just evaluating a friend’s Chromebook – and I’m very impressed. It
> seems to do everything I want, at a fraction of the weight and cost of my
> old dying laptop … with one exception – Lyx!
>
> This link: https://www.bestchromebookapps.com/lyx-for-chromebook/
> promises Lyx is available as an app. This is presumably just nonsense?
>
> Yes, garbage. there's no LyX app.
>
> Qt does exist for Android, so it might be possible to compile LyX for
> Android. It would probably take some adjustments here and there. There's
> some info here:
>
>
> https://stackoverflow.com/questions/35231168/how-to-build-an-executable-for-android-shell/35275134#35275134
>
> http://nickdesaulniers.github.io/blog/2016/07/01/android-cli/
>
> but it may be a bit out of date.
>
> Riki
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: error in converting pdf formatted figure

2021-03-30 Thread Doug Martin
On Tue, Mar 30, 2021 at 9:21 AM Yu Jin  wrote:

> Am Di., 30. März 2021 um 11:50 Uhr schrieb Wolfgang Engelmann <
> engelm...@uni-tuebingen.de>:
>
>> A colleague of mine is not able to see a graphic in a float figure, if
>> it is in pdf or eps format. png works. The error message is
>> error in converting (or something similar, he has German setting).
>> We have tried to compare my and his settings in the document and tools
>> settings and did not find differences. We guess some converter is
>> missing (although in his Tools>preferences>File handling> converters
>> everything is set as is in my setting).
>> His fig.pdf output works alright in the exported pdf document.
>> What might be the cause?
>>
>
> Tell him to reconfigure LyX by Tools > Reconfigure.
>

Good to know, thanks.
Does anyone have a list of LYX actions that require the use of Reconfigure?

Doug

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


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
All helpful comments.

Doug

On Sat, Mar 27, 2021 at 9:48 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Richard Kimberly Heck wrote:
>
> > Just to be clear: It is entirely possible to mix and match here.
>
> Riki,
>
> Of course.
>
> > I use JabRef's push function sometimes and the dialog other times, which
> I
> > typically access as Alt-I + C. You can navigate around that dialog, too,
> > with the keyboard, pretty easily.
>
> I may look at the dialog and learn what it offers. So far having JabRef
> push
> the citation to the document has met all my needs.
>
> Thanks and stay well,
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
On Sat, Mar 27, 2021 at 9:31 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Doug Martin wrote:
>
> > I'm guessing that you don't use that dialog and somehow when you insert a
> > citation using the Jabref external link, you choose directly from JabRef?
> > An example of how you do the initial insert would be helpful.
>
> Doug,
>
> I've never used that dialog; wasn't aware of its existance. I've been using
> JabRef for many years. It used to have a LyX icon on the icon bar along
> the top
> which would insert the selected document in the lyx document where the
> cursor is located. Now I use Ctrl-L which invokes Tool -> Push entries to
> external applications (LyX/Kile).
>

I'm using a fairly recent version of JabRef (5.2 Dec. 2020), which doesn't
have
such an icon.  But what you are doing sounds interesting and I will check
it out.

Thanks again,
Doug

>
> As a touch-typist I prefer to use the keyboard as much as possible (and CLI
> over GUI) so I am unfamiliar with many menu items offered by applications.
>
> HTH,
>
> Rich
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
On Sat, Mar 27, 2021 at 8:25 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Doug Martin wrote:
>
> > I also use Jabref and have a very large bibliography that I would like to
> > be able to draw on for other papers, and would think about using that
> > large bibliography (with enhancements) as my master bibliography.
>
> Doug,
>
> I suppose that if you're collaborating with others on a document you'd want
> a document-specific bibliography. On the other hand, there's no harm in
> using a single bibliography, even with collaborators.
>
> > But it seems that when you use the Jabref external link you have to give
> > up using the Lyx-Citation dialog? When you say "insertion in the text" do
> > you mean the LYX text?
>
> I'm not sure I understand, but assuming I do I'll answer your questions
> with
> "no" and "yes."
>

Rich,  Thanks for your quick response.

>
> Attached is a sample of a JabRef-inserted citation in the LyX text. I can
> click on that grey box and change the format of the citation. Is that the
> lyx-citation dialog to which you refer?
>

I mean the dialog you get when you choose Citation from the Insert Dropdown
list.
When I use that I can only use references that are in the specific bibTex
file I use for the
book or paper.

I'm guessing that you don't use that dialog and somehow when you insert a
citation using
the Jabref external link, you choose directly from JabRef?  An example of
how you
do the initial insert would be helpful.

Thanks,
Doug

>
> As you can see, the citation is inserted in the text and the full reference
> is in the bibliographic listing (renamed References) at the end of the
> document.
>
> HTH,
>
> Rich
> --
> 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
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Bibliography

2021-03-27 Thread Doug Martin
Rich,

I also use Jabref and have a very large bibliography that I would like to
be able to
draw on for other papers, and would think about using that large
bibliography
(with enhancements) as my master bibliography.

But it seems that when you use the Jabref external link you have to give up
using the
Lyx-Citation dialog?  When you say "insertion in the text" do you mean the
LYX text?

Doug

On Sat, Mar 27, 2021 at 6:38 AM Rich Shepard 
wrote:

> On Sat, 27 Mar 2021, Wolfgang Engelmann wrote:
>
> > Perhaps I explained badly: I have two relatively large bib files. The
> > first one contains (among many others) most of the needed references for
> > my book. The second one (among many others) those which are missing in
> the
> > first one. I would like to get those into my document. But I do not want
> > to have any references of the first one to be replaced by the same
> > references in the second bib file.
>
> Wolfgang,
>
> What tool do you use to manage your references?
>
> Why do you have multiple bibliographies?
>
> Here, I use JabRef for all my references (981 of 'em). When I want to cite
> one in a document (such as the book I'm writing), I select it and use
> JabRef's external link to insert the citation in the text and the full
> reference in the bibliography.
>
> Would something like this work for you?
>
> Rich
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Doug Martin
On Sun, Feb 14, 2021 at 11:03 AM Paul A. Rubin  wrote:

> On 2/14/21 1:16 PM, Doug Martin wrote:
>
> Paul (and all),
>
> Sorry for this partial repeat, as I accidentally sent previous email
> before I was finished:
>
> As for my desire to center equations, I have attached the LYX file and the
> resulting pdf file.
> The last pdf slide shows the left-justification of equations that I am
> getting.
>
> The Beamer theme used in the LaTeX preamble is Madrid.  There is a Madrid
> theme slide deck at
> Paul,
>
> As for my desire to center equations, I have attached the LYX file and the
> resulting pdf file.
> The last pdf slide shows the left-justification of equations that I am
> getting.
>
> The Beamer theme used in the LaTeX preamble is Madrid. For an example of
> the Madrid theme see
> http://homepages.math.uic.edu/~hurder/math589/beamer/index.html, where
> the equations are centered.
> So I guess there are some other things I have to change in the LaTeX
> preamble?  I'm a little bit lost here.
>
> Doug
>
> Doug,
>
> You and I have entirely different ideas of what a minimal example is.
>

*Sorry about that.*

> That said, the culprit is a setting in the document. If you go to Document
> > Settings... > Math Options, you will note that the "Indent formulas"
> option is checked and set to Default. Uncheck it and your centered formulas
> will center properly.
>

*Perfect.  Many thanks.  Now I know to look around more at the settings.*

*Doug*

>
> Paul
>
>

-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Frame Control in LYX Beamer Slides

2021-02-14 Thread Doug Martin
Paul,

Thanks very much for the quick response.  That works.

I also found that it is helpful to always create right away the separator
to end the Frame, which is not in the main Dropdown menu for Standard,
etc., as I had seen in a tutorial, but in the Insert drop down menu.

By the way, do you happen to know how to get true horizontally centered
equations in Beamer slides. When I center them in the LYX file,
they end up shifted somewhat left.

Doug

On Sun, Feb 14, 2021 at 8:40 AM Paul A. Rubin  wrote:

> On 2/14/21 10:50 AM, Doug Martin wrote:
>
> I I have the following simple question:  I have by mistake created a new
> Frame and want to
> delete.  There must be a simple way to do that, but I am not seeing it.
> Thanks in advance for any guidance provided.
>
> Doug
>
>
> Put the cursor in the inset for the frame title (assuming there is one),
> at the very left, and hit backspace to get rid of the inset. Then just use
> the environment select box (start of the top tool bar) to change from Frame
> to Standard (or whatever you would like).
>
> Paul
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
Founder and Former Director of MS-CFRM Program
depts.washington.edu/compfin/
University of Washington
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Frame Control in LYX Beamer Slides

2021-02-14 Thread Doug Martin
I I have the following simple question:  I have by mistake created a new
Frame and want to
delete.  There must be a simple way to do that, but I am not seeing it.
Thanks in advance for any guidance provided.

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