Question about CommandSequences: box-insert Frameless

2012-12-15 Thread martin
Hi all users and devs,

Been using the application for a while and love it. 

Was reading
http://wiki.lyx.org/Tips/CommandSequences
and 
http://wiki.lyx.org/FAQ/FiguresSideBySide

Want to produce a command sequence for figures side by side.

So far 

float-insert figure
box-insert Frameless

But I want frameless box of width 45% \textwidth

Here are some references
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg61706.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg62044.html

From msg 62044 it seems 
box-insert frameless calls LFUN_INSERT_BOX which calls 

case LFUN_INSERT_BOX:

+   {
+   string arg = cmd.getArg(0);
+   if (arg.empty())
+   arg = Box;
+   return new InsetBox(params, arg);
+   }

So the question is, how to do something like

box-insert Frameless width 40% linetext

Thanks in advance

Martin




Re: LyX Interface to the \hyperref Command?

2012-12-15 Thread Guy Rutenberg
Hi Steve,

Thanks for your reply.


On 15 December 2012 17:51, Steve Litt sl...@troubleshooters.com wrote:



 I use hyperref in all my books. I just \usepackage{hyperref} in the
 layout file, as I remember.


I probably wasn't clear in the problem I described. LyX makes it very easy
to setup hyperref support so references actually links in the resulting pdf
document (you can just select in Document-Settings).

