Re: A question about SAS output in lyx

2013-09-04 Thread Liviu Andronic
On Wed, Sep 4, 2013 at 4:25 AM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Dear all:

 I've a problem inserting the SAS output into my lyx file. I use ODS system in 
 SAS and get a tex file. Then I try to use the program listing to add it into 
 lyx file but failed.

Others will give you better advice, but at the very least you need to
define the sascontents command and the sastable environment in your
document's preamble. Check the SAS documentation on how to do that.

Liviu


 What should I do with it? Here I add the tex file from SAS output. Thank you 
 very much for the help. I'm so frustrated with this problem for googling two 
 days!


 Joyce


 在 2013-9-3,下午4:41,Liviu Andronic landronim...@gmail.com 写道:

 Dear Joyce,
 Please use 'Reply all' to send the message to the list.

 Liviu

 On Tue, Sep 3, 2013 at 7:35 PM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Sure. Here it is. Thank you very much for help~


 Joyce



 在 2013-9-3,上午2:00,Liviu Andronic landronim...@gmail.com 写道:

 Dear Zhan,


 On Tue, Sep 3, 2013 at 6:36 AM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Dear all:

 I've a problem inserting the SAS output into my lyx file. I use ODS 
 system in SAS and get a tex file.

 It would help if you sent us a minimal example of such a .tex file.

 Liviu


 Then I try to use the program listing to add it into lys file but failed. 
 What should I do with it? Thank you very much. I'm so frustrated with 
 this problem for googling one day!


 Joyce



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: formatted cross-reference language

