Re: Fwd: compiling LyX

2021-11-11 Thread Jean-Marc Lasgouttes

Le 11/11/2021 à 23:30, john kennan a écrit :
I'm using Gmail, looking at the Mail Archive. I can send messages to the 
list, but I see no way to connect what I'm sending with what I'm 
replying to.


There is something I do not understand. You are subscribed, but read 
lyx-devel through the mail archive? Did I get this right?


If I did, I have no idea of how to make things easier for you.

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


Fwd: compiling LyX

2021-11-11 Thread john kennan
I'm using Gmail, looking at the Mail Archive. I can send messages to the
list, but I see no way to connect what I'm sending with what I'm replying
to.

John


-- Forwarded message -
From: john kennan 
Date: Thu, Nov 11, 2021 at 12:00 PM
Subject: Re: compiling LyX
To: LyX Developers 


I don't know how to reply to messages on the list (I'm already subscribed)

Edited the wiki (https://wiki.lyx.org/Devel/Git) to say that one must
change to the lyx directory after the first couple of steps

John


On Thu, Nov 11, 2021 at 11:14 AM john kennan  wrote:

> Hi
>
> I'd like to be able to compile LyX (on Mac OS Big Sur).
>
> I tried following the instructions on https://wiki.lyx.org/Devel/Git
> Got as far as this:
>
> (base) jk@jkmac-3 ~ % git config --global user.name jkennan
> (base) jk@jkmac-3 ~ % git config --global user.email jken...@gmail.com
> (base) jk@jkmac-3 ~ %git checkout master
> fatal: not a git repository (or any of the parent directories): .git
>
> John Kennan
>
>
>
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: compiling LyX

2021-11-11 Thread Jean-Marc Lasgouttes

Le 11/11/2021 à 19:00, john kennan a écrit :

I don't know how to reply to messages on the list (I'm already subscribed)


Hello John,

What is the problem? That you answer to sender instead?

What are you using for your emails?

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


Re: LabelCounter with Beamer frame?

2021-11-11 Thread Scott Kostyshak
On Thu, Nov 11, 2021 at 10:08:27AM -0800, Doug Martin wrote:
> I would just use it all the time, as hany reference information.
> And for example, if I am reviewing the entire compiled pdf slide deck, and
> see some
> slides that I want to move to a different order, I could find it easily in
> the LYX file.

Good to know. That's similar to what I am planning to use it for.

> By the way, I almost replied to the long thread END OF FRAME once .. ,
> started by Ehud Kaplan,
> if only to say that I had shared much of the frustration in getting
> started, and remembering what to do
> upon returning to LYX Beamer after not using it for a while.   Back in the
> trench again with it, I think
> a good user guide would go a long way to helping many people.

Makes sense. My opinion is that the hard work under the hood has been
done (I know Jürgen did a lot to improve consistency and features for
beamer). I think we just need to smooth out the user experience a bit.
In any case, I don't see this happening until after LyX 2.4.0 but I'm
confident we can improve things in the long run.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LabelCounter with Beamer frame?

2021-11-11 Thread Doug Martin
I would just use it all the time, as hany reference information.
And for example, if I am reviewing the entire compiled pdf slide deck, and
see some
slides that I want to move to a different order, I could find it easily in
the LYX file.

By the way, I almost replied to the long thread END OF FRAME once .. ,
started by Ehud Kaplan,
if only to say that I had shared much of the frustration in getting
started, and remembering what to do
upon returning to LYX Beamer after not using it for a while.   Back in the
trench again with it, I think
a good user guide would go a long way to helping many people.

On Thu, Nov 11, 2021 at 9:26 AM Scott Kostyshak  wrote:

> On Thu, Nov 11, 2021 at 08:12:57AM -0800, Doug Martin wrote:
> > All,
> >
> > I wouldn't be able to work on this feature, but I am using Beamer all the
> > time now,
> > and it would be great to have it.
>
> Good to know, Doug. Is there a particular use case where you would find it
> useful?
>
> Scott
> --
> lyx-devel mailing list
> lyx-devel@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
University of Washington
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: compiling LyX

