Re: Reconfigure from script

2023-02-25 Thread Richard Kimberly Heck

On 2/20/23 04:10, Steve Litt wrote:

Richard Kimberly Heck said on Sun, 19 Feb 2023 13:35:36 -0500


On 2/18/23 18:11, Mark Livingstone wrote:

Hi People,

I am using LyX 2.3.7 on Mac OS Ventura.

Is it possible to run reconfigure from script in the terminal, if so
how?

Just execute the file configure.py. It will write the relevant files
to the current working directory, so make sure you are where you want
to be when you call it.

Where do you want to be?


Normally, your user directory. But you might have multiple ones of those.



Must you run it as root?


No.

Riki


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


Re: Reconfigure from script

2023-02-20 Thread Steve Litt
Richard Kimberly Heck said on Sun, 19 Feb 2023 13:35:36 -0500

>On 2/18/23 18:11, Mark Livingstone wrote:
>> Hi People,
>>
>> I am using LyX 2.3.7 on Mac OS Ventura.
>>
>> Is it possible to run reconfigure from script in the terminal, if so
>> how?  
>
>Just execute the file configure.py. It will write the relevant files
>to the current working directory, so make sure you are where you want
>to be when you call it.

Where do you want to be?

Must you run it as root?

Thanks,

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reconfigure from script

2023-02-19 Thread Dr Eberhard W Lisse
if LyX is running you can save all open buffers to disk and then quit by
way of something like (multiple levels of double quotes are required
(on the Mac due to the space in ~/Library/Application Support/Lyx-2.3))

pushd "$(dirname "$(find ~/Library -name .lyxpipe.in -type p)")"
echo "LYXCMD:test:buffer-write-all" > .lyxpipe.in
echo "LYXCMD:test:lyx-quit" > .lyxpipe.in

and then (on the Mac)

/Applications/LyX.app/Contents/Resources/configure.py
osascript -e 'tell application id "org.lyx.lyx" to activate'

or (on Linux, but since I use the Mac it's not tested)

configure.py
lyx &

and on all

popd


greetings, el

On 19/02/2023 20:35, Richard Kimberly Heck wrote:
> On 2/18/23 18:11, Mark Livingstone wrote:
>> Hi People,
>>
>> I am using LyX 2.3.7 on Mac OS Ventura.
>>
>> Is it possible to run reconfigure from script in the terminal, if so
>> how?
> 
> Just execute the file configure.py.  It will write the relevant files
> to the current working directory, so make sure you are where you want
> to be when you call it.
> 
> Riki
> 
> 

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


Re: Reconfigure from script

2023-02-19 Thread Richard Kimberly Heck

On 2/18/23 18:11, Mark Livingstone wrote:

Hi People,

I am using LyX 2.3.7 on Mac OS Ventura.

Is it possible to run reconfigure from script in the terminal, if so how?


Just execute the file configure.py. It will write the relevant files to 
the current working directory, so make sure you are where you want to be 
when you call it.


Riki


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


Reconfigure from script

2023-02-18 Thread Mark Livingstone
Hi People,

I am using LyX 2.3.7 on Mac OS Ventura.

Is it possible to run reconfigure from script in the terminal, if so how?

Thanks in advance,

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


Re: What does tools=>reconfigure actually do?

2021-12-20 Thread Richard Kimberly Heck via lyx-users

On 12/17/21 22:33, Steve Litt via lyx-users wrote:

Hi all,

Exactly what is the difference between performing Tools=>Reconfigure
within the LyX IDE environment, and performing
/usr/local/share/lyx/configure.py at the command prompt? The former
makes LyX aware of new environments I've put in the layout file, the
latter for some reason does not.


I believe you need to run that from your user directory. Otherwise, it 
dumps the new files in the current directory---I think. Possibly there 
are command line variables that affect this, too.


Riki


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


What does tools=>reconfigure actually do?

2021-12-17 Thread Steve Litt via lyx-users
Hi all,

Exactly what is the difference between performing Tools=>Reconfigure
within the LyX IDE environment, and performing
/usr/local/share/lyx/configure.py at the command prompt? The former
makes LyX aware of new environments I've put in the layout file, the
latter for some reason does not.

Are there some arguments I need to add to the configure.py command
line? Does it need to be done in a specific directory? Are there any
environment variables that effect configure.py?
configure.py --help didn't appear to tell me anything useful.

I really need a way to do a proper reconfigure that makes new
environments from the layout file available within LyX, and I need to
do it from a shellscript.

Thanks,

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Click feedback for reconfigure

2021-07-22 Thread Pavel Sanda
On Wed, Jul 21, 2021 at 11:25:02AM -0400, Steve Litt wrote:
> When you click Tools->Reconfigure, the computer appears to hang because
> reconfigure takes many seconds. I'd suggest some feedback to the user
> so he/she doesn't worry about the computer being hung. Best would be a
> progress bar or a little window showing the actual reconfigure output.
> Second best would be at least a window somewhere saying "This process
> takes up to one minute to complete", and have that message pop up the
> instant the person clicks reconfigure.

The ongoing output of the reconfigure used to appear in the bottom
status line, but I does not work here anymore... Perhaps something
got broken.

I added at least busy cursor for 2.4.

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


Click feedback for reconfigure

2021-07-21 Thread Steve Litt
Hi all,

When you click Tools->Reconfigure, the computer appears to hang because
reconfigure takes many seconds. I'd suggest some feedback to the user
so he/she doesn't worry about the computer being hung. Best would be a
progress bar or a little window showing the actual reconfigure output.
Second best would be at least a window somewhere saying "This process
takes up to one minute to complete", and have that message pop up the
instant the person clicks reconfigure.

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful 
Technologist
http://www.troubleshooters.com/techniques
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reconfigure doesn't work on Windows

2020-10-23 Thread Yu Jin
Am Do., 22. Okt. 2020 um 23:28 Uhr schrieb Richard Kimberly Heck <
rikih...@lyx.org>:

> On 10/22/20 12:58 PM, Kornel Benko wrote:
> > Am Thu, 22 Oct 2020 11:00:39 -0300
> > schrieb Carlos Knauer :
> >
> >> Hi
> >> I have installed MiKTeX in my notebook and LyX.  The command Reconfigure
> >> doesn't work.  Windows 7. May be it this problem  ?
>
What do you mean with "doesn't work"? Can you describe it a little more
specific? Which LyX version did you install?


> >>
> >> Carlos Fernando Knauer
> > Are you sure you have python installed?
>
> Python should be installed with LyX. We see this problem sometimes when
> the wrong version of Python gets called. Inviting Eugene.
>
>
> > What is the contents of configure.log in your lyx-userdir?
>
> It would help us very much, Carlos, to see this file.
>

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


Re: Reconfigure doesn't work

2020-10-23 Thread Dr Eberhard W Lisse
Get a Mac.

el
On 2020-10-22 16:00 , Carlos Knauer wrote:
> Hi
> I have installed MiKTeX in my notebook and LyX.  The command Reconfigure
> doesn't work.  Windows 7. May be it this problem  ?
> 
> Carlos Fernando Knauer 
> 
> 


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


Re: Reconfigure doesn't work on Windows

2020-10-22 Thread Richard Kimberly Heck

On 10/22/20 12:58 PM, Kornel Benko wrote:

Am Thu, 22 Oct 2020 11:00:39 -0300
schrieb Carlos Knauer :


Hi
I have installed MiKTeX in my notebook and LyX.  The command Reconfigure
doesn't work.  Windows 7. May be it this problem  ?

Carlos Fernando Knauer

Are you sure you have python installed?


Python should be installed with LyX. We see this problem sometimes when 
the wrong version of Python gets called. Inviting Eugene.




What is the contents of configure.log in your lyx-userdir?


It would help us very much, Carlos, to see this file.

Riki



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


Re: Reconfigure doesn't work

2020-10-22 Thread Carlos Knauer
Doesn't work. Weird.

Em qui, 22 de out de 2020 13:31, Paul A. Rubin 
escreveu:

> On 10/22/20 10:00 AM, Carlos Knauer wrote:
>
> Hi
> I have installed MiKTeX in my notebook and LyX.  The command Reconfigure
> doesn't work.  Windows 7. May be it this problem  ?
>
> Carlos Fernando Knauer
>
>
> What error message do you get?
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reconfigure doesn't work

2020-10-22 Thread Kornel Benko
Am Thu, 22 Oct 2020 11:00:39 -0300
schrieb Carlos Knauer :

> Hi
> I have installed MiKTeX in my notebook and LyX.  The command Reconfigure
> doesn't work.  Windows 7. May be it this problem  ?
> 
> Carlos Fernando Knauer

Are you sure you have python installed?
What is the contents of configure.log in your lyx-userdir?

Kornel


pgpKQpwuKp29v.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Reconfigure doesn't work

2020-10-22 Thread Paul A. Rubin

On 10/22/20 10:00 AM, Carlos Knauer wrote:

Hi
I have installed MiKTeX in my notebook and LyX. The command 
Reconfigure doesn't work.  Windows 7. May be it this problem  ?


Carlos Fernando Knauer



What error message do you get?

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


Reconfigure doesn't work

2020-10-22 Thread Carlos Knauer
Hi
I have installed MiKTeX in my notebook and LyX.  The command Reconfigure
doesn't work.  Windows 7. May be it this problem  ?

Carlos Fernando Knauer
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: More obvious feedback when a reconfigure is in process

2019-10-29 Thread Richard Kimberly Heck
On 10/28/19 1:31 AM, Baris Erkus wrote:
> On 27-Oct-19 1:07 AM, Cris Fuhrman wrote:
>> Hello,
>>
>> While trying some various installs of MiKTeX recently, I had to 
>> reconfigure LyX several times. At one point, I was trying to change 
>> the settings and the menu wasn't working. Finally I realized that the 
>> reconfigure was still running, and that I had just been duped by the 
>> fact that the only feedback is on a status line at the bottom of the 
>> window (which wasn't changing because the step the reconfigure on was 
>> one that takes more than 10 seconds on my machine sometimes (fonts?)).
>>
>> Anyway, I wondered why there isn't an progress-bar type dialog or 
>> something with more feedback when doing a reconfigure? It can take as 
>> long as a minute on one of my machines.
>>
>> Cheers,
>>
>> C. Fuhrman
>>
> On Windows with MikTeX, reconfiguring can take about 10 minutes 
> especially if LyX asks MikTeX to install some packages.
>
> LyX Message Pane shows the configuration status, however it is not 
> turned on automatically. Maybe you can request from the developers a 
> feature that shows the messages pane during the configuration.

That might be reasonable. On Linux, the status bar flashes messages as
reconfiguration happens, but for some reason that does not happen on
Windows. This is a known issue, but we do not know how to fix it.

Riki


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


Re: More obvious feedback when a reconfigure is in process

2019-10-27 Thread Baris Erkus
On 27-Oct-19 1:07 AM, Cris Fuhrman wrote:
> Hello,
>
> While trying some various installs of MiKTeX recently, I had to 
> reconfigure LyX several times. At one point, I was trying to change 
> the settings and the menu wasn't working. Finally I realized that the 
> reconfigure was still running, and that I had just been duped by the 
> fact that the only feedback is on a status line at the bottom of the 
> window (which wasn't changing because the step the reconfigure on was 
> one that takes more than 10 seconds on my machine sometimes (fonts?)).
>
> Anyway, I wondered why there isn't an progress-bar type dialog or 
> something with more feedback when doing a reconfigure? It can take as 
> long as a minute on one of my machines.
>
> Cheers,
>
> C. Fuhrman
>
On Windows with MikTeX, reconfiguring can take about 10 minutes 
especially if LyX asks MikTeX to install some packages.

LyX Message Pane shows the configuration status, however it is not 
turned on automatically. Maybe you can request from the developers a 
feature that shows the messages pane during the configuration.

Progress-bar may not be meaningful here as different TeX systems and 
different package status may result very different type of configuration 
times, which may not be possible to estimate.

-- 
↓↓
Please bottom-post. Start your reply here:

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


More obvious feedback when a reconfigure is in process

2019-10-26 Thread Cris Fuhrman
Hello,

While trying some various installs of MiKTeX recently, I had to reconfigure
LyX several times. At one point, I was trying to change the settings and
the menu wasn't working. Finally I realized that the reconfigure was still
running, and that I had just been duped by the fact that the only feedback
is on a status line at the bottom of the window (which wasn't changing
because the step the reconfigure on was one that takes more than 10 seconds
on my machine sometimes (fonts?)).

Anyway, I wondered why there isn't an progress-bar type dialog or something
with more feedback when doing a reconfigure? It can take as long as a
minute on one of my machines.

Cheers,

C. Fuhrman
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Question: how to run Reconfigure without GUI

2019-02-08 Thread Dr Eberhard Lisse
I futureproofed it a little :-)-O

