Re: Command-buffer inset-insert syntax

2008-02-26 Thread Pavel Sanda
Just to make it complete: the syntax is inset-apply ref LatexCommand Format reference label name\end_inset where label name is the name of the referenced label and Format is one of the following: ref -- reference eqref -- (reference) pageref -- page vpageref -- on page

Re: Command-buffer inset-insert syntax

2008-02-26 Thread Pavel Sanda
Just to make it complete: the syntax is inset-apply ref LatexCommand Format reference label name\end_inset where label name is the name of the referenced label and Format is one of the following: ref -- reference eqref -- (reference) pageref -- page vpageref -- on page

Re: Command-buffer inset-insert syntax

2008-02-26 Thread Pavel Sanda
> Just to make it complete: the syntax is > >inset-apply ref LatexCommand reference ""\end_inset > > where is the name of the referenced label and > is one of the following: > >ref -- >eqref -- () >pageref -- >vpageref -- on >vref -- on >prettyref -- Formatted

Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Hi, I'd like to insert a cross-reference via the command-buffer. Unfortunately I'm note sure about the syntax. I found the following on http://wiki.lyx.org/LyX/InsertingReferences: For versions of LyX subsequent to 1.4, you have to use |inset-insert| instead. The format is

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
For versions of LyX subsequent to 1.4, you have to use |inset-insert| instead. The format is |LYXCMD:anything:inset-insert ref LatexCommand ref reference referenceName \end_inset|. There's also an optional name NAME argument that seems to work in docbook: |link

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Subject: Re: Command-buffer inset-insert syntax From: Pavel Sanda [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Mon Feb 25 2008 21:45:45 GMT+0100 For versions of LyX subsequent to 1.4, you have to use |inset-insert| instead. The format is |LYXCMD:anything:inset-insert

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
So I tried inset-insert ref LatexCommand ref reference tst:2 you mean this? inset-apply ref LatexCommand ref reference tst:2\end_inset p

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Perfect, THANKS! Just to make it complete: the syntax is inset-apply ref LatexCommand Format reference label name\end_inset where label name is the name of the referenced label and Format is one of the following: ref -- reference eqref -- (reference) pageref -- page vpageref --

Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Hi, I'd like to insert a cross-reference via the command-buffer. Unfortunately I'm note sure about the syntax. I found the following on http://wiki.lyx.org/LyX/InsertingReferences: For versions of LyX subsequent to 1.4, you have to use |inset-insert| instead. The format is

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
For versions of LyX subsequent to 1.4, you have to use |inset-insert| instead. The format is |LYXCMD:anything:inset-insert ref LatexCommand ref reference referenceName \end_inset|. There's also an optional name NAME argument that seems to work in docbook: |link

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Subject: Re: Command-buffer inset-insert syntax From: Pavel Sanda [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Date: Mon Feb 25 2008 21:45:45 GMT+0100 For versions of LyX subsequent to 1.4, you have to use |inset-insert| instead. The format is |LYXCMD:anything:inset-insert

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
So I tried inset-insert ref LatexCommand ref reference tst:2 you mean this? inset-apply ref LatexCommand ref reference tst:2\end_inset p

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Perfect, THANKS! Just to make it complete: the syntax is inset-apply ref LatexCommand Format reference label name\end_inset where label name is the name of the referenced label and Format is one of the following: ref -- reference eqref -- (reference) pageref -- page vpageref --

Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Hi, I'd like to insert a cross-reference via the command-buffer. Unfortunately I'm note sure about the syntax. I found the following on http://wiki.lyx.org/LyX/InsertingReferences: For versions of LyX subsequent to 1.4, you have to use |inset-insert| instead. The format is

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
>For versions of LyX subsequent to 1.4, you have to use >|inset-insert| instead. The format is >|LYXCMD::inset-insert ref LatexCommand ref reference >referenceName \end_inset|. There's also an optional "name NAME" >argument that seems to work in docbook: |

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
uot;' x: 0 y: 0 Somehow it seems to get close but I don't know what to change... Regards Toby Original Message Subject: Re: Command-buffer inset-insert syntax From: Pavel Sanda <[EMAIL PROTECTED]> To: lyx-users@lists.lyx.org Date: Mon Feb 25 2008 21:45:45 GMT+0100 For

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Pavel Sanda
> So I tried inset-insert ref LatexCommand ref reference "tst:2" you mean this? inset-apply ref LatexCommand ref reference "tst:2"\end_inset p

Re: Command-buffer inset-insert syntax

2008-02-25 Thread Tobias Krause
Perfect, THANKS! Just to make it complete: the syntax is inset-apply ref LatexCommand reference ""\end_inset where is the name of the referenced label and is one of the following: ref -- eqref -- () pageref -- vpageref -- on vref -- on prettyref -- Formatted