2013-09-04 Thread Michael Bach
On 9/3/13 4:57 PM, Hugo Hinterberger wrote:
 On Tue, 03 Sep 2013 15:25:57 +0200, Michael Bach pha...@gmail.com wrote:
 
 On 9/2/13 9:59 PM, Richard Heck wrote:
 On 09/02/2013 01:19 PM, Michael Bach wrote:
 Dear LyX Users and Developers,

 I am using LyX 2.0.5.1 on OSX 10.8.

 I am working on a document that has Document  Settings  Language set
 to `German' and the custom class option `german' as well.

 The LyX GUI is English as is the OS language setting.

 As indicated in the subject, formatted cross-references are set in
 English instead of German. I read up on the web regarding i18n issues
 and made sure that LyX uses the refstyle package for cross-referencing
 (Document  Settings  Document Class).

 FWIW, nomenclatures commands, e.g. \nomrefeq, are set in German.

 Could you give me a hint on where to look next for a solution?

 I guess I'd start by looking at the generated LaTeX, and see if
 something is wrong there.


 The generated LaTeX shows a \subref{} command.  I read up on the
 `subref' package, and am confused as this should be used to reference
 labels in nested reference hierarchies (?).  But then I did not find the
 \subref command in there...

 This command did not cross my way until now and I can only find it in
 context with figure captions when searching for it.

 Michael
 
 Hi,
 
 As far as I can remember there are multiple issues with refstyle:
 1) Command name clash/override with the subfig package when using sub:
 as label prefix for subsections.
 2) References to headings below sections are not configured in the
 refstyle.cfg file (TeX Live).
 
 I attached my refstyle.cfg which handles German references to
 subsections with the ssec: prefix.
 The file should be located at texmf/tex/latex/refstyle/.
 
 Maybe this helps.
 

Indeed, this helps.  Thanks very much for sharing!

Michael




Cross-reference to subeq. within subequations environ

2013-09-04 Thread Rudi Gaelzer
Ok, I know I should've first read the whole AMSmath documentation before asking 
this but... this is faster...

Say I have a bunch of equations within a labeled subequations environment.  
Something like (in LaTeX):

...
\begin{subequations}
\label{eq:eq1}
\begin{equation}
Some math
\end{equation}
Some text
\begin{align}
Some math \\
Some math \\
Some math
\end{align}
\end{subequations}
... \ref{eq:eq1} ...

The equations are all labeled with the same number and with the roman 
subnumbers from a through d.
As long as I'm aware, I can only \ref{} the main label.  I can not make an 
automatic reference to a particular subequation unless I label it as well.
If I don't do it, I have to write the roman subnumber manually.  However, if I 
later on insert another equation within the subequations, I'll have to scan the 
whole document and fix the subnumbers in all cross references...

Does anyone know of a way to automatize this process?  Without having to label 
individual eqs, I mean.  Perhaps there's a package in CTAN that I don't know 
of.  And does LyX support it?

Thanks.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


LyX + CAS

2013-09-04 Thread David R . José
Hello.I've been having trouble in pairing LyX and a CAS.While trying to use 
Maxima and Maple, I've added the address (eg: c:\maxima\) where the .exe is to 
the Path prefix under Tools - Preferences - Paths.Still no results in even 
solving a simple 2+2 in Math mode. All I get is a equal sign with an empty 
space beside it.LyX 2.0.6wxMaxima 12.04.0Maple 16Win 7 x64 SP1
Has someone successfully paired LyX and a CAS in Windows?Any help on what or 
where my problem is at?Thanks!   

Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
 Hello.
 I've been having trouble in pairing LyX and a CAS.
 While trying to use Maxima and Maple, I've added the address (eg:
 c:\maxima\) where the .exe is to the Path prefix under Tools -
 Preferences - Paths.
 Still no results in even solving a simple 2+2 in Math mode. All I get is a
 equal sign with an empty space beside it.
 LyX 2.0.6
 wxMaxima 12.04.0
 Maple 16
 Win 7 x64 SP1

 Has someone successfully paired LyX and a CAS in Windows?
 Any help on what or where my problem is at?

I do not have Windows. But you could try seeing if View  Messages
provides some useful output.

Scott


spellchecker

2013-09-04 Thread Wolfgang Engelmann

Hello,

I am using lyx 2.0.6 on debian and tried (again), to get the spellchecker 
working; however

 select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.

is greyed out; therefore I can not select
enchant or other spellchecker, which I have installed on my debian wheezy.

installed are 

enchant 1.6.0.7
libenchant-dev
-voikko
-1c2a
php5-enchant 5.4.4-14+db7u4
python-enchant 1.6.5-2
   3-enchant 1.6.5-2

ispell 3.3.02-6
aspell 0.60.7
hunspell 1.3.2-4

the lyx reconfigure output on the terminal does not mention any of the 
spellcheckers

Any suggestions what I could do?

Wolfgang



Re: spellchecker

2013-09-04 Thread Scott Kostyshak
How did you install 2.0.6? Did you compile? If so, can you post your
configure log?

Scott

On Wed, Sep 4, 2013 at 1:30 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:


 Hello,



 I am using lyx 2.0.6 on debian and tried (again), to get the spellchecker
 working; however



 select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.



 is greyed out; therefore I can not select

 enchant or other spellchecker, which I have installed on my debian wheezy.



 installed are



 enchant 1.6.0.7

 libenchant-dev

 -voikko

 -1c2a

 php5-enchant 5.4.4-14+db7u4

 python-enchant 1.6.5-2

 3-enchant 1.6.5-2



 ispell 3.3.02-6

 aspell 0.60.7

 hunspell 1.3.2-4



 the lyx reconfigure output on the terminal does not mention any of the
 spellcheckers



 Any suggestions what I could do?



 Wolfgang






Re: spellchecker

2013-09-04 Thread David L. Johnson

On 09/04/2013 01:30 PM, Wolfgang Engelmann wrote:


Hello,

I am using lyx 2.0.6 on debian and tried (again), to get the 
spellchecker working; however


select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.

is greyed out; therefore I can not select

enchant or other spellchecker, which I have installed on my debian wheezy.

Hmm.  I have essentially the same setup, and it works for me.  Now. the 
spellchecker was greyed out when I did not have a file loaded into LyX, 
but once I did it became available, and enchant (same version) appears.


Maybe there is a problem due to language settings, but other than that 
we should have the same behavior.  Also the same, my configure.log file 
makes no mention of spell or enchant, so that may not be part of 
what is configured, although it seems it should be.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ



Reverse search with xdvi

2013-09-04 Thread Fabio Stumbo


Hi all,

I configured reverse search as explained in section 5.6.3 of the 
Additional features manual.


In particular, I setted
Preferences-File Handling-File formats
to
xdvi -editor lyxeditor.sh %f %l

and I created, as suggested, a lyxeditor.sh executable file in my 
$HOME/bin which contains


#!/bin/sh
LYXPIPE=$HOME/.lyx/lyxpipe
COMMAND=LYXCMD:revdvi:server-goto-file-row:$1 $2
echo $COMMAND  ${LYXPIPE}.in || exit
read  ${LYXPIPE}.out || exit

Now, when I produce a dvi if I ctrl+click then every 
time I get in xdvi the following error message


Command lyxeditor.sh /tmp/lyx_tmpdir.MT4824/lyx_tmpbuf2/test.tex 1534 exited 
with error code 2
$HOME/bin/lyxeditor.sh: 5: read: arg count

Nevertheless, I in the lyx source file I am correctly positioned in the 
intended line.


So, all in all it works, but getting allways the error message is a bit 
annoying...


Is there a fix to this? What is wrong in lyxeditor.sh?

Please note that if I comment out the last line, I don't get the error any 
longer and it still works: so is the last line necessary?


Thanks a lot

F.



RE: LyX + CAS

2013-09-04 Thread David R . José
Scott, thanks to you I've found the trick.Never realized I could find the issue 
viewing the Messages log :)For those out there who are having the same issue: 
there is no solution.LyX tries to find the CAS_names.exe at the pointed 
dir.Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is 
simply no way to do it.I also failed to do the same with Maple.But it worked 
with Mathematica :)Mathematica 9 has a Mathematica.exe, which indeed IS the 
very core.So, just point to, (usually, under win7) C:\Program Files\Wolfram 
Research\Mathematica\9.0\ at Path prefix under Tools - Preferences - 
Paths. Save it and CAS - Mathematica should work fine ;)

 Date: Wed, 4 Sep 2013 12:11:09 -0400
 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org
 
 On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
  Hello.
  I've been having trouble in pairing LyX and a CAS.
  While trying to use Maxima and Maple, I've added the address (eg:
  c:\maxima\) where the .exe is to the Path prefix under Tools -
  Preferences - Paths.
  Still no results in even solving a simple 2+2 in Math mode. All I get is a
  equal sign with an empty space beside it.
  LyX 2.0.6
  wxMaxima 12.04.0
  Maple 16
  Win 7 x64 SP1
 
  Has someone successfully paired LyX and a CAS in Windows?
  Any help on what or where my problem is at?
 
 I do not have Windows. But you could try seeing if View  Messages
 provides some useful output.
 
 Scott
  

Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
Good work debugging, David.

As I said, I don't use Windows, but if this problem occurred under
Linux the first thing I would try is to create a symlink (perhaps in
Windows this is similar to a shortcut?) for maxima.exe, which
points to wxMaxima.exe. Does that work?

If that does not work, the next thing I would try (on Linux) is to
create a script called maxima.exe which runs wxMaxima.exe with the
same arguments and pipes it was passed. On Windows perhaps a batch
file called maxima.exe could do this? But then again, I think
Windows pays close attention to suffixes in which case batch files
must end in .bat so this would not work?

I suppose neither of these would work if you don't have Administrator
privileges though?

Scott

On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:
 Scott, thanks to you I've found the trick.
 Never realized I could find the issue viewing the Messages log :)
 For those out there who are having the same issue: there is no solution.
 LyX tries to find the CAS_names.exe at the pointed dir.
 Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
 simply no way to do it.
 I also failed to do the same with Maple.
 But it worked with Mathematica :)
 Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
 So, just point to, (usually, under win7) C:\Program Files\Wolfram
 Research\Mathematica\9.0\ at Path prefix under Tools - Preferences -
 Paths. Save it and CAS - Mathematica should work fine ;)

 Date: Wed, 4 Sep 2013 12:11:09 -0400
 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org


 On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
  Hello.
  I've been having trouble in pairing LyX and a CAS.
  While trying to use Maxima and Maple, I've added the address (eg:
  c:\maxima\) where the .exe is to the Path prefix under Tools -
  Preferences - Paths.
  Still no results in even solving a simple 2+2 in Math mode. All I get is
  a
  equal sign with an empty space beside it.
  LyX 2.0.6
  wxMaxima 12.04.0
  Maple 16
  Win 7 x64 SP1
 
  Has someone successfully paired LyX and a CAS in Windows?
  Any help on what or where my problem is at?

 I do not have Windows. But you could try seeing if View  Messages
 provides some useful output.

 Scott


RE: LyX + CAS

2013-09-04 Thread David R . José
Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name 
of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, 
that froze with the following message: wxMaxima could not find Maxima! Please 
configure wxMaxima with 'Edit-Configure'. Then start maxima with 
'Maxima-Restart Maxima'. At the Configure menu, Maxima Program path points 
to the .bat previously mentioned. Opening the .bat file opens a console (which 
I have no idea what it's for), and waits for input commands. From there on, no 
idea.This the farthest point to which my knowledge goes... and where I decided 
to try Mathematica out.
David
 Date: Wed, 4 Sep 2013 14:46:48 -0400
 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org
 
 Good work debugging, David.
 
 As I said, I don't use Windows, but if this problem occurred under
 Linux the first thing I would try is to create a symlink (perhaps in
 Windows this is similar to a shortcut?) for maxima.exe, which
 points to wxMaxima.exe. Does that work?
 
 If that does not work, the next thing I would try (on Linux) is to
 create a script called maxima.exe which runs wxMaxima.exe with the
 same arguments and pipes it was passed. On Windows perhaps a batch
 file called maxima.exe could do this? But then again, I think
 Windows pays close attention to suffixes in which case batch files
 must end in .bat so this would not work?
 
 I suppose neither of these would work if you don't have Administrator
 privileges though?
 
 Scott
 
 On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:
  Scott, thanks to you I've found the trick.
  Never realized I could find the issue viewing the Messages log :)
  For those out there who are having the same issue: there is no solution.
  LyX tries to find the CAS_names.exe at the pointed dir.
  Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
  simply no way to do it.
  I also failed to do the same with Maple.
  But it worked with Mathematica :)
  Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
  So, just point to, (usually, under win7) C:\Program Files\Wolfram
  Research\Mathematica\9.0\ at Path prefix under Tools - Preferences -
  Paths. Save it and CAS - Mathematica should work fine ;)
 
  Date: Wed, 4 Sep 2013 12:11:09 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
 
  On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
   Hello.
   I've been having trouble in pairing LyX and a CAS.
   While trying to use Maxima and Maple, I've added the address (eg:
   c:\maxima\) where the .exe is to the Path prefix under Tools -
   Preferences - Paths.
   Still no results in even solving a simple 2+2 in Math mode. All I get is
   a
   equal sign with an empty space beside it.
   LyX 2.0.6
   wxMaxima 12.04.0
   Maple 16
   Win 7 x64 SP1
  
   Has someone successfully paired LyX and a CAS in Windows?
   Any help on what or where my problem is at?
 
  I do not have Windows. But you could try seeing if View  Messages
  provides some useful output.
 
  Scott
  

Re: Pasting graphics in LyX 2.1 beta on Mac

2013-09-04 Thread Anders Ekberg
 
 Anders Ekberg wrote:
  Š The picture is scanned to pdf with 300 dpi
  resolution. When cropping and saving in Preview to a png with 300 dpi and
  then inserting this picture in LyX (with insert graphic) the output is
  fine (i.e. with a resolution of 300 dpi which is sufficient for my
  purposes). On the other hand when I copy in Preview and then paste in 
LyX,
  the resolution becomes low (I would guess about 150 dpi, which is
  incidentally the default resolution when saving png:s in Preview, so the
  problem well may be on the copying and not the pasting side).
  
  So, in short, my question is: Which resolution does LyX use to save
  graphics (on Mac) and is there a way to change it?
  
  LyX does not scale the graphics. It uses whatever is on the clipboard, but
  maybe there is some scaling happening in qt. Did you try to paste the
  graphics in a different application, e.g. gimp? If that does not preserve
  the resolution the problem is with copying the graphics to the clipboard.
  Otherwise it is in LyX or qt, and one would need to debug.
 
 Good suggestion Georg.
 Attached are pdfs from LyX and from Word. Same clipping from Preview. The
 resolution in the LyX-produced file is much less. So something happens when
 LyX pastes the clip and I save it as a png in that process. I would consider
 this a bug (if LyX or qt is another issueŠ).
 
  I also tried on Windows (copying from Acrobat Reader) and there the
  resolution was good, but the dimensions distorted (compressed in height).
 
  Strange. Does the distortion come from different x/y scaling factors in
 LyX, 
  or is it also visible in the created .png file?
 
  Georg

Update:
The windows skewness seems to be related to that file. Tried a new one now
and it works. (Could have be due to the fact that the only selection I can
find in Windows reader on Windows is select all, so the entire [one page]
file was copied).

The image pasted from LyX is 72 dpi. I suspect that the copying and saving
via LyX somehow mixes up the file resolution and the resolution on the
screen. Can't really be the fault of Preview since it works in Word, so
should be a qt or LyX bug.




Re: off topic: Is there a lyx user in Lund, Sweden?

2013-09-04 Thread Anders Ekberg
If you get stuck with Mac issues, send me a mail (or give me a call,
number on Chalmers University website). It is really *very* simple:
- Download and install MacTeX: http://tug.org/mactex/
- Download and install LyX
Done!

/Anders Ekberg

From: Påvel Nicklasson

I work in Lund and use LyX every day. I can make a try, but I have
little knowledge of Macs (Linux user), so I can't guarantee success. I
suppose LyX will be the same, but the TeX system vill be different to
set up. 

You or your colleague can mail me so we can discuss if and how I could
help.


2013/9/2 Wolfgang Engelmann engelmann at uni-tuebingen.de
mailto:engelmann%20%3Cat%3E%20uni-tuebingen.de

Hello, Lyx-users,
 
I wonder whether there is a lyx user in Lund, Sweden, who could
perhaps help a colleague at the university there to acquire Lyx for Mac?
 
Wolfgang










Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
David,

Thanks for the explanations. I am forwarding this to the development
list to see if anyone has an idea of the best solution.

Scott

On Wed, Sep 4, 2013 at 3:09 PM, David R. José c1b...@hotmail.com wrote:
 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name of
 maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided to
 try Mathematica out.

 David

 Date: Wed, 4 Sep 2013 14:46:48 -0400

 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org

 Good work debugging, David.

 As I said, I don't use Windows, but if this problem occurred under
 Linux the first thing I would try is to create a symlink (perhaps in
 Windows this is similar to a shortcut?) for maxima.exe, which
 points to wxMaxima.exe. Does that work?

 If that does not work, the next thing I would try (on Linux) is to
 create a script called maxima.exe which runs wxMaxima.exe with the
 same arguments and pipes it was passed. On Windows perhaps a batch
 file called maxima.exe could do this? But then again, I think
 Windows pays close attention to suffixes in which case batch files
 must end in .bat so this would not work?

 I suppose neither of these would work if you don't have Administrator
 privileges though?

 Scott

 On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:
  Scott, thanks to you I've found the trick.
  Never realized I could find the issue viewing the Messages log :)
  For those out there who are having the same issue: there is no solution.
  LyX tries to find the CAS_names.exe at the pointed dir.
  Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there
  is
  simply no way to do it.
  I also failed to do the same with Maple.
  But it worked with Mathematica :)
  Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
  So, just point to, (usually, under win7) C:\Program Files\Wolfram
  Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
  -
  Paths. Save it and CAS - Mathematica should work fine ;)
 
  Date: Wed, 4 Sep 2013 12:11:09 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
 
  On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
  wrote:
   Hello.
   I've been having trouble in pairing LyX and a CAS.
   While trying to use Maxima and Maple, I've added the address (eg:
   c:\maxima\) where the .exe is to the Path prefix under Tools -
   Preferences - Paths.
   Still no results in even solving a simple 2+2 in Math mode. All I get
   is
   a
   equal sign with an empty space beside it.
   LyX 2.0.6
   wxMaxima 12.04.0
   Maple 16
   Win 7 x64 SP1
  
   Has someone successfully paired LyX and a CAS in Windows?
   Any help on what or where my problem is at?
 
  I do not have Windows. But you could try seeing if View  Messages
  provides some useful output.
 
  Scott


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
Just to complete my previous message, for Maple, the situation is even more
complex:

- The GUI lives in: /Applications/Maple 17/Maple 17.app
- While the server in:
/Library/Frameworks/Maple.framework/Versions/17/bin/maple

and Lyx needs the second one, not the first, in the path variable.


2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: c1b...@hotmail.com
   CC: lyx-users@lists.lyx.org
  
  
   On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
 wrote:
Hello.
I've been having trouble in pairing LyX and a CAS.
While trying to use Maxima and Maple, I've added the address (eg:
c:\maxima\) where the .exe is to the Path prefix under Tools -
Preferences - Paths.
Still no results in even solving a simple 2+2 in Math mode. All I
 get is
a
equal sign with an empty space beside it.
LyX 2.0.6
wxMaxima 12.04.0
Maple 16
Win 7 x64 SP1
   
Has someone successfully paired LyX and a CAS in Windows?
Any help on what or where my problem is at?
  
   I do not have Windows. But you could try seeing if View  Messages
   provides some useful output.
  
   Scott




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
David,
To my knowledge (I am not an expert on Maxima), wxmaxima is the graphical
interface and you should have a server called maxima.exe somewhere in a
sub-folder. I cannot check it because I am not under windows anymore, but
this is what I have in OSX (in fact, we have two different applications:
Maxima and wxmaxima). The same is true also for Maple: you normally have an
executable for the GUI, and another for the computation server. Lyx
normally needs to have access to the server. So you should give in the path
the path to the server, and not the one to the GUI.
Just my two cents.

Murat


2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: c1b...@hotmail.com
   CC: lyx-users@lists.lyx.org
  
  
   On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
 wrote:
Hello.
I've been having trouble in pairing LyX and a CAS.
While trying to use Maxima and Maple, I've added the address (eg:
c:\maxima\) where the .exe is to the Path prefix under Tools -
Preferences - Paths.
Still no results in even solving a simple 2+2 in Math mode. All I
 get is
a
equal sign with an empty space beside it.
LyX 2.0.6
wxMaxima 12.04.0
Maple 16
Win 7 x64 SP1
   
Has someone successfully paired LyX and a CAS in Windows?
Any help on what or where my problem is at?
  
   I do not have Windows. But you could try seeing if View  Messages
   provides some useful output.
  
   Scott




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
David,
I cannot tell for Maxima, because I have never used it under Windows, but
for Maple I am pretty sure, there is normally an exe for the server, but I
do not remember if it lives in another foder that win.exe. My experiments
were with Windows XP, and the server was a Dos program, executed in text
mode in a console. In more modern versions of Maple and Windows, I am not
sure that this separation is kept. Sorry for not being more helpful. Maybe
a user of Maple under Windows 7/8 could help. Under OSX, both maxima and
Maple can be used as a CAS for simple computations (I have just checked
again to bu sure).


2013/9/4 David R. José c1b...@hotmail.com

 Yildizoglu,
 I've tried searching for a maxima.exe which could be the server. Found one
 in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing
 happened when I tried inside LyX.
 Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No
 maple.exe per se available.
 Pointing to any .exe used to start the GUI doesn't work, as foretold by
 you.

 Scott,
 If you need any more info or tests performed, just get in touch.

 --
 From: myi...@gmail.com
 Date: Wed, 4 Sep 2013 21:31:06 +0200
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org

 Just to complete my previous message, for Maple, the situation is even
 more complex:

 - The GUI lives in: /Applications/Maple 17/Maple 17.app
 - While the server in:
 /Library/Frameworks/Maple.framework/Versions/17/bin/maple

 and Lyx needs the second one, not the first, in the path variable.


 2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: c1b...@hotmail.com
   CC: lyx-users@lists.lyx.org
  
  
   On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
 wrote:
Hello.
I've been having trouble in pairing LyX and a CAS.
While trying to use Maxima and Maple, I've added the address (eg:
c:\maxima\) where the .exe is to the Path prefix under Tools -
Preferences - Paths.
Still no results in even solving a simple 2+2 in Math mode. All I
 get is
a
equal sign with an empty space beside it.
LyX 2.0.6
wxMaxima 12.04.0
Maple 16
Win 7 x64 SP1
   
Has someone successfully paired LyX and a CAS in Windows?
Any help on what or where my problem is at?
  
   I do not have Windows. But you could try seeing if View  Messages
   provides some useful output.
  
   Scott




 --
 Prof. Murat Yildizoglu

 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue 

RE: LyX + CAS

2013-09-04 Thread David R . José
Yildizoglu, Found it!Creating a copy of cmaple.exe with the name maple.exe and 
pointing the LyX path to \bin.win\ at the Maple dir does the deal.Guess there 
should be a Help Section were we could put this info :)Unfortunately the two 
CAS able to interact with LyX in Win7 are paid.Maybe there is also a workaround 
for Maxima, which would help the freeware and open source cause :)Cheeryo!


From: myi...@gmail.com
Date: Wed, 4 Sep 2013 21:54:11 +0200
Subject: Re: LyX + CAS
To: c1b...@hotmail.com; lyx-users@lists.lyx.org

David,
I cannot tell for Maxima, because I have never used it under Windows, but for 
Maple I am pretty sure, there is normally an exe for the server, but I do not 
remember if it lives in another foder that win.exe. My experiments were with 
Windows XP, and the server was a Dos program, executed in text mode in a 
console. In more modern versions of Maple and Windows, I am not sure that this 
separation is kept. Sorry for not being more helpful. Maybe a user of Maple 
under Windows 7/8 could help. Under OSX, both maxima and Maple can be used as a 
CAS for simple computations (I have just checked again to bu sure).




2013/9/4 David R. José c1b...@hotmail.com





Yildizoglu,I've tried searching for a maxima.exe which could be the server. 
Found one in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and 
nothing happened when I tried inside LyX.

Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No 
maple.exe per se available.Pointing to any .exe used to start the GUI doesn't 
work, as foretold by you.


Scott,If you need any more info or tests performed, just get in touch.
From: myi...@gmail.com
Date: Wed, 4 Sep 2013 21:31:06 +0200

Subject: Re: LyX + CAS

To: c1b...@hotmail.com
CC: lyx-users@lists.lyx.org

Just to complete my previous message, for Maple, the situation is even more 
complex:



- The GUI lives in: /Applications/Maple 17/Maple 17.app
- While the server in: /Library/Frameworks/Maple.framework/Versions/17/bin/maple



and Lyx needs the second one, not the first, in the path variable.


2013/9/4 David R. José c1b...@hotmail.com







Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name 
of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, 
that froze with the following message: wxMaxima could not find Maxima! Please 
configure wxMaxima with 'Edit-Configure'. Then start maxima with 
'Maxima-Restart Maxima'. 



At the Configure menu, Maxima Program path points to the .bat previously 
mentioned. Opening the .bat file opens a console (which I have no idea what 
it's for), and waits for input commands. From there on, no idea.



This the farthest point to which my knowledge goes... and where I decided to 
try Mathematica out.
David
 Date: Wed, 4 Sep 2013 14:46:48 -0400
 Subject: Re: LyX + CAS




 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org




 
 Good work debugging, David.
 
 As I said, I don't use Windows, but if this problem occurred under
 Linux the first thing I would try is to create a symlink (perhaps in
 Windows this is similar to a shortcut?) for maxima.exe, which




 points to wxMaxima.exe. Does that work?
 
 If that does not work, the next thing I would try (on Linux) is to
 create a script called maxima.exe which runs wxMaxima.exe with the
 same arguments and pipes it was passed. On Windows perhaps a batch




 file called maxima.exe could do this? But then again, I think
 Windows pays close attention to suffixes in which case batch files
 must end in .bat so this would not work?
 




 I suppose neither of these would work if you don't have Administrator
 privileges though?
 
 Scott
 
 On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:




  Scott, thanks to you I've found the trick.
  Never realized I could find the issue viewing the Messages log :)
  For those out there who are having the same issue: there is no solution.




  LyX tries to find the CAS_names.exe at the pointed dir.
  Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
  simply no way to do it.
  I also failed to do the same with Maple.




  But it worked with Mathematica :)
  Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
  So, just point to, (usually, under win7) C:\Program Files\Wolfram
  Research\Mathematica\9.0\ at Path prefix under Tools - Preferences -




  Paths. Save it and CAS - Mathematica should work fine ;)
 
  Date: Wed, 4 Sep 2013 12:11:09 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu




  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
 




  On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
   Hello.
   I've been having trouble in pairing LyX and a CAS.




   While trying to use Maxima and Maple, I've added the address (eg:
   c:\maxima\) where the .exe is to the Path prefix under Tools -
   Preferences - Paths.




   Still no results in even 

Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
Hi David,

A last idea for Maxima. Could you launch wxmxima and look at its
preferences if there is some configuration setting where you are supposed
to tell it the location of the server? If yes, the path indicated there
should make your day, hopefully.


2013/9/4 David R. José c1b...@hotmail.com

 Yildizoglu,
 Found it!
 Creating a copy of cmaple.exe with the name maple.exe and pointing the LyX
 path to \bin.win\ at the Maple dir does the deal.
 Guess there should be a Help Section were we could put this info :)
 Unfortunately the two CAS able to interact with LyX in Win7 are paid.
 Maybe there is also a workaround for Maxima, which would help the freeware
 and open source cause :)
 Cheeryo!



 --
 From: myi...@gmail.com
 Date: Wed, 4 Sep 2013 21:54:11 +0200
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com; lyx-users@lists.lyx.org

 David,
 I cannot tell for Maxima, because I have never used it under Windows, but
 for Maple I am pretty sure, there is normally an exe for the server, but I
 do not remember if it lives in another foder that win.exe. My experiments
 were with Windows XP, and the server was a Dos program, executed in text
 mode in a console. In more modern versions of Maple and Windows, I am not
 sure that this separation is kept. Sorry for not being more helpful. Maybe
 a user of Maple under Windows 7/8 could help. Under OSX, both maxima and
 Maple can be used as a CAS for simple computations (I have just checked
 again to bu sure).


 2013/9/4 David R. José c1b...@hotmail.com

 Yildizoglu,
 I've tried searching for a maxima.exe which could be the server. Found one
 in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing
 happened when I tried inside LyX.
 Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No
 maple.exe per se available.
 Pointing to any .exe used to start the GUI doesn't work, as foretold by
 you.

 Scott,
 If you need any more info or tests performed, just get in touch.

 --
 From: myi...@gmail.com
 Date: Wed, 4 Sep 2013 21:31:06 +0200
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org

 Just to complete my previous message, for Maple, the situation is even
 more complex:

 - The GUI lives in: /Applications/Maple 17/Maple 17.app
 - While the server in:
 /Library/Frameworks/Maple.framework/Versions/17/bin/maple

 and Lyx needs the second one, not the first, in the path variable.


 2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: 

Re: LyX + CAS

2013-09-04 Thread Pavel Sanda
David R. José wrote:
 Guess there should be a Help Section were we could put this info :)

You are most welcome to write such a paragraph into section 23 of LyX Math 
Manual
and send it back to the list so we add it to the official documentation.

Pavel


Re: LyX + CAS

2013-09-04 Thread Andrew Parsloe

On 5/09/2013 8:33 a.m., David R. José wrote:

Yildizoglu,
Found it!
Creating a copy of cmaple.exe with the name maple.exe and pointing the
LyX path to \bin.win\ at the Maple dir does the deal.
Guess there should be a Help Section were we could put this info :)
Unfortunately the two CAS able to interact with LyX in Win7 are paid.
Maybe there is also a workaround for Maxima, which would help the
freeware and open source cause :)
Cheeryo!



David,

On my Windows Vista laptop I've installed Maxima to E:\Program 
files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the 
end of the PATH prefix: setting (under Tools  Preferences  Paths)


;E:\Program files\Maxima-5.25.1-gcl\bin

The bin contains maxima.exe (and various other .exe files as well as 
maxima.bat). Whatever LyX is looking for, it finds it there. When I 
write 1+1 in a maths inset and go through the labyrinth Edit  Math  
Use Computer Algebra System  Maxima, after a little pause the inset 
changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate 
Maxima, the inset changes to 1+1= without the 2. The selection confuses 
things.)


Andrew


Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote:
 and I created, as suggested, a lyxeditor.sh 

Is there reason why you want to use named pipe?
xdvi should work via sockets out of the box (almost:)

Pavel


New LyX install problems... apparently minor :-)

2013-09-04 Thread Ken Springer
From http://www.lyx.org/Download, I downloaded 
ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the 
MacTeX link to download MacTeX.  Installation of both went without a 
problem.  I'm running OS X 10.8.4 but the Gatekeeper wasn't a problem, 
although the web site says it may be.


Lyx appears to start and run without problem.  I get a LyX window that 
appears to be waiting for me to select a document to open, or create a 
New document.


The problem(s) come when I try to access the Tutorial and User's Guide. 
 I get a warning message similar to this: 
https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy


The link above says I need (I think) a file named book.cls before I can 
print the what eventually displays on the screen.  Other files I get 
asked about are scrbook.cls, fancyhdr.sty, and enumitem.sty.


Questions:

1.  Shouldn't these files be included in the .dmg file, and be installed 
where they belong?  Could they have been left out by simple omission?


2.  Where do I find these files to install them?

After going through all the warning messages, the Tutorial and User 
Guide open fine.


--
Ken

Mac OS X 10.8.4
Firefox 23.0
Thunderbird 17.0.8
LibreOffice 4.1.04



Re: LyX + CAS

2013-09-04 Thread Andrew Parsloe



On 5/09/2013 10:41 a.m., Andrew Parsloe wrote:

On 5/09/2013 8:33 a.m., David R. José wrote:

Yildizoglu,
Found it!
Creating a copy of cmaple.exe with the name maple.exe and pointing the
LyX path to \bin.win\ at the Maple dir does the deal.
Guess there should be a Help Section were we could put this info :)
Unfortunately the two CAS able to interact with LyX in Win7 are paid.
Maybe there is also a workaround for Maxima, which would help the
freeware and open source cause :)
Cheeryo!



David,

On my Windows Vista laptop I've installed Maxima to E:\Program
files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the
end of the PATH prefix: setting (under Tools  Preferences  Paths)

;E:\Program files\Maxima-5.25.1-gcl\bin

The bin contains maxima.exe (and various other .exe files as well as
maxima.bat). Whatever LyX is looking for, it finds it there. When I
write 1+1 in a maths inset and go through the labyrinth Edit  Math 
Use Computer Algebra System  Maxima, after a little pause the inset
changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate
Maxima, the inset changes to 1+1= without the 2. The selection confuses
things.)

Andrew

A small correction: the bin folder contains xmaxima.exe (rather than 
maxima.exe).


Andrew


RE: LyX + CAS

2013-09-04 Thread David R . José
Andrew,That indeed worked. Thanks a lot!Pointing to the bin folder solves the 
deal!Thanks! ;)Good now we have an updated thread on how to solve these issues.

 Date: Thu, 5 Sep 2013 10:47:22 +1200
 From: apars...@clear.net.nz
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com
 
 
 
 On 5/09/2013 10:41 a.m., Andrew Parsloe wrote:
  On 5/09/2013 8:33 a.m., David R. José wrote:
  Yildizoglu,
  Found it!
  Creating a copy of cmaple.exe with the name maple.exe and pointing the
  LyX path to \bin.win\ at the Maple dir does the deal.
  Guess there should be a Help Section were we could put this info :)
  Unfortunately the two CAS able to interact with LyX in Win7 are paid.
  Maybe there is also a workaround for Maxima, which would help the
  freeware and open source cause :)
  Cheeryo!
 
 
  David,
 
  On my Windows Vista laptop I've installed Maxima to E:\Program
  files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the
  end of the PATH prefix: setting (under Tools  Preferences  Paths)
 
  ;E:\Program files\Maxima-5.25.1-gcl\bin
 
  The bin contains maxima.exe (and various other .exe files as well as
  maxima.bat). Whatever LyX is looking for, it finds it there. When I
  write 1+1 in a maths inset and go through the labyrinth Edit  Math 
  Use Computer Algebra System  Maxima, after a little pause the inset
  changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate
  Maxima, the inset changes to 1+1= without the 2. The selection confuses
  things.)
 
  Andrew
 
 A small correction: the bin folder contains xmaxima.exe (rather than 
 maxima.exe).
 
 Andrew
  

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote:

Anyway does changing the line
read  ${LYXPIPE}.out || exit
into 
read TMP  ${LYXPIPE}.out || exit

work for you?
Pavel


Re: New LyX install problems... apparently minor :-)

2013-09-04 Thread Scott Kostyshak
Can you try going to LyX  Reconfigure and then restart LyX? Do you
get the same message?

Scott

On Wed, Sep 4, 2013 at 6:47 PM, Ken Springer snowsh...@q.com wrote:
 From http://www.lyx.org/Download, I downloaded
 ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the MacTeX
 link to download MacTeX.  Installation of both went without a problem.  I'm
 running OS X 10.8.4 but the Gatekeeper wasn't a problem, although the web
 site says it may be.

 Lyx appears to start and run without problem.  I get a LyX window that
 appears to be waiting for me to select a document to open, or create a New
 document.

 The problem(s) come when I try to access the Tutorial and User's Guide.  I
 get a warning message similar to this:
 https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy

 The link above says I need (I think) a file named book.cls before I can
 print the what eventually displays on the screen.  Other files I get asked
 about are scrbook.cls, fancyhdr.sty, and enumitem.sty.

 Questions:

 1.  Shouldn't these files be included in the .dmg file, and be installed
 where they belong?  Could they have been left out by simple omission?

 2.  Where do I find these files to install them?

 After going through all the warning messages, the Tutorial and User Guide
 open fine.

 --
 Ken

 Mac OS X 10.8.4
 Firefox 23.0
 Thunderbird 17.0.8
 LibreOffice 4.1.04



Re: New LyX install problems... apparently minor :-)

2013-09-04 Thread Ken Springer

Same messages, Scott.

After posting, I thought it might be tied to the fact I have LyX set to 
use a specific desktop.  I have another application for which that seems 
to expose a bug.  But it didn't make any difference for LyX, apparently.





On 9/4/13 5:11 PM, Scott Kostyshak wrote:

Can you try going to LyX  Reconfigure and then restart LyX? Do you
get the same message?

Scott

On Wed, Sep 4, 2013 at 6:47 PM, Ken Springer snowsh...@q.com wrote:

 From http://www.lyx.org/Download, I downloaded
ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the MacTeX
link to download MacTeX.  Installation of both went without a problem.  I'm
running OS X 10.8.4 but the Gatekeeper wasn't a problem, although the web
site says it may be.

Lyx appears to start and run without problem.  I get a LyX window that
appears to be waiting for me to select a document to open, or create a New
document.

The problem(s) come when I try to access the Tutorial and User's Guide.  I
get a warning message similar to this:
https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy

The link above says I need (I think) a file named book.cls before I can
print the what eventually displays on the screen.  Other files I get asked
about are scrbook.cls, fancyhdr.sty, and enumitem.sty.

Questions:

1.  Shouldn't these files be included in the .dmg file, and be installed
where they belong?  Could they have been left out by simple omission?

2.  Where do I find these files to install them?

After going through all the warning messages, the Tutorial and User Guide
open fine.



--
Ken

Mac OS X 10.8.4
Firefox 23.0
Thunderbird 17.0.8
LibreOffice 4.1.04



Re: Formatting Article for PLoS One

2013-09-04 Thread Julien Rioux

On 03/09/2013 11:54 PM, Jane Shevtsov wrote:

I'm trying to format an article for submission to PLoS One. I'm using
their BiBTeX style sheet (http://www.plosone.org/static/plos2009.bst)
and the bibliography works fine but I get (author?) errors in the text
when trying to cite an article as Author [ID]. Apparently, this is
because their style file isn't a Natbib style, but changing the
bibliography style to default or Jurabib doesn't work. Is there anything
I can do short of typing authors' names by hand?



Ask them to provide a natbib-compatible style, or create one yourself. 
As it is, their style is meant to be used with the default 
bibliography mode. You can use it with natbib, but you won't be able to 
use natbib's features.



Also, PLoS provides a template for LaTeX users.
(http://www.plosone.org/static/plos_template.tex) What do I do with that
thing? I tried just importing the template into LyX and copying my text
into it, but it's not at all clear what to do with the figure legends
and tables. Do I edit the ERT directly?



These probably shouldn't come out as ERT. The reason is probably because 
there is no .layout file for this LaTeX class. Creating a layout file is 
explained in the Customization manual and might be as simple as copying 
the standard article.layout. With a layout in place, the import from 
LaTeX should do a better job.



Thanks,
Jane



Cheers,
Julien



Re: Cross-reference to subeq. within subequations environ

2013-09-04 Thread Julien Rioux

On 04/09/2013 9:45 AM, Rudi Gaelzer wrote:

Ok, I know I should've first read the whole AMSmath documentation before
asking this but... this is faster...

Say I have a bunch of equations within a labeled subequations
environment. Something like (in LaTeX):

...

\begin{subequations}

\label{eq:eq1}

\begin{equation}

Some math

\end{equation}

Some text

\begin{align}

Some math \\

Some math \\

Some math

\end{align}

\end{subequations}

... \ref{eq:eq1} ...

The equations are all labeled with the same number and with the roman
subnumbers from a through d.

As long as I'm aware, I can only \ref{} the main label. I can not make
an automatic reference to a particular subequation unless I label it as
well.

If I don't do it, I have to write the roman subnumber manually. However,
if I later on insert another equation within the subequations, I'll have
to scan the whole document and fix the subnumbers in all cross references...

Does anyone know of a way to automatize this process? Without having to
label individual eqs, I mean. Perhaps there's a package in CTAN that I
don't know of. And does LyX support it?



Why wouldn't you label the subequation that you specifically want to 
reference? That's exactly how you should do it, I think. That's how 
LaTeX handles this problem. Especially if you are worried about perhaps 
inserting or removing subequations before the referenced one.


Cheers,
Julien



Re: alignment of too-wide figures/tables

2013-09-04 Thread Julien Rioux

On 16/08/2013 8:09 AM, Andreas Hilboll wrote:

Hi LyX experts,

I have a twoside document, in which some Figures/Tables are wider than
my \textwidth. Is there a way to have these Tables/Figures automatically
align with the text body on the inner margin? Currently, they are
aligned with the text body on the left, which looks bad on left pages.

Any help is greatly appreciated :)
Cheers, Andreas.



Interesting problem, but it seems like nobody knows. You might have 
better luck on a LaTeX forum.


Cheers,
Julien



Re: FW: error on View [Ctrl-R]: The directory path to the document cannot contain spaces

2013-09-04 Thread Julien Rioux

On 28/08/2013 4:16 AM, Roel Schipper - CITG wrote:

If I export my file to LaTeX and compile it outside of LyX with my MikTeX it 
works, so the problem does not seem to be in the MikTeX installation. Btw, I 
did not change MikTeX during or after updating to LyX 2.0.6. The error also 
occurs *immediately* after pushing the View (CTRL-R) button, apparently even 
before calling MikTeX. Modifying all my path names is not a good solution, 
since all my earlier LyX-work would not be able to find images then.


Can you please add your issue to the bug tracker for LyX, so that we 
don't forget about it. Add a link to this discussion.


Thanks,
Cheers,
Julien



Re: Formatting Article for PLoS One

2013-09-04 Thread Jane Shevtsov
Hi Julien,

On Wed, Sep 4, 2013 at 5:33 PM, Julien Rioux jri...@lyx.org wrote:

 On 03/09/2013 11:54 PM, Jane Shevtsov wrote:

 Also, PLoS provides a template for LaTeX users.
 (http://www.plosone.org/**static/plos_template.texhttp://www.plosone.org/static/plos_template.tex)
 What do I do with that
 thing? I tried just importing the template into LyX and copying my text
 into it, but it's not at all clear what to do with the figure legends
 and tables. Do I edit the ERT directly?


 These probably shouldn't come out as ERT. The reason is probably because
 there is no .layout file for this LaTeX class. Creating a layout file is
 explained in the Customization manual and might be as simple as copying the
 standard article.layout. With a layout in place, the import from LaTeX
 should do a better job.


The file that PLoS provides is just a template, NOT a class. (Click the
link.) How do I make a layout from a template?

Thanks,
Jane

-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


Re: A question about SAS output in lyx

2013-09-04 Thread Jacob Bishop
On Mon, Sep 2, 2013 at 10:36 PM, Zhan Joyce jiaz...@umail.iu.edu wrote:

 Dear all:

 I've a problem inserting the SAS output into my lyx file. I use ODS system
 in SAS and get a tex file. Then I try to use the program listing to add it
 into lys file but failed. What should I do with it? Thank you very much.
 I'm so frustrated with this problem for googling one day!


As Liviu was trying to point out, the file you sent uses LaTeX commands
that have not been defined. I think you need to get the sas style file,
which SAS should give you. You can either put this in the same place as
your .lyx file or install sas.sty as a package, and reconfigure LyX. Then,
you will need to put \usepackage{sas} in your preamble, and maybe also
\usepackage{longtable}. Then, you should be able to include the .tex file
in your LyX document. For more information, see the sas webpage:
http://support.sas.com/rnd/base/ods/odsmarkup/latex.html  Also, I ran
across a document that gives some pretty detailed instructions. It was
evidently written by a fellow named Carl Schwarz. See:
http://people.stat.sfu.ca/~cschwarz/Stat-650/Notes/PDF/ChapterSASTricks.pdf

That should hopefully be enough to get you going.

Jacob


Re: A question about SAS output in lyx

2013-09-04 Thread Zhan Joyce
Thank you very much. I look through roughly and find it very helpful!

Joyce
在 2013-9-5,上午1:34,Jacob Bishop bishop.ja...@gmail.com 写道:

 On Mon, Sep 2, 2013 at 10:36 PM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Dear all:
 
 I've a problem inserting the SAS output into my lyx file. I use ODS system in 
 SAS and get a tex file. Then I try to use the program listing to add it into 
 lys file but failed. What should I do with it? Thank you very much. I'm so 
 frustrated with this problem for googling one day!
  
 As Liviu was trying to point out, the file you sent uses LaTeX commands that 
 have not been defined. I think you need to get the sas style file, which SAS 
 should give you. You can either put this in the same place as your .lyx file 
 or install sas.sty as a package, and reconfigure LyX. Then, you will need to 
 put \usepackage{sas} in your preamble, and maybe also \usepackage{longtable}. 
 Then, you should be able to include the .tex file in your LyX document. For 
 more information, see the sas webpage: 
 http://support.sas.com/rnd/base/ods/odsmarkup/latex.html  Also, I ran across 
 a document that gives some pretty detailed instructions. It was evidently 
 written by a fellow named Carl Schwarz. See: 
 http://people.stat.sfu.ca/~cschwarz/Stat-650/Notes/PDF/ChapterSASTricks.pdf
 
 That should hopefully be enough to get you going.
 
 Jacob



Re: A question about SAS output in lyx

2013-09-04 Thread Liviu Andronic
On Wed, Sep 4, 2013 at 4:25 AM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Dear all:

 I've a problem inserting the SAS output into my lyx file. I use ODS system in 
 SAS and get a tex file. Then I try to use the program listing to add it into 
 lyx file but failed.

Others will give you better advice, but at the very least you need to
define the sascontents command and the sastable environment in your
document's preamble. Check the SAS documentation on how to do that.

Liviu


 What should I do with it? Here I add the tex file from SAS output. Thank you 
 very much for the help. I'm so frustrated with this problem for googling two 
 days!


 Joyce


 在 2013-9-3,下午4:41,Liviu Andronic landronim...@gmail.com 写道:

 Dear Joyce,
 Please use 'Reply all' to send the message to the list.

 Liviu

 On Tue, Sep 3, 2013 at 7:35 PM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Sure. Here it is. Thank you very much for help~


 Joyce



 在 2013-9-3,上午2:00,Liviu Andronic landronim...@gmail.com 写道:

 Dear Zhan,


 On Tue, Sep 3, 2013 at 6:36 AM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Dear all:

 I've a problem inserting the SAS output into my lyx file. I use ODS 
 system in SAS and get a tex file.

 It would help if you sent us a minimal example of such a .tex file.

 Liviu


 Then I try to use the program listing to add it into lys file but failed. 
 What should I do with it? Thank you very much. I'm so frustrated with 
 this problem for googling one day!


 Joyce



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: formatted cross-reference language

2013-09-04 Thread Michael Bach
On 9/3/13 4:57 PM, Hugo Hinterberger wrote:
 On Tue, 03 Sep 2013 15:25:57 +0200, Michael Bach pha...@gmail.com wrote:
 
 On 9/2/13 9:59 PM, Richard Heck wrote:
 On 09/02/2013 01:19 PM, Michael Bach wrote:
 Dear LyX Users and Developers,

 I am using LyX 2.0.5.1 on OSX 10.8.

 I am working on a document that has Document  Settings  Language set
 to `German' and the custom class option `german' as well.

 The LyX GUI is English as is the OS language setting.

 As indicated in the subject, formatted cross-references are set in
 English instead of German. I read up on the web regarding i18n issues
 and made sure that LyX uses the refstyle package for cross-referencing
 (Document  Settings  Document Class).

 FWIW, nomenclatures commands, e.g. \nomrefeq, are set in German.

 Could you give me a hint on where to look next for a solution?

 I guess I'd start by looking at the generated LaTeX, and see if
 something is wrong there.


 The generated LaTeX shows a \subref{} command.  I read up on the
 `subref' package, and am confused as this should be used to reference
 labels in nested reference hierarchies (?).  But then I did not find the
 \subref command in there...

 This command did not cross my way until now and I can only find it in
 context with figure captions when searching for it.

 Michael
 
 Hi,
 
 As far as I can remember there are multiple issues with refstyle:
 1) Command name clash/override with the subfig package when using sub:
 as label prefix for subsections.
 2) References to headings below sections are not configured in the
 refstyle.cfg file (TeX Live).
 
 I attached my refstyle.cfg which handles German references to
 subsections with the ssec: prefix.
 The file should be located at texmf/tex/latex/refstyle/.
 
 Maybe this helps.
 

Indeed, this helps.  Thanks very much for sharing!

Michael




Cross-reference to subeq. within subequations environ

2013-09-04 Thread Rudi Gaelzer
Ok, I know I should've first read the whole AMSmath documentation before asking 
this but... this is faster...

Say I have a bunch of equations within a labeled subequations environment.  
Something like (in LaTeX):

...
\begin{subequations}
\label{eq:eq1}
\begin{equation}
Some math
\end{equation}
Some text
\begin{align}
Some math \\
Some math \\
Some math
\end{align}
\end{subequations}
... \ref{eq:eq1} ...

The equations are all labeled with the same number and with the roman 
subnumbers from a through d.
As long as I'm aware, I can only \ref{} the main label.  I can not make an 
automatic reference to a particular subequation unless I label it as well.
If I don't do it, I have to write the roman subnumber manually.  However, if I 
later on insert another equation within the subequations, I'll have to scan the 
whole document and fix the subnumbers in all cross references...

Does anyone know of a way to automatize this process?  Without having to label 
individual eqs, I mean.  Perhaps there's a package in CTAN that I don't know 
of.  And does LyX support it?

Thanks.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


LyX + CAS

2013-09-04 Thread David R . José
Hello.I've been having trouble in pairing LyX and a CAS.While trying to use 
Maxima and Maple, I've added the address (eg: c:\maxima\) where the .exe is to 
the Path prefix under Tools - Preferences - Paths.Still no results in even 
solving a simple 2+2 in Math mode. All I get is a equal sign with an empty 
space beside it.LyX 2.0.6wxMaxima 12.04.0Maple 16Win 7 x64 SP1
Has someone successfully paired LyX and a CAS in Windows?Any help on what or 
where my problem is at?Thanks!   

Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
 Hello.
 I've been having trouble in pairing LyX and a CAS.
 While trying to use Maxima and Maple, I've added the address (eg:
 c:\maxima\) where the .exe is to the Path prefix under Tools -
 Preferences - Paths.
 Still no results in even solving a simple 2+2 in Math mode. All I get is a
 equal sign with an empty space beside it.
 LyX 2.0.6
 wxMaxima 12.04.0
 Maple 16
 Win 7 x64 SP1

 Has someone successfully paired LyX and a CAS in Windows?
 Any help on what or where my problem is at?

I do not have Windows. But you could try seeing if View  Messages
provides some useful output.

Scott


spellchecker

2013-09-04 Thread Wolfgang Engelmann

Hello,

I am using lyx 2.0.6 on debian and tried (again), to get the spellchecker 
working; however

 select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.

is greyed out; therefore I can not select
enchant or other spellchecker, which I have installed on my debian wheezy.

installed are 

enchant 1.6.0.7
libenchant-dev
-voikko
-1c2a
php5-enchant 5.4.4-14+db7u4
python-enchant 1.6.5-2
   3-enchant 1.6.5-2

ispell 3.3.02-6
aspell 0.60.7
hunspell 1.3.2-4

the lyx reconfigure output on the terminal does not mention any of the 
spellcheckers

Any suggestions what I could do?

Wolfgang



Re: spellchecker

2013-09-04 Thread Scott Kostyshak
How did you install 2.0.6? Did you compile? If so, can you post your
configure log?

Scott

On Wed, Sep 4, 2013 at 1:30 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:


 Hello,



 I am using lyx 2.0.6 on debian and tried (again), to get the spellchecker
 working; however



 select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.



 is greyed out; therefore I can not select

 enchant or other spellchecker, which I have installed on my debian wheezy.



 installed are



 enchant 1.6.0.7

 libenchant-dev

 -voikko

 -1c2a

 php5-enchant 5.4.4-14+db7u4

 python-enchant 1.6.5-2

 3-enchant 1.6.5-2



 ispell 3.3.02-6

 aspell 0.60.7

 hunspell 1.3.2-4



 the lyx reconfigure output on the terminal does not mention any of the
 spellcheckers



 Any suggestions what I could do?



 Wolfgang






Re: spellchecker

2013-09-04 Thread David L. Johnson

On 09/04/2013 01:30 PM, Wolfgang Engelmann wrote:


Hello,

I am using lyx 2.0.6 on debian and tried (again), to get the 
spellchecker working; however


select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.

is greyed out; therefore I can not select

enchant or other spellchecker, which I have installed on my debian wheezy.

Hmm.  I have essentially the same setup, and it works for me.  Now. the 
spellchecker was greyed out when I did not have a file loaded into LyX, 
but once I did it became available, and enchant (same version) appears.


Maybe there is a problem due to language settings, but other than that 
we should have the same behavior.  Also the same, my configure.log file 
makes no mention of spell or enchant, so that may not be part of 
what is configured, although it seems it should be.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ



Reverse search with xdvi

2013-09-04 Thread Fabio Stumbo


Hi all,

I configured reverse search as explained in section 5.6.3 of the 
Additional features manual.


In particular, I setted
Preferences-File Handling-File formats
to
xdvi -editor lyxeditor.sh %f %l

and I created, as suggested, a lyxeditor.sh executable file in my 
$HOME/bin which contains


#!/bin/sh
LYXPIPE=$HOME/.lyx/lyxpipe
COMMAND=LYXCMD:revdvi:server-goto-file-row:$1 $2
echo $COMMAND  ${LYXPIPE}.in || exit
read  ${LYXPIPE}.out || exit

Now, when I produce a dvi if I ctrl+click then every 
time I get in xdvi the following error message


Command lyxeditor.sh /tmp/lyx_tmpdir.MT4824/lyx_tmpbuf2/test.tex 1534 exited 
with error code 2
$HOME/bin/lyxeditor.sh: 5: read: arg count

Nevertheless, I in the lyx source file I am correctly positioned in the 
intended line.


So, all in all it works, but getting allways the error message is a bit 
annoying...


Is there a fix to this? What is wrong in lyxeditor.sh?

Please note that if I comment out the last line, I don't get the error any 
longer and it still works: so is the last line necessary?


Thanks a lot

F.



RE: LyX + CAS

2013-09-04 Thread David R . José
Scott, thanks to you I've found the trick.Never realized I could find the issue 
viewing the Messages log :)For those out there who are having the same issue: 
there is no solution.LyX tries to find the CAS_names.exe at the pointed 
dir.Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is 
simply no way to do it.I also failed to do the same with Maple.But it worked 
with Mathematica :)Mathematica 9 has a Mathematica.exe, which indeed IS the 
very core.So, just point to, (usually, under win7) C:\Program Files\Wolfram 
Research\Mathematica\9.0\ at Path prefix under Tools - Preferences - 
Paths. Save it and CAS - Mathematica should work fine ;)

 Date: Wed, 4 Sep 2013 12:11:09 -0400
 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org
 
 On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
  Hello.
  I've been having trouble in pairing LyX and a CAS.
  While trying to use Maxima and Maple, I've added the address (eg:
  c:\maxima\) where the .exe is to the Path prefix under Tools -
  Preferences - Paths.
  Still no results in even solving a simple 2+2 in Math mode. All I get is a
  equal sign with an empty space beside it.
  LyX 2.0.6
  wxMaxima 12.04.0
  Maple 16
  Win 7 x64 SP1
 
  Has someone successfully paired LyX and a CAS in Windows?
  Any help on what or where my problem is at?
 
 I do not have Windows. But you could try seeing if View  Messages
 provides some useful output.
 
 Scott
  

Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
Good work debugging, David.

As I said, I don't use Windows, but if this problem occurred under
Linux the first thing I would try is to create a symlink (perhaps in
Windows this is similar to a shortcut?) for maxima.exe, which
points to wxMaxima.exe. Does that work?

If that does not work, the next thing I would try (on Linux) is to
create a script called maxima.exe which runs wxMaxima.exe with the
same arguments and pipes it was passed. On Windows perhaps a batch
file called maxima.exe could do this? But then again, I think
Windows pays close attention to suffixes in which case batch files
must end in .bat so this would not work?

I suppose neither of these would work if you don't have Administrator
privileges though?

Scott

On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:
 Scott, thanks to you I've found the trick.
 Never realized I could find the issue viewing the Messages log :)
 For those out there who are having the same issue: there is no solution.
 LyX tries to find the CAS_names.exe at the pointed dir.
 Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
 simply no way to do it.
 I also failed to do the same with Maple.
 But it worked with Mathematica :)
 Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
 So, just point to, (usually, under win7) C:\Program Files\Wolfram
 Research\Mathematica\9.0\ at Path prefix under Tools - Preferences -
 Paths. Save it and CAS - Mathematica should work fine ;)

 Date: Wed, 4 Sep 2013 12:11:09 -0400
 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org


 On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
  Hello.
  I've been having trouble in pairing LyX and a CAS.
  While trying to use Maxima and Maple, I've added the address (eg:
  c:\maxima\) where the .exe is to the Path prefix under Tools -
  Preferences - Paths.
  Still no results in even solving a simple 2+2 in Math mode. All I get is
  a
  equal sign with an empty space beside it.
  LyX 2.0.6
  wxMaxima 12.04.0
  Maple 16
  Win 7 x64 SP1
 
  Has someone successfully paired LyX and a CAS in Windows?
  Any help on what or where my problem is at?

 I do not have Windows. But you could try seeing if View  Messages
 provides some useful output.

 Scott


RE: LyX + CAS

2013-09-04 Thread David R . José
Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name 
of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, 
that froze with the following message: wxMaxima could not find Maxima! Please 
configure wxMaxima with 'Edit-Configure'. Then start maxima with 
'Maxima-Restart Maxima'. At the Configure menu, Maxima Program path points 
to the .bat previously mentioned. Opening the .bat file opens a console (which 
I have no idea what it's for), and waits for input commands. From there on, no 
idea.This the farthest point to which my knowledge goes... and where I decided 
to try Mathematica out.
David
 Date: Wed, 4 Sep 2013 14:46:48 -0400
 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org
 
 Good work debugging, David.
 
 As I said, I don't use Windows, but if this problem occurred under
 Linux the first thing I would try is to create a symlink (perhaps in
 Windows this is similar to a shortcut?) for maxima.exe, which
 points to wxMaxima.exe. Does that work?
 
 If that does not work, the next thing I would try (on Linux) is to
 create a script called maxima.exe which runs wxMaxima.exe with the
 same arguments and pipes it was passed. On Windows perhaps a batch
 file called maxima.exe could do this? But then again, I think
 Windows pays close attention to suffixes in which case batch files
 must end in .bat so this would not work?
 
 I suppose neither of these would work if you don't have Administrator
 privileges though?
 
 Scott
 
 On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:
  Scott, thanks to you I've found the trick.
  Never realized I could find the issue viewing the Messages log :)
  For those out there who are having the same issue: there is no solution.
  LyX tries to find the CAS_names.exe at the pointed dir.
  Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
  simply no way to do it.
  I also failed to do the same with Maple.
  But it worked with Mathematica :)
  Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
  So, just point to, (usually, under win7) C:\Program Files\Wolfram
  Research\Mathematica\9.0\ at Path prefix under Tools - Preferences -
  Paths. Save it and CAS - Mathematica should work fine ;)
 
  Date: Wed, 4 Sep 2013 12:11:09 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
 
  On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
   Hello.
   I've been having trouble in pairing LyX and a CAS.
   While trying to use Maxima and Maple, I've added the address (eg:
   c:\maxima\) where the .exe is to the Path prefix under Tools -
   Preferences - Paths.
   Still no results in even solving a simple 2+2 in Math mode. All I get is
   a
   equal sign with an empty space beside it.
   LyX 2.0.6
   wxMaxima 12.04.0
   Maple 16
   Win 7 x64 SP1
  
   Has someone successfully paired LyX and a CAS in Windows?
   Any help on what or where my problem is at?
 
  I do not have Windows. But you could try seeing if View  Messages
  provides some useful output.
 
  Scott
  

Re: Pasting graphics in LyX 2.1 beta on Mac

2013-09-04 Thread Anders Ekberg
 
 Anders Ekberg wrote:
  Š The picture is scanned to pdf with 300 dpi
  resolution. When cropping and saving in Preview to a png with 300 dpi and
  then inserting this picture in LyX (with insert graphic) the output is
  fine (i.e. with a resolution of 300 dpi which is sufficient for my
  purposes). On the other hand when I copy in Preview and then paste in 
LyX,
  the resolution becomes low (I would guess about 150 dpi, which is
  incidentally the default resolution when saving png:s in Preview, so the
  problem well may be on the copying and not the pasting side).
  
  So, in short, my question is: Which resolution does LyX use to save
  graphics (on Mac) and is there a way to change it?
  
  LyX does not scale the graphics. It uses whatever is on the clipboard, but
  maybe there is some scaling happening in qt. Did you try to paste the
  graphics in a different application, e.g. gimp? If that does not preserve
  the resolution the problem is with copying the graphics to the clipboard.
  Otherwise it is in LyX or qt, and one would need to debug.
 
 Good suggestion Georg.
 Attached are pdfs from LyX and from Word. Same clipping from Preview. The
 resolution in the LyX-produced file is much less. So something happens when
 LyX pastes the clip and I save it as a png in that process. I would consider
 this a bug (if LyX or qt is another issueŠ).
 
  I also tried on Windows (copying from Acrobat Reader) and there the
  resolution was good, but the dimensions distorted (compressed in height).
 
  Strange. Does the distortion come from different x/y scaling factors in
 LyX, 
  or is it also visible in the created .png file?
 
  Georg

Update:
The windows skewness seems to be related to that file. Tried a new one now
and it works. (Could have be due to the fact that the only selection I can
find in Windows reader on Windows is select all, so the entire [one page]
file was copied).

The image pasted from LyX is 72 dpi. I suspect that the copying and saving
via LyX somehow mixes up the file resolution and the resolution on the
screen. Can't really be the fault of Preview since it works in Word, so
should be a qt or LyX bug.




Re: off topic: Is there a lyx user in Lund, Sweden?

2013-09-04 Thread Anders Ekberg
If you get stuck with Mac issues, send me a mail (or give me a call,
number on Chalmers University website). It is really *very* simple:
- Download and install MacTeX: http://tug.org/mactex/
- Download and install LyX
Done!

/Anders Ekberg

From: Påvel Nicklasson

I work in Lund and use LyX every day. I can make a try, but I have
little knowledge of Macs (Linux user), so I can't guarantee success. I
suppose LyX will be the same, but the TeX system vill be different to
set up. 

You or your colleague can mail me so we can discuss if and how I could
help.


2013/9/2 Wolfgang Engelmann engelmann at uni-tuebingen.de
mailto:engelmann%20%3Cat%3E%20uni-tuebingen.de

Hello, Lyx-users,
 
I wonder whether there is a lyx user in Lund, Sweden, who could
perhaps help a colleague at the university there to acquire Lyx for Mac?
 
Wolfgang










Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
David,

Thanks for the explanations. I am forwarding this to the development
list to see if anyone has an idea of the best solution.

Scott

On Wed, Sep 4, 2013 at 3:09 PM, David R. José c1b...@hotmail.com wrote:
 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name of
 maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided to
 try Mathematica out.

 David

 Date: Wed, 4 Sep 2013 14:46:48 -0400

 Subject: Re: LyX + CAS
 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org

 Good work debugging, David.

 As I said, I don't use Windows, but if this problem occurred under
 Linux the first thing I would try is to create a symlink (perhaps in
 Windows this is similar to a shortcut?) for maxima.exe, which
 points to wxMaxima.exe. Does that work?

 If that does not work, the next thing I would try (on Linux) is to
 create a script called maxima.exe which runs wxMaxima.exe with the
 same arguments and pipes it was passed. On Windows perhaps a batch
 file called maxima.exe could do this? But then again, I think
 Windows pays close attention to suffixes in which case batch files
 must end in .bat so this would not work?

 I suppose neither of these would work if you don't have Administrator
 privileges though?

 Scott

 On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:
  Scott, thanks to you I've found the trick.
  Never realized I could find the issue viewing the Messages log :)
  For those out there who are having the same issue: there is no solution.
  LyX tries to find the CAS_names.exe at the pointed dir.
  Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there
  is
  simply no way to do it.
  I also failed to do the same with Maple.
  But it worked with Mathematica :)
  Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
  So, just point to, (usually, under win7) C:\Program Files\Wolfram
  Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
  -
  Paths. Save it and CAS - Mathematica should work fine ;)
 
  Date: Wed, 4 Sep 2013 12:11:09 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
 
  On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
  wrote:
   Hello.
   I've been having trouble in pairing LyX and a CAS.
   While trying to use Maxima and Maple, I've added the address (eg:
   c:\maxima\) where the .exe is to the Path prefix under Tools -
   Preferences - Paths.
   Still no results in even solving a simple 2+2 in Math mode. All I get
   is
   a
   equal sign with an empty space beside it.
   LyX 2.0.6
   wxMaxima 12.04.0
   Maple 16
   Win 7 x64 SP1
  
   Has someone successfully paired LyX and a CAS in Windows?
   Any help on what or where my problem is at?
 
  I do not have Windows. But you could try seeing if View  Messages
  provides some useful output.
 
  Scott


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
Just to complete my previous message, for Maple, the situation is even more
complex:

- The GUI lives in: /Applications/Maple 17/Maple 17.app
- While the server in:
/Library/Frameworks/Maple.framework/Versions/17/bin/maple

and Lyx needs the second one, not the first, in the path variable.


2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: c1b...@hotmail.com
   CC: lyx-users@lists.lyx.org
  
  
   On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
 wrote:
Hello.
I've been having trouble in pairing LyX and a CAS.
While trying to use Maxima and Maple, I've added the address (eg:
c:\maxima\) where the .exe is to the Path prefix under Tools -
Preferences - Paths.
Still no results in even solving a simple 2+2 in Math mode. All I
 get is
a
equal sign with an empty space beside it.
LyX 2.0.6
wxMaxima 12.04.0
Maple 16
Win 7 x64 SP1
   
Has someone successfully paired LyX and a CAS in Windows?
Any help on what or where my problem is at?
  
   I do not have Windows. But you could try seeing if View  Messages
   provides some useful output.
  
   Scott




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
David,
To my knowledge (I am not an expert on Maxima), wxmaxima is the graphical
interface and you should have a server called maxima.exe somewhere in a
sub-folder. I cannot check it because I am not under windows anymore, but
this is what I have in OSX (in fact, we have two different applications:
Maxima and wxmaxima). The same is true also for Maple: you normally have an
executable for the GUI, and another for the computation server. Lyx
normally needs to have access to the server. So you should give in the path
the path to the server, and not the one to the GUI.
Just my two cents.

Murat


2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: c1b...@hotmail.com
   CC: lyx-users@lists.lyx.org
  
  
   On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
 wrote:
Hello.
I've been having trouble in pairing LyX and a CAS.
While trying to use Maxima and Maple, I've added the address (eg:
c:\maxima\) where the .exe is to the Path prefix under Tools -
Preferences - Paths.
Still no results in even solving a simple 2+2 in Math mode. All I
 get is
a
equal sign with an empty space beside it.
LyX 2.0.6
wxMaxima 12.04.0
Maple 16
Win 7 x64 SP1
   
Has someone successfully paired LyX and a CAS in Windows?
Any help on what or where my problem is at?
  
   I do not have Windows. But you could try seeing if View  Messages
   provides some useful output.
  
   Scott




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
David,
I cannot tell for Maxima, because I have never used it under Windows, but
for Maple I am pretty sure, there is normally an exe for the server, but I
do not remember if it lives in another foder that win.exe. My experiments
were with Windows XP, and the server was a Dos program, executed in text
mode in a console. In more modern versions of Maple and Windows, I am not
sure that this separation is kept. Sorry for not being more helpful. Maybe
a user of Maple under Windows 7/8 could help. Under OSX, both maxima and
Maple can be used as a CAS for simple computations (I have just checked
again to bu sure).


2013/9/4 David R. José c1b...@hotmail.com

 Yildizoglu,
 I've tried searching for a maxima.exe which could be the server. Found one
 in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing
 happened when I tried inside LyX.
 Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No
 maple.exe per se available.
 Pointing to any .exe used to start the GUI doesn't work, as foretold by
 you.

 Scott,
 If you need any more info or tests performed, just get in touch.

 --
 From: myi...@gmail.com
 Date: Wed, 4 Sep 2013 21:31:06 +0200
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org

 Just to complete my previous message, for Maple, the situation is even
 more complex:

 - The GUI lives in: /Applications/Maple 17/Maple 17.app
 - While the server in:
 /Library/Frameworks/Maple.framework/Versions/17/bin/maple

 and Lyx needs the second one, not the first, in the path variable.


 2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: c1b...@hotmail.com
   CC: lyx-users@lists.lyx.org
  
  
   On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com
 wrote:
Hello.
I've been having trouble in pairing LyX and a CAS.
While trying to use Maxima and Maple, I've added the address (eg:
c:\maxima\) where the .exe is to the Path prefix under Tools -
Preferences - Paths.
Still no results in even solving a simple 2+2 in Math mode. All I
 get is
a
equal sign with an empty space beside it.
LyX 2.0.6
wxMaxima 12.04.0
Maple 16
Win 7 x64 SP1
   
Has someone successfully paired LyX and a CAS in Windows?
Any help on what or where my problem is at?
  
   I do not have Windows. But you could try seeing if View  Messages
   provides some useful output.
  
   Scott




 --
 Prof. Murat Yildizoglu

 Université Montesquieu Bordeaux IV
 GREThA (UMR CNRS 5113)
 Avenue 

RE: LyX + CAS

2013-09-04 Thread David R . José
Yildizoglu, Found it!Creating a copy of cmaple.exe with the name maple.exe and 
pointing the LyX path to \bin.win\ at the Maple dir does the deal.Guess there 
should be a Help Section were we could put this info :)Unfortunately the two 
CAS able to interact with LyX in Win7 are paid.Maybe there is also a workaround 
for Maxima, which would help the freeware and open source cause :)Cheeryo!


From: myi...@gmail.com
Date: Wed, 4 Sep 2013 21:54:11 +0200
Subject: Re: LyX + CAS
To: c1b...@hotmail.com; lyx-users@lists.lyx.org

David,
I cannot tell for Maxima, because I have never used it under Windows, but for 
Maple I am pretty sure, there is normally an exe for the server, but I do not 
remember if it lives in another foder that win.exe. My experiments were with 
Windows XP, and the server was a Dos program, executed in text mode in a 
console. In more modern versions of Maple and Windows, I am not sure that this 
separation is kept. Sorry for not being more helpful. Maybe a user of Maple 
under Windows 7/8 could help. Under OSX, both maxima and Maple can be used as a 
CAS for simple computations (I have just checked again to bu sure).




2013/9/4 David R. José c1b...@hotmail.com





Yildizoglu,I've tried searching for a maxima.exe which could be the server. 
Found one in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and 
nothing happened when I tried inside LyX.

Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No 
maple.exe per se available.Pointing to any .exe used to start the GUI doesn't 
work, as foretold by you.


Scott,If you need any more info or tests performed, just get in touch.
From: myi...@gmail.com
Date: Wed, 4 Sep 2013 21:31:06 +0200

Subject: Re: LyX + CAS

To: c1b...@hotmail.com
CC: lyx-users@lists.lyx.org

Just to complete my previous message, for Maple, the situation is even more 
complex:



- The GUI lives in: /Applications/Maple 17/Maple 17.app
- While the server in: /Library/Frameworks/Maple.framework/Versions/17/bin/maple



and Lyx needs the second one, not the first, in the path variable.


2013/9/4 David R. José c1b...@hotmail.com







Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name 
of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, 
that froze with the following message: wxMaxima could not find Maxima! Please 
configure wxMaxima with 'Edit-Configure'. Then start maxima with 
'Maxima-Restart Maxima'. 



At the Configure menu, Maxima Program path points to the .bat previously 
mentioned. Opening the .bat file opens a console (which I have no idea what 
it's for), and waits for input commands. From there on, no idea.



This the farthest point to which my knowledge goes... and where I decided to 
try Mathematica out.
David
 Date: Wed, 4 Sep 2013 14:46:48 -0400
 Subject: Re: LyX + CAS




 From: skost...@princeton.edu
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org




 
 Good work debugging, David.
 
 As I said, I don't use Windows, but if this problem occurred under
 Linux the first thing I would try is to create a symlink (perhaps in
 Windows this is similar to a shortcut?) for maxima.exe, which




 points to wxMaxima.exe. Does that work?
 
 If that does not work, the next thing I would try (on Linux) is to
 create a script called maxima.exe which runs wxMaxima.exe with the
 same arguments and pipes it was passed. On Windows perhaps a batch




 file called maxima.exe could do this? But then again, I think
 Windows pays close attention to suffixes in which case batch files
 must end in .bat so this would not work?
 




 I suppose neither of these would work if you don't have Administrator
 privileges though?
 
 Scott
 
 On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com wrote:




  Scott, thanks to you I've found the trick.
  Never realized I could find the issue viewing the Messages log :)
  For those out there who are having the same issue: there is no solution.




  LyX tries to find the CAS_names.exe at the pointed dir.
  Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
  simply no way to do it.
  I also failed to do the same with Maple.




  But it worked with Mathematica :)
  Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
  So, just point to, (usually, under win7) C:\Program Files\Wolfram
  Research\Mathematica\9.0\ at Path prefix under Tools - Preferences -




  Paths. Save it and CAS - Mathematica should work fine ;)
 
  Date: Wed, 4 Sep 2013 12:11:09 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu




  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
 




  On Wed, Sep 4, 2013 at 10:24 AM, David R. José c1b...@hotmail.com wrote:
   Hello.
   I've been having trouble in pairing LyX and a CAS.




   While trying to use Maxima and Maple, I've added the address (eg:
   c:\maxima\) where the .exe is to the Path prefix under Tools -
   Preferences - Paths.




   Still no results in even 

Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
Hi David,

A last idea for Maxima. Could you launch wxmxima and look at its
preferences if there is some configuration setting where you are supposed
to tell it the location of the server? If yes, the path indicated there
should make your day, hopefully.


2013/9/4 David R. José c1b...@hotmail.com

 Yildizoglu,
 Found it!
 Creating a copy of cmaple.exe with the name maple.exe and pointing the LyX
 path to \bin.win\ at the Maple dir does the deal.
 Guess there should be a Help Section were we could put this info :)
 Unfortunately the two CAS able to interact with LyX in Win7 are paid.
 Maybe there is also a workaround for Maxima, which would help the freeware
 and open source cause :)
 Cheeryo!



 --
 From: myi...@gmail.com
 Date: Wed, 4 Sep 2013 21:54:11 +0200
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com; lyx-users@lists.lyx.org

 David,
 I cannot tell for Maxima, because I have never used it under Windows, but
 for Maple I am pretty sure, there is normally an exe for the server, but I
 do not remember if it lives in another foder that win.exe. My experiments
 were with Windows XP, and the server was a Dos program, executed in text
 mode in a console. In more modern versions of Maple and Windows, I am not
 sure that this separation is kept. Sorry for not being more helpful. Maybe
 a user of Maple under Windows 7/8 could help. Under OSX, both maxima and
 Maple can be used as a CAS for simple computations (I have just checked
 again to bu sure).


 2013/9/4 David R. José c1b...@hotmail.com

 Yildizoglu,
 I've tried searching for a maxima.exe which could be the server. Found one
 in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing
 happened when I tried inside LyX.
 Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No
 maple.exe per se available.
 Pointing to any .exe used to start the GUI doesn't work, as foretold by
 you.

 Scott,
 If you need any more info or tests performed, just get in touch.

 --
 From: myi...@gmail.com
 Date: Wed, 4 Sep 2013 21:31:06 +0200
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com
 CC: lyx-users@lists.lyx.org

 Just to complete my previous message, for Maple, the situation is even
 more complex:

 - The GUI lives in: /Applications/Maple 17/Maple 17.app
 - While the server in:
 /Library/Frameworks/Maple.framework/Versions/17/bin/maple

 and Lyx needs the second one, not the first, in the path variable.


 2013/9/4 David R. José c1b...@hotmail.com

 Scott,
 The first thing I tried was creating a copy of wxmaxima.exe with the name
 of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
 that froze with the following message: wxMaxima could not find Maxima!
 Please configure wxMaxima with 'Edit-Configure'. Then start maxima with
 'Maxima-Restart Maxima'.
 At the Configure menu, Maxima Program path points to the .bat previously
 mentioned. Opening the .bat file opens a console (which I have no idea what
 it's for), and waits for input commands. From there on, no idea.
 This the farthest point to which my knowledge goes... and where I decided
 to try Mathematica out.

 David

  Date: Wed, 4 Sep 2013 14:46:48 -0400
  Subject: Re: LyX + CAS
  From: skost...@princeton.edu
  To: c1b...@hotmail.com
  CC: lyx-users@lists.lyx.org
 
  Good work debugging, David.
 
  As I said, I don't use Windows, but if this problem occurred under
  Linux the first thing I would try is to create a symlink (perhaps in
  Windows this is similar to a shortcut?) for maxima.exe, which
  points to wxMaxima.exe. Does that work?
 
  If that does not work, the next thing I would try (on Linux) is to
  create a script called maxima.exe which runs wxMaxima.exe with the
  same arguments and pipes it was passed. On Windows perhaps a batch
  file called maxima.exe could do this? But then again, I think
  Windows pays close attention to suffixes in which case batch files
  must end in .bat so this would not work?
 
  I suppose neither of these would work if you don't have Administrator
  privileges though?
 
  Scott
 
  On Wed, Sep 4, 2013 at 2:35 PM, David R. José c1b...@hotmail.com
 wrote:
   Scott, thanks to you I've found the trick.
   Never realized I could find the issue viewing the Messages log :)
   For those out there who are having the same issue: there is no
 solution.
   LyX tries to find the CAS_names.exe at the pointed dir.
   Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
 there is
   simply no way to do it.
   I also failed to do the same with Maple.
   But it worked with Mathematica :)
   Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
   So, just point to, (usually, under win7) C:\Program Files\Wolfram
   Research\Mathematica\9.0\ at Path prefix under Tools - Preferences
 -
   Paths. Save it and CAS - Mathematica should work fine ;)
  
   Date: Wed, 4 Sep 2013 12:11:09 -0400
   Subject: Re: LyX + CAS
   From: skost...@princeton.edu
   To: 

Re: LyX + CAS

2013-09-04 Thread Pavel Sanda
David R. José wrote:
 Guess there should be a Help Section were we could put this info :)

You are most welcome to write such a paragraph into section 23 of LyX Math 
Manual
and send it back to the list so we add it to the official documentation.

Pavel


Re: LyX + CAS

2013-09-04 Thread Andrew Parsloe

On 5/09/2013 8:33 a.m., David R. José wrote:

Yildizoglu,
Found it!
Creating a copy of cmaple.exe with the name maple.exe and pointing the
LyX path to \bin.win\ at the Maple dir does the deal.
Guess there should be a Help Section were we could put this info :)
Unfortunately the two CAS able to interact with LyX in Win7 are paid.
Maybe there is also a workaround for Maxima, which would help the
freeware and open source cause :)
Cheeryo!



David,

On my Windows Vista laptop I've installed Maxima to E:\Program 
files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the 
end of the PATH prefix: setting (under Tools  Preferences  Paths)


;E:\Program files\Maxima-5.25.1-gcl\bin

The bin contains maxima.exe (and various other .exe files as well as 
maxima.bat). Whatever LyX is looking for, it finds it there. When I 
write 1+1 in a maths inset and go through the labyrinth Edit  Math  
Use Computer Algebra System  Maxima, after a little pause the inset 
changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate 
Maxima, the inset changes to 1+1= without the 2. The selection confuses 
things.)


Andrew


Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote:
 and I created, as suggested, a lyxeditor.sh 

Is there reason why you want to use named pipe?
xdvi should work via sockets out of the box (almost:)

Pavel


New LyX install problems... apparently minor :-)

2013-09-04 Thread Ken Springer
From http://www.lyx.org/Download, I downloaded 
ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the 
MacTeX link to download MacTeX.  Installation of both went without a 
problem.  I'm running OS X 10.8.4 but the Gatekeeper wasn't a problem, 
although the web site says it may be.


Lyx appears to start and run without problem.  I get a LyX window that 
appears to be waiting for me to select a document to open, or create a 
New document.


The problem(s) come when I try to access the Tutorial and User's Guide. 
 I get a warning message similar to this: 
https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy


The link above says I need (I think) a file named book.cls before I can 
print the what eventually displays on the screen.  Other files I get 
asked about are scrbook.cls, fancyhdr.sty, and enumitem.sty.


Questions:

1.  Shouldn't these files be included in the .dmg file, and be installed 
where they belong?  Could they have been left out by simple omission?


2.  Where do I find these files to install them?

After going through all the warning messages, the Tutorial and User 
Guide open fine.


--
Ken

Mac OS X 10.8.4
Firefox 23.0
Thunderbird 17.0.8
LibreOffice 4.1.04



Re: LyX + CAS

2013-09-04 Thread Andrew Parsloe



On 5/09/2013 10:41 a.m., Andrew Parsloe wrote:

On 5/09/2013 8:33 a.m., David R. José wrote:

Yildizoglu,
Found it!
Creating a copy of cmaple.exe with the name maple.exe and pointing the
LyX path to \bin.win\ at the Maple dir does the deal.
Guess there should be a Help Section were we could put this info :)
Unfortunately the two CAS able to interact with LyX in Win7 are paid.
Maybe there is also a workaround for Maxima, which would help the
freeware and open source cause :)
Cheeryo!



David,

On my Windows Vista laptop I've installed Maxima to E:\Program
files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the
end of the PATH prefix: setting (under Tools  Preferences  Paths)

;E:\Program files\Maxima-5.25.1-gcl\bin

The bin contains maxima.exe (and various other .exe files as well as
maxima.bat). Whatever LyX is looking for, it finds it there. When I
write 1+1 in a maths inset and go through the labyrinth Edit  Math 
Use Computer Algebra System  Maxima, after a little pause the inset
changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate
Maxima, the inset changes to 1+1= without the 2. The selection confuses
things.)

Andrew

A small correction: the bin folder contains xmaxima.exe (rather than 
maxima.exe).


Andrew


RE: LyX + CAS

2013-09-04 Thread David R . José
Andrew,That indeed worked. Thanks a lot!Pointing to the bin folder solves the 
deal!Thanks! ;)Good now we have an updated thread on how to solve these issues.

 Date: Thu, 5 Sep 2013 10:47:22 +1200
 From: apars...@clear.net.nz
 Subject: Re: LyX + CAS
 To: c1b...@hotmail.com
 
 
 
 On 5/09/2013 10:41 a.m., Andrew Parsloe wrote:
  On 5/09/2013 8:33 a.m., David R. José wrote:
  Yildizoglu,
  Found it!
  Creating a copy of cmaple.exe with the name maple.exe and pointing the
  LyX path to \bin.win\ at the Maple dir does the deal.
  Guess there should be a Help Section were we could put this info :)
  Unfortunately the two CAS able to interact with LyX in Win7 are paid.
  Maybe there is also a workaround for Maxima, which would help the
  freeware and open source cause :)
  Cheeryo!
 
 
  David,
 
  On my Windows Vista laptop I've installed Maxima to E:\Program
  files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the
  end of the PATH prefix: setting (under Tools  Preferences  Paths)
 
  ;E:\Program files\Maxima-5.25.1-gcl\bin
 
  The bin contains maxima.exe (and various other .exe files as well as
  maxima.bat). Whatever LyX is looking for, it finds it there. When I
  write 1+1 in a maths inset and go through the labyrinth Edit  Math 
  Use Computer Algebra System  Maxima, after a little pause the inset
  changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate
  Maxima, the inset changes to 1+1= without the 2. The selection confuses
  things.)
 
  Andrew
 
 A small correction: the bin folder contains xmaxima.exe (rather than 
 maxima.exe).
 
 Andrew
  

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote:

Anyway does changing the line
read  ${LYXPIPE}.out || exit
into 
read TMP  ${LYXPIPE}.out || exit

work for you?
Pavel


Re: New LyX install problems... apparently minor :-)

2013-09-04 Thread Scott Kostyshak
Can you try going to LyX  Reconfigure and then restart LyX? Do you
get the same message?

Scott

On Wed, Sep 4, 2013 at 6:47 PM, Ken Springer snowsh...@q.com wrote:
 From http://www.lyx.org/Download, I downloaded
 ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the MacTeX
 link to download MacTeX.  Installation of both went without a problem.  I'm
 running OS X 10.8.4 but the Gatekeeper wasn't a problem, although the web
 site says it may be.

 Lyx appears to start and run without problem.  I get a LyX window that
 appears to be waiting for me to select a document to open, or create a New
 document.

 The problem(s) come when I try to access the Tutorial and User's Guide.  I
 get a warning message similar to this:
 https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy

 The link above says I need (I think) a file named book.cls before I can
 print the what eventually displays on the screen.  Other files I get asked
 about are scrbook.cls, fancyhdr.sty, and enumitem.sty.

 Questions:

 1.  Shouldn't these files be included in the .dmg file, and be installed
 where they belong?  Could they have been left out by simple omission?

 2.  Where do I find these files to install them?

 After going through all the warning messages, the Tutorial and User Guide
 open fine.

 --
 Ken

 Mac OS X 10.8.4
 Firefox 23.0
 Thunderbird 17.0.8
 LibreOffice 4.1.04



Re: New LyX install problems... apparently minor :-)

2013-09-04 Thread Ken Springer

Same messages, Scott.

After posting, I thought it might be tied to the fact I have LyX set to 
use a specific desktop.  I have another application for which that seems 
to expose a bug.  But it didn't make any difference for LyX, apparently.





On 9/4/13 5:11 PM, Scott Kostyshak wrote:

Can you try going to LyX  Reconfigure and then restart LyX? Do you
get the same message?

Scott

On Wed, Sep 4, 2013 at 6:47 PM, Ken Springer snowsh...@q.com wrote:

 From http://www.lyx.org/Download, I downloaded
ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the MacTeX
link to download MacTeX.  Installation of both went without a problem.  I'm
running OS X 10.8.4 but the Gatekeeper wasn't a problem, although the web
site says it may be.

Lyx appears to start and run without problem.  I get a LyX window that
appears to be waiting for me to select a document to open, or create a New
document.

The problem(s) come when I try to access the Tutorial and User's Guide.  I
get a warning message similar to this:
https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy

The link above says I need (I think) a file named book.cls before I can
print the what eventually displays on the screen.  Other files I get asked
about are scrbook.cls, fancyhdr.sty, and enumitem.sty.

Questions:

1.  Shouldn't these files be included in the .dmg file, and be installed
where they belong?  Could they have been left out by simple omission?

2.  Where do I find these files to install them?

After going through all the warning messages, the Tutorial and User Guide
open fine.



--
Ken

Mac OS X 10.8.4
Firefox 23.0
Thunderbird 17.0.8
LibreOffice 4.1.04



Re: Formatting Article for PLoS One

2013-09-04 Thread Julien Rioux

On 03/09/2013 11:54 PM, Jane Shevtsov wrote:

I'm trying to format an article for submission to PLoS One. I'm using
their BiBTeX style sheet (http://www.plosone.org/static/plos2009.bst)
and the bibliography works fine but I get (author?) errors in the text
when trying to cite an article as Author [ID]. Apparently, this is
because their style file isn't a Natbib style, but changing the
bibliography style to default or Jurabib doesn't work. Is there anything
I can do short of typing authors' names by hand?



Ask them to provide a natbib-compatible style, or create one yourself. 
As it is, their style is meant to be used with the default 
bibliography mode. You can use it with natbib, but you won't be able to 
use natbib's features.



Also, PLoS provides a template for LaTeX users.
(http://www.plosone.org/static/plos_template.tex) What do I do with that
thing? I tried just importing the template into LyX and copying my text
into it, but it's not at all clear what to do with the figure legends
and tables. Do I edit the ERT directly?



These probably shouldn't come out as ERT. The reason is probably because 
there is no .layout file for this LaTeX class. Creating a layout file is 
explained in the Customization manual and might be as simple as copying 
the standard article.layout. With a layout in place, the import from 
LaTeX should do a better job.



Thanks,
Jane



Cheers,
Julien



Re: Cross-reference to subeq. within subequations environ

2013-09-04 Thread Julien Rioux

On 04/09/2013 9:45 AM, Rudi Gaelzer wrote:

Ok, I know I should've first read the whole AMSmath documentation before
asking this but... this is faster...

Say I have a bunch of equations within a labeled subequations
environment. Something like (in LaTeX):

...

\begin{subequations}

\label{eq:eq1}

\begin{equation}

Some math

\end{equation}

Some text

\begin{align}

Some math \\

Some math \\

Some math

\end{align}

\end{subequations}

... \ref{eq:eq1} ...

The equations are all labeled with the same number and with the roman
subnumbers from a through d.

As long as I'm aware, I can only \ref{} the main label. I can not make
an automatic reference to a particular subequation unless I label it as
well.

If I don't do it, I have to write the roman subnumber manually. However,
if I later on insert another equation within the subequations, I'll have
to scan the whole document and fix the subnumbers in all cross references...

Does anyone know of a way to automatize this process? Without having to
label individual eqs, I mean. Perhaps there's a package in CTAN that I
don't know of. And does LyX support it?



Why wouldn't you label the subequation that you specifically want to 
reference? That's exactly how you should do it, I think. That's how 
LaTeX handles this problem. Especially if you are worried about perhaps 
inserting or removing subequations before the referenced one.


Cheers,
Julien



Re: alignment of too-wide figures/tables

2013-09-04 Thread Julien Rioux

On 16/08/2013 8:09 AM, Andreas Hilboll wrote:

Hi LyX experts,

I have a twoside document, in which some Figures/Tables are wider than
my \textwidth. Is there a way to have these Tables/Figures automatically
align with the text body on the inner margin? Currently, they are
aligned with the text body on the left, which looks bad on left pages.

Any help is greatly appreciated :)
Cheers, Andreas.



Interesting problem, but it seems like nobody knows. You might have 
better luck on a LaTeX forum.


Cheers,
Julien



Re: FW: error on View [Ctrl-R]: The directory path to the document cannot contain spaces

2013-09-04 Thread Julien Rioux

On 28/08/2013 4:16 AM, Roel Schipper - CITG wrote:

If I export my file to LaTeX and compile it outside of LyX with my MikTeX it 
works, so the problem does not seem to be in the MikTeX installation. Btw, I 
did not change MikTeX during or after updating to LyX 2.0.6. The error also 
occurs *immediately* after pushing the View (CTRL-R) button, apparently even 
before calling MikTeX. Modifying all my path names is not a good solution, 
since all my earlier LyX-work would not be able to find images then.


Can you please add your issue to the bug tracker for LyX, so that we 
don't forget about it. Add a link to this discussion.


Thanks,
Cheers,
Julien



Re: Formatting Article for PLoS One

2013-09-04 Thread Jane Shevtsov
Hi Julien,

On Wed, Sep 4, 2013 at 5:33 PM, Julien Rioux jri...@lyx.org wrote:

 On 03/09/2013 11:54 PM, Jane Shevtsov wrote:

 Also, PLoS provides a template for LaTeX users.
 (http://www.plosone.org/**static/plos_template.texhttp://www.plosone.org/static/plos_template.tex)
 What do I do with that
 thing? I tried just importing the template into LyX and copying my text
 into it, but it's not at all clear what to do with the figure legends
 and tables. Do I edit the ERT directly?


 These probably shouldn't come out as ERT. The reason is probably because
 there is no .layout file for this LaTeX class. Creating a layout file is
 explained in the Customization manual and might be as simple as copying the
 standard article.layout. With a layout in place, the import from LaTeX
 should do a better job.


The file that PLoS provides is just a template, NOT a class. (Click the
link.) How do I make a layout from a template?

Thanks,
Jane

-- 
-
Jane Shevtsov, Ph.D.
Mathematical Biology Curriculum Writer, UCLA
co-founder, www.worldbeyondborders.org

“Those who say it cannot be done should not interfere with those who are
doing it.” --attributed to Robert Heinlein, George Bernard Shaw and others


Re: A question about SAS output in lyx

2013-09-04 Thread Jacob Bishop
On Mon, Sep 2, 2013 at 10:36 PM, Zhan Joyce jiaz...@umail.iu.edu wrote:

 Dear all:

 I've a problem inserting the SAS output into my lyx file. I use ODS system
 in SAS and get a tex file. Then I try to use the program listing to add it
 into lys file but failed. What should I do with it? Thank you very much.
 I'm so frustrated with this problem for googling one day!


As Liviu was trying to point out, the file you sent uses LaTeX commands
that have not been defined. I think you need to get the sas style file,
which SAS should give you. You can either put this in the same place as
your .lyx file or install sas.sty as a package, and reconfigure LyX. Then,
you will need to put \usepackage{sas} in your preamble, and maybe also
\usepackage{longtable}. Then, you should be able to include the .tex file
in your LyX document. For more information, see the sas webpage:
http://support.sas.com/rnd/base/ods/odsmarkup/latex.html  Also, I ran
across a document that gives some pretty detailed instructions. It was
evidently written by a fellow named Carl Schwarz. See:
http://people.stat.sfu.ca/~cschwarz/Stat-650/Notes/PDF/ChapterSASTricks.pdf

That should hopefully be enough to get you going.

Jacob


Re: A question about SAS output in lyx

2013-09-04 Thread Zhan Joyce
Thank you very much. I look through roughly and find it very helpful!

Joyce
在 2013-9-5,上午1:34,Jacob Bishop bishop.ja...@gmail.com 写道:

 On Mon, Sep 2, 2013 at 10:36 PM, Zhan Joyce jiaz...@umail.iu.edu wrote:
 Dear all:
 
 I've a problem inserting the SAS output into my lyx file. I use ODS system in 
 SAS and get a tex file. Then I try to use the program listing to add it into 
 lys file but failed. What should I do with it? Thank you very much. I'm so 
 frustrated with this problem for googling one day!
  
 As Liviu was trying to point out, the file you sent uses LaTeX commands that 
 have not been defined. I think you need to get the sas style file, which SAS 
 should give you. You can either put this in the same place as your .lyx file 
 or install sas.sty as a package, and reconfigure LyX. Then, you will need to 
 put \usepackage{sas} in your preamble, and maybe also \usepackage{longtable}. 
 Then, you should be able to include the .tex file in your LyX document. For 
 more information, see the sas webpage: 
 http://support.sas.com/rnd/base/ods/odsmarkup/latex.html  Also, I ran across 
 a document that gives some pretty detailed instructions. It was evidently 
 written by a fellow named Carl Schwarz. See: 
 http://people.stat.sfu.ca/~cschwarz/Stat-650/Notes/PDF/ChapterSASTricks.pdf
 
 That should hopefully be enough to get you going.
 
 Jacob



Re: A question about SAS output in lyx

2013-09-04 Thread Liviu Andronic
On Wed, Sep 4, 2013 at 4:25 AM, Zhan Joyce  wrote:
> Dear all:
>
> I've a problem inserting the SAS output into my lyx file. I use ODS system in 
> SAS and get a tex file. Then I try to use the program listing to add it into 
> lyx file but failed.
>
Others will give you better advice, but at the very least you need to
define the sascontents command and the sastable environment in your
document's preamble. Check the SAS documentation on how to do that.

Liviu


> What should I do with it? Here I add the tex file from SAS output. Thank you 
> very much for the help. I'm so frustrated with this problem for googling two 
> days!
>
>
> Joyce
>
>
> 在 2013-9-3,下午4:41,Liviu Andronic  写道:
>
>> Dear Joyce,
>> Please use 'Reply all' to send the message to the list.
>>
>> Liviu
>>
>> On Tue, Sep 3, 2013 at 7:35 PM, Zhan Joyce  wrote:
>>> Sure. Here it is. Thank you very much for help~
>>>
>>>
>>> Joyce
>>>
>>>
>>>
>>> 在 2013-9-3,上午2:00,Liviu Andronic  写道:
>>>
 Dear Zhan,


 On Tue, Sep 3, 2013 at 6:36 AM, Zhan Joyce  wrote:
> Dear all:
>
> I've a problem inserting the SAS output into my lyx file. I use ODS 
> system in SAS and get a tex file.
>
 It would help if you sent us a minimal example of such a .tex file.

 Liviu


> Then I try to use the program listing to add it into lys file but failed. 
> What should I do with it? Thank you very much. I'm so frustrated with 
> this problem for googling one day!
>
>
> Joyce



 --
 Do you know how to read?
 http://www.alienetworks.com/srtest.cfm
 http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
 Do you know how to write?
 http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>>>
>>>
>>
>>
>>
>> --
>> Do you know how to read?
>> http://www.alienetworks.com/srtest.cfm
>> http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
>> Do you know how to write?
>> http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: formatted cross-reference language

2013-09-04 Thread Michael Bach
On 9/3/13 4:57 PM, Hugo Hinterberger wrote:
> On Tue, 03 Sep 2013 15:25:57 +0200, Michael Bach  wrote:
> 
>> On 9/2/13 9:59 PM, Richard Heck wrote:
>>> On 09/02/2013 01:19 PM, Michael Bach wrote:
 Dear LyX Users and Developers,

 I am using LyX 2.0.5.1 on OSX 10.8.

 I am working on a document that has Document > Settings > Language set
 to `German' and the custom class option `german' as well.

 The LyX GUI is English as is the OS language setting.

 As indicated in the subject, formatted cross-references are set in
 English instead of German. I read up on the web regarding i18n issues
 and made sure that LyX uses the refstyle package for cross-referencing
 (Document > Settings > Document Class).

 FWIW, nomenclatures commands, e.g. \nomrefeq, are set in German.

 Could you give me a hint on where to look next for a solution?
