Re: Portable LyX PortableApps

2011-05-20 Thread Trevor Jenkins
On Fri, May 20, 2011 at 6:47 AM, Matthias Schmidt gm_schm...@yahoo.dewrote:

 I gave this request to the PortableApps Forum Request Apps
 yesterday (http://portableapps.com/node/27981) :


There was a version of LyX at PortableApps.com but it was difficult to get
to work. I never succeeded in running it. It has also been deprecated for
lack of updates.


 I myself never made a portable app before. Is someone here who agrees to
 create a portable LyX?


I'm not volunteering to undertake this port. I don't have access to a
Windows PC at all except at client sites where having LyX as a portable app
would be helpful.

Regards, Trevor.

 Re: deemed!


LyX+Maxima

2011-05-20 Thread Francesco Menoncin

I am working on LyX 2.0 (wonderful release!!)

I am not able to make LyX and Maxima interact.
I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in LyX 
(Tools-Prefereces-Paths) and reconfigure LyX.
Nevertheless, when I try to compute something (like 2+2) I just obtain 
an empty space after the formula.


Any suggestion?

Thanks,

Francesco


undirected graph with capture

2011-05-20 Thread Mike Bonhoff
Hallo,

I wanna make a graph and give it a title, say name. I think this name is 
written under the graph normally. So I think creating a figure must be the 
right thing. 

So I clicked Insert-Float-figure and gave the figure the name and inserted 
the graph. 

But I have 2 problems:

1st: The name is centered, that means in the middle of the paper to the left 
and right. On the other hand, my figure is on the left side. 

I don't know how I can center the figure, too. I read the handbook (German 
version) and there were some hints, especially for importing existing figures, 
but not a lot of hints how to create such a figure by yourself.

2nd: I wanted to create an undirected graph and choose to do it with an 
x-y-pic-matrix with this code within the math mode:

\xymatrix{a\dir[dr]bc\\def} 

That creates an xy-pic-matrix with 2 rows (because of the \\ command) and 3 
rows (because of the 2-times  command). 
\dir[dr] makes an arc to the element which is one step below (d for down) and 
one element to the right (r for right). I used to write \dir@{-}[dr] instead of 
\dir[dr] because that made an undirected edge instead of an arc. But that 
doesn't work anymore; I don't know why.

Is there a better way to do that, for example with tikz, and is it easy to use 
that within lyx? If not, how can I create simple edges in that 
xy-pic-environment and place the title under the figure.

Thanks!

Mike Bonhoff


-- 
NEU: FreePhone - kostenlos mobil telefonieren!  
Jetzt informieren: http://www.gmx.net/de/go/freephone


Forward/reverse searching problems under Windows

2011-05-20 Thread Christopher Menzel
LyX folk:

I usually work in OS X or Linux but on occasion work in Windows 7.  No
problems at all with LyX under the former two but both forward and
inverse searching are failing under Windows.  I have followed all the
instructions assiduously in the Additional Features document -- path to
LyXserver pipe is set to \\.\pipe\lyxpipe, I've created the batch file
lyxeditor.bat, have configured Yap properly, etc.  But when I
double-click in my DVI preview document, a command window pops up
quickly with the message The system cannot find the file specified. 
I've seen a couple of reports of problems with inverse search and MikTeX
2.9 but no solutions.  Any help or relevant information appreciated. 
I'm using LyX 2.0, of course.

Chris Menzel



Re: undirected graph with capture

2011-05-20 Thread Paul A . Rubin
Mike Bonhoff lyx-user at gmx.de writes:

 1st: The name is centered, that means in the middle of the paper to the
 left and right. On the other hand, my figure is on the left side. 
 
 I don't know how I can center the figure, too.

Place the cursor alongside the graph and use the paragraph settings button (or
Edit  Paragraph Settings) to center the paragraph containing the graph.
 
 2nd: I wanted to create an undirected graph and choose to do it with an 
 x-y-pic-matrix with this code within the math mode:
 
 \xymatrix{a\dir[dr]bc\\def} 
 
 That creates an xy-pic-matrix with 2 rows (because of the \\ command) and
 3 rows (because of the 2-times  command). 