#!/bin/bash
function lyxconfigure
{
if [[ "$OSTYPE" == "darwin"* ]]
then
BASEDIR="/Users/$(whoami)/Library/Application Support/LyX"
LYXVER=$(lyx --version 2>&1 \
| perl -ne 'if (/^LyX/) {
@v = split(/\s+/);
($j,$i) = split(/\./,$v[1],3);
print "$j.$i"
}'
)
pushd "$BASEDIR-$LYXVER"
python -tt 
"/Applications/LyX.app/Contents/Resources/configure.py"
popd
else
echo "This only works on a Mac"
fi
}

If someone can come up with a clever way of finding the maJor and miNor 
versions of LyX, please let me know.

Heartbleed was an OpenSSL vulnerability by the way, and, though Bashdoor
was an issue in 2014, I use bash as my login shell so I don't really
think it matters much.  But as Steve wrote it's trivial to change.


On 06/02/2019 10:49, Dr Eberhard Lisse wrote:
[...]
> On 06/02/2019 09:53, Steve Litt wrote:
[...]
>> Beware that pushd and popd are bash-only, and do not appear in dash or
>> any /bin/sh one should be using for shellscripts. I'm of the opinion,
>> especially after the Heartbleed fiasco, that bash is just too big an
>> attack surface to use for shellscripts.
>>
>> In more lightweight shells, it's done more like this:
>>
>> #!/bin/sh
>> orgdir=`pwd`
>> cd /home/you/application/directory
>> ./my_special_application arg1 arg2 arg3
>> cd $orgdir
[...]




Re: Question: how to run Reconfigure without GUI

2019-02-06 Thread Dr Eberhard Lisse
That was a first stab at it :-)-O

When I have a moment I'll do it right :-)-O

greetings, el


On 06/02/2019 09:53, Steve Litt wrote:
> On Tue, 5 Feb 2019 13:49:31 -0500
> Scott Kostyshak  wrote:
> 
>> On Tue, Feb 05, 2019 at 12:35:55PM +0200, Dr Eberhard Lisse wrote:
>>> Scott,
>>>
>>> this is very helpful for my alias file on the Mac.
>>>
>>> function lyxconfigure
>>> {
>>> pushd ~/
>>> python -tt
>>> "/Applications/LyX.app/Contents/Resources/configure.py" popd
>>> }  
>>
>> Nice. Thanks for sharing I actually never saw that trick for saving
>> the directory in a bash function (I've only used pushd and popd
>> interactively). I am used to saving "$(pwd)" to a variable and then
>> "cd" back to it. I like your trick instead.
> 
> Beware that pushd and popd are bash-only, and do not appear in dash or
> any /bin/sh one should be using for shellscripts. I'm of the opinion,
> especially after the Heartbleed fiasco, that bash is just too big an
> attack surface to use for shellscripts.
> 
> In more lightweight shells, it's done more like this:
> 
> #!/bin/sh
> orgdir=`pwd`
> cd /home/you/application/directory
> ./my_special_application arg1 arg2 arg3
> cd $orgdir
> 
> SteveT
> 



Re: Question: how to run Reconfigure without GUI

2019-02-05 Thread Steve Litt
On Tue, 5 Feb 2019 13:49:31 -0500
Scott Kostyshak  wrote:

> On Tue, Feb 05, 2019 at 12:35:55PM +0200, Dr Eberhard Lisse wrote:
> > Scott,
> > 
> > this is very helpful for my alias file on the Mac.
> > 
> > function lyxconfigure
> > {
> > pushd ~/
> > python -tt
> > "/Applications/LyX.app/Contents/Resources/configure.py" popd
> > }  
> 
> Nice. Thanks for sharing I actually never saw that trick for saving
> the directory in a bash function (I've only used pushd and popd
> interactively). I am used to saving "$(pwd)" to a variable and then
> "cd" back to it. I like your trick instead.

Beware that pushd and popd are bash-only, and do not appear in dash or
any /bin/sh one should be using for shellscripts. I'm of the opinion,
especially after the Heartbleed fiasco, that bash is just too big an
attack surface to use for shellscripts.

In more lightweight shells, it's done more like this:

#!/bin/sh
orgdir=`pwd`
cd /home/you/application/directory
./my_special_application arg1 arg2 arg3
cd $orgdir

SteveT
-- 
Steve Litt 
January 2019 featured book: Troubleshooting: Just the Facts
http://www.troubleshooters.com/tjust


Re: Question: how to run Reconfigure without GUI

2019-02-05 Thread Jean-Marc Lasgouttes

Le 05/02/2019 à 19:49, Scott Kostyshak a écrit :

On Tue, Feb 05, 2019 at 12:35:55PM +0200, Dr Eberhard Lisse wrote:

Scott,

this is very helpful for my alias file on the Mac.

function lyxconfigure
{
pushd ~/
python -tt "/Applications/LyX.app/Contents/Resources/configure.py"
popd
}


Nice. Thanks for sharing I actually never saw that trick for saving the
directory in a bash function (I've only used pushd and popd
interactively). I am used to saving "$(pwd)" to a variable and then "cd"
back to it. I like your trick instead.


One can also do
( cd dir ; ./command )

But concerning the alias, I am a bit surprised because it seems to 
create files at the root of the home directory.


JMarc


Re: Question: how to run Reconfigure without GUI

2019-02-05 Thread Scott Kostyshak
On Tue, Feb 05, 2019 at 12:35:55PM +0200, Dr Eberhard Lisse wrote:
> Scott,
> 
> this is very helpful for my alias file on the Mac.
> 
> function lyxconfigure
> {
>   pushd ~/
>   python -tt "/Applications/LyX.app/Contents/Resources/configure.py"
>   popd
> }

Nice. Thanks for sharing I actually never saw that trick for saving the
directory in a bash function (I've only used pushd and popd
interactively). I am used to saving "$(pwd)" to a variable and then "cd"
back to it. I like your trick instead.

Scott


signature.asc
Description: PGP signature


Re: Question: how to run Reconfigure without GUI

2019-02-05 Thread Dr Eberhard Lisse
Scott,

this is very helpful for my alias file on the Mac.

function lyxconfigure
{
pushd ~/
python -tt "/Applications/LyX.app/Contents/Resources/configure.py"
popd
}

greetings, el

On 15/01/2019 19:02, Scott Kostyshak wrote:
> On Tue, Jan 15, 2019 at 11:27:34AM -0500, Daniel Gómez Martínez wrote:
>> I found out I can start the action I want with "lyx -x reconfigure";
>> however, GUI is triggered at the end.
> 
> You can call the configure script directly. For example,
> 
>   python -tt "/usr/local/share/lyx/configure.py"
> 
> Be sure to run it inside your home directory. On Linux, this is ~/.lyx.
> (note that you can set your home directory at run-time to any directory
> when launching LyX)
> 
> Best,
> 
> Scott
> 




signature.asc
Description: OpenPGP digital signature


Re: Question: how to run Reconfigure without GUI

2019-01-15 Thread Scott Kostyshak
On Tue, Jan 15, 2019 at 11:27:34AM -0500, Daniel Gómez Martínez wrote:
> I found out I can start the action I want with "lyx -x reconfigure";
> however, GUI is triggered at the end.

You can call the configure script directly. For example,

  python -tt "/usr/local/share/lyx/configure.py"

Be sure to run it inside your home directory. On Linux, this is ~/.lyx.
(note that you can set your home directory at run-time to any directory
when launching LyX)

Best,

Scott


signature.asc
Description: PGP signature


Re: Question: how to run Reconfigure without GUI

2019-01-15 Thread Paul A. Rubin

On 1/15/19 11:27 AM, Daniel Gómez Martínez wrote:
I found out I can start the action I want with "lyx -x reconfigure"; 
however, GUI is triggered at the end.


Already tried "lyx -batch -x reconfigure" but lyx ask for an input 
file, which I consider should not happen; I’m considering a bug report.
I tried the same thing, with the same result (even if I surround 
"reconfigure" with quotes), so I agree that it's probably a bug.


Re: Question: how to run Reconfigure without GUI

2019-01-15 Thread Daniel Gómez Martínez
I found out I can start the action I want with "lyx -x reconfigure";
however, GUI is triggered at the end.

Already tried "lyx -batch -x reconfigure" but lyx ask for an input file,
which I consider should not happen; I’m considering a bug report.

Regards,

*Daniel Gómez Martínez | Profesional en ingeniería eléctrica*
*Universidad Nacional de Colombia*
*Automatización industrial, ingeniería de patentes, instalaciones
eléctricas.*
*Sistemas de potencia, control de sistemas.*
Tel: (+57)
*312 824 8697 <3044313476>*


El mar., 15 ene. 2019 a las 9:42, Daniel Gómez Martínez (<
dangome...@gmail.com>) escribió:

> Hello everyone,
>
> I was wondering if there's a way to execute Tools>Reconfigure without GUI
> (i.e. from the terminal) in Linux.
>
> Thanks in advance,
>
>
> *Daniel Gómez Martínez*
> * <3044313476>*
>


Question: how to run Reconfigure without GUI

2019-01-15 Thread Daniel Gómez Martínez
Hello everyone,

I was wondering if there's a way to execute Tools>Reconfigure without GUI
(i.e. from the terminal) in Linux.

Thanks in advance,


*Daniel Gómez Martínez*
* <3044313476>*


Re:Re: how to reconfigure the style of on page ?

2017-02-20 Thread subaochen
Hi Richard,