>>>
>>> I guess I'd start by looking at the generated LaTeX, and see if
>>> something is wrong there.
>>>
>>
>> The generated LaTeX shows a \subref{} command.  I read up on the
>> `subref' package, and am confused as this should be used to reference
>> labels in nested reference hierarchies (?).  But then I did not find the
>> \subref command in there...
>>
>> This command did not cross my way until now and I can only find it in
>> context with figure captions when searching for it.
>>
>> Michael
> 
> Hi,
> 
> As far as I can remember there are multiple issues with refstyle:
> 1) Command name clash/override with the subfig package when using "sub:"
> as label prefix for subsections.
> 2) References to headings below sections are not configured in the
> refstyle.cfg file (TeX Live).
> 
> I attached my refstyle.cfg which handles German references to
> subsections with the "ssec:" prefix.
> The file should be located at "texmf/tex/latex/refstyle/".
> 
> Maybe this helps.
> 

Indeed, this helps.  Thanks very much for sharing!

Michael




Cross-reference to subeq. within subequations environ

2013-09-04 Thread Rudi Gaelzer
Ok, I know I should've first read the whole AMSmath documentation before asking 
this but... this is faster...

Say I have a bunch of equations within a labeled subequations environment.  
Something like (in LaTeX):

...
\begin{subequations}
\label{eq:eq1}
\begin{equation}

\end{equation}

\begin{align}
 \\
 \\

\end{align}
\end{subequations}
... \ref{eq:eq1} ...

The equations are all labeled with the same number and with the roman 
subnumbers from a through d.
As long as I'm aware, I can only \ref{} the main label.  I can not make an 
automatic reference to a particular subequation unless I label it as well.
If I don't do it, I have to write the roman subnumber manually.  However, if I 
later on insert another equation within the subequations, I'll have to scan the 
whole document and fix the subnumbers in all cross references...

Does anyone know of a way to automatize this process?  Without having to label 
individual eqs, I mean.  Perhaps there's a package in CTAN that I don't know 
of.  And does LyX support it?

Thanks.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


LyX + CAS

2013-09-04 Thread David R . José
Hello.I've been having trouble in pairing LyX and a CAS.While trying to use 
Maxima and Maple, I've added the address (eg: c:\maxima\) where the .exe is to 
the "Path prefix" under Tools -> Preferences -> Paths.Still no results in even 
solving a simple 2+2 in Math mode. All I get is a equal sign with an empty 
space beside it.LyX 2.0.6wxMaxima 12.04.0Maple 16Win 7 x64 SP1
Has someone successfully paired LyX and a CAS in Windows?Any help on what or 
where my problem is at?Thanks!   

Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
On Wed, Sep 4, 2013 at 10:24 AM, David R. José  wrote:
> Hello.
> I've been having trouble in pairing LyX and a CAS.
> While trying to use Maxima and Maple, I've added the address (eg:
> c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
> Preferences -> Paths.
> Still no results in even solving a simple 2+2 in Math mode. All I get is a
> equal sign with an empty space beside it.
> LyX 2.0.6
> wxMaxima 12.04.0
> Maple 16
> Win 7 x64 SP1
>
> Has someone successfully paired LyX and a CAS in Windows?
> Any help on what or where my problem is at?

I do not have Windows. But you could try seeing if View > Messages
provides some useful output.

Scott


spellchecker

2013-09-04 Thread Wolfgang Engelmann

Hello,

I am using lyx 2.0.6 on debian and tried (again), to get the spellchecker 
working; however

 select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.

is greyed out; therefore I can not select
enchant or other spellchecker, which I have installed on my debian wheezy.

installed are 

enchant 1.6.0.7
libenchant-dev
-voikko
-1c2a
php5-enchant 5.4.4-14+db7u4
python-enchant 1.6.5-2
   3-enchant 1.6.5-2

ispell 3.3.02-6
aspell 0.60.7
hunspell 1.3.2-4

the lyx reconfigure output on the terminal does not mention any of the 
spellcheckers

Any suggestions what I could do?

Wolfgang



Re: spellchecker

2013-09-04 Thread Scott Kostyshak
How did you install 2.0.6? Did you compile? If so, can you post your
configure log?

Scott

On Wed, Sep 4, 2013 at 1:30 PM, Wolfgang Engelmann
 wrote:
>
>
> Hello,
>
>
>
> I am using lyx 2.0.6 on debian and tried (again), to get the spellchecker
> working; however
>
>
>
> select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.
>
>
>
> is greyed out; therefore I can not select
>
> enchant or other spellchecker, which I have installed on my debian wheezy.
>
>
>
> installed are
>
>
>
> enchant 1.6.0.7
>
> libenchant-dev
>
> -voikko
>
> -1c2a
>
> php5-enchant 5.4.4-14+db7u4
>
> python-enchant 1.6.5-2
>
> 3-enchant 1.6.5-2
>
>
>
> ispell 3.3.02-6
>
> aspell 0.60.7
>
> hunspell 1.3.2-4
>
>
>
> the lyx reconfigure output on the terminal does not mention any of the
> spellcheckers
>
>
>
> Any suggestions what I could do?
>
>
>
> Wolfgang
>
>
>
>


Re: spellchecker

2013-09-04 Thread David L. Johnson

On 09/04/2013 01:30 PM, Wolfgang Engelmann wrote:


Hello,

I am using lyx 2.0.6 on debian and tried (again), to get the 
spellchecker working; however


select TOOLS, PREFERENCES, LANGUAGE SETTINGS, SPELLCHECKER.

is greyed out; therefore I can not select

enchant or other spellchecker, which I have installed on my debian wheezy.

Hmm.  I have essentially the same setup, and it works for me.  Now. the 
spellchecker was greyed out when I did not have a file loaded into LyX, 
but once I did it became available, and enchant (same version) appears.


Maybe there is a problem due to language settings, but other than that 
we should have the same behavior.  Also the same, my configure.log file 
makes no mention of "spell" or "enchant", so that may not be part of 
what is configured, although it seems it should be.


--

David L. Johnson

When you are up to your ass in alligators, it's hard to remember that
your initial objective was to drain the swamp.
-- LBJ



Reverse search with xdvi

2013-09-04 Thread Fabio Stumbo


Hi all,

I configured reverse search as explained in section 5.6.3 of the 
"Additional features manual".


In particular, I setted
Preferences->File Handling->File formats
to
xdvi -editor "lyxeditor.sh %f %l"

and I created, as suggested, a lyxeditor.sh executable file in my 
$HOME/bin which contains


#!/bin/sh
LYXPIPE="$HOME/.lyx/lyxpipe"
COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
echo "$COMMAND" > "${LYXPIPE}".in || exit
read < "${LYXPIPE}".out || exit

Now, when I produce a dvi if I ctrl+click then every 
time I get in xdvi the following error message


Command "lyxeditor.sh /tmp/lyx_tmpdir.MT4824/lyx_tmpbuf2/test.tex 1534" exited 
with error code 2
$HOME/bin/lyxeditor.sh: 5: read: arg count

Nevertheless, I in the lyx source file I am correctly positioned in the 
intended line.


So, all in all it works, but getting allways the error message is a bit 
annoying...


Is there a fix to this? What is wrong in "lyxeditor.sh"?

Please note that if I comment out the last line, I don't get the error any 
longer and it still works: so is the last line necessary?


Thanks a lot

F.



RE: LyX + CAS

2013-09-04 Thread David R . José
Scott, thanks to you I've found the trick.Never realized I could find the issue 
viewing the Messages log :)For those out there who are having the same issue: 
there is no solution.LyX tries to find the CAS_names.exe at the pointed 
dir.Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is 
simply no way to do it.I also failed to do the same with Maple.But it worked 
with Mathematica :)Mathematica 9 has a Mathematica.exe, which indeed IS the 
very core.So, just point to, (usually, under win7) "C:\Program Files\Wolfram 
Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences -> 
Paths. Save it and CAS -> Mathematica should work fine ;)

> Date: Wed, 4 Sep 2013 12:11:09 -0400
> Subject: Re: LyX + CAS
> From: skost...@princeton.edu
> To: c1b...@hotmail.com
> CC: lyx-users@lists.lyx.org
> 
> On Wed, Sep 4, 2013 at 10:24 AM, David R. José  wrote:
> > Hello.
> > I've been having trouble in pairing LyX and a CAS.
> > While trying to use Maxima and Maple, I've added the address (eg:
> > c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
> > Preferences -> Paths.
> > Still no results in even solving a simple 2+2 in Math mode. All I get is a
> > equal sign with an empty space beside it.
> > LyX 2.0.6
> > wxMaxima 12.04.0
> > Maple 16
> > Win 7 x64 SP1
> >
> > Has someone successfully paired LyX and a CAS in Windows?
> > Any help on what or where my problem is at?
> 
> I do not have Windows. But you could try seeing if View > Messages
> provides some useful output.
> 
> Scott
  

Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
Good work debugging, David.

As I said, I don't use Windows, but if this problem occurred under
Linux the first thing I would try is to create a symlink (perhaps in
Windows this is similar to a "shortcut"?) for "maxima.exe", which
points to wxMaxima.exe. Does that work?

If that does not work, the next thing I would try (on Linux) is to
create a script called "maxima.exe" which runs wxMaxima.exe with the
same arguments and pipes it was passed. On Windows perhaps a batch
file called "maxima.exe" could do this? But then again, I think
Windows pays close attention to suffixes in which case batch files
must end in ".bat" so this would not work?

I suppose neither of these would work if you don't have Administrator
privileges though?

Scott

On Wed, Sep 4, 2013 at 2:35 PM, David R. José  wrote:
> Scott, thanks to you I've found the trick.
> Never realized I could find the issue viewing the Messages log :)
> For those out there who are having the same issue: there is no solution.
> LyX tries to find the CAS_names.exe at the pointed dir.
> Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
> simply no way to do it.
> I also failed to do the same with Maple.
> But it worked with Mathematica :)
> Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
> So, just point to, (usually, under win7) "C:\Program Files\Wolfram
> Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences ->
> Paths. Save it and CAS -> Mathematica should work fine ;)
>
>> Date: Wed, 4 Sep 2013 12:11:09 -0400
>> Subject: Re: LyX + CAS
>> From: skost...@princeton.edu
>> To: c1b...@hotmail.com
>> CC: lyx-users@lists.lyx.org
>
>>
>> On Wed, Sep 4, 2013 at 10:24 AM, David R. José  wrote:
>> > Hello.
>> > I've been having trouble in pairing LyX and a CAS.
>> > While trying to use Maxima and Maple, I've added the address (eg:
>> > c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
>> > Preferences -> Paths.
>> > Still no results in even solving a simple 2+2 in Math mode. All I get is
>> > a
>> > equal sign with an empty space beside it.
>> > LyX 2.0.6
>> > wxMaxima 12.04.0
>> > Maple 16
>> > Win 7 x64 SP1
>> >
>> > Has someone successfully paired LyX and a CAS in Windows?
>> > Any help on what or where my problem is at?
>>
>> I do not have Windows. But you could try seeing if View > Messages
>> provides some useful output.
>>
>> Scott


RE: LyX + CAS

2013-09-04 Thread David R . José
Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name 
of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, 
that froze with the following message: "wxMaxima could not find Maxima! Please 
configure wxMaxima with 'Edit->Configure'. Then start maxima with 
'Maxima->Restart Maxima'. At the Configure menu, "Maxima Program" path points 
to the .bat previously mentioned. Opening the .bat file opens a console (which 
I have no idea what it's for), and waits for input commands. From there on, no 
idea.This the farthest point to which my knowledge goes... and where I decided 
to try Mathematica out.
David
> Date: Wed, 4 Sep 2013 14:46:48 -0400
> Subject: Re: LyX + CAS
> From: skost...@princeton.edu
> To: c1b...@hotmail.com
> CC: lyx-users@lists.lyx.org
> 
> Good work debugging, David.
> 
> As I said, I don't use Windows, but if this problem occurred under
> Linux the first thing I would try is to create a symlink (perhaps in
> Windows this is similar to a "shortcut"?) for "maxima.exe", which
> points to wxMaxima.exe. Does that work?
> 
> If that does not work, the next thing I would try (on Linux) is to
> create a script called "maxima.exe" which runs wxMaxima.exe with the
> same arguments and pipes it was passed. On Windows perhaps a batch
> file called "maxima.exe" could do this? But then again, I think
> Windows pays close attention to suffixes in which case batch files
> must end in ".bat" so this would not work?
> 
> I suppose neither of these would work if you don't have Administrator
> privileges though?
> 
> Scott
> 
> On Wed, Sep 4, 2013 at 2:35 PM, David R. José  wrote:
> > Scott, thanks to you I've found the trick.
> > Never realized I could find the issue viewing the Messages log :)
> > For those out there who are having the same issue: there is no solution.
> > LyX tries to find the CAS_names.exe at the pointed dir.
> > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
> > simply no way to do it.
> > I also failed to do the same with Maple.
> > But it worked with Mathematica :)
> > Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
> > So, just point to, (usually, under win7) "C:\Program Files\Wolfram
> > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences ->
> > Paths. Save it and CAS -> Mathematica should work fine ;)
> >
> >> Date: Wed, 4 Sep 2013 12:11:09 -0400
> >> Subject: Re: LyX + CAS
> >> From: skost...@princeton.edu
> >> To: c1b...@hotmail.com
> >> CC: lyx-users@lists.lyx.org
> >
> >>
> >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José  wrote:
> >> > Hello.
> >> > I've been having trouble in pairing LyX and a CAS.
> >> > While trying to use Maxima and Maple, I've added the address (eg:
> >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
> >> > Preferences -> Paths.
> >> > Still no results in even solving a simple 2+2 in Math mode. All I get is
> >> > a
> >> > equal sign with an empty space beside it.
> >> > LyX 2.0.6
> >> > wxMaxima 12.04.0
> >> > Maple 16
> >> > Win 7 x64 SP1
> >> >
> >> > Has someone successfully paired LyX and a CAS in Windows?
> >> > Any help on what or where my problem is at?
> >>
> >> I do not have Windows. But you could try seeing if View > Messages
> >> provides some useful output.
> >>
> >> Scott
  

Re: Pasting graphics in LyX 2.1 beta on Mac

2013-09-04 Thread Anders Ekberg
> 
> Anders Ekberg wrote:
>>> >> Š The picture is scanned to pdf with 300 dpi
>>> >> resolution. When cropping and saving in Preview to a png with 300 dpi and
>>> >> then inserting this picture in LyX (with insert graphic) the output is
>>> >> fine (i.e. with a resolution of 300 dpi which is sufficient for my
>>> >> purposes). On the other hand when I copy in Preview and then paste in >>>
LyX,
>>> >> the resolution becomes low (I would guess about 150 dpi, which is
>>> >> incidentally the default resolution when saving png:s in Preview, so the
>>> >> problem well may be on the copying and not the pasting side).
>>> >> 
>>> >> So, in short, my question is: Which resolution does LyX use to save
>>> >> graphics (on Mac) and is there a way to change it?
>> > 
>> > LyX does not scale the graphics. It uses whatever is on the clipboard, but
>> > maybe there is some scaling happening in qt. Did you try to paste the
>> > graphics in a different application, e.g. gimp? If that does not preserve
>> > the resolution the problem is with copying the graphics to the clipboard.
>> > Otherwise it is in LyX or qt, and one would need to debug.
> 
> Good suggestion Georg.
> Attached are pdfs from LyX and from Word. Same clipping from Preview. The
> resolution in the LyX-produced file is much less. So something happens when
> LyX pastes the clip and I save it as a png in that process. I would consider
> this a bug (if LyX or qt is another issueŠ).
> 
>>> >> I also tried on Windows (copying from Acrobat Reader) and there the
>>> >> resolution was good, but the dimensions distorted (compressed in height).
>> >
>> > Strange. Does the distortion come from different x/y scaling factors in
>> LyX, 
>> > or is it also visible in the created .png file?
>> >
>> > Georg

Update:
The windows skewness seems to be related to that file. Tried a new one now
and it works. (Could have be due to the fact that the only selection I can
find in Windows reader on Windows is select all, so the entire [one page]
file was copied).

The image pasted from LyX is 72 dpi. I suspect that the copying and saving
via LyX somehow mixes up the file resolution and the resolution on the
screen. Can't really be the fault of Preview since it works in Word, so
should be a qt or LyX bug.




Re: off topic: Is there a lyx user in Lund, Sweden?

2013-09-04 Thread Anders Ekberg
If you get stuck with Mac issues, send me a mail (or give me a call,
number on Chalmers University website). It is really *very* simple:
- Download and install MacTeX: http://tug.org/mactex/
- Download and install LyX
Done!

/Anders Ekberg

From: Påvel Nicklasson

I work in Lund and use LyX every day. I can make a try, but I have
little knowledge of Macs (Linux user), so I can't guarantee success. I
suppose LyX will be the same, but the TeX system vill be different to
set up. 

You or your colleague can mail me so we can discuss if and how I could
help.


2013/9/2 Wolfgang Engelmann  uni-tuebingen.de
>

Hello, Lyx-users,
 
I wonder whether there is a lyx user in Lund, Sweden, who could
perhaps help a colleague at the university there to acquire Lyx for Mac?
 
Wolfgang










Re: LyX + CAS

2013-09-04 Thread Scott Kostyshak
David,

Thanks for the explanations. I am forwarding this to the development
list to see if anyone has an idea of the best solution.

Scott

On Wed, Sep 4, 2013 at 3:09 PM, David R. José  wrote:
> Scott,
> The first thing I tried was creating a copy of wxmaxima.exe with the name of
> maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
> that froze with the following message: "wxMaxima could not find Maxima!
> Please configure wxMaxima with 'Edit->Configure'. Then start maxima with
> 'Maxima->Restart Maxima'.
> At the Configure menu, "Maxima Program" path points to the .bat previously
> mentioned. Opening the .bat file opens a console (which I have no idea what
> it's for), and waits for input commands. From there on, no idea.
> This the farthest point to which my knowledge goes... and where I decided to
> try Mathematica out.
>
> David
>
>> Date: Wed, 4 Sep 2013 14:46:48 -0400
>
>> Subject: Re: LyX + CAS
>> From: skost...@princeton.edu
>> To: c1b...@hotmail.com
>> CC: lyx-users@lists.lyx.org
>>
>> Good work debugging, David.
>>
>> As I said, I don't use Windows, but if this problem occurred under
>> Linux the first thing I would try is to create a symlink (perhaps in
>> Windows this is similar to a "shortcut"?) for "maxima.exe", which
>> points to wxMaxima.exe. Does that work?
>>
>> If that does not work, the next thing I would try (on Linux) is to
>> create a script called "maxima.exe" which runs wxMaxima.exe with the
>> same arguments and pipes it was passed. On Windows perhaps a batch
>> file called "maxima.exe" could do this? But then again, I think
>> Windows pays close attention to suffixes in which case batch files
>> must end in ".bat" so this would not work?
>>
>> I suppose neither of these would work if you don't have Administrator
>> privileges though?
>>
>> Scott
>>
>> On Wed, Sep 4, 2013 at 2:35 PM, David R. José  wrote:
>> > Scott, thanks to you I've found the trick.
>> > Never realized I could find the issue viewing the Messages log :)
>> > For those out there who are having the same issue: there is no solution.
>> > LyX tries to find the CAS_names.exe at the pointed dir.
>> > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there
>> > is
>> > simply no way to do it.
>> > I also failed to do the same with Maple.
>> > But it worked with Mathematica :)
>> > Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
>> > So, just point to, (usually, under win7) "C:\Program Files\Wolfram
>> > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences
>> > ->
>> > Paths. Save it and CAS -> Mathematica should work fine ;)
>> >
>> >> Date: Wed, 4 Sep 2013 12:11:09 -0400
>> >> Subject: Re: LyX + CAS
>> >> From: skost...@princeton.edu
>> >> To: c1b...@hotmail.com
>> >> CC: lyx-users@lists.lyx.org
>> >
>> >>
>> >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José 
>> >> wrote:
>> >> > Hello.
>> >> > I've been having trouble in pairing LyX and a CAS.
>> >> > While trying to use Maxima and Maple, I've added the address (eg:
>> >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
>> >> > Preferences -> Paths.
>> >> > Still no results in even solving a simple 2+2 in Math mode. All I get
>> >> > is
>> >> > a
>> >> > equal sign with an empty space beside it.
>> >> > LyX 2.0.6
>> >> > wxMaxima 12.04.0
>> >> > Maple 16
>> >> > Win 7 x64 SP1
>> >> >
>> >> > Has someone successfully paired LyX and a CAS in Windows?
>> >> > Any help on what or where my problem is at?
>> >>
>> >> I do not have Windows. But you could try seeing if View > Messages
>> >> provides some useful output.
>> >>
>> >> Scott


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
Just to complete my previous message, for Maple, the situation is even more
complex:

- The GUI lives in: /Applications/Maple 17/Maple 17.app
- While the server in:
/Library/Frameworks/Maple.framework/Versions/17/bin/maple

and Lyx needs the second one, not the first, in the path variable.


2013/9/4 David R. José 

> Scott,
> The first thing I tried was creating a copy of wxmaxima.exe with the name
> of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
> that froze with the following message: "wxMaxima could not find Maxima!
> Please configure wxMaxima with 'Edit->Configure'. Then start maxima with
> 'Maxima->Restart Maxima'.
> At the Configure menu, "Maxima Program" path points to the .bat previously
> mentioned. Opening the .bat file opens a console (which I have no idea what
> it's for), and waits for input commands. From there on, no idea.
> This the farthest point to which my knowledge goes... and where I decided
> to try Mathematica out.
>
> David
>
> > Date: Wed, 4 Sep 2013 14:46:48 -0400
> > Subject: Re: LyX + CAS
> > From: skost...@princeton.edu
> > To: c1b...@hotmail.com
> > CC: lyx-users@lists.lyx.org
> >
> > Good work debugging, David.
> >
> > As I said, I don't use Windows, but if this problem occurred under
> > Linux the first thing I would try is to create a symlink (perhaps in
> > Windows this is similar to a "shortcut"?) for "maxima.exe", which
> > points to wxMaxima.exe. Does that work?
> >
> > If that does not work, the next thing I would try (on Linux) is to
> > create a script called "maxima.exe" which runs wxMaxima.exe with the
> > same arguments and pipes it was passed. On Windows perhaps a batch
> > file called "maxima.exe" could do this? But then again, I think
> > Windows pays close attention to suffixes in which case batch files
> > must end in ".bat" so this would not work?
> >
> > I suppose neither of these would work if you don't have Administrator
> > privileges though?
> >
> > Scott
> >
> > On Wed, Sep 4, 2013 at 2:35 PM, David R. José 
> wrote:
> > > Scott, thanks to you I've found the trick.
> > > Never realized I could find the issue viewing the Messages log :)
> > > For those out there who are having the same issue: there is no
> solution.
> > > LyX tries to find the CAS_names.exe at the pointed dir.
> > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
> there is
> > > simply no way to do it.
> > > I also failed to do the same with Maple.
> > > But it worked with Mathematica :)
> > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
> > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram
> > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences
> ->
> > > Paths. Save it and CAS -> Mathematica should work fine ;)
> > >
> > >> Date: Wed, 4 Sep 2013 12:11:09 -0400
> > >> Subject: Re: LyX + CAS
> > >> From: skost...@princeton.edu
> > >> To: c1b...@hotmail.com
> > >> CC: lyx-users@lists.lyx.org
> > >
> > >>
> > >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José 
> wrote:
> > >> > Hello.
> > >> > I've been having trouble in pairing LyX and a CAS.
> > >> > While trying to use Maxima and Maple, I've added the address (eg:
> > >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
> > >> > Preferences -> Paths.
> > >> > Still no results in even solving a simple 2+2 in Math mode. All I
> get is
> > >> > a
> > >> > equal sign with an empty space beside it.
> > >> > LyX 2.0.6
> > >> > wxMaxima 12.04.0
> > >> > Maple 16
> > >> > Win 7 x64 SP1
> > >> >
> > >> > Has someone successfully paired LyX and a CAS in Windows?
> > >> > Any help on what or where my problem is at?
> > >>
> > >> I do not have Windows. But you could try seeing if View > Messages
> > >> provides some useful output.
> > >>
> > >> Scott
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
David,
To my knowledge (I am not an expert on Maxima), wxmaxima is the graphical
interface and you should have a server called maxima.exe somewhere in a
sub-folder. I cannot check it because I am not under windows anymore, but
this is what I have in OSX (in fact, we have two different applications:
Maxima and wxmaxima). The same is true also for Maple: you normally have an
executable for the GUI, and another for the computation server. Lyx
normally needs to have access to the server. So you should give in the path
the path to the server, and not the one to the GUI.
Just my two cents.

Murat


2013/9/4 David R. José 

> Scott,
> The first thing I tried was creating a copy of wxmaxima.exe with the name
> of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
> that froze with the following message: "wxMaxima could not find Maxima!
> Please configure wxMaxima with 'Edit->Configure'. Then start maxima with
> 'Maxima->Restart Maxima'.
> At the Configure menu, "Maxima Program" path points to the .bat previously
> mentioned. Opening the .bat file opens a console (which I have no idea what
> it's for), and waits for input commands. From there on, no idea.
> This the farthest point to which my knowledge goes... and where I decided
> to try Mathematica out.
>
> David
>
> > Date: Wed, 4 Sep 2013 14:46:48 -0400
> > Subject: Re: LyX + CAS
> > From: skost...@princeton.edu
> > To: c1b...@hotmail.com
> > CC: lyx-users@lists.lyx.org
> >
> > Good work debugging, David.
> >
> > As I said, I don't use Windows, but if this problem occurred under
> > Linux the first thing I would try is to create a symlink (perhaps in
> > Windows this is similar to a "shortcut"?) for "maxima.exe", which
> > points to wxMaxima.exe. Does that work?
> >
> > If that does not work, the next thing I would try (on Linux) is to
> > create a script called "maxima.exe" which runs wxMaxima.exe with the
> > same arguments and pipes it was passed. On Windows perhaps a batch
> > file called "maxima.exe" could do this? But then again, I think
> > Windows pays close attention to suffixes in which case batch files
> > must end in ".bat" so this would not work?
> >
> > I suppose neither of these would work if you don't have Administrator
> > privileges though?
> >
> > Scott
> >
> > On Wed, Sep 4, 2013 at 2:35 PM, David R. José 
> wrote:
> > > Scott, thanks to you I've found the trick.
> > > Never realized I could find the issue viewing the Messages log :)
> > > For those out there who are having the same issue: there is no
> solution.
> > > LyX tries to find the CAS_names.exe at the pointed dir.
> > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
> there is
> > > simply no way to do it.
> > > I also failed to do the same with Maple.
> > > But it worked with Mathematica :)
> > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
> > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram
> > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences
> ->
> > > Paths. Save it and CAS -> Mathematica should work fine ;)
> > >
> > >> Date: Wed, 4 Sep 2013 12:11:09 -0400
> > >> Subject: Re: LyX + CAS
> > >> From: skost...@princeton.edu
> > >> To: c1b...@hotmail.com
> > >> CC: lyx-users@lists.lyx.org
> > >
> > >>
> > >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José 
> wrote:
> > >> > Hello.
> > >> > I've been having trouble in pairing LyX and a CAS.
> > >> > While trying to use Maxima and Maple, I've added the address (eg:
> > >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
> > >> > Preferences -> Paths.
> > >> > Still no results in even solving a simple 2+2 in Math mode. All I
> get is
> > >> > a
> > >> > equal sign with an empty space beside it.
> > >> > LyX 2.0.6
> > >> > wxMaxima 12.04.0
> > >> > Maple 16
> > >> > Win 7 x64 SP1
> > >> >
> > >> > Has someone successfully paired LyX and a CAS in Windows?
> > >> > Any help on what or where my problem is at?
> > >>
> > >> I do not have Windows. But you could try seeing if View > Messages
> > >> provides some useful output.
> > >>
> > >> Scott
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
David,
I cannot tell for Maxima, because I have never used it under Windows, but
for Maple I am pretty sure, there is normally an exe for the server, but I
do not remember if it lives in another foder that win.exe. My experiments
were with Windows XP, and the server was a Dos program, executed in text
mode in a console. In more modern versions of Maple and Windows, I am not
sure that this separation is kept. Sorry for not being more helpful. Maybe
a user of Maple under Windows 7/8 could help. Under OSX, both maxima and
Maple can be used as a CAS for simple computations (I have just checked
again to bu sure).


2013/9/4 David R. José 

> Yildizoglu,
> I've tried searching for a maxima.exe which could be the server. Found one
> in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing
> happened when I tried inside LyX.
> Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No
> maple.exe per se available.
> Pointing to any .exe used to start the GUI doesn't work, as foretold by
> you.
>
> Scott,
> If you need any more info or tests performed, just get in touch.
>
> --
> From: myi...@gmail.com
> Date: Wed, 4 Sep 2013 21:31:06 +0200
> Subject: Re: LyX + CAS
> To: c1b...@hotmail.com
> CC: lyx-users@lists.lyx.org
>
> Just to complete my previous message, for Maple, the situation is even
> more complex:
>
> - The GUI lives in: /Applications/Maple 17/Maple 17.app
> - While the server in:
> /Library/Frameworks/Maple.framework/Versions/17/bin/maple
>
> and Lyx needs the second one, not the first, in the path variable.
>
>
> 2013/9/4 David R. José 
>
> Scott,
> The first thing I tried was creating a copy of wxmaxima.exe with the name
> of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
> that froze with the following message: "wxMaxima could not find Maxima!
> Please configure wxMaxima with 'Edit->Configure'. Then start maxima with
> 'Maxima->Restart Maxima'.
> At the Configure menu, "Maxima Program" path points to the .bat previously
> mentioned. Opening the .bat file opens a console (which I have no idea what
> it's for), and waits for input commands. From there on, no idea.
> This the farthest point to which my knowledge goes... and where I decided
> to try Mathematica out.
>
> David
>
> > Date: Wed, 4 Sep 2013 14:46:48 -0400
> > Subject: Re: LyX + CAS
> > From: skost...@princeton.edu
> > To: c1b...@hotmail.com
> > CC: lyx-users@lists.lyx.org
> >
> > Good work debugging, David.
> >
> > As I said, I don't use Windows, but if this problem occurred under
> > Linux the first thing I would try is to create a symlink (perhaps in
> > Windows this is similar to a "shortcut"?) for "maxima.exe", which
> > points to wxMaxima.exe. Does that work?
> >
> > If that does not work, the next thing I would try (on Linux) is to
> > create a script called "maxima.exe" which runs wxMaxima.exe with the
> > same arguments and pipes it was passed. On Windows perhaps a batch
> > file called "maxima.exe" could do this? But then again, I think
> > Windows pays close attention to suffixes in which case batch files
> > must end in ".bat" so this would not work?
> >
> > I suppose neither of these would work if you don't have Administrator
> > privileges though?
> >
> > Scott
> >
> > On Wed, Sep 4, 2013 at 2:35 PM, David R. José 
> wrote:
> > > Scott, thanks to you I've found the trick.
> > > Never realized I could find the issue viewing the Messages log :)
> > > For those out there who are having the same issue: there is no
> solution.
> > > LyX tries to find the CAS_names.exe at the pointed dir.
> > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
> there is
> > > simply no way to do it.
> > > I also failed to do the same with Maple.
> > > But it worked with Mathematica :)
> > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
> > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram
> > > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences
> ->
> > > Paths. Save it and CAS -> Mathematica should work fine ;)
> > >
> > >> Date: Wed, 4 Sep 2013 12:11:09 -0400
> > >> Subject: Re: LyX + CAS
> > >> From: skost...@princeton.edu
> > >> To: c1b...@hotmail.com
> > >> CC: lyx-users@lists.lyx.org
> > >
> > >>
> > >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José 
> wrote:
> > >> > Hello.
> > >> > I've been having trouble in pairing LyX and a CAS.
> > >> > While trying to use Maxima and Maple, I've added the address (eg:
> > >> > c:\maxima\) where the .exe is to the "Path prefix" under Tools ->
> > >> > Preferences -> Paths.
> > >> > Still no results in even solving a simple 2+2 in Math mode. All I
> get is
> > >> > a
> > >> > equal sign with an empty space beside it.
> > >> > LyX 2.0.6
> > >> > wxMaxima 12.04.0
> > >> > Maple 16
> > >> > Win 7 x64 SP1
> > >> >
> > >> > Has someone successfully paired LyX and a CAS 

RE: LyX + CAS

2013-09-04 Thread David R . José
Yildizoglu, Found it!Creating a copy of cmaple.exe with the name maple.exe and 
pointing the LyX path to \bin.win\ at the Maple dir does the deal.Guess there 
should be a Help Section were we could put this info :)Unfortunately the two 
CAS able to interact with LyX in Win7 are paid.Maybe there is also a workaround 
for Maxima, which would help the freeware and open source cause :)Cheeryo!


From: myi...@gmail.com
Date: Wed, 4 Sep 2013 21:54:11 +0200
Subject: Re: LyX + CAS
To: c1b...@hotmail.com; lyx-users@lists.lyx.org

David,
I cannot tell for Maxima, because I have never used it under Windows, but for 
Maple I am pretty sure, there is normally an exe for the server, but I do not 
remember if it lives in another foder that win.exe. My experiments were with 
Windows XP, and the server was a Dos program, executed in text mode in a 
console. In more modern versions of Maple and Windows, I am not sure that this 
separation is kept. Sorry for not being more helpful. Maybe a user of Maple 
under Windows 7/8 could help. Under OSX, both maxima and Maple can be used as a 
CAS for simple computations (I have just checked again to bu sure).




2013/9/4 David R. José 





Yildizoglu,I've tried searching for a maxima.exe which could be the server. 
Found one in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and 
nothing happened when I tried inside LyX.

Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No 
maple.exe per se available.Pointing to any .exe used to start the GUI doesn't 
work, as foretold by you.


Scott,If you need any more info or tests performed, just get in touch.
From: myi...@gmail.com
Date: Wed, 4 Sep 2013 21:31:06 +0200

Subject: Re: LyX + CAS

To: c1b...@hotmail.com
CC: lyx-users@lists.lyx.org

Just to complete my previous message, for Maple, the situation is even more 
complex:



- The GUI lives in: /Applications/Maple 17/Maple 17.app
- While the server in: /Library/Frameworks/Maple.framework/Versions/17/bin/maple



and Lyx needs the second one, not the first, in the path variable.


2013/9/4 David R. José 







Scott,The first thing I tried was creating a copy of wxmaxima.exe with the name 
of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima, 
that froze with the following message: "wxMaxima could not find Maxima! Please 
configure wxMaxima with 'Edit->Configure'. Then start maxima with 
'Maxima->Restart Maxima'. 



At the Configure menu, "Maxima Program" path points to the .bat previously 
mentioned. Opening the .bat file opens a console (which I have no idea what 
it's for), and waits for input commands. From there on, no idea.



This the farthest point to which my knowledge goes... and where I decided to 
try Mathematica out.
David
> Date: Wed, 4 Sep 2013 14:46:48 -0400
> Subject: Re: LyX + CAS




> From: skost...@princeton.edu
> To: c1b...@hotmail.com
> CC: lyx-users@lists.lyx.org




> 
> Good work debugging, David.
> 
> As I said, I don't use Windows, but if this problem occurred under
> Linux the first thing I would try is to create a symlink (perhaps in
> Windows this is similar to a "shortcut"?) for "maxima.exe", which




> points to wxMaxima.exe. Does that work?
> 
> If that does not work, the next thing I would try (on Linux) is to
> create a script called "maxima.exe" which runs wxMaxima.exe with the
> same arguments and pipes it was passed. On Windows perhaps a batch




> file called "maxima.exe" could do this? But then again, I think
> Windows pays close attention to suffixes in which case batch files
> must end in ".bat" so this would not work?
> 




> I suppose neither of these would work if you don't have Administrator
> privileges though?
> 
> Scott
> 
> On Wed, Sep 4, 2013 at 2:35 PM, David R. José  wrote:




> > Scott, thanks to you I've found the trick.
> > Never realized I could find the issue viewing the Messages log :)
> > For those out there who are having the same issue: there is no solution.




> > LyX tries to find the CAS_names.exe at the pointed dir.
> > Since Maxima runs in Windows as wxMaxima.exe through a .bat file, there is
> > simply no way to do it.
> > I also failed to do the same with Maple.




> > But it worked with Mathematica :)
> > Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
> > So, just point to, (usually, under win7) "C:\Program Files\Wolfram
> > Research\Mathematica\9.0\" at "Path prefix" under Tools -> Preferences ->




> > Paths. Save it and CAS -> Mathematica should work fine ;)
> >
> >> Date: Wed, 4 Sep 2013 12:11:09 -0400
> >> Subject: Re: LyX + CAS
> >> From: skost...@princeton.edu




> >> To: c1b...@hotmail.com
> >> CC: lyx-users@lists.lyx.org
> >
> >>




> >> On Wed, Sep 4, 2013 at 10:24 AM, David R. José  wrote:
> >> > Hello.
> >> > I've been having trouble in pairing LyX and a CAS.




> >> > While trying to use Maxima and Maple, I've added the address (eg:
> >> 

Re: LyX + CAS

2013-09-04 Thread Murat Yildizoglu
Hi David,

A last idea for Maxima. Could you launch wxmxima and look at its
preferences if there is some configuration setting where you are supposed
to tell it the location of the server? If yes, the path indicated there
should make your day, hopefully.


2013/9/4 David R. José 

> Yildizoglu,
> Found it!
> Creating a copy of cmaple.exe with the name maple.exe and pointing the LyX
> path to \bin.win\ at the Maple dir does the deal.
> Guess there should be a Help Section were we could put this info :)
> Unfortunately the two CAS able to interact with LyX in Win7 are paid.
> Maybe there is also a workaround for Maxima, which would help the freeware
> and open source cause :)
> Cheeryo!
>
>
>
> --
> From: myi...@gmail.com
> Date: Wed, 4 Sep 2013 21:54:11 +0200
> Subject: Re: LyX + CAS
> To: c1b...@hotmail.com; lyx-users@lists.lyx.org
>
> David,
> I cannot tell for Maxima, because I have never used it under Windows, but
> for Maple I am pretty sure, there is normally an exe for the server, but I
> do not remember if it lives in another foder that win.exe. My experiments
> were with Windows XP, and the server was a Dos program, executed in text
> mode in a console. In more modern versions of Maple and Windows, I am not
> sure that this separation is kept. Sorry for not being more helpful. Maybe
> a user of Maple under Windows 7/8 could help. Under OSX, both maxima and
> Maple can be used as a CAS for simple computations (I have just checked
> again to bu sure).
>
>
> 2013/9/4 David R. José 
>
> Yildizoglu,
> I've tried searching for a maxima.exe which could be the server. Found one
> in Maxima-5.28.0-2\lib\maxima\5.28.0-2\binary-gcl\. Pointed it and nothing
> happened when I tried inside LyX.
> Back to Maple, in Win7, all the .exe are in \bin.win\ at the Maple dir. No
> maple.exe per se available.
> Pointing to any .exe used to start the GUI doesn't work, as foretold by
> you.
>
> Scott,
> If you need any more info or tests performed, just get in touch.
>
> --
> From: myi...@gmail.com
> Date: Wed, 4 Sep 2013 21:31:06 +0200
> Subject: Re: LyX + CAS
> To: c1b...@hotmail.com
> CC: lyx-users@lists.lyx.org
>
> Just to complete my previous message, for Maple, the situation is even
> more complex:
>
> - The GUI lives in: /Applications/Maple 17/Maple 17.app
> - While the server in:
> /Library/Frameworks/Maple.framework/Versions/17/bin/maple
>
> and Lyx needs the second one, not the first, in the path variable.
>
>
> 2013/9/4 David R. José 
>
> Scott,
> The first thing I tried was creating a copy of wxmaxima.exe with the name
> of maxima.exe. Selecting Maxima at the CAS menu in Math mode opened Maxima,
> that froze with the following message: "wxMaxima could not find Maxima!
> Please configure wxMaxima with 'Edit->Configure'. Then start maxima with
> 'Maxima->Restart Maxima'.
> At the Configure menu, "Maxima Program" path points to the .bat previously
> mentioned. Opening the .bat file opens a console (which I have no idea what
> it's for), and waits for input commands. From there on, no idea.
> This the farthest point to which my knowledge goes... and where I decided
> to try Mathematica out.
>
> David
>
> > Date: Wed, 4 Sep 2013 14:46:48 -0400
> > Subject: Re: LyX + CAS
> > From: skost...@princeton.edu
> > To: c1b...@hotmail.com
> > CC: lyx-users@lists.lyx.org
> >
> > Good work debugging, David.
> >
> > As I said, I don't use Windows, but if this problem occurred under
> > Linux the first thing I would try is to create a symlink (perhaps in
> > Windows this is similar to a "shortcut"?) for "maxima.exe", which
> > points to wxMaxima.exe. Does that work?
> >
> > If that does not work, the next thing I would try (on Linux) is to
> > create a script called "maxima.exe" which runs wxMaxima.exe with the
> > same arguments and pipes it was passed. On Windows perhaps a batch
> > file called "maxima.exe" could do this? But then again, I think
> > Windows pays close attention to suffixes in which case batch files
> > must end in ".bat" so this would not work?
> >
> > I suppose neither of these would work if you don't have Administrator
> > privileges though?
> >
> > Scott
> >
> > On Wed, Sep 4, 2013 at 2:35 PM, David R. José 
> wrote:
> > > Scott, thanks to you I've found the trick.
> > > Never realized I could find the issue viewing the Messages log :)
> > > For those out there who are having the same issue: there is no
> solution.
> > > LyX tries to find the CAS_names.exe at the pointed dir.
> > > Since Maxima runs in Windows as wxMaxima.exe through a .bat file,
> there is
> > > simply no way to do it.
> > > I also failed to do the same with Maple.
> > > But it worked with Mathematica :)
> > > Mathematica 9 has a Mathematica.exe, which indeed IS the very core.
> > > So, just point to, (usually, under win7) "C:\Program Files\Wolfram
> > > Research\Mathematica\9.0\" at "Path prefix" under 

Re: LyX + CAS

2013-09-04 Thread Pavel Sanda
David R. José wrote:
> Guess there should be a Help Section were we could put this info :)

You are most welcome to write such a paragraph into section 23 of LyX Math 
Manual
and send it back to the list so we add it to the official documentation.

Pavel


Re: LyX + CAS

2013-09-04 Thread Andrew Parsloe

On 5/09/2013 8:33 a.m., David R. José wrote:

Yildizoglu,
Found it!
Creating a copy of cmaple.exe with the name maple.exe and pointing the
LyX path to \bin.win\ at the Maple dir does the deal.
Guess there should be a Help Section were we could put this info :)
Unfortunately the two CAS able to interact with LyX in Win7 are paid.
Maybe there is also a workaround for Maxima, which would help the
freeware and open source cause :)
Cheeryo!



David,

On my Windows Vista laptop I've installed Maxima to E:\Program 
files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the 
end of the PATH prefix: setting (under Tools > Preferences > Paths)


;E:\Program files\Maxima-5.25.1-gcl\bin

The bin contains maxima.exe (and various other .exe files as well as 
maxima.bat). Whatever LyX is looking for, it finds it there. When I 
write 1+1 in a maths inset and go through the labyrinth Edit > Math > 
Use Computer Algebra System > Maxima, after a little pause the inset 
changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate 
Maxima, the inset changes to 1+1= without the 2. The selection confuses 
things.)


Andrew


Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote:
> and I created, as suggested, a lyxeditor.sh 

Is there reason why you want to use named pipe?
xdvi should work via sockets out of the box (almost:)

Pavel


New LyX install problems... apparently minor :-)

2013-09-04 Thread Ken Springer
From http://www.lyx.org/Download, I downloaded 
ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the 
MacTeX link to download MacTeX.  Installation of both went without a 
problem.  I'm running OS X 10.8.4 but the Gatekeeper wasn't a problem, 
although the web site says it may be.


Lyx appears to start and run without problem.  I get a LyX window that 
appears to be waiting for me to select a document to open, or create a 
New document.


The problem(s) come when I try to access the Tutorial and User's Guide. 
 I get a warning message similar to this: 
https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy


The link above says I need (I think) a file named book.cls before I can 
print the what eventually displays on the screen.  Other files I get 
asked about are scrbook.cls, fancyhdr.sty, and enumitem.sty.


Questions:

1.  Shouldn't these files be included in the .dmg file, and be installed 
where they belong?  Could they have been left out by simple omission?


2.  Where do I find these files to install them?

After going through all the warning messages, the Tutorial and User 
Guide open fine.


--
Ken

Mac OS X 10.8.4
Firefox 23.0
Thunderbird 17.0.8
LibreOffice 4.1.04



Re: LyX + CAS

2013-09-04 Thread Andrew Parsloe



On 5/09/2013 10:41 a.m., Andrew Parsloe wrote:

On 5/09/2013 8:33 a.m., David R. José wrote:

Yildizoglu,
Found it!
Creating a copy of cmaple.exe with the name maple.exe and pointing the
LyX path to \bin.win\ at the Maple dir does the deal.
Guess there should be a Help Section were we could put this info :)
Unfortunately the two CAS able to interact with LyX in Win7 are paid.
Maybe there is also a workaround for Maxima, which would help the
freeware and open source cause :)
Cheeryo!



David,

On my Windows Vista laptop I've installed Maxima to E:\Program
files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the
end of the PATH prefix: setting (under Tools > Preferences > Paths)

;E:\Program files\Maxima-5.25.1-gcl\bin

The bin contains maxima.exe (and various other .exe files as well as
maxima.bat). Whatever LyX is looking for, it finds it there. When I
write 1+1 in a maths inset and go through the labyrinth Edit > Math >
Use Computer Algebra System > Maxima, after a little pause the inset
changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate
Maxima, the inset changes to 1+1= without the 2. The selection confuses
things.)

Andrew

A small correction: the bin folder contains xmaxima.exe (rather than 
maxima.exe).


Andrew


RE: LyX + CAS

2013-09-04 Thread David R . José
Andrew,That indeed worked. Thanks a lot!Pointing to the bin folder solves the 
deal!Thanks! ;)Good now we have an updated thread on how to solve these issues.

> Date: Thu, 5 Sep 2013 10:47:22 +1200
> From: apars...@clear.net.nz
> Subject: Re: LyX + CAS
> To: c1b...@hotmail.com
> 
> 
> 
> On 5/09/2013 10:41 a.m., Andrew Parsloe wrote:
> > On 5/09/2013 8:33 a.m., David R. José wrote:
> >> Yildizoglu,
> >> Found it!
> >> Creating a copy of cmaple.exe with the name maple.exe and pointing the
> >> LyX path to \bin.win\ at the Maple dir does the deal.
> >> Guess there should be a Help Section were we could put this info :)
> >> Unfortunately the two CAS able to interact with LyX in Win7 are paid.
> >> Maybe there is also a workaround for Maxima, which would help the
> >> freeware and open source cause :)
> >> Cheeryo!
> >>
> >
> > David,
> >
> > On my Windows Vista laptop I've installed Maxima to E:\Program
> > files\Maxima-5.25.1-gcl. In LyX 2.0.6 I've added the following to the
> > end of the PATH prefix: setting (under Tools > Preferences > Paths)
> >
> > ;E:\Program files\Maxima-5.25.1-gcl\bin
> >
> > The bin contains maxima.exe (and various other .exe files as well as
> > maxima.bat). Whatever LyX is looking for, it finds it there. When I
> > write 1+1 in a maths inset and go through the labyrinth Edit > Math >
> > Use Computer Algebra System > Maxima, after a little pause the inset
> > changes to 1+1=2. (Incidentally, if I *select* 1+1 and then activate
> > Maxima, the inset changes to 1+1= without the 2. The selection confuses
> > things.)
> >
> > Andrew
> >
> A small correction: the bin folder contains xmaxima.exe (rather than 
> maxima.exe).
> 
> Andrew
  

Re: Reverse search with xdvi

2013-09-04 Thread Pavel Sanda
Fabio Stumbo wrote:

Anyway does changing the line
read < "${LYXPIPE}".out || exit
into 
read TMP < "${LYXPIPE}".out || exit

work for you?
Pavel


Re: New LyX install problems... apparently minor :-)

2013-09-04 Thread Scott Kostyshak
Can you try going to LyX > Reconfigure and then restart LyX? Do you
get the same message?

Scott

On Wed, Sep 4, 2013 at 6:47 PM, Ken Springer  wrote:
> From http://www.lyx.org/Download, I downloaded
> ftp://ftp.lyx.org/pub/lyx/bin/2.0.6/LyX-2.0.6+qt4.dmg and used the MacTeX
> link to download MacTeX.  Installation of both went without a problem.  I'm
> running OS X 10.8.4 but the Gatekeeper wasn't a problem, although the web
> site says it may be.
>
> Lyx appears to start and run without problem.  I get a LyX window that
> appears to be waiting for me to select a document to open, or create a New
> document.
>
> The problem(s) come when I try to access the Tutorial and User's Guide.  I
> get a warning message similar to this:
> https://www.dropbox.com/sh/pm293kcbng0l3hs/zPnablGaEy
>
> The link above says I need (I think) a file named book.cls before I can
> print the what eventually displays on the screen.  Other files I get asked
> about are scrbook.cls, fancyhdr.sty, and enumitem.sty.
>
> Questions:
>
> 1.  Shouldn't these files be included in the .dmg file, and be installed
> where they belong?  Could they have been left out by simple omission?
>
> 2.  Where do I find these files to install them?
>
> After going through all the warning messages, the Tutorial and User Guide
> open fine.
>
> --
> Ken
>
> Mac OS X 10.8.4
> Firefox 23.0
> Thunderbird 17.0.8
> LibreOffice 4.1.04
>


  1   2   >