The following steps work:

1.  Inside the math inset, type '\xymatrix' and hit the space bar. That creates
an inset for the upper left cell of the matrix.

2.  Use the Add row and Add column buttons in the math tool bar to expand the
matrix to two rows and three columns.

3.  In the first cell, type 'a\ar@'. Then type '\{' which will add a pair of
braces with an inset between them. Type a dash (-) in the inset.

4.  Move the cursor just outside the braces and type '[dr]'.

5.  Finish the matrix entries.

 Is there a better way to do that, for example with tikz, and is it easy to
 use that within lyx?

Choosing between Xy-pic and TiKZ is a matter of taste.  You can type TiKZ/PGF
commands into a LaTeX (ERT) insert.  (You also need to load TiKZ and any
required libraries in the preamble.)

There is a manual for using Xy-pic in LyX (by H. Peter Gumm) included with LyX
(on the Help menu).

Paul






about the shortcuts

2011-05-20 Thread Wei-Dong Lian
hi everyone,

In the insert cross-reference dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example alt+t, o, a, e, b etc. Does anyone know
the shortcut for the listbox? I do not like using the mouse each time to
insert a cross reference. after a filter operation in that dialog, i would
like to switch back to the listbox to select the item i want to reference.
Any suggestion will be welcome.
thanks in advance,
weidong


Multiple indexes

2011-05-20 Thread Francesco Menoncin

Dear all,

I am working on LyX 2.0 and I have a strange problem with multiple indexes.

I work with both Windows 7 and Ubuntu 11.04.
While in Ubunto everything is OK, I am not able to see the indexes in 
Windows.


I have checked the LaTeX-log and I have sees that in Ubuntu the files 
with extension ind are correctly loaded, while in Windows 7 there is 
the message no file xxx-idx.ind (even if I do not receive any error 
while compiling the document).


Any suggestion?

Francesco


Re: about the shortcuts

2011-05-20 Thread Uwe Stöhr

Am 20.05.2011 16:59, schrieb Wei-Dong Lian:


In the insert cross-reference dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example alt+t, o, a, e, b etc.


LyX doesn't yet have a function to bind a shortcut to this function. Can you please open a new bug 
report (set is as enhancement) in our bugtracker:

http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe


Re: LyX+Maxima

2011-05-20 Thread Enrico Forestieri
Francesco Menoncin writes:
 
 I am not able to make LyX and Maxima interact.
 I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in
 LyX (Tools-Prefereces-Paths) and reconfigure LyX.
 Nevertheless, when I try to compute something (like 2+2) I just
 obtain an empty space after the formula.
 Any suggestion?

The problem here is that LyX is invoking the command maxima but there's
only a batch file (maxima.bat) to be executed on Windows. Now, LyX 2.0 on
Windows is not able to execute batch files anymore. You may have better
luck trying the Cygwin version of LyX , as a bash script maxima is also
supplied and the Cygwin version is able to execute it.

-- 
Enrico



Re: Forward/reverse searching problems under Windows

2011-05-20 Thread Enrico Forestieri
Christopher Menzel writes:
 
 I have followed all the
 instructions assiduously in the Additional Features document -- path to
 LyXserver pipe is set to \\.\pipe\lyxpipe, I've created the batch file
 lyxeditor.bat, have configured Yap properly, etc.  But when I
 double-click in my DVI preview document, a command window pops up
 quickly with the message The system cannot find the file specified.

Make sure you use the full path to lyxeditor.bat in yap.

 I've seen a couple of reports of problems with inverse search and MikTeX
 2.9 but no solutions.

Uh? It works just fine for me.

-- 
Enrico



Re: LyX+Maxima

2011-05-20 Thread Francesco Menoncin

Il 20/05/2011 21:27, Enrico Forestieri ha scritto:

Francesco Menoncin writes:

I am not able to make LyX and Maxima interact.
I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in
LyX (Tools-Prefereces-Paths) and reconfigure LyX.
Nevertheless, when I try to compute something (like 2+2) I just
obtain an empty space after the formula.
Any suggestion?