2021-11-11 Thread john kennan
I don't know how to reply to messages on the list (I'm already subscribed)

Edited the wiki (https://wiki.lyx.org/Devel/Git) to say that one must
change to the lyx directory after the first couple of steps

John


On Thu, Nov 11, 2021 at 11:14 AM john kennan  wrote:

> Hi
>
> I'd like to be able to compile LyX (on Mac OS Big Sur).
>
> I tried following the instructions on https://wiki.lyx.org/Devel/Git
> Got as far as this:
>
> (base) jk@jkmac-3 ~ % git config --global user.name jkennan
> (base) jk@jkmac-3 ~ % git config --global user.email jken...@gmail.com
> (base) jk@jkmac-3 ~ %git checkout master
> fatal: not a git repository (or any of the parent directories): .git
>
> John Kennan
>
>
>
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: compiling LyX

2021-11-11 Thread Scott Kostyshak
On Thu, Nov 11, 2021 at 11:14:23AM -0600, john kennan wrote:
> Hi
> 
> I'd like to be able to compile LyX (on Mac OS Big Sur).
> 
> I tried following the instructions on https://wiki.lyx.org/Devel/Git
> Got as far as this:
> 
> (base) jk@jkmac-3 ~ % git config --global user.name jkennan
> (base) jk@jkmac-3 ~ % git config --global user.email jken...@gmail.com
> (base) jk@jkmac-3 ~ %git checkout master
> fatal: not a git repository (or any of the parent directories): .git
> 
> John Kennan

Hi John,

First you need to clone:

  git clone "git://git.lyx.org/lyx"

That will create a directory called "lyx" wherever you run that command.

After cloning, then you need to hope that Stephan can help you :). I
think he has a build script for compiling LyX on macOS.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LabelCounter with Beamer frame?

2021-11-11 Thread Scott Kostyshak
On Thu, Nov 11, 2021 at 08:12:57AM -0800, Doug Martin wrote:
> All,
> 
> I wouldn't be able to work on this feature, but I am using Beamer all the
> time now,
> and it would be great to have it.

Good to know, Doug. Is there a particular use case where you would find it 
useful?

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


compiling LyX

2021-11-11 Thread john kennan
Hi

I'd like to be able to compile LyX (on Mac OS Big Sur).

I tried following the instructions on https://wiki.lyx.org/Devel/Git
Got as far as this:

(base) jk@jkmac-3 ~ % git config --global user.name jkennan
(base) jk@jkmac-3 ~ % git config --global user.email jken...@gmail.com
(base) jk@jkmac-3 ~ %git checkout master
fatal: not a git repository (or any of the parent directories): .git

John Kennan
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Upgrade from buster to bullseye

2021-11-11 Thread JP



Le 11 novembre 2021 17:15:47 Jean-Pierre Chrétien 
 a écrit


I never use Debian install of LyX because it requires to install Texlive as 
well

(and I install it separately from tug.org), but is librsvg2-bin in the Lyx
dependencies ?


I checked on Debian packages: it is only suggested (while ImageMagick is 
recommended).


--
Jean-Pierre

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


Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Pierre Chrétien

Le 11/11/2021 à 13:23, Jean-Marc Lasgouttes a


Editing policy.html was the trick.
Thanks to all of you who helped.


Do you have rsvg-convert installed? Is it used in this situation?


I installed librsvg2-bin, reconfigured lyx-2.3.7dev, removed files from the 
cache and again, compilation of the UserGuide went flawlessly with calls to rsvg.


The rsvg path is actually easier on Debian that editing the ImageMagick policy 
file.

I never use Debian install of LyX because it requires to install Texlive as well 
(and I install it separately from tug.org), but is librsvg2-bin in the Lyx 
dependencies ?


--
Jean-Pierre
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LabelCounter with Beamer frame?

2021-11-11 Thread Doug Martin
All,

I wouldn't be able to work on this feature, but I am using Beamer all the
time now,
and it would be great to have it.

Doug