I've read the manual of varioref package and added the line to preamble, it 
works!
\renewcommand\reftextfaraway[1]{on {#1} page}


Thanks again!


At 2017-02-20 08:37:36, "Richard Heck"  wrote:

On 02/19/2017 03:50 AM, subaochen wrote:

hi,


I want to redefine the cite style of " on page " to 
" on  page", but how?


This uses the \vref command from the varioref package, so see its 
documentation. (I don't know how to do this myself.)

Richard



Re: how to reconfigure the style of on page ?

2017-02-19 Thread Richard Heck
On 02/19/2017 03:50 AM, subaochen wrote:
> hi,
>
> I want to redefine the cite style of " on page " to
> " on  page", but how?

This uses the \vref command from the varioref package, so see its
documentation. (I don't know how to do this myself.)

Richard



how to reconfigure the style of on page ?

2017-02-19 Thread subaochen
hi,


I want to redefine the cite style of " on page " to 
" on  page", but how? 


Any help is very appreciated! Thanks in advance!


--
Best regards,

Baochen Su

Re: LyX 2.2.2 & reconfigure -- MikTeX problems?

2017-01-06 Thread Andrew Parsloe



On 7/01/2017 12:42 p.m., Bernt Lie wrote:



You may be missing the package miktex-jpeg-bin-2.9. Run the MiKTeX

package manager as administrator and check down the list of files. If

you have the package it will show a date when it was installed (in the

fifth column). If you haven't got the package there will be a blank

there, in which case highlight the entry then click the + button in the

upper left (below File) in the package manager dialogue and (provided

you are online) the package will be installed.

Andrew

--

Thanks, Andrew: where do I find the MikTeX packet manager?

-B

This may be different on Windows 10 but on Windows 7 you go to the Start 
button, choose All Programs, scroll to MiKTeK 2.9, open the folder, then 
Maintenance (Admin). This contains the package manager, settings and 
update. (I've created shortcuts to all three since I use them often.)


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



RE: LyX 2.2.2 & reconfigure -- MikTeX problems?

2017-01-06 Thread Bernt Lie


Sent from my Windows 10 phone

From: Andrew Parsloe<mailto:apars...@clear.net.nz>
Sent: Friday, January 6, 2017 20:50
To: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org>
Subject: Re: LyX 2.2.2 & reconfigure -- MikTeX problems?



On 7/01/2017 7:43 a.m., Bernt Lie wrote:
> Sent from my Windows 10 phone
>
> *From: *Wolfgang Engelmann <mailto:engelm...@uni-tuebingen.de>
> *Sent: *Friday, January 6, 2017 18:47
> *To: *lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
> *Subject: *Re: LyX 2.2.2 & reconfigure -- MikTeX problems?
>
> On 06.01.2017 11:33, Bernt Lie wrote:
>
> Hi
>
> I recently installed LyX 2.2.2 on my brand new Dell workstation, and
> use Windows 10 Pro (it was set up with Win 10 Enterprise when I
> installed LyX 2.2.2, but I have just "downgraded" it to Pro to have
> faster updates...)
>
> When I installed LyX 2.2.2, there was some message (error message?)
> related to MikTeX. I just installed Andrew Parsloe's files for
> numbering theorems etc. after chapter number, and then try to
> reconfigure LyX.
>
> This is what happens:
>
>  1. First, the following message pops up:
>
> cid:part1.88A46D20.181CB5FC@uni-tuebingen.de
>
>  2. When I click OK, the response is as follows:
>
> cid:part2.F4462D50.840B0082@uni-tuebingen.de
>
> Does this mean that I have a problem? Should I un-install and
> re-install LyX? Should I re-install v. 2.2.2 (wasn’t there some
> problems with 2.2.2?), or install v. 2.2.1?
>
> Thanks,
>
> Bernt
>
>>tools>reconfigure
> and open lyx again. That should do it.
> Wolfgang
>
> --
>
> Thanks, Wolfgang. I’ve done this several times, but the MikTeX error
> message persists…
>
> -B
>
You may be missing the package miktex-jpeg-bin-2.9. Run the MiKTeX
package manager as administrator and check down the list of files. If
you have the package it will show a date when it was installed (in the
fifth column). If you haven't got the package there will be a blank
there, in which case highlight the entry then click the + button in the
upper left (below File) in the package manager dialogue and (provided
you are online) the package will be installed.

Andrew
--
Thanks, Andrew: where do I find the MikTeX packet manager?
-B




Re: LyX 2.2.2 & reconfigure -- MikTeX problems?

2017-01-06 Thread Andrew Parsloe



On 7/01/2017 7:43 a.m., Bernt Lie wrote:

Sent from my Windows 10 phone

*From: *Wolfgang Engelmann <mailto:engelm...@uni-tuebingen.de>
*Sent: *Friday, January 6, 2017 18:47
*To: *lyx-users@lists.lyx.org <mailto:lyx-users@lists.lyx.org>
*Subject: *Re: LyX 2.2.2 & reconfigure -- MikTeX problems?

On 06.01.2017 11:33, Bernt Lie wrote:

Hi

I recently installed LyX 2.2.2 on my brand new Dell workstation, and
use Windows 10 Pro (it was set up with Win 10 Enterprise when I
installed LyX 2.2.2, but I have just "downgraded" it to Pro to have
faster updates...)

When I installed LyX 2.2.2, there was some message (error message?)
related to MikTeX. I just installed Andrew Parsloe's files for
numbering theorems etc. after chapter number, and then try to
reconfigure LyX.

This is what happens:

 1. First, the following message pops up:

cid:part1.88A46D20.181CB5FC@uni-tuebingen.de

 2. When I click OK, the response is as follows:

cid:part2.F4462D50.840B0082@uni-tuebingen.de

Does this mean that I have a problem? Should I un-install and
re-install LyX? Should I re-install v. 2.2.2 (wasn’t there some
problems with 2.2.2?), or install v. 2.2.1?

Thanks,

    Bernt


tools>reconfigure

and open lyx again. That should do it.
Wolfgang

--

Thanks, Wolfgang. I’ve done this several times, but the MikTeX error
message persists…

-B

You may be missing the package miktex-jpeg-bin-2.9. Run the MiKTeX 
package manager as administrator and check down the list of files. If 
you have the package it will show a date when it was installed (in the 
fifth column). If you haven't got the package there will be a blank 
there, in which case highlight the entry then click the + button in the 
upper left (below File) in the package manager dialogue and (provided 
you are online) the package will be installed.


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: LyX 2.2.2 & reconfigure -- MikTeX problems?

2017-01-06 Thread Wolfgang Engelmann



On 06.01.2017 11:33, Bernt Lie wrote:


Hi

I recently installed LyX 2.2.2 on my brand new Dell workstation, and 
use Windows 10 Pro (it was set up with Win 10 Enterprise when I 
installed LyX 2.2.2, but I have just "downgraded" it to Pro to have 
faster updates...)


When I installed LyX 2.2.2, there was some message (error message?) 
related to MikTeX. I just installed Andrew Parsloe's files for 
numbering theorems etc. after chapter number, and then try to 
reconfigure LyX.


This is what happens:

1.First, the following message pops up:

2.When I click OK, the response is as follows:

Does this mean that I have a problem? Should I un-install and 
re-install LyX? Should I re-install v. 2.2.2 (wasn’t there some 
problems with 2.2.2?), or install v. 2.2.1?


Thanks,

Bernt


>tools>reconfigure
and open lyx again. That should do it.
Wolfgang


LyX 2.2.2 & reconfigure -- MikTeX problems?

2017-01-06 Thread Bernt Lie
Hi



I recently installed LyX 2.2.2 on my brand new Dell workstation, and use 
Windows 10 Pro (it was set up with Win 10 Enterprise when I installed LyX 
2.2.2, but I have just "downgraded" it to Pro to have faster updates...)



When I installed LyX 2.2.2, there was some message (error message?) related to 
MikTeX. I just installed Andrew Parsloe's files for numbering theorems etc. 
after chapter number, and then try to reconfigure LyX.



This is what happens:



1.   First, the following message pops up:

[cid:image003.jpg@01D26810.A2641880]

2.   When I click OK, the response is as follows:

[cid:image002.png@01D26810.A261A780]



Does this mean that I have a problem? Should I un-install and re-install LyX? 
Should I re-install v. 2.2.2 (wasn’t there some problems with 2.2.2?), or 
install v. 2.2.1?



Thanks,

Bernt




Log of what changed when using Reconfigure?

2013-12-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

is there a log which shows what has changed in a Reconfigure?

Sometimes it would be quite useful to see if some installations
changed the LyX config, to make later debugging of documents easier?

Thanks,

Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSoHlnAAoJENvXNx4PUvmCM7MIAJEw3sVzFJN8CZyGB7yg9FJy
LpXY6wyWXNzTeaq+RBdPuTa5il81W5saubBSQBxCxtqPwnwtAPPZO9HJ5w7MYJG8
CfrtCgeOxLEyeuk6u+HarHGyoeoLlKzAW0PKuPeo+PB2COdUVanOzxzVXaU69LI9
MoVqAjmKEREqAZ6HQ+LTHYuEt6Bmfurs8KrVS/TedYD1DTDvZ+m2LJRdMPfqc+eK
oSKnmYjUM00qE1JA5jO/GxR55KoXX3t098nViUfs78f9tkNkdSJPCLlRfIc12Iyr
w4hkqgSiyP2hX7/k6MGzqS1R4wMDxwqA8eLIH0sK0F761S5ONts7hOADPMyxmnY=
=tMSh
-END PGP SIGNATURE-


Solved: Log of what changed when using Reconfigure?

2013-12-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Found it: configure.log

Cheers,

Rainer


On 12/05/13, 14:02 , Rainer M Krug wrote:
 Hi
 
 is there a log which shows what has changed in a Reconfigure?
 
 Sometimes it would be quite useful to see if some installations 
 changed the LyX config, to make later debugging of documents
 easier?
 
 Thanks,
 
 Rainer
 
 
 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSoHs2AAoJENvXNx4PUvmCg4MIAJ7DQ2tWfu91VcQgVZtCUPgQ
jSVjftoY1EhnrVUF8bo8cc+Jc+bTJucXZ+sXV5Wktkz/tLxAViQs8hTyMbPb3t/0
oVbELMEZn6qR7rdVwWkYbpaAAXG5OUiLS2KEvb0G8U+JEqOn0g+bVTTKu8PV5YI3
TXsUnbktXPdXm7+dqvm0ThKy8JSefjRiFeImQYjXorG+dV4mjbssysZcpOw8ahMR
vLYH27EyJ96GorzRlnQggSqG2u/K/BOq1W3ky62OlefHlSn494Pd3Ybxy2CH6Pbw
JPatKONSaC4xrA+VmLcUB2/o6CDMnXT8MKwQUdKsImRteiWsvkowZSSTBYc6cY4=
=dyi/
-END PGP SIGNATURE-


Log of what changed when using Reconfigure?

2013-12-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

is there a log which shows what has changed in a Reconfigure?

Sometimes it would be quite useful to see if some installations
changed the LyX config, to make later debugging of documents easier?

Thanks,

Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSoHlnAAoJENvXNx4PUvmCM7MIAJEw3sVzFJN8CZyGB7yg9FJy
LpXY6wyWXNzTeaq+RBdPuTa5il81W5saubBSQBxCxtqPwnwtAPPZO9HJ5w7MYJG8
CfrtCgeOxLEyeuk6u+HarHGyoeoLlKzAW0PKuPeo+PB2COdUVanOzxzVXaU69LI9
MoVqAjmKEREqAZ6HQ+LTHYuEt6Bmfurs8KrVS/TedYD1DTDvZ+m2LJRdMPfqc+eK
oSKnmYjUM00qE1JA5jO/GxR55KoXX3t098nViUfs78f9tkNkdSJPCLlRfIc12Iyr
w4hkqgSiyP2hX7/k6MGzqS1R4wMDxwqA8eLIH0sK0F761S5ONts7hOADPMyxmnY=
=tMSh
-END PGP SIGNATURE-


Solved: Log of what changed when using Reconfigure?

2013-12-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Found it: configure.log

Cheers,

Rainer


On 12/05/13, 14:02 , Rainer M Krug wrote:
 Hi
 
 is there a log which shows what has changed in a Reconfigure?
 
 Sometimes it would be quite useful to see if some installations 
 changed the LyX config, to make later debugging of documents
 easier?
 
 Thanks,
 
 Rainer
 
 
 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSoHs2AAoJENvXNx4PUvmCg4MIAJ7DQ2tWfu91VcQgVZtCUPgQ
jSVjftoY1EhnrVUF8bo8cc+Jc+bTJucXZ+sXV5Wktkz/tLxAViQs8hTyMbPb3t/0
oVbELMEZn6qR7rdVwWkYbpaAAXG5OUiLS2KEvb0G8U+JEqOn0g+bVTTKu8PV5YI3
TXsUnbktXPdXm7+dqvm0ThKy8JSefjRiFeImQYjXorG+dV4mjbssysZcpOw8ahMR
vLYH27EyJ96GorzRlnQggSqG2u/K/BOq1W3ky62OlefHlSn494Pd3Ybxy2CH6Pbw
JPatKONSaC4xrA+VmLcUB2/o6CDMnXT8MKwQUdKsImRteiWsvkowZSSTBYc6cY4=
=dyi/
-END PGP SIGNATURE-


Log of what changed when using Reconfigure?

2013-12-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

is there a log which shows what has changed in a Reconfigure?

Sometimes it would be quite useful to see if some installations
changed the LyX config, to make later debugging of documents easier?

Thanks,

Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSoHlnAAoJENvXNx4PUvmCM7MIAJEw3sVzFJN8CZyGB7yg9FJy
LpXY6wyWXNzTeaq+RBdPuTa5il81W5saubBSQBxCxtqPwnwtAPPZO9HJ5w7MYJG8
CfrtCgeOxLEyeuk6u+HarHGyoeoLlKzAW0PKuPeo+PB2COdUVanOzxzVXaU69LI9
MoVqAjmKEREqAZ6HQ+LTHYuEt6Bmfurs8KrVS/TedYD1DTDvZ+m2LJRdMPfqc+eK
oSKnmYjUM00qE1JA5jO/GxR55KoXX3t098nViUfs78f9tkNkdSJPCLlRfIc12Iyr
w4hkqgSiyP2hX7/k6MGzqS1R4wMDxwqA8eLIH0sK0F761S5ONts7hOADPMyxmnY=
=tMSh
-END PGP SIGNATURE-


Solved: Log of what changed when using Reconfigure?

2013-12-05 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Found it: configure.log

Cheers,

Rainer


On 12/05/13, 14:02 , Rainer M Krug wrote:
> Hi
> 
> is there a log which shows what has changed in a Reconfigure?
> 
> Sometimes it would be quite useful to see if some installations 
> changed the LyX config, to make later debugging of documents
> easier?
> 
> Thanks,
> 
> Rainer
> 
> 
> 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSoHs2AAoJENvXNx4PUvmCg4MIAJ7DQ2tWfu91VcQgVZtCUPgQ
jSVjftoY1EhnrVUF8bo8cc+Jc+bTJucXZ+sXV5Wktkz/tLxAViQs8hTyMbPb3t/0
oVbELMEZn6qR7rdVwWkYbpaAAXG5OUiLS2KEvb0G8U+JEqOn0g+bVTTKu8PV5YI3
TXsUnbktXPdXm7+dqvm0ThKy8JSefjRiFeImQYjXorG+dV4mjbssysZcpOw8ahMR
vLYH27EyJ96GorzRlnQggSqG2u/K/BOq1W3ky62OlefHlSn494Pd3Ybxy2CH6Pbw
JPatKONSaC4xrA+VmLcUB2/o6CDMnXT8MKwQUdKsImRteiWsvkowZSSTBYc6cY4=
=dyi/
-END PGP SIGNATURE-


Reconfigure

2010-09-25 Thread ehud.kap...@gmail.com
 Why not arrange it so that when Lyx is invoked it checks to see 
whether Latex had been updated or modified since the last time Lyx was 
run?  That way we will not have to remember to reconfigure Lyx after 
each time we update or install new Latex packages.

--
Ehud Kaplan


Re: Reconfigure

2010-09-25 Thread Richard Heck

On 09/25/2010 08:09 AM, ehud.kap...@gmail.com wrote:
Why not arrange it so that when Lyx is invoked it checks to see 
whether Latex had been updated or modified since the last time Lyx was 
run?  That way we will not have to remember to reconfigure Lyx after 
each time we update or install new Latex packages.


How would we have LyX determine this? I don't see any cross-platform way 
to do that, or even a reliable way to do it on Linux. You could try to 
calculate checksums on the ls-R files, but where are those?


If there were a way to do it, then that'd be great.

Richard



Reconfigure

2010-09-25 Thread ehud.kap...@gmail.com
 Why not arrange it so that when Lyx is invoked it checks to see 
whether Latex had been updated or modified since the last time Lyx was 
run?  That way we will not have to remember to reconfigure Lyx after 
each time we update or install new Latex packages.

--
Ehud Kaplan


Re: Reconfigure

2010-09-25 Thread Richard Heck

On 09/25/2010 08:09 AM, ehud.kap...@gmail.com wrote:
Why not arrange it so that when Lyx is invoked it checks to see 
whether Latex had been updated or modified since the last time Lyx was 
run?  That way we will not have to remember to reconfigure Lyx after 
each time we update or install new Latex packages.


How would we have LyX determine this? I don't see any cross-platform way 
to do that, or even a reliable way to do it on Linux. You could try to 
calculate checksums on the ls-R files, but where are those?


If there were a way to do it, then that'd be great.

Richard



Reconfigure

2010-09-25 Thread ehud.kap...@gmail.com
 Why not arrange it so that when Lyx is invoked it checks to see 
whether Latex had been updated or modified since the last time Lyx was 
run?  That way we will not have to remember to "reconfigure" Lyx after 
each time we update or install new Latex packages.

--
Ehud Kaplan


Re: Reconfigure

2010-09-25 Thread Richard Heck

On 09/25/2010 08:09 AM, ehud.kap...@gmail.com wrote:
Why not arrange it so that when Lyx is invoked it checks to see 
whether Latex had been updated or modified since the last time Lyx was 
run?  That way we will not have to remember to "reconfigure" Lyx after 
each time we update or install new Latex packages.


How would we have LyX determine this? I don't see any cross-platform way 
to do that, or even a reliable way to do it on Linux. You could try to 
calculate checksums on the ls-R files, but where are those?


If there were a way to do it, then that'd be great.

Richard



Re: Reconfigure with Ubuntu

2010-05-12 Thread Michele Cascella
Hi,
kudos to Paul for suggesting me to remove my ~/.lyx directory, it
worked and the issues has not reappeared. I'm a bit puzzled because
I've been trying to isolate the origin of issue but had no luck. I'll
try harder if I have the time.
Thanks again to everybody,

Emme

On Mon, May 10, 2010 at 1:01 PM, Michele Cascella
michele.casce...@pi.infn.it wrote:
 Hi,
 lyx is giving me the:
 The system reconfiguration has failed.
 Default textclass is used but LyX may not be able to work properly.
 Please reconfigure again if needed.

 error message, but everything seems to be working. I can't figure out
 what's wrong from the configure.py output or from the LaTeXConfig.lyx
 (attached).

 Am I missing something? Could you take a look at them?

 Cheers,

 Emme

 On Sun, Jan 25, 2009 at 12:57 AM, Paul A. Rubin ru...@msu.edu wrote:
 Jason Waskiewicz wrote:

 Thank-you for the quick help (especially Paul Rubin)!

 You're welcome.  Been there, done that.  The T-shirt didn't fit.

 For any who are interested, I ran configure.py. It turned out that LyX was
 failing because of a .layout file I no longer use. When I copied my
 favorites into the new copy of LyX, I must have not been thinking and copied
 this old one in as well.

 I'm not sure why it didn't work (it used to), but removing it solved the
 problem.

 During one of the version updates (I think from 1.5.x to 1.6), changes were
 made that broke some layout files.  There's a conversion script
 (layout2layout.py) in the scripts directory; don't know if LyX automatically
 tries to run it against old layouts during a reconfiguration or not.

 /Paul





Re: Reconfigure with Ubuntu

2010-05-12 Thread Michele Cascella
Hi,
kudos to Paul for suggesting me to remove my ~/.lyx directory, it
worked and the issues has not reappeared. I'm a bit puzzled because
I've been trying to isolate the origin of issue but had no luck. I'll
try harder if I have the time.
Thanks again to everybody,

Emme

On Mon, May 10, 2010 at 1:01 PM, Michele Cascella
michele.casce...@pi.infn.it wrote:
 Hi,
 lyx is giving me the:
 The system reconfiguration has failed.
 Default textclass is used but LyX may not be able to work properly.
 Please reconfigure again if needed.

 error message, but everything seems to be working. I can't figure out
 what's wrong from the configure.py output or from the LaTeXConfig.lyx
 (attached).

 Am I missing something? Could you take a look at them?

 Cheers,

 Emme

 On Sun, Jan 25, 2009 at 12:57 AM, Paul A. Rubin ru...@msu.edu wrote:
 Jason Waskiewicz wrote:

 Thank-you for the quick help (especially Paul Rubin)!

 You're welcome.  Been there, done that.  The T-shirt didn't fit.

 For any who are interested, I ran configure.py. It turned out that LyX was
 failing because of a .layout file I no longer use. When I copied my
 favorites into the new copy of LyX, I must have not been thinking and copied
 this old one in as well.

 I'm not sure why it didn't work (it used to), but removing it solved the
 problem.

 During one of the version updates (I think from 1.5.x to 1.6), changes were
 made that broke some layout files.  There's a conversion script
 (layout2layout.py) in the scripts directory; don't know if LyX automatically
 tries to run it against old layouts during a reconfiguration or not.

 /Paul





Re: Reconfigure with Ubuntu

2010-05-12 Thread Michele Cascella
Hi,
kudos to Paul for suggesting me to remove my ~/.lyx directory, it
worked and the issues has not reappeared. I'm a bit puzzled because
I've been trying to isolate the origin of issue but had no luck. I'll
try harder if I have the time.
Thanks again to everybody,

Emme

On Mon, May 10, 2010 at 1:01 PM, Michele Cascella
<michele.casce...@pi.infn.it> wrote:
> Hi,
> lyx is giving me the:
> "The system reconfiguration has failed.
> Default textclass is used but LyX may not be able to work properly.
> Please reconfigure again if needed."
>
> error message, but everything seems to be working. I can't figure out
> what's wrong from the configure.py output or from the LaTeXConfig.lyx
> (attached).
>
> Am I missing something? Could you take a look at them?
>
> Cheers,
>
> Emme
>
> On Sun, Jan 25, 2009 at 12:57 AM, Paul A. Rubin <ru...@msu.edu> wrote:
>> Jason Waskiewicz wrote:
>>>
>>> Thank-you for the quick help (especially Paul Rubin)!
>>
>> You're welcome.  Been there, done that.  The T-shirt didn't fit.
>>
>>> For any who are interested, I ran configure.py. It turned out that LyX was
>>> failing because of a .layout file I no longer use. When I copied my
>>> favorites into the new copy of LyX, I must have not been thinking and copied
>>> this old one in as well.
>>>
>>> I'm not sure why it didn't work (it used to), but removing it solved the
>>> problem.
>>
>> During one of the version updates (I think from 1.5.x to 1.6), changes were
>> made that broke some layout files.  There's a conversion script
>> (layout2layout.py) in the scripts directory; don't know if LyX automatically
>> tries to run it against old layouts during a reconfiguration or not.
>>
>> /Paul
>>
>>
>


Re: Reconfigure with Ubuntu

2009-01-24 Thread Paul A. Rubin

Jason Waskiewicz wrote:

Thank-you for the quick help (especially Paul Rubin)!


You're welcome.  Been there, done that.  The T-shirt didn't fit.

For any who are interested, I ran configure.py. It turned out that LyX 
was failing because of a .layout file I no longer use. When I copied my 
favorites into the new copy of LyX, I must have not been thinking and 
copied this old one in as well.


I'm not sure why it didn't work (it used to), but removing it solved the 
problem.


During one of the version updates (I think from 1.5.x to 1.6), changes 
were made that broke some layout files.  There's a conversion script 
(layout2layout.py) in the scripts directory; don't know if LyX 
automatically tries to run it against old layouts during a 
reconfiguration or not.


/Paul



Re: Reconfigure with Ubuntu

2009-01-24 Thread Paul A. Rubin

Jason Waskiewicz wrote:

Thank-you for the quick help (especially Paul Rubin)!


You're welcome.  Been there, done that.  The T-shirt didn't fit.

For any who are interested, I ran configure.py. It turned out that LyX 
was failing because of a .layout file I no longer use. When I copied my 
favorites into the new copy of LyX, I must have not been thinking and 
copied this old one in as well.


I'm not sure why it didn't work (it used to), but removing it solved the 
problem.


During one of the version updates (I think from 1.5.x to 1.6), changes 
were made that broke some layout files.  There's a conversion script 
(layout2layout.py) in the scripts directory; don't know if LyX 
automatically tries to run it against old layouts during a 
reconfiguration or not.


/Paul



Re: Reconfigure with Ubuntu

2009-01-24 Thread Paul A. Rubin

Jason Waskiewicz wrote:

Thank-you for the quick help (especially Paul Rubin)!


You're welcome.  Been there, done that.  The T-shirt didn't fit.

For any who are interested, I ran configure.py. It turned out that LyX 
was failing because of a .layout file I no longer use. When I copied my 
favorites into the new copy of LyX, I must have not been thinking and 
copied this old one in as well.


I'm not sure why it didn't work (it used to), but removing it solved the 
problem.


During one of the version updates (I think from 1.5.x to 1.6), changes 
were made that broke some layout files.  There's a conversion script 
(layout2layout.py) in the scripts directory; don't know if LyX 
automatically tries to run it against old layouts during a 
reconfiguration or not.


/Paul



Re: Reconfigure with Ubuntu

2009-01-23 Thread Jason Waskiewicz
Thank-you for the quick help (especially Paul Rubin)! 


For any who are interested, I ran configure.py. It turned out that LyX was 
failing because of a .layout file I no longer use. When I copied my favorites 
into the new copy of LyX, I must have not been thinking and copied this old one 
in as well.

I'm not sure why it didn't work (it used to), but removing it solved the 
problem.


Thank-you again! I'm truly handicapped without LyX!

--Jason Waskiewicz
 Bowman County School




Re: Reconfigure with Ubuntu

2009-01-23 Thread Jason Waskiewicz
Thank-you for the quick help (especially Paul Rubin)! 


For any who are interested, I ran configure.py. It turned out that LyX was 
failing because of a .layout file I no longer use. When I copied my favorites 
into the new copy of LyX, I must have not been thinking and copied this old one 
in as well.

I'm not sure why it didn't work (it used to), but removing it solved the 
problem.


Thank-you again! I'm truly handicapped without LyX!

--Jason Waskiewicz
 Bowman County School




Re: Reconfigure with Ubuntu

2009-01-23 Thread Jason Waskiewicz
Thank-you for the quick help (especially Paul Rubin)! 


For any who are interested, I ran configure.py. It turned out that LyX was 
failing because of a .layout file I no longer use. When I copied my favorites 
into the new copy of LyX, I must have not been thinking and copied this old one 
in as well.

I'm not sure why it didn't work (it used to), but removing it solved the 
problem.


Thank-you again! I'm truly handicapped without LyX!

--Jason Waskiewicz
 Bowman County School




Re: Reconfigure with Ubuntu

2009-01-22 Thread Paul A. Rubin

Jason Waskiewicz wrote:
I've been using LyX for several years now on Fedora Linux, Windows XP, 
and OS X. I've never had any trouble adding extra layouts or text classes.


Recently, I switched to Ubuntu Linux (8.04 -- Hardy Heron). LyX will not 
allow me to reconfigure. I even did a fresh install without my additions 
and it simply will not reconfigure.



The exact message is:

The system reconfiguration has failed.

Default textclass is used but LyX may not be able to work properly.

Please reconfigure again if needed.


I've done a lot of reading and I'm not the only one who has run into 
this, but I have not seen how to solve it.


Can someone please help me?



First off, find where LyX has configure.py stashed.  Best guess is 
/usr/share/lyx.  Now open a terminal in your home directory and cd into 
the .lyx subdirectory.  (If ~/.lyx does not exist, create it with mkdir 
and chmod it to 755, then cd into it.)  From the .lyx subdirectory, run 
/usr/share/lyx/configure.py.  Hopefully something in the output will 
help pin down what is going wrong.


/Paul



Re: Reconfigure with Ubuntu

2009-01-22 Thread Paul A. Rubin

Jason Waskiewicz wrote:
I've been using LyX for several years now on Fedora Linux, Windows XP, 
and OS X. I've never had any trouble adding extra layouts or text classes.


Recently, I switched to Ubuntu Linux (8.04 -- Hardy Heron). LyX will not 
allow me to reconfigure. I even did a fresh install without my additions 
and it simply will not reconfigure.



The exact message is:

The system reconfiguration has failed.

Default textclass is used but LyX may not be able to work properly.

Please reconfigure again if needed.


I've done a lot of reading and I'm not the only one who has run into 
this, but I have not seen how to solve it.


Can someone please help me?



First off, find where LyX has configure.py stashed.  Best guess is 
/usr/share/lyx.  Now open a terminal in your home directory and cd into 
the .lyx subdirectory.  (If ~/.lyx does not exist, create it with mkdir 
and chmod it to 755, then cd into it.)  From the .lyx subdirectory, run 
/usr/share/lyx/configure.py.  Hopefully something in the output will 
help pin down what is going wrong.


/Paul



Re: Reconfigure with Ubuntu

2009-01-22 Thread Paul A. Rubin

Jason Waskiewicz wrote:
I've been using LyX for several years now on Fedora Linux, Windows XP, 
and OS X. I've never had any trouble adding extra layouts or text classes.


Recently, I switched to Ubuntu Linux (8.04 -- Hardy Heron). LyX will not 
allow me to reconfigure. I even did a fresh install without my additions 
and it simply will not reconfigure.



The exact message is:

The system reconfiguration has failed.

Default textclass is used but LyX may not be able to work properly.

Please reconfigure again if needed.


I've done a lot of reading and I'm not the only one who has run into 
this, but I have not seen how to solve it.


Can someone please help me?



First off, find where LyX has configure.py stashed.  Best guess is 
/usr/share/lyx.  Now open a terminal in your home directory and cd into 
the .lyx subdirectory.  (If ~/.lyx does not exist, create it with mkdir 
and chmod it to 755, then cd into it.)  From the .lyx subdirectory, run 
/usr/share/lyx/configure.py.  Hopefully something in the output will 
help pin down what is going wrong.


/Paul



Reconfigure with Ubuntu

2009-01-21 Thread Jason Waskiewicz
I've been using LyX for several years now on Fedora Linux, Windows XP, 
and OS X. I've never had any trouble adding extra layouts or text classes.


Recently, I switched to Ubuntu Linux (8.04 -- Hardy Heron). LyX will not 
allow me to reconfigure. I even did a fresh install without my additions 
and it simply will not reconfigure.



The exact message is:

The system reconfiguration has failed.

Default textclass is used but LyX may not be able to work properly.

Please reconfigure again if needed.


I've done a lot of reading and I'm not the only one who has run into 
this, but I have not seen how to solve it.


Can someone please help me?

--Jason Waskiewicz
 Bowman County Schools


Reconfigure with Ubuntu

2009-01-21 Thread Jason Waskiewicz
I've been using LyX for several years now on Fedora Linux, Windows XP, 
and OS X. I've never had any trouble adding extra layouts or text classes.


Recently, I switched to Ubuntu Linux (8.04 -- Hardy Heron). LyX will not 
allow me to reconfigure. I even did a fresh install without my additions 
and it simply will not reconfigure.



The exact message is:

The system reconfiguration has failed.

Default textclass is used but LyX may not be able to work properly.

Please reconfigure again if needed.


I've done a lot of reading and I'm not the only one who has run into 
this, but I have not seen how to solve it.


Can someone please help me?

--Jason Waskiewicz
 Bowman County Schools


Reconfigure with Ubuntu

2009-01-21 Thread Jason Waskiewicz
I've been using LyX for several years now on Fedora Linux, Windows XP, 
and OS X. I've never had any trouble adding extra layouts or text classes.


Recently, I switched to Ubuntu Linux (8.04 -- Hardy Heron). LyX will not 
allow me to reconfigure. I even did a fresh install without my additions 
and it simply will not reconfigure.



The exact message is:

The system reconfiguration has failed.

Default textclass is used but LyX may not be able to work properly.

Please reconfigure again if needed.


I've done a lot of reading and I'm not the only one who has run into 
this, but I have not seen how to solve it.


Can someone please help me?

--Jason Waskiewicz
 Bowman County Schools


Reconfigure on Windows freezes Lyx

2008-08-18 Thread Graham Smith
I have just downloaded and installed Lyx with the alternative  
installer onto winXP and added Koma-Script to Miketex.


However, trying to run Reconfigure freezes Lyx, do I need to do  
something in Miketex before reconfiguring Lyx?


Thanks,

Graham

Graham Smith
[EMAIL PROTECTED]








Re: Reconfigure on Windows freezes Lyx

2008-08-18 Thread Graham Smith
In fact I have now fixed this after finding the bit on the Wiki about
switching off the update on the fly option in MikeTex.

Sorry, I missed this in my initial searches.

Graham

On Mon, 18 Aug 2008 20:40:00 +0100, Graham Smith
[EMAIL PROTECTED] said:
 I have just downloaded and installed Lyx with the alternative  
 installer onto winXP and added Koma-Script to Miketex.
 
 However, trying to run Reconfigure freezes Lyx, do I need to do  
 something in Miketex before reconfiguring Lyx?
 
 Thanks,
 
 Graham
 
 Graham Smith
 [EMAIL PROTECTED]
 
 
 
 
 
 
-- 
  Graham Smith
  [EMAIL PROTECTED]



Reconfigure on Windows freezes Lyx

2008-08-18 Thread Graham Smith
I have just downloaded and installed Lyx with the alternative  
installer onto winXP and added Koma-Script to Miketex.


However, trying to run Reconfigure freezes Lyx, do I need to do  
something in Miketex before reconfiguring Lyx?


Thanks,

Graham

Graham Smith
[EMAIL PROTECTED]








Re: Reconfigure on Windows freezes Lyx

2008-08-18 Thread Graham Smith
In fact I have now fixed this after finding the bit on the Wiki about
switching off the update on the fly option in MikeTex.

Sorry, I missed this in my initial searches.

Graham

On Mon, 18 Aug 2008 20:40:00 +0100, Graham Smith
[EMAIL PROTECTED] said:
 I have just downloaded and installed Lyx with the alternative  
 installer onto winXP and added Koma-Script to Miketex.
 
 However, trying to run Reconfigure freezes Lyx, do I need to do  
 something in Miketex before reconfiguring Lyx?
 
 Thanks,
 
 Graham
 
 Graham Smith
 [EMAIL PROTECTED]
 
 
 
 
 
 
-- 
  Graham Smith
  [EMAIL PROTECTED]



Reconfigure on Windows freezes Lyx

2008-08-18 Thread Graham Smith
I have just downloaded and installed Lyx with the alternative  
installer onto winXP and added Koma-Script to Miketex.


However, trying to run Reconfigure freezes Lyx, do I need to do  
something in Miketex before reconfiguring Lyx?


Thanks,

Graham

Graham Smith
[EMAIL PROTECTED]








Re: Reconfigure on Windows freezes Lyx

2008-08-18 Thread Graham Smith
In fact I have now fixed this after finding the bit on the Wiki about
switching off the update on the fly option in MikeTex.

Sorry, I missed this in my initial searches.

Graham

On Mon, 18 Aug 2008 20:40:00 +0100, "Graham Smith"
<[EMAIL PROTECTED]> said:
> I have just downloaded and installed Lyx with the alternative  
> installer onto winXP and added Koma-Script to Miketex.
> 
> However, trying to run Reconfigure freezes Lyx, do I need to do  
> something in Miketex before reconfiguring Lyx?
> 
> Thanks,
> 
> Graham
> 
> Graham Smith
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
-- 
  Graham Smith
  [EMAIL PROTECTED]



problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread sara teinturier
Dear all,
Some problems with the released LyX 1.5.4.
My OS is Win XP.
I've used the Lyx Win Installer - Complete to install it, and, at the same
time, install MikTeX 2.7. I had first uninstalled MikTeX 2.6.
It works wonderful, thanks a lot
I can read my former Lyx files.

But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to reconfigure after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.

I've launched it several times, same result... and before a new installation
(only LyX 1.5.4, no MikTeX), too...

Any idea? Is it possible that the problem come from MikTex?
Thanks  a lot for your help.

ST


Re: problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread Uwe Stöhr

sara teinturier schrieb:


But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to reconfigure after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.


Could you please start LyX by double clicking the lyx.exe? Then LyX is startet with a console 
window. Do you see there any informations when LyX crashes?


It seems that you MiKTeX installation is broken for an unknown reason. To avoid endless triaging to 
get it to work, I recommend to


1. uninstall LyX completely (also the user settings!) and also MiKTeX 2.7 (the unistaller offers 
both) (assure that you choose in the uninstaller the option tidy up thoroughly in the MikteX 
uninstaller dialog!)

2. reinstall LyX using again complete installer variant (MiKTeX 2.7 will also 
be reinstalled)

Does it then work?

If not

3. uninstall LyX completely (also the user settings!) and leave MiKTeX
4. reinstall LyX using this time the small installer variant

Does it then work?

If not

5. uninstall LyX completely
6. uninstall MiKTeX completely (assure that you choose in the uninstaller the option tidy up 
thoroughly!)

7. reinstall MiKTeX 2.7 using the basic installer you can download from 
www.miktex.org
8. install LyX using the small installer variant

Then it should work.

I know that these cost you some time but you will get a working system, and I get the info what the 
problem is.


So many thanks in advance and regards
Uwe


problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread sara teinturier
Dear all,
Some problems with the released LyX 1.5.4.
My OS is Win XP.
I've used the Lyx Win Installer - Complete to install it, and, at the same
time, install MikTeX 2.7. I had first uninstalled MikTeX 2.6.
It works wonderful, thanks a lot
I can read my former Lyx files.

But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to reconfigure after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.

I've launched it several times, same result... and before a new installation
(only LyX 1.5.4, no MikTeX), too...

Any idea? Is it possible that the problem come from MikTex?
Thanks  a lot for your help.

ST


Re: problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread Uwe Stöhr

sara teinturier schrieb:


But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to reconfigure after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.


Could you please start LyX by double clicking the lyx.exe? Then LyX is startet with a console 
window. Do you see there any informations when LyX crashes?


It seems that you MiKTeX installation is broken for an unknown reason. To avoid endless triaging to 
get it to work, I recommend to


1. uninstall LyX completely (also the user settings!) and also MiKTeX 2.7 (the unistaller offers 
both) (assure that you choose in the uninstaller the option tidy up thoroughly in the MikteX 
uninstaller dialog!)

2. reinstall LyX using again complete installer variant (MiKTeX 2.7 will also 
be reinstalled)

Does it then work?

If not

3. uninstall LyX completely (also the user settings!) and leave MiKTeX
4. reinstall LyX using this time the small installer variant

Does it then work?

If not

5. uninstall LyX completely
6. uninstall MiKTeX completely (assure that you choose in the uninstaller the option tidy up 
thoroughly!)

7. reinstall MiKTeX 2.7 using the basic installer you can download from 
www.miktex.org
8. install LyX using the small installer variant

Then it should work.

I know that these cost you some time but you will get a working system, and I get the info what the 
problem is.


So many thanks in advance and regards
Uwe


problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread sara teinturier
Dear all,
Some problems with the released LyX 1.5.4.
My OS is Win XP.
I've used the "Lyx Win Installer - Complete" to install it, and, at the same
time, install MikTeX 2.7. I had first uninstalled MikTeX 2.6.
It works wonderful, thanks a lot
I can read my former Lyx files.

But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to "reconfigure" after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.

I've launched it several times, same result... and before a new installation
(only LyX 1.5.4, no MikTeX), too...

Any idea? Is it possible that the problem come from MikTex?
Thanks  a lot for your help.

ST


Re: problems with LyX 1.5.4: compile and reconfigure

2008-02-27 Thread Uwe Stöhr

sara teinturier schrieb:


But there are at least two problems:
- when I want to compile (to dvi, pdf or ps)
- when I want to "reconfigure" after updating MikTeK or installed a new
package

the result is the same: LyX 1.5.4 crashes down.


Could you please start LyX by double clicking the lyx.exe? Then LyX is startet with a console 
window. Do you see there any informations when LyX crashes?


It seems that you MiKTeX installation is broken for an unknown reason. To avoid endless triaging to 
get it to work, I recommend to


1. uninstall LyX completely (also the user settings!) and also MiKTeX 2.7 (the unistaller offers 
both) (assure that you choose in the uninstaller the option "tidy up thoroughly in the MikteX 
uninstaller dialog!)

2. reinstall LyX using again complete installer variant (MiKTeX 2.7 will also 
be reinstalled)

Does it then work?

If not

3. uninstall LyX completely (also the user settings!) and leave MiKTeX
4. reinstall LyX using this time the small installer variant

Does it then work?

If not

5. uninstall LyX completely
6. uninstall MiKTeX completely (assure that you choose in the uninstaller the option "tidy up 
thoroughly!)

7. reinstall MiKTeX 2.7 using the basic installer you can download from 
www.miktex.org
8. install LyX using the small installer variant

Then it should work.

I know that these cost you some time but you will get a working system, and I get the info what the 
problem is.


So many thanks in advance and regards
Uwe


Reconfigure oddity

2007-11-19 Thread David L. Johnson
I have recently updated my little Zaurus 3100 to a new version of debian 
(armel), so re-installed LyX.  I wanted to make sure it had access to 
everything it really needed, so I ran reconfigure.


I have the debian-sid lyx-1.5.2-1 package installed.  I tried to compile 
lyx on the machine, but it is a long, slow process with the limited 
memory I have available.  Sometimes it will crash in mid-compile of some 
of the larger object files, so make has to be re-started often. 
However, the debian package works fine.


The output of the command is stored in a LyX file, but my LyX could not 
read it.  That file claims to be lyxformat 2.15, for LyX 0.11.  Current 
Lyx 1.5.2 uses lyxformat 276.  The file is not readable, and my LyX 
could not convert it to readable format.  My usual trick, simply 
changing the format number, also does not work.


It seems that my machine is configured adequately, but maybe it would be 
time to update this output format.  I just checked on my desktop machine 
and it, also, produces the same old lyx format from reconfigure.  On 
that machine (debian lenny, amd64 machine) I compiled lyx-1.5.2 myself.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]


Reconfigure oddity

2007-11-19 Thread David L. Johnson
I have recently updated my little Zaurus 3100 to a new version of debian 
(armel), so re-installed LyX.  I wanted to make sure it had access to 
everything it really needed, so I ran reconfigure.


I have the debian-sid lyx-1.5.2-1 package installed.  I tried to compile 
lyx on the machine, but it is a long, slow process with the limited 
memory I have available.  Sometimes it will crash in mid-compile of some 
of the larger object files, so make has to be re-started often. 
However, the debian package works fine.


The output of the command is stored in a LyX file, but my LyX could not 
read it.  That file claims to be lyxformat 2.15, for LyX 0.11.  Current 
Lyx 1.5.2 uses lyxformat 276.  The file is not readable, and my LyX 
could not convert it to readable format.  My usual trick, simply 
changing the format number, also does not work.


It seems that my machine is configured adequately, but maybe it would be 
time to update this output format.  I just checked on my desktop machine 
and it, also, produces the same old lyx format from reconfigure.  On 
that machine (debian lenny, amd64 machine) I compiled lyx-1.5.2 myself.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]


Reconfigure oddity

2007-11-19 Thread David L. Johnson
I have recently updated my little Zaurus 3100 to a new version of debian 
(armel), so re-installed LyX.  I wanted to make sure it had access to 
everything it really needed, so I ran reconfigure.


I have the debian-sid lyx-1.5.2-1 package installed.  I tried to compile 
lyx on the machine, but it is a long, slow process with the limited 
memory I have available.  Sometimes it will crash in mid-compile of some 
of the larger object files, so make has to be re-started often. 
However, the debian package works fine.


The output of the command is stored in a LyX file, but my LyX could not 
read it.  That file claims to be lyxformat 2.15, for LyX 0.11.  Current 
Lyx 1.5.2 uses lyxformat 276.  The file is not readable, and my LyX 
could not convert it to readable format.  My usual trick, simply 
changing the format number, also does not work.


It seems that my machine is configured adequately, but maybe it would be 
time to update this output format.  I just checked on my desktop machine 
and it, also, produces the same old lyx format from reconfigure.  On 
that machine (debian lenny, amd64 machine) I compiled lyx-1.5.2 myself.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]


Re: bug in reconfigure (windows port)

2004-10-15 Thread Paul A. Rubin
Juan Luis Chulilla wrote:
I use lyx port in a windows xp. After some itchy corrections (like
learn the precise version of imagemagick that works, avoiding spaces
in directory names and the like), I found an almost terminal problem.
Lyx worked QUITE fine -- we built a monography just with it -- but I
was not able to add any more latex class to lyx using the unix
procedure (add class to tetex, add .layout file to lyx, Edit/
Reconfigure. Finally today I have found that executing configure.bat
and then configure in a console of windows, lyx reconfigure its latex
entry (which has let me use beamer, i.e.)
Do you people know if it is really a bug for windows port? I mean, I'm
starting to be a lyx apostle, but if, hum, a luser has to do a lot of
tricks like the one I mentioned above, it sounds to be hard to achieve
conversions.
You might have a look at 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup.  There are known 
problems with running the configuration script on Windows.  They have 
nothing to do with LyX per se.  Part of the problem is that the native 
Windows port ships with older versions of some Unix utilities (sed being 
a prime culprit) that don't work as expected with the configuration 
scripts.  I also discovered that my installation was missing a couple of 
files that ship with LyX.  Most if not all of this is documented on the 
Wiki.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: bug in reconfigure (windows port)

2004-10-15 Thread Paul A. Rubin
Juan Luis Chulilla wrote:
I use lyx port in a windows xp. After some itchy corrections (like
learn the precise version of imagemagick that works, avoiding spaces
in directory names and the like), I found an almost terminal problem.
Lyx worked QUITE fine -- we built a monography just with it -- but I
was not able to add any more latex class to lyx using the unix
procedure (add class to tetex, add .layout file to lyx, Edit/
Reconfigure. Finally today I have found that executing configure.bat
and then configure in a console of windows, lyx reconfigure its latex
entry (which has let me use beamer, i.e.)
Do you people know if it is really a bug for windows port? I mean, I'm
starting to be a lyx apostle, but if, hum, a luser has to do a lot of
tricks like the one I mentioned above, it sounds to be hard to achieve
conversions.
You might have a look at 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup.  There are known 
problems with running the configuration script on Windows.  They have 
nothing to do with LyX per se.  Part of the problem is that the native 
Windows port ships with older versions of some Unix utilities (sed being 
a prime culprit) that don't work as expected with the configuration 
scripts.  I also discovered that my installation was missing a couple of 
files that ship with LyX.  Most if not all of this is documented on the 
Wiki.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: bug in reconfigure (windows port)

2004-10-15 Thread Paul A. Rubin
Juan Luis Chulilla wrote:
I use lyx port in a windows xp. After some itchy corrections (like
learn the precise version of imagemagick that works, avoiding spaces
in directory names and the like), I found an almost terminal problem.
Lyx worked QUITE fine -- we built a monography just with it -- but I
was not able to add any more latex class to lyx using the unix
procedure (add class to tetex, add .layout file to lyx, Edit/
Reconfigure. Finally today I have found that executing configure.bat
and then configure in a console of windows, lyx reconfigure its latex
entry (which has let me use beamer, i.e.)
Do you people know if it is really a bug for windows port? I mean, I'm
starting to be a lyx apostle, but if, hum, a luser has to do a lot of
tricks like the one I mentioned above, it sounds to be hard to achieve
conversions.
You might have a look at 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup.  There are known 
problems with running the configuration script on Windows.  They have 
nothing to do with LyX per se.  Part of the problem is that the native 
Windows port ships with older versions of some Unix utilities (sed being 
a prime culprit) that don't work as expected with the configuration 
scripts.  I also discovered that my installation was missing a couple of 
files that ship with LyX.  Most if not all of this is documented on the 
Wiki.

-- Paul
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



bug in reconfigure (windows port)

2004-10-14 Thread Juan Luis Chulilla
I use lyx port in a windows xp. After some itchy corrections (like
learn the precise version of imagemagick that works, avoiding spaces
in directory names and the like), I found an almost terminal problem.
Lyx worked QUITE fine -- we built a monography just with it -- but I
was not able to add any more latex class to lyx using the unix
procedure (add class to tetex, add .layout file to lyx, Edit/
Reconfigure. Finally today I have found that executing configure.bat
and then configure in a console of windows, lyx reconfigure its latex
entry (which has let me use beamer, i.e.)

Do you people know if it is really a bug for windows port? I mean, I'm
starting to be a lyx apostle, but if, hum, a luser has to do a lot of
tricks like the one I mentioned above, it sounds to be hard to achieve
conversions.


Re: bug in reconfigure (windows port)

2004-10-14 Thread David A. Case
On Fri, Oct 15, 2004, Juan Luis Chulilla wrote:

 I was not able to add any more latex class to lyx using the unix
 procedure (add class to tetex, add .layout file to lyx, Edit/
 Reconfigure. Finally today I have found that executing configure.bat
 and then configure in a console of windows, lyx reconfigure its latex
 entry (which has let me use beamer, i.e.)

For what it is worth, I didn't have any trouble adding the beamer class to LyX
for Windows, just using the usual Edit/Reconfigure path.  Study carefully what
shows up in the console when you do the Edit/Reconfigure ... that usually
signals what is going wrong, if there are errors.  Without knowing more about
what happened when you tried things the unix way, it's hard to be more
precise

dac



bug in reconfigure (windows port)

2004-10-14 Thread Juan Luis Chulilla
I use lyx port in a windows xp. After some itchy corrections (like
learn the precise version of imagemagick that works, avoiding spaces
in directory names and the like), I found an almost terminal problem.
Lyx worked QUITE fine -- we built a monography just with it -- but I
was not able to add any more latex class to lyx using the unix
procedure (add class to tetex, add .layout file to lyx, Edit/
Reconfigure. Finally today I have found that executing configure.bat
and then configure in a console of windows, lyx reconfigure its latex
entry (which has let me use beamer, i.e.)

Do you people know if it is really a bug for windows port? I mean, I'm
starting to be a lyx apostle, but if, hum, a luser has to do a lot of
tricks like the one I mentioned above, it sounds to be hard to achieve
conversions.


Re: bug in reconfigure (windows port)

2004-10-14 Thread David A. Case
On Fri, Oct 15, 2004, Juan Luis Chulilla wrote:

 I was not able to add any more latex class to lyx using the unix
 procedure (add class to tetex, add .layout file to lyx, Edit/
 Reconfigure. Finally today I have found that executing configure.bat
 and then configure in a console of windows, lyx reconfigure its latex
 entry (which has let me use beamer, i.e.)

For what it is worth, I didn't have any trouble adding the beamer class to LyX
for Windows, just using the usual Edit/Reconfigure path.  Study carefully what
shows up in the console when you do the Edit/Reconfigure ... that usually
signals what is going wrong, if there are errors.  Without knowing more about
what happened when you tried things the unix way, it's hard to be more
precise

dac



bug in reconfigure (windows port)

2004-10-14 Thread Juan Luis Chulilla
I use lyx port in a windows xp. After some itchy corrections (like
learn the precise version of imagemagick that works, avoiding spaces
in directory names and the like), I found an almost terminal problem.
Lyx worked QUITE fine -- we built a monography just with it -- but I
was not able to add any more latex class to lyx using the unix
procedure (add class to tetex, add .layout file to lyx, Edit/
Reconfigure. Finally today I have found that executing configure.bat
and then configure in a console of windows, lyx reconfigure its latex
entry (which has let me use beamer, i.e.)

Do you people know if it is really a bug for windows port? I mean, I'm
starting to be a lyx apostle, but if, hum, a luser has to do a lot of
tricks like the one I mentioned above, it sounds to be hard to achieve
conversions.


Re: bug in reconfigure (windows port)

2004-10-14 Thread David A. Case
On Fri, Oct 15, 2004, Juan Luis Chulilla wrote:

> I was not able to add any more latex class to lyx using the unix
> procedure (add class to tetex, add .layout file to lyx, Edit/
> Reconfigure. Finally today I have found that executing configure.bat
> and then configure in a console of windows, lyx reconfigure its latex
> entry (which has let me use beamer, i.e.)

For what it is worth, I didn't have any trouble adding the beamer class to LyX
for Windows, just using the usual Edit/Reconfigure path.  Study carefully what
shows up in the console when you do the Edit/Reconfigure ... that usually
signals what is going wrong, if there are errors.  Without knowing more about
what happened when you tried things the "unix" way, it's hard to be more
precise

dac



Lyx installed on windows: can not reconfigure

2004-09-14 Thread Jianwei Huang
Dear All:

I have just installed the windows version of Lyx on my
windows XP laptop. The installation files are
downloaded from
http://www.home.zonnet.nl/rareitsma/lyx/ (version
1.3.3). I also have MiKTex installed on my machine.

After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.

I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?

Thanks a lot!

Best,

Jianwei 

=



Jianwei HUANG

Ph.D. Student

Electrical  Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Rob S
Have a look here:
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
Midway down this page is a section which should answer your questions.
Plus there are many other things listed on this page which you might 
find of use.

Rob S
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?


		
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
 




Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Uwe Stöhr
Jianwei Huang wrote:
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
The path should be
D:\Program\MiKTex\miktex\bin
regards Uwe


Lyx installed on windows: can not reconfigure

2004-09-14 Thread Jianwei Huang
Dear All:

I have just installed the windows version of Lyx on my
windows XP laptop. The installation files are
downloaded from
http://www.home.zonnet.nl/rareitsma/lyx/ (version
1.3.3). I also have MiKTex installed on my machine.

After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.

I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?

Thanks a lot!

Best,

Jianwei 

=



Jianwei HUANG

Ph.D. Student

Electrical  Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Rob S
Have a look here:
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
Midway down this page is a section which should answer your questions.
Plus there are many other things listed on this page which you might 
find of use.

Rob S
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?


		
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
 




Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Uwe Stöhr
Jianwei Huang wrote:
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit-Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs The system cannot find the path specified. I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
The path should be
D:\Program\MiKTex\miktex\bin
regards Uwe


Lyx installed on windows: can not reconfigure

2004-09-14 Thread Jianwei Huang
Dear All:

I have just installed the windows version of Lyx on my
windows XP laptop. The installation files are
downloaded from
http://www.home.zonnet.nl/rareitsma/lyx/ (version
1.3.3). I also have MiKTex installed on my machine.

After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit->Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs "The system cannot find the path specified". I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.

I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?

Thanks a lot!

Best,

Jianwei 

=



Jianwei HUANG

Ph.D. Student

Electrical & Computer Engineering

Northwestern University

Evanston, IL

U.S.A

www.ece.northwestern.edu/~jianweih

 




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Rob S
Have a look here:
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup
Midway down this page is a section which should answer your questions.
Plus there are many other things listed on this page which you might 
find of use.

Rob S
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit->Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs "The system cannot find the path specified". I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
I am not sure what the reconfiguration function is
looking for. Anyone can help me with this?


		
__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
 




Re: Lyx installed on windows: can not reconfigure

2004-09-14 Thread Uwe Stöhr
Jianwei Huang wrote:
After installed of Lyx (under D:\Program\lyx), I
opened lyx and try to reconfigure it
(Edit->Reconfigure). In the DOS window, it lists the
paths name in my windows variable, and finally it
outputs "The system cannot find the path specified". I
notice that D:\Program\MiKTex\Main\tex\latex is
already in the PATH.
The path should be
D:\Program\MiKTex\miktex\bin
regards Uwe


Re: Edit-reconfigure error given after checking for each font

2004-05-11 Thread Omair-Inam Abdul-Matin
Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Hi,

I'm using Lyx 1.3.3 on Windows XP.  Whenever I configure Lyx through 
the Edit-reconfigure menu, at the final portion of the configuration:

checking for TeX fonts
checking [for cmex10]... yes (pfb)
checking [for cmmi10]... yes (pfb)
checking [for cmr10]... yes (pfb)
checking [for cmsy10]... yes (pfb)
checking [for eufm10]... yes (pfb)
checking [for msam10]... yes (pfb)
checking [for msbm10]... yes (pfb)
checking [for wasy10]... yes (pfb)
I get an error window after each font. This did not happen with 
version 1.3.2.  Does anyone know why the error windows appear and 
what could be done to stop them from appearing.

Omair


What does the error window say?

-- Paul


ln.exe has encountered a problem and needs to close. We are sorry for 
the inconvenience.

I've attached a picture of what I received when I clicked on the To 
see what data this error report contains click here link. (error.png)

Omair



Hmm.  Every time it finds a font, the configure script (which was 
written for Unix-type systems) deletes the font file from the xfonts 
directory and attempts to replace it with a symbolic link in the 
xfonts directory pointing to the font file where the configure script 
found it.  The ln.exe program is a Unix utility used to create the 
symbolic link.  In Windows, the equivalent of a symbolic link is a 
shortcut.  The line in the configure script creating the symbolic link 
is designed to fail silently (error output is being sent to the null 
device).

Now Windows itself does not come with a ln.exe utility, and so I assume 
that on a typical Windows system the command to create the link will 
fail every time (by virtue of calling a nonexistent program), and you 
would never know this, as the error messages would be diverted into a 
black hole.  In your case, however, you seem to have a program named 
ln.exe installed, and it is crashing each time the script invokes it.  I 
can't tell from your output if this is a DOS/Windows port of the ln 
utility or not.  Cygwin, for instance, contains such a port.  On the 
other hand, the error message could be from a totally unrelated program 
coincidentally named ln.exe.

Given that Windows does not normally have an ln utility, and the native 
LyX port from Ruurd Reitsma does not contain one, I *think* you can get 
by without it.  Accordingly, you might try the following experiment:

1.  Locate the file named configure (with no extension -- *not* 
configure.bat, for instance) and make a backup copy.

2.  Open configure in a plain text editor (such as Notepad or Wordpad -- 
*not* MS Word).

3.  Near the bottom of the file (around line # 1498), locate and delete 
the following line: ln -s $filepath xfonts 2/dev/null.

4.  Save the file (if you were forced to use a word processor such as 
Word, be sure to save it as a plain text file, with no extension).

5.  Run configure and see if it works (meaning both you get rid of the 
error messages and LyX works correctly afterward ;-).

-- Paul

** 

Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
** 

Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE

Hi Paul,

Thanks for your help.  The offending program was Mingw which I had 
installed on my pc.  Apparently my PATH variable was pointed to the 
Mingw directory before the cygwin directory.  So I did first what you 
told me.  ln stopped complaining, but diff started crashing.  So I then 
modified my PATH variable to point to the cygwin directory before the 
MINGW.  Before my PATH was
c:\msys\1.0\bin;c:\MinGW\bin;%ECLIPSE_HOME%;%MAVEN_HOME%\bin;%ANT_HOME%\BIN;c:\program 
files\imagemagick-5.5.7-q16;C:\j2sdk1.4.2_03\bin;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Emacs 
21.1.1\bin;C:\Vim 5.3;C:\Program Files\Common Files\Adaptec 
Shared\System;C:\Program Files\SQLLIB\BIN;C:\Program 
Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program 
Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;C:\PROGRA~1\ULTRAE~1;C:\Program 
Files\Adobe\Acrobat 
5.0\Acrobat;c:\cygwin\bin;C:\cygwin\usr\local\bin\netpbm;C:\Program 
Files\Subversion\bin;C:\Program 
Files\Subversion\bin;C:\tth_exe;c:\tex4ht\bin\win32

afterwards it became
.;c:\MinGW\bin;%ECLIPSE_HOME

Re: Edit-reconfigure error given after checking for each font

2004-05-11 Thread Omair-Inam Abdul-Matin
Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Hi,

I'm using Lyx 1.3.3 on Windows XP.  Whenever I configure Lyx through 
the Edit-reconfigure menu, at the final portion of the configuration:

checking for TeX fonts
checking [for cmex10]... yes (pfb)
checking [for cmmi10]... yes (pfb)
checking [for cmr10]... yes (pfb)
checking [for cmsy10]... yes (pfb)
checking [for eufm10]... yes (pfb)
checking [for msam10]... yes (pfb)
checking [for msbm10]... yes (pfb)
checking [for wasy10]... yes (pfb)
I get an error window after each font. This did not happen with 
version 1.3.2.  Does anyone know why the error windows appear and 
what could be done to stop them from appearing.

Omair


What does the error window say?

-- Paul


ln.exe has encountered a problem and needs to close. We are sorry for 
the inconvenience.

I've attached a picture of what I received when I clicked on the To 
see what data this error report contains click here link. (error.png)

Omair



Hmm.  Every time it finds a font, the configure script (which was 
written for Unix-type systems) deletes the font file from the xfonts 
directory and attempts to replace it with a symbolic link in the 
xfonts directory pointing to the font file where the configure script 
found it.  The ln.exe program is a Unix utility used to create the 
symbolic link.  In Windows, the equivalent of a symbolic link is a 
shortcut.  The line in the configure script creating the symbolic link 
is designed to fail silently (error output is being sent to the null 
device).

Now Windows itself does not come with a ln.exe utility, and so I assume 
that on a typical Windows system the command to create the link will 
fail every time (by virtue of calling a nonexistent program), and you 
would never know this, as the error messages would be diverted into a 
black hole.  In your case, however, you seem to have a program named 
ln.exe installed, and it is crashing each time the script invokes it.  I 
can't tell from your output if this is a DOS/Windows port of the ln 
utility or not.  Cygwin, for instance, contains such a port.  On the 
other hand, the error message could be from a totally unrelated program 
coincidentally named ln.exe.

Given that Windows does not normally have an ln utility, and the native 
LyX port from Ruurd Reitsma does not contain one, I *think* you can get 
by without it.  Accordingly, you might try the following experiment:

1.  Locate the file named configure (with no extension -- *not* 
configure.bat, for instance) and make a backup copy.

2.  Open configure in a plain text editor (such as Notepad or Wordpad -- 
*not* MS Word).

3.  Near the bottom of the file (around line # 1498), locate and delete 
the following line: ln -s $filepath xfonts 2/dev/null.

4.  Save the file (if you were forced to use a word processor such as 
Word, be sure to save it as a plain text file, with no extension).

5.  Run configure and see if it works (meaning both you get rid of the 
error messages and LyX works correctly afterward ;-).

-- Paul

** 

Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
** 

Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE

Hi Paul,

Thanks for your help.  The offending program was Mingw which I had 
installed on my pc.  Apparently my PATH variable was pointed to the 
Mingw directory before the cygwin directory.  So I did first what you 
told me.  ln stopped complaining, but diff started crashing.  So I then 
modified my PATH variable to point to the cygwin directory before the 
MINGW.  Before my PATH was
c:\msys\1.0\bin;c:\MinGW\bin;%ECLIPSE_HOME%;%MAVEN_HOME%\bin;%ANT_HOME%\BIN;c:\program 
files\imagemagick-5.5.7-q16;C:\j2sdk1.4.2_03\bin;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Emacs 
21.1.1\bin;C:\Vim 5.3;C:\Program Files\Common Files\Adaptec 
Shared\System;C:\Program Files\SQLLIB\BIN;C:\Program 
Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program 
Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;C:\PROGRA~1\ULTRAE~1;C:\Program 
Files\Adobe\Acrobat 
5.0\Acrobat;c:\cygwin\bin;C:\cygwin\usr\local\bin\netpbm;C:\Program 
Files\Subversion\bin;C:\Program 
Files\Subversion\bin;C:\tth_exe;c:\tex4ht\bin\win32

afterwards it became
.;c:\MinGW\bin;%ECLIPSE_HOME

Re: Edit->reconfigure error given after checking for each font

2004-05-11 Thread Omair-Inam Abdul-Matin
Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Paul A. Rubin wrote:

Omair-Inam Abdul-Matin wrote:

Hi,

I'm using Lyx 1.3.3 on Windows XP.  Whenever I configure Lyx through 
the Edit->reconfigure menu, at the final portion of the configuration:

checking for TeX fonts
checking [for cmex10]... yes (pfb)
checking [for cmmi10]... yes (pfb)
checking [for cmr10]... yes (pfb)
checking [for cmsy10]... yes (pfb)
checking [for eufm10]... yes (pfb)
checking [for msam10]... yes (pfb)
checking [for msbm10]... yes (pfb)
checking [for wasy10]... yes (pfb)
I get an error window after each font. This did not happen with 
version 1.3.2.  Does anyone know why the error windows appear and 
what could be done to stop them from appearing.

Omair


What does the error window say?

-- Paul


ln.exe has encountered a problem and needs to close. We are sorry for 
the inconvenience.

I've attached a picture of what I received when I clicked on the "To 
see what data this error report contains click here" link. (error.png)

Omair



Hmm.  Every time it finds a font, the configure script (which was 
written for Unix-type systems) deletes the font file from the xfonts 
directory and attempts to replace it with a "symbolic link" in the 
xfonts directory pointing to the font file where the configure script 
found it.  The "ln.exe" program is a Unix utility used to create the 
symbolic link.  In Windows, the equivalent of a symbolic link is a 
shortcut.  The line in the configure script creating the symbolic link 
is designed to fail silently (error output is being sent to the "null 
device").

Now Windows itself does not come with a ln.exe utility, and so I assume 
that on a typical Windows system the command to create the link will 
fail every time (by virtue of calling a nonexistent program), and you 
would never know this, as the error messages would be diverted into a 
black hole.  In your case, however, you seem to have a program named 
ln.exe installed, and it is crashing each time the script invokes it.  I 
can't tell from your output if this is a DOS/Windows port of the ln 
utility or not.  Cygwin, for instance, contains such a port.  On the 
other hand, the error message could be from a totally unrelated program 
coincidentally named "ln.exe".

Given that Windows does not normally have an ln utility, and the native 
LyX port from Ruurd Reitsma does not contain one, I *think* you can get 
by without it.  Accordingly, you might try the following experiment:

1.  Locate the file named "configure" (with no extension -- *not* 
"configure.bat", for instance) and make a backup copy.

2.  Open configure in a plain text editor (such as Notepad or Wordpad -- 
*not* MS Word).

3.  Near the bottom of the file (around line # 1498), locate and delete 
the following line: ln -s $filepath xfonts 2>/dev/null.

4.  Save the file (if you were forced to use a word processor such as 
Word, be sure to save it as a plain text file, with no extension).

5.  Run configure and see if it works (meaning both you get rid of the 
error messages and LyX works correctly afterward ;-).

-- Paul

** 

Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
** 

Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE

Hi Paul,

Thanks for your help.  The offending program was Mingw which I had 
installed on my pc.  Apparently my PATH variable was pointed to the 
Mingw directory before the cygwin directory.  So I did first what you 
told me.  ln stopped complaining, but diff started crashing.  So I then 
modified my PATH variable to point to the cygwin directory before the 
MINGW.  Before my PATH was
c:\msys\1.0\bin;c:\MinGW\bin;%ECLIPSE_HOME%;%MAVEN_HOME%\bin;%ANT_HOME%\BIN;c:\program 
files\imagemagick-5.5.7-q16;C:\j2sdk1.4.2_03\bin;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Emacs 
21.1.1\bin;C:\Vim 5.3;C:\Program Files\Common Files\Adaptec 
Shared\System;C:\Program Files\SQLLIB\BIN;C:\Program 
Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program 
Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;C:\PROGRA~1\ULTRAE~1;"C:\Program 
Files\Adobe\Acrobat 
5.0\Acrobat";c:\cygwin\bin;C:\cygwin\usr\local\bin\netpbm;"C:\Program 
Files\Subversion\bin";

  1   2   >