The problem here is that LyX is invoking the command maxima but there's
only a batch file (maxima.bat) to be executed on Windows. Now, LyX 2.0 on
Windows is not able to execute batch files anymore. You may have better
luck trying the Cygwin version of LyX , as a bash script maxima is also
supplied and the Cygwin version is able to execute it.


Thank you for your help. I will try Cygwin.
Nevertheless, I just stress that Maxima and LyX perfectly work together 
in Ubuntu (11.04).


Francesco

--

Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/




Re: \pdflatex?

2011-05-20 Thread Uwe Stöhr

Am 19.05.2011 19:18, schrieb Richard Heck:


Is there a macro like \LaTeX that produces the logo for pdfLaTeX?


No and it is new for me that it has a special logo.
But note that the name of the program is pdfTeX. pdflatex is only the name of one of its 
commands/executables.


regards Uwe


Re: Multiple indexes

2011-05-20 Thread Uwe Stöhr

Am 20.05.2011 21:03, schrieb Francesco Menoncin:


I work with both Windows 7 and Ubuntu 11.04.
While in Ubunto everything is OK, I am not able to see the indexes in Windows.

I have checked the LaTeX-log and I have sees that in Ubuntu the files with extension 
ind are
correctly loaded, while in Windows 7 there is the message no file xxx-idx.ind 
(even if I do not
receive any error while compiling the document).


Can you please report this in our bugtracker:
http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe


Re: about the shortcuts

2011-05-20 Thread Julien Rioux

On 20/05/2011 10:59 AM, Wei-Dong Lian wrote:

hi everyone,

In the insert cross-reference dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example alt+t, o, a, e, b etc. Does anyone know
the shortcut for the listbox? I do not like using the mouse each time to
insert a cross reference. after a filter operation in that dialog, i would
like to switch back to the listbox to select the item i want to reference.
Any suggestion will be welcome.
thanks in advance,
weidong



Here it's alt+v.

--
Julien



Re: Track Changes/Color in Output

2011-05-20 Thread Dr Eberhard Lisse
Julien,

thanks.

But, is there a way to change it in ALL documents, ie globally?

greetings, el


On 2011-05-19 16:12 , Julien Rioux wrote:
 On 19/05/2011 5:55 AM, Dr Eberhard Lisse wrote:
 Hi,

 I wish to change the tracking colours. On screen I have changed the
 first author change to brown which works very well but in the output
 it remains in blue, which I don't like as I am using blue for the
 hyperref links.

 If I look at the LaTeC source its something like this here:

 \providecolor{lyxadded}{rgb}{0,0,1}
 \providecolor{lyxdeleted}{rgb}{1,0,0}

 Where can I override this?

 
 In the preamble of your document.
 
 greetings, el
 




Re: Portable LyX PortableApps

2011-05-20 Thread Trevor Jenkins
On Fri, May 20, 2011 at 6:47 AM, Matthias Schmidt gm_schm...@yahoo.dewrote:

 I gave this request to the PortableApps Forum Request Apps
 yesterday (http://portableapps.com/node/27981) :


There was a version of LyX at PortableApps.com but it was difficult to get
to work. I never succeeded in running it. It has also been deprecated for
lack of updates.


 I myself never made a portable app before. Is someone here who agrees to
 create a portable LyX?


I'm not volunteering to undertake this port. I don't have access to a
Windows PC at all except at client sites where having LyX as a portable app
would be helpful.

Regards, Trevor.

 Re: deemed!


LyX+Maxima

2011-05-20 Thread Francesco Menoncin

I am working on LyX 2.0 (wonderful release!!)

I am not able to make LyX and Maxima interact.
I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in LyX 
(Tools-Prefereces-Paths) and reconfigure LyX.
Nevertheless, when I try to compute something (like 2+2) I just obtain 
an empty space after the formula.


Any suggestion?

Thanks,

Francesco


undirected graph with capture

2011-05-20 Thread Mike Bonhoff
Hallo,

I wanna make a graph and give it a title, say name. I think this name is 
written under the graph normally. So I think creating a figure must be the 
right thing. 

So I clicked Insert-Float-figure and gave the figure the name and inserted 
the graph. 

But I have 2 problems:

1st: The name is centered, that means in the middle of the paper to the left 
and right. On the other hand, my figure is on the left side. 

I don't know how I can center the figure, too. I read the handbook (German 
version) and there were some hints, especially for importing existing figures, 
but not a lot of hints how to create such a figure by yourself.