On Thu, Nov 11, 2021 at 6:25 AM Scott Kostyshak  wrote:

> On Thu, Nov 11, 2021 at 08:44:30AM +0100, Daniel wrote:
> > On 2021-11-11 08:38, Daniel wrote:
> > > On 2021-11-11 04:07, Scott Kostyshak wrote:
> > > > I would find it helpful to display the Frame number in LyX when
> working
> > > > with Beamer presentations.
> > > >
> > > > Attached is an attempt that doesn't work and screenshot showing that
> it
> > > > doesn't work.
> > > >
> > > > I'm clueless about layouts. Any advice?
> > > >
> > > > Scott
> > >
> > > Adding this to your Document > Local Layout works for me:
> > >
> > >
> > > Counter frame
> > > End
> > >
> > > Style Frame
> > >LabelString  "Frame \theframe"
> > >LabelCounter frame
> > >TocLevel 3
> > > End
> > >
> > >
> > > For some reason, if one keeps the TocLevel to 4, the label "Frame ..."
> > > disappears. But, I guess, as long as you don't use Subsubsection in
> your
> > > presentation, it should be no problem?
> > >
> > > Daniel
> > >
> >
> > Actually, it seems the local layout is read after the non-local layout is
> > read. So you have to either tweak the other frame layouts (PlainFrame
> etc.)
> > accordingly, or create a local copy of beamer.layout and tweak the Frame
> > layout directly there.
>
> This works great. Thank you! I had to set 'InitialValue' to 2 since the
> title takes up a frame for me. It's really nice to have the numbers. I
> find it especially helpful when I print out a copy and make edits and
> then want to input those hardcopy edits to the file. Navigating by slide
> numbers is a bit faster than searching for titles or (for frames without
> a title) content text.
>
> Thanks for the help, Daniel!
>
> > Numbering the frames seems to be good idea in general. Maybe it could
> become
> > the default? (Then the TocLevel stuff would have to be fixed somehow
> > though.)
>
> I think that might be nice. Indeed we'd have to smooth a few things out.
> If anyone is interested in working on this feature, maybe we could first
> ask on lyx-users what opinions are.
>
> Scott
> --
> lyx-devel mailing list
> lyx-devel@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
University of Washington
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: LabelCounter with Beamer frame?

2021-11-11 Thread Scott Kostyshak
On Thu, Nov 11, 2021 at 08:44:30AM +0100, Daniel wrote:
> On 2021-11-11 08:38, Daniel wrote:
> > On 2021-11-11 04:07, Scott Kostyshak wrote:
> > > I would find it helpful to display the Frame number in LyX when working
> > > with Beamer presentations.
> > > 
> > > Attached is an attempt that doesn't work and screenshot showing that it
> > > doesn't work.
> > > 
> > > I'm clueless about layouts. Any advice?
> > > 
> > > Scott
> > 
> > Adding this to your Document > Local Layout works for me:
> > 
> > 
> > Counter frame
> > End
> > 
> > Style Frame
> >    LabelString  "Frame \theframe"
> >    LabelCounter frame
> >    TocLevel 3
> > End
> > 
> > 
> > For some reason, if one keeps the TocLevel to 4, the label "Frame ..."
> > disappears. But, I guess, as long as you don't use Subsubsection in your
> > presentation, it should be no problem?
> > 
> > Daniel
> > 
> 
> Actually, it seems the local layout is read after the non-local layout is
> read. So you have to either tweak the other frame layouts (PlainFrame etc.)
> accordingly, or create a local copy of beamer.layout and tweak the Frame
> layout directly there.

This works great. Thank you! I had to set 'InitialValue' to 2 since the
title takes up a frame for me. It's really nice to have the numbers. I
find it especially helpful when I print out a copy and make edits and
then want to input those hardcopy edits to the file. Navigating by slide
numbers is a bit faster than searching for titles or (for frames without
a title) content text.

Thanks for the help, Daniel!

> Numbering the frames seems to be good idea in general. Maybe it could become
> the default? (Then the TocLevel stuff would have to be fixed somehow
> though.)