However, the hyperref package provides the \hyperref[labelname]{link text}
command (it's a command with the same name as the package). This command is
somewhat like the href command LyX support but instead of pointing at a URL
it points to a label in the current document. This is the command I'm
looking for an interface for.

Thanks,

Guy


Re: Using LyX to edit organise bibliographies

2012-12-15 Thread Dr Eberhard Lisse
Have a look at BibDesk,

takes 1% of the time you took to re-invent the wheel.

el

On 2012-04-17 10:39 , Andrew Parsloe wrote:
 On 17/04/2012 8:43 p.m., PhilipPirrip wrote:
 Excuse me for not trying what you've done, but I have to ask first: why
 do you think this is better than using Mendeley, for instance, or some
 other bibliography management software?

 
 [...]

 So why don't I get Mendeley (or whatever)? There are many
 answers to that: life is short and there are lots of things I want to
 learn other than new software;
[...]




Re: Using LyX to edit organise bibliographies

2012-12-15 Thread Dr Eberhard Lisse
On the Mac BibDesk works with LyX.

el

On 2012-04-20 17:44 , Alex Vergara Gil wrote:
[...]
 This is the first time I've heard about JabRef, but if it is that nice
 then it should be integrated into LyX as Gnumeric is
[...]



Question about CommandSequences: box-insert Frameless

2012-12-15 Thread martin
Hi all users and devs,

Been using the application for a while and love it. 

Was reading
http://wiki.lyx.org/Tips/CommandSequences
and 
http://wiki.lyx.org/FAQ/FiguresSideBySide

Want to produce a command sequence for figures side by side.

So far 

float-insert figure
box-insert Frameless

But I want frameless box of width 45% \textwidth

Here are some references
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg61706.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg62044.html

From msg 62044 it seems 
box-insert frameless calls LFUN_INSERT_BOX which calls 

case LFUN_INSERT_BOX:

+   {
+   string arg = cmd.getArg(0);
+   if (arg.empty())
+   arg = Box;
+   return new InsetBox(params, arg);
+   }

So the question is, how to do something like

box-insert Frameless width 40% linetext

Thanks in advance

Martin




Re: LyX Interface to the \hyperref Command?

2012-12-15 Thread Guy Rutenberg
Hi Steve,

Thanks for your reply.


On 15 December 2012 17:51, Steve Litt sl...@troubleshooters.com wrote:



 I use hyperref in all my books. I just \usepackage{hyperref} in the
 layout file, as I remember.


I probably wasn't clear in the problem I described. LyX makes it very easy
to setup hyperref support so references actually links in the resulting pdf
document (you can just select in Document-Settings).

However, the hyperref package provides the \hyperref[labelname]{link text}
command (it's a command with the same name as the package). This command is
somewhat like the href command LyX support but instead of pointing at a URL
it points to a label in the current document. This is the command I'm
looking for an interface for.

Thanks,

Guy


Re: Using LyX to edit organise bibliographies

2012-12-15 Thread Dr Eberhard Lisse
Have a look at BibDesk,

takes 1% of the time you took to re-invent the wheel.

el

On 2012-04-17 10:39 , Andrew Parsloe wrote:
 On 17/04/2012 8:43 p.m., PhilipPirrip wrote:
 Excuse me for not trying what you've done, but I have to ask first: why
 do you think this is better than using Mendeley, for instance, or some
 other bibliography management software?

 
 [...]

 So why don't I get Mendeley (or whatever)? There are many
 answers to that: life is short and there are lots of things I want to
 learn other than new software;
[...]




Re: Using LyX to edit organise bibliographies

2012-12-15 Thread Dr Eberhard Lisse
On the Mac BibDesk works with LyX.

el

On 2012-04-20 17:44 , Alex Vergara Gil wrote:
[...]
 This is the first time I've heard about JabRef, but if it is that nice
 then it should be integrated into LyX as Gnumeric is
[...]



Question about CommandSequences: box-insert Frameless

2012-12-15 Thread martin
Hi all users and devs,

Been using the application for a while and love it. 

Was reading
http://wiki.lyx.org/Tips/CommandSequences
and 
http://wiki.lyx.org/FAQ/FiguresSideBySide

Want to produce a command sequence for figures side by side.

So far 

float-insert figure
box-insert Frameless

But I want frameless box of width 45% \textwidth

Here are some references
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg61706.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg62044.html

>From msg 62044 it seems 
box-insert frameless calls LFUN_INSERT_BOX which calls 

case LFUN_INSERT_BOX:

+   {
+   string arg = cmd.getArg(0);
+   if (arg.empty())
+   arg = "Box";
+   return new InsetBox(params, arg);
+   }

So the question is, how to do something like

box-insert Frameless width 40% linetext

Thanks in advance

Martin




Re: LyX Interface to the \hyperref Command?

2012-12-15 Thread Guy Rutenberg
Hi Steve,

Thanks for your reply.


On 15 December 2012 17:51, Steve Litt  wrote:

>
>
> I use hyperref in all my books. I just \usepackage{hyperref} in the
> layout file, as I remember.
>
>
I probably wasn't clear in the problem I described. LyX makes it very easy
to setup hyperref support so references actually links in the resulting pdf
document (you can just select in Document->Settings).

However, the hyperref package provides the \hyperref[labelname]{link text}
command (it's a command with the same name as the package). This command is
somewhat like the href command LyX support but instead of pointing at a URL
it points to a label in the current document. This is the command I'm
looking for an interface for.

Thanks,

Guy


Re: Using LyX to edit & organise bibliographies

2012-12-15 Thread Dr Eberhard Lisse
Have a look at BibDesk,

takes 1% of the time you took to re-invent the wheel.

el

On 2012-04-17 10:39 , Andrew Parsloe wrote:
> On 17/04/2012 8:43 p.m., PhilipPirrip wrote:
>> Excuse me for not trying what you've done, but I have to ask first: why
>> do you think this is better than using Mendeley, for instance, or some
>> other bibliography management software?
>>
> 
> [...]

> So why don't I get Mendeley (or whatever)? There are many
> answers to that: life is short and there are lots of things I want to
> learn other than new software;
[...]




Re: Using LyX to edit & organise bibliographies

2012-12-15 Thread Dr Eberhard Lisse
On the Mac BibDesk works with LyX.

el

On 2012-04-20 17:44 , Alex Vergara Gil wrote:
>[...]
> This is the first time I've heard about JabRef, but if it is that nice
> then it should be integrated into LyX as Gnumeric is
[...]