2nd: I wanted to create an undirected graph and choose to do it with an 
x-y-pic-matrix with this code within the math mode:

\xymatrix{a\dir[dr]bc\\def} 

That creates an xy-pic-matrix with 2 rows (because of the \\ command) and 3 
rows (because of the 2-times  command). 
\dir[dr] makes an arc to the element which is one step below (d for down) and 
one element to the right (r for right). I used to write \dir@{-}[dr] instead of 
\dir[dr] because that made an undirected edge instead of an arc. But that 
doesn't work anymore; I don't know why.

Is there a better way to do that, for example with tikz, and is it easy to use 
that within lyx? If not, how can I create simple edges in that 
xy-pic-environment and place the title under the figure.

Thanks!

Mike Bonhoff


-- 
NEU: FreePhone - kostenlos mobil telefonieren!  
Jetzt informieren: http://www.gmx.net/de/go/freephone


Forward/reverse searching problems under Windows

2011-05-20 Thread Christopher Menzel
LyX folk:

I usually work in OS X or Linux but on occasion work in Windows 7.  No
problems at all with LyX under the former two but both forward and
inverse searching are failing under Windows.  I have followed all the
instructions assiduously in the Additional Features document -- path to
LyXserver pipe is set to \\.\pipe\lyxpipe, I've created the batch file
lyxeditor.bat, have configured Yap properly, etc.  But when I
double-click in my DVI preview document, a command window pops up
quickly with the message The system cannot find the file specified. 
I've seen a couple of reports of problems with inverse search and MikTeX
2.9 but no solutions.  Any help or relevant information appreciated. 
I'm using LyX 2.0, of course.

Chris Menzel



Re: undirected graph with capture

2011-05-20 Thread Paul A . Rubin
Mike Bonhoff lyx-user at gmx.de writes:

 1st: The name is centered, that means in the middle of the paper to the
 left and right. On the other hand, my figure is on the left side. 
 
 I don't know how I can center the figure, too.

Place the cursor alongside the graph and use the paragraph settings button (or
Edit  Paragraph Settings) to center the paragraph containing the graph.
 
 2nd: I wanted to create an undirected graph and choose to do it with an 
 x-y-pic-matrix with this code within the math mode:
 
 \xymatrix{a\dir[dr]bc\\def} 
 
 That creates an xy-pic-matrix with 2 rows (because of the \\ command) and
 3 rows (because of the 2-times  command). 

The following steps work:

1.  Inside the math inset, type '\xymatrix' and hit the space bar. That creates
an inset for the upper left cell of the matrix.

2.  Use the Add row and Add column buttons in the math tool bar to expand the
matrix to two rows and three columns.

3.  In the first cell, type 'a\ar@'. Then type '\{' which will add a pair of
braces with an inset between them. Type a dash (-) in the inset.

4.  Move the cursor just outside the braces and type '[dr]'.

5.  Finish the matrix entries.

 Is there a better way to do that, for example with tikz, and is it easy to
 use that within lyx?

Choosing between Xy-pic and TiKZ is a matter of taste.  You can type TiKZ/PGF
commands into a LaTeX (ERT) insert.  (You also need to load TiKZ and any
required libraries in the preamble.)

There is a manual for using Xy-pic in LyX (by H. Peter Gumm) included with LyX
(on the Help menu).

Paul






about the shortcuts

2011-05-20 Thread Wei-Dong Lian
hi everyone,

In the insert cross-reference dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example alt+t, o, a, e, b etc. Does anyone know
the shortcut for the listbox? I do not like using the mouse each time to
insert a cross reference. after a filter operation in that dialog, i would
like to switch back to the listbox to select the item i want to reference.
Any suggestion will be welcome.
thanks in advance,
weidong


Multiple indexes

2011-05-20 Thread Francesco Menoncin

Dear all,

I am working on LyX 2.0 and I have a strange problem with multiple indexes.

I work with both Windows 7 and Ubuntu 11.04.
While in Ubunto everything is OK, I am not able to see the indexes in 
Windows.


I have checked the LaTeX-log and I have sees that in Ubuntu the files 
with extension ind are correctly loaded, while in Windows 7 there is 
the message no file xxx-idx.ind (even if I do not receive any error 
while compiling the document).


Any suggestion?

Francesco


Re: about the shortcuts

2011-05-20 Thread Uwe Stöhr

Am 20.05.2011 16:59, schrieb Wei-Dong Lian:


In the insert cross-reference dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example alt+t, o, a, e, b etc.


LyX doesn't yet have a function to bind a shortcut to this function. Can you please open a new bug 
report (set is as enhancement) in our bugtracker:

http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe


Re: LyX+Maxima

2011-05-20 Thread Enrico Forestieri
Francesco Menoncin writes:
 
 I am not able to make LyX and Maxima interact.
 I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in
 LyX (Tools-Prefereces-Paths) and reconfigure LyX.
 Nevertheless, when I try to compute something (like 2+2) I just
 obtain an empty space after the formula.
 Any suggestion?

The problem here is that LyX is invoking the command maxima but there's
only a batch file (maxima.bat) to be executed on Windows. Now, LyX 2.0 on
Windows is not able to execute batch files anymore. You may have better
luck trying the Cygwin version of LyX , as a bash script maxima is also
supplied and the Cygwin version is able to execute it.

-- 
Enrico



Re: Forward/reverse searching problems under Windows

2011-05-20 Thread Enrico Forestieri
Christopher Menzel writes:
 
 I have followed all the
 instructions assiduously in the Additional Features document -- path to
 LyXserver pipe is set to \\.\pipe\lyxpipe, I've created the batch file
 lyxeditor.bat, have configured Yap properly, etc.  But when I
 double-click in my DVI preview document, a command window pops up
 quickly with the message The system cannot find the file specified.

Make sure you use the full path to lyxeditor.bat in yap.

 I've seen a couple of reports of problems with inverse search and MikTeX
 2.9 but no solutions.

Uh? It works just fine for me.

-- 
Enrico



Re: LyX+Maxima

2011-05-20 Thread Francesco Menoncin

Il 20/05/2011 21:27, Enrico Forestieri ha scritto:

Francesco Menoncin writes:

I am not able to make LyX and Maxima interact.
I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in
LyX (Tools-Prefereces-Paths) and reconfigure LyX.
Nevertheless, when I try to compute something (like 2+2) I just
obtain an empty space after the formula.
Any suggestion?

The problem here is that LyX is invoking the command maxima but there's
only a batch file (maxima.bat) to be executed on Windows. Now, LyX 2.0 on
Windows is not able to execute batch files anymore. You may have better
luck trying the Cygwin version of LyX , as a bash script maxima is also
supplied and the Cygwin version is able to execute it.


Thank you for your help. I will try Cygwin.
Nevertheless, I just stress that Maxima and LyX perfectly work together 
in Ubuntu (11.04).


Francesco

--

Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/




Re: \pdflatex?

2011-05-20 Thread Uwe Stöhr

Am 19.05.2011 19:18, schrieb Richard Heck:


Is there a macro like \LaTeX that produces the logo for pdfLaTeX?


No and it is new for me that it has a special logo.
But note that the name of the program is pdfTeX. pdflatex is only the name of one of its 
commands/executables.


regards Uwe


Re: Multiple indexes

2011-05-20 Thread Uwe Stöhr

Am 20.05.2011 21:03, schrieb Francesco Menoncin:


I work with both Windows 7 and Ubuntu 11.04.
While in Ubunto everything is OK, I am not able to see the indexes in Windows.

I have checked the LaTeX-log and I have sees that in Ubuntu the files with extension 
ind are
correctly loaded, while in Windows 7 there is the message no file xxx-idx.ind 
(even if I do not
receive any error while compiling the document).


Can you please report this in our bugtracker:
http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe


Re: about the shortcuts

2011-05-20 Thread Julien Rioux

On 20/05/2011 10:59 AM, Wei-Dong Lian wrote:

hi everyone,

In the insert cross-reference dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example alt+t, o, a, e, b etc. Does anyone know
the shortcut for the listbox? I do not like using the mouse each time to
insert a cross reference. after a filter operation in that dialog, i would
like to switch back to the listbox to select the item i want to reference.
Any suggestion will be welcome.
thanks in advance,
weidong



Here it's alt+v.

--
Julien



Re: Track Changes/Color in Output

2011-05-20 Thread Dr Eberhard Lisse
Julien,

thanks.

But, is there a way to change it in ALL documents, ie globally?

greetings, el


On 2011-05-19 16:12 , Julien Rioux wrote:
 On 19/05/2011 5:55 AM, Dr Eberhard Lisse wrote:
 Hi,

 I wish to change the tracking colours. On screen I have changed the
 first author change to brown which works very well but in the output
 it remains in blue, which I don't like as I am using blue for the
 hyperref links.

 If I look at the LaTeC source its something like this here:

 \providecolor{lyxadded}{rgb}{0,0,1}
 \providecolor{lyxdeleted}{rgb}{1,0,0}

 Where can I override this?

 
 In the preamble of your document.
 
 greetings, el
 




Re: Portable LyX & PortableApps

2011-05-20 Thread Trevor Jenkins
On Fri, May 20, 2011 at 6:47 AM, Matthias Schmidt wrote:

> I gave this request to the PortableApps Forum "Request Apps"
> yesterday (http://portableapps.com/node/27981) :


There was a version of LyX at PortableApps.com but it was difficult to get
to work. I never succeeded in running it. It has also been deprecated for
lack of updates.


> I myself never made a portable app before. Is someone here who agrees to
> create a portable LyX?
>

I'm not volunteering to undertake this port. I don't have access to a
Windows PC at all except at client sites where having LyX as a portable app
would be helpful.

Regards, Trevor.

<>< Re: deemed!


LyX+Maxima

2011-05-20 Thread Francesco Menoncin

I am working on LyX 2.0 (wonderful release!!)

I am not able to make LyX and Maxima interact.
I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in LyX 
(Tools->Prefereces->Paths) and reconfigure LyX.
Nevertheless, when I try to compute something (like 2+2) I just obtain 
an empty space after the formula.


Any suggestion?

Thanks,

Francesco


undirected graph with capture

2011-05-20 Thread Mike Bonhoff
Hallo,

I wanna make a graph and give it a title, say "name". I think this name is 
written under the graph normally. So I think creating a figure must be the 
right thing. 

So I clicked Insert->Float->figure and gave the figure the "name" and inserted 
the graph. 

But I have 2 problems:

1st: The "name" is centered, that means in the middle of the paper to the left 
and right. On the other hand, my figure is on the left side. 

I don't know how I can center the figure, too. I read the handbook (German 
version) and there were some hints, especially for importing existing figures, 
but not a lot of hints how to create such a figure by yourself.

2nd: I wanted to create an undirected graph and choose to do it with an 
x-y-pic-matrix with this code within the math mode:

\xymatrix{a\dir[dr]\\d} 

That creates an xy-pic-matrix with 2 rows (because of the \\ command) and 3 
rows (because of the 2-times & command). 
\dir[dr] makes an arc to the element which is one step below (d for down) and 
one element to the right (r for right). I used to write \dir@{-}[dr] instead of 
\dir[dr] because that made an undirected edge instead of an arc. But that 
doesn't work anymore; I don't know why.

Is there a better way to do that, for example with tikz, and is it easy to use 
that within lyx? If not, how can I create simple edges in that 
xy-pic-environment and place the title under the figure.

Thanks!

Mike Bonhoff


-- 
NEU: FreePhone - kostenlos mobil telefonieren!  
Jetzt informieren: http://www.gmx.net/de/go/freephone


Forward/reverse searching problems under Windows

2011-05-20 Thread Christopher Menzel
LyX folk:

I usually work in OS X or Linux but on occasion work in Windows 7.  No
problems at all with LyX under the former two but both forward and
inverse searching are failing under Windows.  I have followed all the
instructions assiduously in the Additional Features document -- path to
LyXserver pipe is set to \\.\pipe\lyxpipe, I've created the batch file
lyxeditor.bat, have configured Yap properly, etc.  But when I
double-click in my DVI preview document, a command window pops up
quickly with the message "The system cannot find the file specified". 
I've seen a couple of reports of problems with inverse search and MikTeX
2.9 but no solutions.  Any help or relevant information appreciated. 
I'm using LyX 2.0, of course.

Chris Menzel



Re: undirected graph with capture

2011-05-20 Thread Paul A . Rubin
Mike Bonhoff  gmx.de> writes:

> 1st: The "name" is centered, that means in the middle of the paper to the
> left and right. On the other hand, my figure is on the left side. 
> 
> I don't know how I can center the figure, too.

Place the cursor alongside the graph and use the paragraph settings button (or
Edit > Paragraph Settings) to center the "paragraph" containing the graph.
> 
> 2nd: I wanted to create an undirected graph and choose to do it with an 
> x-y-pic-matrix with this code within the math mode:
> 
> \xymatrix{a\dir[dr]\\d} 
> 
> That creates an xy-pic-matrix with 2 rows (because of the \\ command) and
> 3 rows (because of the 2-times & command). 

The following steps work:

1.  Inside the math inset, type '\xymatrix' and hit the space bar. That creates
an inset for the upper left cell of the matrix.

2.  Use the Add row and Add column buttons in the math tool bar to expand the
matrix to two rows and three columns.

3.  In the first cell, type 'a\ar@'. Then type '\{' which will add a pair of
braces with an inset between them. Type a dash (-) in the inset.

4.  Move the cursor just outside the braces and type '[dr]'.

5.  Finish the matrix entries.

> Is there a better way to do that, for example with tikz, and is it easy to
> use that within lyx?

Choosing between Xy-pic and TiKZ is a matter of taste.  You can type TiKZ/PGF
commands into a LaTeX (ERT) insert.  (You also need to load TiKZ and any
required libraries in the preamble.)

There is a manual for using Xy-pic in LyX (by H. Peter Gumm) included with LyX
(on the Help menu).

Paul






about the shortcuts

2011-05-20 Thread Wei-Dong Lian
hi everyone,

In the "insert cross-reference" dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example "alt+t, o, a, e, b" etc. Does anyone know
the shortcut for the listbox? I do not like using the mouse each time to
insert a cross reference. after a filter operation in that dialog, i would
like to switch back to the listbox to select the item i want to reference.
Any suggestion will be welcome.
thanks in advance,
weidong


Multiple indexes

2011-05-20 Thread Francesco Menoncin

Dear all,

I am working on LyX 2.0 and I have a strange problem with multiple indexes.

I work with both Windows 7 and Ubuntu 11.04.
While in Ubunto everything is OK, I am not able to see the indexes in 
Windows.


I have checked the LaTeX-log and I have sees that in Ubuntu the files 
with extension "ind" are correctly loaded, while in Windows 7 there is 
the message "no file xxx-idx.ind" (even if I do not receive any error 
while compiling the document).


Any suggestion?

Francesco


Re: about the shortcuts

2011-05-20 Thread Uwe Stöhr

Am 20.05.2011 16:59, schrieb Wei-Dong Lian:


In the "insert cross-reference" dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example "alt+t, o, a, e, b" etc.


LyX doesn't yet have a function to bind a shortcut to this function. Can you please open a new bug 
report (set is as enhancement) in our bugtracker:

http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe


Re: LyX+Maxima

2011-05-20 Thread Enrico Forestieri
Francesco Menoncin writes:
> 
> I am not able to make LyX and Maxima interact.
> I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in
> LyX (Tools->Prefereces->Paths) and reconfigure LyX.
> Nevertheless, when I try to compute something (like 2+2) I just
> obtain an empty space after the formula.
> Any suggestion?

The problem here is that LyX is invoking the command "maxima" but there's
only a batch file (maxima.bat) to be executed on Windows. Now, LyX 2.0 on
Windows is not able to execute batch files anymore. You may have better
luck trying the Cygwin version of LyX , as a bash script "maxima" is also
supplied and the Cygwin version is able to execute it.

-- 
Enrico



Re: Forward/reverse searching problems under Windows

2011-05-20 Thread Enrico Forestieri
Christopher Menzel writes:
> 
> I have followed all the
> instructions assiduously in the Additional Features document -- path to
> LyXserver pipe is set to \\.\pipe\lyxpipe, I've created the batch file
> lyxeditor.bat, have configured Yap properly, etc.  But when I
> double-click in my DVI preview document, a command window pops up
> quickly with the message "The system cannot find the file specified".

Make sure you use the full path to lyxeditor.bat in yap.

> I've seen a couple of reports of problems with inverse search and MikTeX
> 2.9 but no solutions.

Uh? It works just fine for me.

-- 
Enrico



Re: LyX+Maxima

2011-05-20 Thread Francesco Menoncin

Il 20/05/2011 21:27, Enrico Forestieri ha scritto:

Francesco Menoncin writes:

I am not able to make LyX and Maxima interact.
I have put the Maxima path (C:\Program Files\Maxima-5.24.0\bin) in
LyX (Tools->Prefereces->Paths) and reconfigure LyX.
Nevertheless, when I try to compute something (like 2+2) I just
obtain an empty space after the formula.
Any suggestion?

The problem here is that LyX is invoking the command "maxima" but there's
only a batch file (maxima.bat) to be executed on Windows. Now, LyX 2.0 on
Windows is not able to execute batch files anymore. You may have better
luck trying the Cygwin version of LyX , as a bash script "maxima" is also
supplied and the Cygwin version is able to execute it.


Thank you for your help. I will try Cygwin.
Nevertheless, I just stress that Maxima and LyX perfectly work together 
in Ubuntu (11.04).


Francesco

--

Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/




Re: \pdflatex?

2011-05-20 Thread Uwe Stöhr

Am 19.05.2011 19:18, schrieb Richard Heck:


Is there a macro like \LaTeX that produces the logo for pdfLaTeX?


No and it is new for me that it has a special logo.
But note that the name of the program is "pdfTeX". pdflatex is only the name of one of its 
commands/executables.


regards Uwe


Re: Multiple indexes

2011-05-20 Thread Uwe Stöhr

Am 20.05.2011 21:03, schrieb Francesco Menoncin:


I work with both Windows 7 and Ubuntu 11.04.
While in Ubunto everything is OK, I am not able to see the indexes in Windows.

I have checked the LaTeX-log and I have sees that in Ubuntu the files with extension 
"ind" are
correctly loaded, while in Windows 7 there is the message "no file xxx-idx.ind" 
(even if I do not
receive any error while compiling the document).


Can you please report this in our bugtracker:
http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe


Re: about the shortcuts

2011-05-20 Thread Julien Rioux

On 20/05/2011 10:59 AM, Wei-Dong Lian wrote:

hi everyone,

In the "insert cross-reference" dialog, the listbox that lists all
the selectable items does not have a shortcut, the others components in the
dialog own a shortcut for example "alt+t, o, a, e, b" etc. Does anyone know
the shortcut for the listbox? I do not like using the mouse each time to
insert a cross reference. after a filter operation in that dialog, i would
like to switch back to the listbox to select the item i want to reference.
Any suggestion will be welcome.
thanks in advance,
weidong



Here it's alt+v.

--
Julien



Re: Track Changes/Color in Output

2011-05-20 Thread Dr Eberhard Lisse
Julien,

thanks.

But, is there a way to change it in ALL documents, ie globally?

greetings, el


On 2011-05-19 16:12 , Julien Rioux wrote:
> On 19/05/2011 5:55 AM, Dr Eberhard Lisse wrote:
>> Hi,
>>
>> I wish to change the tracking colours. On screen I have changed the
>> first author change to brown which works very well but in the output
>> it remains in blue, which I don't like as I am using blue for the
>> hyperref links.
>>
>> If I look at the LaTeC source its something like this here:
>>
>> \providecolor{lyxadded}{rgb}{0,0,1}
>> \providecolor{lyxdeleted}{rgb}{1,0,0}
>>
>> Where can I override this?
>>
> 
> In the preamble of your document.
> 
>> greetings, el
>