I think that might be nice. Indeed we'd have to smooth a few things out.
If anyone is interested in working on this feature, maybe we could first
ask on lyx-users what opinions are.

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Marc Lasgouttes

Le 11/11/2021 à 12:02, Jean-Pierre Chrétien a écrit :

Converter.cpp (430): No converter defined! I use convertDefault.py:
 /usr/bin/python2 -tt 
"/usr/local/share/lyx-2.3.7dev/scripts/convertDefault.py" svgz 
"/tmp/lyx_tmpdir.XrMxvxhYnibI/lyx_tmpbuf0/0_usr_local_share_lyx-2_3_7dev_images_buffer-new.svgz" 
pdf 
"/tmp/lyx_tmpdir.XrMxvxhYnibI/lyx_tmpbuf0/0_usr_local_share_lyx-2_3_7dev_images_buffer-new.pdf" 

ConverterCache.cpp (270):  
/usr/local/share/lyx-2.3.7dev/images/buffer-new.svgz pdf6 
/tmp/lyx_tmpdir.XrMxvxhYnibI/lyx_tmpbuf0/0_usr_local_share_lyx-2_3_7dev_images_buffer-new.pdf 




Editing policy.html was the trick.
Thanks to all of you who helped.


Do you have rsvg-convert installed? Is it used in this situation?

JMarc

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


Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Pierre Chrétien

Le 11/11/2021 à 11:52, Jean-Pierre Chrétien a écrit :

Le 10/11/2021 à 14:32, Jean-Marc Lasgouttes a écrit :

Le 10/11/2021 à 14:07, Jean-Pierre Chrétien a écrit :

You need to enable "files" debug level.


This not very informative, in fact I would like to see the conversion command 
to be able to test it from the console.


I should (from Converter::convert, l. 661):
 LYXERR(Debug::FILES, "Calling " << command);

What do you have as output?


No Converter.cpp reference, so the message is not triggered. All references are 
to ConverterCache.cpp, so I guess that I should clean the cache, but I do not 
remember how...




I found a cache directory in my personal LyX dir, so I removed the contents ans 
bingo! compilation of the UserGuide works flawlessly.



ConverterCache.cpp (401): not in cache.
Looking for python v2.x or 3.x ...
Examining /opt/texlive/2021/bin/x86_64-linux/pythontex
Examining /usr/bin/python2
Found Python 2.7.18

Converter.cpp (430): No converter defined! I use convertDefault.py:
	/usr/bin/python2 -tt "/usr/local/share/lyx-2.3.7dev/scripts/convertDefault.py" 
svgz 
"/tmp/lyx_tmpdir.XrMxvxhYnibI/lyx_tmpbuf0/0_usr_local_share_lyx-2_3_7dev_images_buffer-new.svgz" 
pdf 
"/tmp/lyx_tmpdir.XrMxvxhYnibI/lyx_tmpbuf0/0_usr_local_share_lyx-2_3_7dev_images_buffer-new.pdf"
ConverterCache.cpp (270):  /usr/local/share/lyx-2.3.7dev/images/buffer-new.svgz 
pdf6 
/tmp/lyx_tmpdir.XrMxvxhYnibI/lyx_tmpbuf0/0_usr_local_share_lyx-2_3_7dev_images_buffer-new.pdf



Editing policy.html was the trick.
Thanks to all of you who helped.

--
Jean-Pierre

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


Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Pierre Chrétien

Le 10/11/2021 à 14:32, Jean-Marc Lasgouttes a écrit :

Le 10/11/2021 à 14:07, Jean-Pierre Chrétien a écrit :

You need to enable "files" debug level.


This not very informative, in fact I would like to see the conversion command 
to be able to test it from the console.


I should (from Converter::convert, l. 661):
 LYXERR(Debug::FILES, "Calling " << command);

What do you have as output?


No Converter.cpp reference, so the message is not triggered. All references are 
to ConverterCache.cpp, so I guess that I should clean the cache, but I do not 
remember how...


--
Jean-Pierre
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel