Re: Stop command during compilation

2024-05-05 Thread Scott Kostyshak
On Sun, May 05, 2024 at 03:25:42PM GMT, Richard Kimberly Heck wrote:

> Apparently, you did it, Scott!

Ha! I have a strong memory of really wanting to do it, but I don't
remember actually doing it :)

Discussion was here:

  
https://www.mail-archive.com/search?l=mid&q=20221120230056.xbznerxk4ui4aql4%40gary
> 
> For what it's worth, the previous timeout was 3 minutes. Note that this is
> per-process, so running LaTeX multiple times could take more than 3 minutes,
> and it would not trigger this message.

Note that the main issue where this comes up is with knitr or something
similar (which runs an R program before getting to LaTeX compilation).

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Stop command during compilation

2024-05-05 Thread Rich Shepard

On Sun, 5 May 2024, Richard Kimberly Heck wrote:

I have not either. It's a very long timeout. But if you have lots of images 
that need converting, etc, or programs that have to be compiled, then you 
could see it.


Riki,

That makes sense.

Thanks for explaining.

Regards,

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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 13:36, Richard Kimberly Heck wrote:

On 5/5/24 11:25, Scott Kostyshak wrote:
On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users 
wrote:

Hi,
  the compilation of lyx files is repeatedly interrupted (apparently at
random). A window "LyX: Stop command?" appears. Then you can either
stop or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.
  Please can you help me?

I believe it (should be) at a deterministic time, not random.

And I don't think compilation is actually interrupted, it just feels 
like it is. That is, during the dialog, I believe the code is still 
running.


It is. Which is why, if you leave your computer, you can find this 
dialog AND a completed compilation.



All that said, I personally would be in favor of removing the dialog, 
now that the user can cancel the process at anytime on their own 
(this didn't use to be possible). I think we had a discussion about 
that but I forgot how others felt about it.


I think we decided it was worth having both, though I am not sure. The 
manual cancellation thing doesn't always work. What might be nice 
would be to make the timeout a preference, and then setting it at 0 
would disable it. Obviously too late to do that for 2.4.0.


Actually, on closer inspection, it turns out we did disable this for 2.4.0:

int timeout_ms()
{
    // Starting in 2.4.0, we allow the user to cancel the background
    // process at any time with LFUN_EXPORT_CANCEL, so the timeout dialog
    // is no longer useful.
    // "-1" effectively disables the timeout (it is a special case in
    // SystemcallPrivate::waitWhile()).
    return -1;
}

Apparently, you did it, Scott!

For what it's worth, the previous timeout was 3 minutes. Note that this 
is per-process, so running LaTeX multiple times could take more than 3 
minutes, and it would not trigger this message.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 14:31, Rich Shepard wrote:

On Sun, 5 May 2024, Richard Kimberly Heck wrote:

There's a timeout for the compilation process in case something goes 
wrong

and it enters an infinite loop. It's a pretty generous time, though I
can't remember what it is, or even where it's set.


Riki,

Well, okay. Guess I never encountered that situation. I've had 
non-printable

characters in bibliographic entries that I didn't catch when copying them
into JabRef or issues with missing TexLive modules, but nothing to ask me
whether I want pdflatex to continue.


I have not either. It's a very long timeout. But if you have lots of 
images that need converting, etc, or programs that have to be compiled, 
then you could see it.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Rich Shepard

On Sun, 5 May 2024, Richard Kimberly Heck wrote:


There's a timeout for the compilation process in case something goes wrong
and it enters an infinite loop. It's a pretty generous time, though I
can't remember what it is, or even where it's set.


Riki,

Well, okay. Guess I never encountered that situation. I've had non-printable
characters in bibliographic entries that I didn't catch when copying them
into JabRef or issues with missing TexLive modules, but nothing to ask me
whether I want pdflatex to continue.

Thanks,

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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 13:42, Rich Shepard wrote:

On Sun, 5 May 2024, Richard Kimberly Heck wrote:


the compilation of lyx files is repeatedly interrupted (apparently at
random). A window "LyX: Stop command?" appears. Then you can either 
stop

or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.


It is. Which is why, if you leave your computer, you can find this 
dialog AND a completed compilation.


Riki,

I've never seen this happen. I run only linux and I see the build 
process in
the status bar at the bottom of the LyX window. The process halts only 
when

there's an error somewhere.

A curious mind wants to know,


There's a timeout for the compilation process in case something goes 
wrong and it enters an infinite loop. It's a pretty generous time, 
though I can't remember what it is, or even where it's set.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Rich Shepard

On Sun, 5 May 2024, Richard Kimberly Heck wrote:


the compilation of lyx files is repeatedly interrupted (apparently at
random). A window "LyX: Stop command?" appears. Then you can either stop
or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.


It is. Which is why, if you leave your computer, you can find this dialog AND 
a completed compilation.


Riki,

I've never seen this happen. I run only linux and I see the build process in
the status bar at the bottom of the LyX window. The process halts only when
there's an error somewhere.

A curious mind wants to know,

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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 11:25, Scott Kostyshak wrote:

On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote:

Hi,
  
the compilation of lyx files is repeatedly interrupted (apparently at

random). A window "LyX: Stop command?" appears. Then you can either
stop or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.
  
Please can you help me?

I believe it (should be) at a deterministic time, not random.

And I don't think compilation is actually interrupted, it just feels like it 
is. That is, during the dialog, I believe the code is still running.


It is. Which is why, if you leave your computer, you can find this 
dialog AND a completed compilation.




All that said, I personally would be in favor of removing the dialog, now that 
the user can cancel the process at anytime on their own (this didn't use to be 
possible). I think we had a discussion about that but I forgot how others felt 
about it.


I think we decided it was worth having both, though I am not sure. The 
manual cancellation thing doesn't always work. What might be nice would 
be to make the timeout a preference, and then setting it at 0 would 
disable it. Obviously too late to do that for 2.4.0.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Scott Kostyshak
On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote:
> Hi,
>  
> the compilation of lyx files is repeatedly interrupted (apparently at
> random). A window "LyX: Stop command?" appears. Then you can either
> stop or continue compiling. It is not clear to me when and why this
> interruption occurs. Its appearance cannot be controlled by me.
>  
> Please can you help me?

I believe it (should be) at a deterministic time, not random.

And I don't think compilation is actually interrupted, it just feels like it 
is. That is, during the dialog, I believe the code is still running.

All that said, I personally would be in favor of removing the dialog, now that 
the user can cancel the process at anytime on their own (this didn't use to be 
possible). I think we had a discussion about that but I forgot how others felt 
about it.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Stop command during compilation

2024-05-05 Thread Andreas Plihal via lyx-users
Hi,

 

the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me.

 

Please can you help me?

 

Andreas

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


Re: Stop pdflatex

2016-06-13 Thread Richard Heck
On 06/13/2016 09:26 AM, Jürgen Lange wrote:
> Hello,
> how can I stop the compiler process (pdflatex etc.) in Lyx? TeXworks
> has a start/stop button for the compilation: "Process interrupted by
> user". I want to avoid an appcrash of the compiler caused by faulty
> code (hanging process).

http://www.lyx.org/trac/ticket/7900

Richard



Stop pdflatex

2016-06-13 Thread Jürgen Lange

Hello,
how can I stop the compiler process (pdflatex etc.) in Lyx? TeXworks has a  
start/stop button for the compilation: "Process interrupted by user". I  
want to avoid an appcrash of the compiler caused by faulty code (hanging  
process).


Regards
Jürgen


Re: FW: help/cannot open after emergency stop...

2014-05-27 Thread Pavel Sanda
Rudi Gaelzer wrote:
> This is happening a lot for me, since version 2.1.0. 
> In my case, both the original and the backup files are complete, whereas the 
> emergency lacks 

Is there any chance you could compile lyx yourself and run it under debugger 
and send us backtrace when this happens again?
This would be REALLY appreciated, I can't imagine worse bug and we have no idea 
at the moment what's going on.

Pavel


Re: FW: help/cannot open after emergency stop...

2014-05-22 Thread Richard Heck

On 05/21/2014 03:52 PM, Rudi Gaelzer wrote:
This is happening a lot for me, since version 2.1.0. In my case, both 
the original and the backup files are complete, whereas the emergency 
lacks

\end_body
\end_document and ends with
\begin_inset Tabular
I noticed that this seems to happen after I spent a long time working 
on the doc without saving, i. e., when the autosave kicks in. If I 
save the doc a lot, the crash don't happen. I'd suggest that you 
manually save your work and disable the autobackup in Tools -> 
Preferences -> Document Handling until the fix is available. 


Can you confirm that this really does help? I am not sure we even know 
that at this point


Richard



Re: FW: help/cannot open after emergency stop...

2014-05-21 Thread Jürgen Spitzmüller
2014-05-21 21:52 GMT+02:00 Rudi Gaelzer:

> This is happening a lot for me, since version 2.1.0.
> In my case, both the original and the backup files are complete, whereas
> the emergency lacks
>

Do you have input completion enabled? If so, does it help if you disable it?
If you could get a backtrace, it would help us a lot.

Jürgen


Re: FW: help/cannot open after emergency stop...

2014-05-21 Thread Murat Yildizoglu
That looks similar  to the problem I have signaled some time ago and more
recently.

Le mercredi 21 mai 2014, Rudi Gaelzer  a écrit :

> On Friday 16 May 2014 09:41:27 Jürgen Spitzmüller wrote:
> > 2014-05-16 8:34 GMT+02:00 Wu, Yan:
> >
> > > Today when I am writing with LyX. Suddenly the document crushed, with
> one
> > > message says: emergency stop...I could not tell exactly.
> > >
> > > Then the file closed but I could not open it again later. It is really
> a
> > > disaster for me if I lost the document.
> > >
> > > I write the email to ask any help I can get from you. Thank you very
> much
> > > in advance. Looking forward to your response.
> > >
> >
> > First, check if you have a backup in the backup directory set in Tools >
> > Preferences > Path. If so (hopefully), you will find a backup of the file
> > there.
> >
> > Next, open the LyX file with a text editor. If it ends with
> >
> > \begin_inset Tabular
> >
> > instead of
> >
> > \end_body
> > \end_document
> >
> > then you have probably faced this bug
> >
> > http://www.lyx.org/trac/ticket/9049
> >
> > Jürgen
> >
> >
> > >
> > > Best wishes,
> > >
> > > Yan
> > >
> > >
> > >
> > >
> > >
> > >
>
> This is happening a lot for me, since version 2.1.0.
> In my case, both the original and the backup files are complete, whereas
> the emergency lacks
>
> \end_body
> \end_document
>
> and ends with
>
> \begin_inset Tabular
>
> I noticed that this seems to happen after I spent a long time working on
> the doc without saving, i. e., when the autosave kicks in.  If I save the
> doc a lot, the crash don't happen.
>
> I'd suggest that you manually save your work and disable the autobackup in
> Tools -> Preferences -> Document Handling until the fix is available.
> --
> Rudi Gaelzer
> Institute of Physics
> Federal University of Rio Grande do Sul
> BRAZIL
> Registered linux user # 153741
>


-- 


*Prof. Murat Yildizoglu*

Note: Please use the following address as such

UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: FW: help/cannot open after emergency stop...

2014-05-21 Thread Rudi Gaelzer
On Friday 16 May 2014 09:41:27 Jürgen Spitzmüller wrote:
> 2014-05-16 8:34 GMT+02:00 Wu, Yan:
> 
> > Today when I am writing with LyX. Suddenly the document crushed, with one
> > message says: emergency stop...I could not tell exactly.
> >
> > Then the file closed but I could not open it again later. It is really a
> > disaster for me if I lost the document.
> >
> > I write the email to ask any help I can get from you. Thank you very much
> > in advance. Looking forward to your response.
> >
> 
> First, check if you have a backup in the backup directory set in Tools >
> Preferences > Path. If so (hopefully), you will find a backup of the file
> there.
> 
> Next, open the LyX file with a text editor. If it ends with
> 
> \begin_inset Tabular
> 
> instead of
> 
> \end_body
> \end_document
> 
> then you have probably faced this bug
> 
> http://www.lyx.org/trac/ticket/9049
> 
> Jürgen
> 
> 
> >
> > Best wishes,
> >
> > Yan
> >
> >
> >
> >
> >
> >

This is happening a lot for me, since version 2.1.0. 
In my case, both the original and the backup files are complete, whereas the 
emergency lacks 

\end_body
\end_document

and ends with 

\begin_inset Tabular

I noticed that this seems to happen after I spent a long time working on the 
doc without saving, i. e., when the autosave kicks in.  If I save the doc a 
lot, the crash don't happen.

I'd suggest that you manually save your work and disable the autobackup in 
Tools -> Preferences -> Document Handling until the fix is available.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: FW: help/cannot open after emergency stop...

2014-05-16 Thread Liviu Andronic
On Fri, May 16, 2014 at 11:45 AM, Jürgen Spitzmüller  wrote:
> 2014-05-16 9:41 GMT+02:00 Jürgen Spitzmüller:
>
>> 2014-05-16 8:34 GMT+02:00 Wu, Yan:
>>
>>> Today when I am writing with LyX. Suddenly the document crushed, with one
>>> message says: emergency stop...I could not tell exactly.
>>>
>>> Then the file closed but I could not open it again later. It is really a
>>> disaster for me if I lost the document.
>>>
>>> I write the email to ask any help I can get from you. Thank you very much
>>> in advance. Looking forward to your response.
>>
>>
>> First, check if you have a backup in the backup directory set in Tools >
>> Preferences > Path. If so (hopefully), you will find a backup of the file
>> there.
>>
>> Next, open the LyX file with a text editor. If it ends with
>>
>> \begin_inset Tabular
>>
>> instead of
>>
>> \end_body
>> \end_document
>>
>> then you have probably faced this bug
>>
>> http://www.lyx.org/trac/ticket/9049
>
>
> Just for the record: It turned out it was this bug, but fortunately, we
> managed to restore the file completely. Yan sent me the emergency files and
> backups (the one embraced in # and the one ending with lyx~), and it turned
> out both were complete, and the latter was the most actual one.
>
> Here is an advice, in case you are unlucky enough to get hit by this:
>
> * Check if the lyx file itself is complete (ends with \end_document)
> * If not, check if either the emergency file (#...#) or the backup file
> (*.lyx~) are complete
> * If only one is, rename it to the name of the original file.
> * If both are (as in Yan's case), give them different names and check the
> differences in LyX via Tools > Compare
>
And more generally, always use an automatic backup and syncing service
such as SpiderOak ( https://spideroak.com/ ). SpiderOak keeps
indefinite historic versions of backed up files (unlike Dropbox who
keeps the historic versions for 30 days only in the free version), and
allows users to retrieve them in such corruption cases.

Regards,
Liviu


> Jürgen



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


Re: FW: help/cannot open after emergency stop...

2014-05-16 Thread Jürgen Spitzmüller
2014-05-16 12:17 GMT+02:00 aparsloe:

>  Perhaps it is time to have a default location for a backup directory
> (beside one's personal LyX directory?), and for backing up files to be
> turned on "out of the box". Not everyone scrutinises all the options under
> Tools > Preferences.  I suspect there are plenty of users who don't know
> about backups and how easy it is to create them automatically. People can
> always turn this off or change the location if they have other preferences.
>

I agree, but this is a packager's task and OS specific (we have lyxrc.dist
for this purpose).

Jürgen


Re: FW: help/cannot open after emergency stop...

2014-05-16 Thread aparsloe


On 16/05/2014 9:45 p.m., Jürgen Spitzmüller wrote:

2014-05-16 9:41 GMT+02:00 Jürgen Spitzmüller:

2014-05-16 8:34 GMT+02:00 Wu, Yan:

Today when I am writing with LyX. Suddenly the document
crushed, with one message says: emergency stop...I could not
tell exactly.

Then the file closed but I could not open it again later. It
is really a disaster for me if I lost the document.

I write the email to ask any help I can get from you. Thank
you very much in advance. Looking forward to your response.


First, check if you have a backup in the backup directory set in
Tools > Preferences > Path. If so (hopefully), you will find a
backup of the file there.

Next, open the LyX file with a text editor. If it ends with

\begin_inset Tabular

instead of

\end_body
\end_document

then you have probably faced this bug

http://www.lyx.org/trac/ticket/9049


Just for the record: It turned out it was this bug, but fortunately, 
we managed to restore the file completely. Yan sent me the emergency 
files and backups (the one embraced in # and the one ending with 
lyx~), and it turned out both were complete, and the latter was the 
most actual one.


Here is an advice, in case you are unlucky enough to get hit by this:

* Check if the lyx file itself is complete (ends with \end_document)
* If not, check if either the emergency file (#...#) or the backup 
file (*.lyx~) are complete

* If only one is, rename it to the name of the original file.
* If both are (as in Yan's case), give them different names and check 
the differences in LyX via Tools > Compare


Jürgen
Perhaps it is time to have a default location for a backup directory 
(beside one's personal LyX directory?), and for backing up files to be 
turned on "out of the box". Not everyone scrutinises all the options 
under Tools > Preferences.  I suspect there are plenty of users who 
don't know about backups and how easy it is to create them 
automatically. People can always turn this off or change the location if 
they have other preferences.


Andrew

PS I've named my backup directory Lymbo.




Re: FW: help/cannot open after emergency stop...

2014-05-16 Thread Jürgen Spitzmüller
2014-05-16 9:41 GMT+02:00 Jürgen Spitzmüller:

> 2014-05-16 8:34 GMT+02:00 Wu, Yan:
>
> Today when I am writing with LyX. Suddenly the document crushed, with one
>> message says: emergency stop...I could not tell exactly.
>>
>> Then the file closed but I could not open it again later. It is really a
>> disaster for me if I lost the document.
>>
>> I write the email to ask any help I can get from you. Thank you very much
>> in advance. Looking forward to your response.
>>
>
> First, check if you have a backup in the backup directory set in Tools >
> Preferences > Path. If so (hopefully), you will find a backup of the file
> there.
>
> Next, open the LyX file with a text editor. If it ends with
>
> \begin_inset Tabular
>
> instead of
>
> \end_body
> \end_document
>
> then you have probably faced this bug
>
> http://www.lyx.org/trac/ticket/9049
>

Just for the record: It turned out it was this bug, but fortunately, we
managed to restore the file completely. Yan sent me the emergency files and
backups (the one embraced in # and the one ending with lyx~), and it turned
out both were complete, and the latter was the most actual one.

Here is an advice, in case you are unlucky enough to get hit by this:

* Check if the lyx file itself is complete (ends with \end_document)
* If not, check if either the emergency file (#...#) or the backup file
(*.lyx~) are complete
* If only one is, rename it to the name of the original file.
* If both are (as in Yan's case), give them different names and check the
differences in LyX via Tools > Compare

Jürgen


Re: FW: help/cannot open after emergency stop...

2014-05-16 Thread Jürgen Spitzmüller
2014-05-16 8:34 GMT+02:00 Wu, Yan:

> Today when I am writing with LyX. Suddenly the document crushed, with one
> message says: emergency stop...I could not tell exactly.
>
> Then the file closed but I could not open it again later. It is really a
> disaster for me if I lost the document.
>
> I write the email to ask any help I can get from you. Thank you very much
> in advance. Looking forward to your response.
>

First, check if you have a backup in the backup directory set in Tools >
Preferences > Path. If so (hopefully), you will find a backup of the file
there.

Next, open the LyX file with a text editor. If it ends with

\begin_inset Tabular

instead of

\end_body
\end_document

then you have probably faced this bug

http://www.lyx.org/trac/ticket/9049

Jürgen


>
> Best wishes,
>
> Yan
>
>
>
>
>
>


FW: help/cannot open after emergency stop...

2014-05-15 Thread Wu, Yan


From: Wu, Yan
Sent: 16 May 2014 08:29
To: lyx-users-h...@lists.lyx.org<mailto:lyx-users-h...@lists.lyx.org>
Subject: help/cannot open after emergency stop...

Dear Sir/madam,

I am lyx user of version 2.1.0

Today when I am writing with LyX. Suddenly the document crushed, with one 
message says: emergency stop...I could not tell exactly.

Then the file closed but I could not open it again later. It is really a 
disaster for me if I lost the document.

I write the email to ask any help I can get from you. Thank you very much in 
advance. Looking forward to your response.

Best wishes,

Yan







Re: how to stop advanced find and replace

2013-01-10 Thread Wolfgang Engelmann
Am Mittwoch, 9. Januar 2013, 21:08:26 schrieb Scott Kostyshak:
> On Wed, Jan 9, 2013 at 1:32 PM, Wolfgang Engelmann
> 
>  wrote:
> > Hi,
> > 
> > advanced find and replace can take a lot of time. How can I stop the
> > searching and exit?
> 
> Escape now does it on the development version. It has not been
> backported for 2.0.6. If you are using Ubuntu, you can easily get the
> development version by using lyx2.1 from the daily PPA:
> http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

Thanks,  Scott, for this information.



Re: how to stop advanced find and replace

2013-01-09 Thread Scott Kostyshak
On Wed, Jan 9, 2013 at 1:32 PM, Wolfgang Engelmann
 wrote:
> Hi,
>
> advanced find and replace can take a lot of time. How can I stop the
> searching and exit?

Escape now does it on the development version. It has not been
backported for 2.0.6. If you are using Ubuntu, you can easily get the
development version by using lyx2.1 from the daily PPA:
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

>
> I searched for
> Ca^{2+} in (mathit)
> which I wanted to convert into
> Ca^{2+} in (mathrm)
>
> however, it was not found, although there are Ca^{2+} in (mathit)
>
>
> Furthermore I got this
>
> No information for converting fig format files to asciixfig.
> Define a converter in the preferences.

I also get something like this when searching the Embedded Objects manual.

Scott


how to stop advanced find and replace

2013-01-09 Thread Wolfgang Engelmann
Hi,

advanced find and replace can take a lot of time. How can I stop the 
searching and exit?

I searched for
Ca^{2+} in (mathit)
which I wanted to convert into 
Ca^{2+} in (mathrm)

however, it was not found, although there are Ca^{2+} in (mathit)


Furthermore I got this

No information for converting fig format files to asciixfig.
Define a converter in the preferences.

when the search hit an xfig figure. 

Wolfgang


Re: Stop Lyx compiling

2012-05-05 Thread Liviu Andronic
On Sat, May 5, 2012 at 7:05 PM, Steve Litt  wrote:
> To which I still ask -- what kind of monster document takes an entire 3
> minutes to compile?
>
I guess it depends, but when you through in R computations via Sweave
you can easily hit 3 minutes as well as 3 hours.

Liviu


Re: Stop Lyx compiling

2012-05-05 Thread Steve Litt
On Sat, 5 May 2012 15:36:12 +0200
Liviu Andronic  wrote:

> On Fri, May 4, 2012 at 1:49 PM, Vincent van Ravesteijn 
> wrote:
> > Op 4-5-2012 13:42, Mike Bonhoff schreef:
> >> Can I stop Lyx when it is compiling? I didn't find anything inside
> >> the
> >
> > It will stop after 30 minutes. Alternatively you can kill the
> > underlying processes (latex or something else).
> >
> To my knowledge this is 3 minutes. You may want to read this recent
> discussion [1]. With some luck, Richard will implement this in 2.0.x.
> 
> Liviu
> 
> [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173950.html

To which I still ask -- what kind of monster document takes an entire 3
minutes to compile?

SteveT


Re: Stop Lyx compiling

2012-05-05 Thread Liviu Andronic
On Fri, May 4, 2012 at 1:49 PM, Vincent van Ravesteijn  wrote:
> Op 4-5-2012 13:42, Mike Bonhoff schreef:
>> Can I stop Lyx when it is compiling? I didn't find anything inside the
>
> It will stop after 30 minutes. Alternatively you can kill the underlying
> processes (latex or something else).
>
To my knowledge this is 3 minutes. You may want to read this recent
discussion [1]. With some luck, Richard will implement this in 2.0.x.

Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173950.html


Re: Stop Lyx compiling

2012-05-04 Thread Steve Litt
On Fri, 04 May 2012 13:49:23 +0200
Vincent van Ravesteijn  wrote:

> Op 4-5-2012 13:42, Mike Bonhoff schreef:
> > Hi, Lyx-Users,
> >
> > is there a possibility to stop Lyx when it is compiling. Today I
> > had several times the problem that I wanted to make a picture with
> > tikz and made some mistake in the Lyx-Code (forgot the semicolon in
> > the end of a command). Unfortunately Lyx doesn't return a message
> > that there is a mistake and is compiling forever. I can not even
> > stop the program after that.
> >
> >  As I remember Kile was also not able to stop the compiling of such
> > a "program", but there is a button to stop the compiling.
> >
> > Can I stop Lyx when it is compiling? I didn't find anything inside
> > the tutorials about that theme. And google seems not to find
> > anything, too.
> >
> > Thanks!
> >
> > Mike
> It will stop after 30 minutes. Alternatively you can kill the
> underlying processes (latex or something else).
> 

What kind of monstrous book would compile for 30 minutes? My 300 page,
108K word "Key to Everyday Excellence" takes 10 seconds to pdflatex
compile, 30 seconds to ps2pdf compile. I'm using Ubuntu 11.04 with the
following hardware:
slitt@mydesk:~$ grep -A 3 "^model name" /proc/cpuinfo
model name  : Intel(R) Core(TM)2 Duo CPU E7200  @ 2.53GHz
stepping: 6
cpu MHz : 1596.000
cache size  : 3072 KB

model name  : Intel(R) Core(TM)2 Duo CPU E7200  @ 2.53GHz
stepping: 6
cpu MHz : 2527.000
cache size  : 3072 KB
slitt@mydesk:~$ head -n2 /proc/meminfo
MemTotal:4047324 kB
MemFree:  101804 kB
slitt@mydesk:~$

If I had a book that took 30 minutes to compile I would either:

1) Upgrade to fast multiprocessors and get 32GB of RAM, or
2) Split the book into multiple child documents.
3) Since the book's too long to read, split it into several books and
sell each one.

The computer in #1 is easily available for under a thousand now if you
build it from Newegg or CompUSA stock components.

SteveT






Re: Stop Lyx compiling

2012-05-04 Thread Vincent van Ravesteijn

Op 4-5-2012 13:42, Mike Bonhoff schreef:

Hi, Lyx-Users,

is there a possibility to stop Lyx when it is compiling. Today I had 
several times the problem that I wanted to make a picture with tikz 
and made some mistake in the Lyx-Code (forgot the semicolon in the end 
of a command). Unfortunately Lyx doesn't return a message that there 
is a mistake and is compiling forever. I can not even stop the program 
after that.


 As I remember Kile was also not able to stop the compiling of such a 
"program", but there is a button to stop the compiling.


Can I stop Lyx when it is compiling? I didn't find anything inside the 
tutorials about that theme. And google seems not to find anything, too.


Thanks!

Mike
It will stop after 30 minutes. Alternatively you can kill the underlying 
processes (latex or something else).


Vincent



Stop Lyx compiling

2012-05-04 Thread Mike Bonhoff
Hi, Lyx-Users,

is there a possibility to stop Lyx when it is compiling. Today I had
several times the problem that I wanted to make a picture with tikz and
made some mistake in the Lyx-Code (forgot the semicolon in the end of a
command). Unfortunately Lyx doesn't return a message that there is a
mistake and is compiling forever. I can not even stop the program after
that.

 As I remember Kile was also not able to stop the compiling of such a
"program", but there is a button to stop the compiling.

Can I stop Lyx when it is compiling? I didn't find anything inside the
tutorials about that theme. And google seems not to find anything, too.

Thanks!

Mike


Re: how to stop annoying screen jumps?

2011-02-09 Thread Abdelrazak Younes

On 02/09/2011 12:17 AM, Vincent van Ravesteijn wrote:



Ah yes, Qt4 issues again. Any thoughts of using a different graphic
library in the future?

xforms was being discussed lately.

Andre'


Interesting. Could you tell a bit more about xforms ?


That's the toolkit used by LyX before Qt.

Nothing to do with the W3C XForms (http://www.w3.org/MarkUp/Forms/)

Abdel.


Re: how to stop annoying screen jumps?

2011-02-08 Thread Andre Poenitz
On Wed, Feb 09, 2011 at 12:17:07AM +0100, Vincent van Ravesteijn wrote:
> 
> >>Ah yes, Qt4 issues again. Any thoughts of using a different graphic
> >>library in the future?
> >xforms was being discussed lately.
> >
> >Andre'
> 
> Interesting. Could you tell a bit more about xforms ?

Super cool cross-platform toolkit. Runs on several version of Unix, even
in parallel, with multiple users logged in, on Fridays. Also available
on Mac using darwin ports, and probably even on properly configured
Windows machines (i.e. with X server running)

Comes with a feature rich gui designer called 'fdesign' and incredible
unicode support. Lightweight by design, robust, mature, and easily 
maintainable by core LyX contributors.

Oh, and it uses git: git clone git://git.savannah.nongnu.org/xforms.git 

Andre'


Re: how to stop annoying screen jumps?

2011-02-08 Thread Pavel Sanda
Ernesto Posse wrote:
> So my questions are:
> 1) is this a bug, or by design?

sounds like bug, but its unrelated to the previous report.

> 2) if by design, what is the reason for this behaviour?
> 3) Is there anyway to make LyX stop doing this?

try to scream in bug tracker...

pavel


Re: how to stop annoying screen jumps?

2011-02-08 Thread Pavel Sanda
Steve Litt wrote:
> Ah yes, Qt4 issues again. Any thoughts of using a different graphic library 
> in 
> the future?

big part of this issue is that there is no lyx maintainer in ubuntu so the
result is orphaned lyx package using wrong dependencies.
poor ubuntu users ;)

pavel


Re: how to stop annoying screen jumps?

2011-02-08 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
>>> Ah yes, Qt4 issues again. Any thoughts of using a different graphic
>>> library in the future?
>> xforms was being discussed lately.
>>
>> Andre'
>
> Interesting. Could you tell a bit more about xforms ?

finally we can get rid of unicode. hopefully! :)
p


Re: how to stop annoying screen jumps?

2011-02-08 Thread Vincent van Ravesteijn



Ah yes, Qt4 issues again. Any thoughts of using a different graphic
library in the future?

xforms was being discussed lately.

Andre'


Interesting. Could you tell a bit more about xforms ?

Vincent


Re: how to stop annoying screen jumps?

2011-02-08 Thread Andre Poenitz
On Tue, Feb 08, 2011 at 04:42:24PM -0500, Steve Litt wrote:
> On Tuesday 08 February 2011 16:02:08 Liviu Andronic wrote:
> > On Tue, Feb 8, 2011 at 9:49 PM, John  wrote:
> > > Hello: I use Lyx 1.6.5 and Ubuntu 10.04. Lyx works fine, but if I
> > > am editing, then click the pdf icon to view the pdf output, then
> > > click back on the Lyx text to make a change, all too often the
> > > screen wildly jumps to some other part of the document.
> > 
> > There are known incompatibilities between the LyX and Qt versions
> > shipped in 10.04. Try [1][2].  Liviu
> 
> Ah yes, Qt4 issues again. Any thoughts of using a different graphic
> library in the future?

xforms was being discussed lately.

Andre'


Re: how to stop annoying screen jumps?

2011-02-08 Thread Steve Litt
On Tuesday 08 February 2011 16:02:08 Liviu Andronic wrote:
> On Tue, Feb 8, 2011 at 9:49 PM, John  wrote:
> > Hello:
> > I use Lyx 1.6.5 and Ubuntu 10.04. Lyx works fine, but if I am editing,
> > then click the pdf icon to view the pdf output, then click back on the
> > Lyx text to make a change, all too often the screen wildly jumps to some
> > other part of the document.
> 
> There are known incompatibilities between the LyX and Qt versions
> shipped in 10.04. Try [1][2].
> Liviu

Ah yes, Qt4 issues again. Any thoughts of using a different graphic library in 
the future?

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: how to stop annoying screen jumps?

2011-02-08 Thread Ernesto Posse
I have noticed a similar problem when editing tables, specially tables
that contain formulas.

Whenever I have a table with many rows and math formulas
inside, and only part of the table is visible in the writing area, if
the cursor is outside the table, and I click inside a math formula,
the focus changes, and LyX rearranges the view so that the row where I
clicked goes to (near) the top of the writing area (sometimes to the
bottom). Actually this happens also when I click in some cell without
a math formula, but not always for some reason. I find this extremely
annoying, as I have to do this sort of editing very often so I get the
text bouncing around.

So my questions are:
1) is this a bug, or by design?
2) if by design, what is the reason for this behaviour?
3) Is there anyway to make LyX stop doing this?

(I'm using lyx 1.6.7 on Ubuntu 10.10)

Thanks.



On Tue, Feb 8, 2011 at 3:56 PM, Pavel Sanda  wrote:
> John wrote:
>> Has anyone else had this problem?
>
> yes
>
>>Is there a fix?
>
> it should be fixed in newer versions.
>
> pavel
>



-- 
Ernesto Posse

Modelling and Analysis in Software Engineering
School of Computing
Queen's University - Kingston, Ontario, Canada


Re: how to stop annoying screen jumps?

2011-02-08 Thread Liviu Andronic
On Tue, Feb 8, 2011 at 9:49 PM, John  wrote:
> Hello:
> I use Lyx 1.6.5 and Ubuntu 10.04. Lyx works fine, but if I am editing, then
> click the pdf icon to view the pdf output, then click back on the Lyx text
> to make a change, all too often the screen wildly jumps to some other part
> of the document.
>
There are known incompatibilities between the LyX and Qt versions
shipped in 10.04. Try [1][2].
Liviu

[1] http://blog.oak-tree.us/index.php/2010/08/17/lyx167
[2] https://launchpad.net/~lyx-outline-devel/+archive/lyx-stable



> For example, I might be editing the end of the document,
> and after returning to Lyx and clicking on a sentence the screen will jump
> to the first page, or somewhere else.  It seems to happen about 25% of the
> time.  Its very annoying, as I have to scroll around to re-find the sentence
> I want to edit.  Sometimes the screen even jumps again when I try to put the
> cursor on my desired sentence.  I don't know if it is related to having
> floating picture frames on some of my pages.  Maybe the problem would not
> occur if I had only plain text.  Has anyone else had this problem?  Is there
> a fix? My document is about 60 pages long.
> Thanks, John.
>



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


Re: how to stop annoying screen jumps?

2011-02-08 Thread Pavel Sanda
John wrote:
> Has anyone else had this problem? 

yes

>Is there a fix?

it should be fixed in newer versions.

pavel


how to stop annoying screen jumps?

2011-02-08 Thread John

Hello:
I use Lyx 1.6.5 and Ubuntu 10.04. Lyx works fine, but if I am editing, 
then click the pdf icon to view the pdf output, then click back on the 
Lyx text to make a change, all too often the screen wildly jumps to some 
other part of the document.  For example, I might be editing the end of 
the document, and after returning to Lyx and clicking on a sentence the 
screen will jump to the first page, or somewhere else.  It seems to 
happen about 25% of the time.  Its very annoying, as I have to scroll 
around to re-find the sentence I want to edit.  Sometimes the screen 
even jumps again when I try to put the cursor on my desired sentence.  I 
don't know if it is related to having floating picture frames on some of 
my pages.  Maybe the problem would not occur if I had only plain text.  
Has anyone else had this problem?  Is there a fix? My document is about 
60 pages long.

Thanks, John.


stop

2010-03-25 Thread Andréas Lyberis
stop


Big Thanks! was: how to stop TeX and LaTeX from being typeset with the special logo?

2009-04-20 Thread Richard Talley
A big thanks to everybody for the quick, useful replies.

There is no doubt that one of the best things about LyX is the LyX community.

-- Rich

On Mon, Apr 20, 2009 at 2:58 AM, Helge Hafting  wrote:
> Richard Talley wrote:
>>
>> LyX automagically typesets words like TeX and LaTeX using the special
>> logo for those words.
>>
>> How do I turn this behavior off?
>
> I see you already got some answers for how this is done for the entire
> document. If you want to do this for particular instances of LyX/TeX/LaTeX,
> just "Insert->Formatting->Ligature Break" somewhere inside the word you want
> to protect.
>
> Or insert anything else that don't produce output, such as an empty TeX
> (ERT) box.
>
> Helge Hafting
>
>


Re: how to stop TeX and LaTeX from being typeset with the special logo?

2009-04-20 Thread Helge Hafting

Richard Talley wrote:

LyX automagically typesets words like TeX and LaTeX using the special
logo for those words.

How do I turn this behavior off? 


I see you already got some answers for how this is done for the entire 
document. If you want to do this for particular instances of 
LyX/TeX/LaTeX, just "Insert->Formatting->Ligature Break" somewhere 
inside the word you want to protect.


Or insert anything else that don't produce output, such as an empty TeX 
(ERT) box.


Helge Hafting



Re: how to stop TeX and LaTeX from being typeset with the special logo?

2009-04-19 Thread Jürgen Spitzmüller
John McCabe-Dansted wrote:
> You can press Ctrl-L to enter ERT mode and type TeX into the ERT
> inset. This will send "TeX" straight to LaTeX without LyX doing any
> funny processing.

Alternatively, insert to the preamble

\def\LyX{LyX}
\def\LaTeX{LaTeX}

Jürgen


Re: how to stop TeX and LaTeX from being typeset with the special logo?

2009-04-19 Thread Guenter Milde
On 2009-04-20, John McCabe-Dansted wrote:
> On Mon, Apr 20, 2009 at 10:23 AM, Richard Talley  
> wrote:

>> LyX automagically typesets words like TeX and LaTeX using the special
>> logo for those words.

It is especially annoying if you copy and paste such text from the PDF. With
xpdf, you will get

   I love L X
   Y
   but dislike this auto LaT X logo.
E

>> How do I turn this behavior off? There are a couple of places, such as

> You can press Ctrl-L to enter ERT mode and type TeX into the ERT
> inset. This will send "TeX" straight to LaTeX without LyX doing any
> funny processing.

I remember the User Guide to use some invisible character inside LaTeX to
prevent this.

If it should apply to the whole document, you can als redefine

renewcommand{\LyX}{LyX}
renewcommand{\TeX}{TeX}
renewcommand{\LaTeX}{LaTeX}

in the LaT X preamble.
  E
Günter




Re: how to stop TeX and LaTeX from being typeset with the special logo?

2009-04-19 Thread John McCabe-Dansted
On Mon, Apr 20, 2009 at 10:23 AM, Richard Talley  wrote:
> LyX automagically typesets words like TeX and LaTeX using the special
> logo for those words.
>
> How do I turn this behavior off? There are a couple of places, such as

You can press Ctrl-L to enter ERT mode and type TeX into the ERT
inset. This will send "TeX" straight to LaTeX without LyX doing any
funny processing.

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


how to stop TeX and LaTeX from being typeset with the special logo?

2009-04-19 Thread Richard Talley
LyX automagically typesets words like TeX and LaTeX using the special
logo for those words.

How do I turn this behavior off? There are a couple of places, such as
an instruction to navigate to /Applications/TeX, where I want the
words to appear more like they actually do in the computer interface.
(I do *not* want to type /Applications/Tex as that does not match what
is on the screen.)

-- Rich


Re: STOP THIS ON PUBLIC MAILINGLISTS [WAS: nocomment bush]

2009-01-12 Thread Dotan Cohen
2009/1/12 Michelle Konzack :
> This has nothing to do here on the lists so please stop.
>
>
> There is absolutely no need to post it here!
>

Thanks, Michelle, but you are only feeding the trolls. Just as one
facet of their little world sees it fit to rain missiles on their
neighbors who do not recognize Muhamed as the final prophet of Allah,
so does this facet see it fit to rain spam on those who are happily
far enough away from them not to be caught in the crossfire. Have pity
on them, and pray for those citizens (Muslims, Jews, and Christians)
who either live under their influence or near enough to be affected by
more than spam.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


How to stop lyx

2008-07-18 Thread f wonghc
I unscribe but it still send to me account.
 
Can anyone help?  thnkas.


  

Re: How to stop Figure location broken when I open file in different computer?

2008-06-05 Thread Bob Lounsbury
On Thu, Jun 5, 2008 at 8:08 AM, Erez Yerushalmi
<[EMAIL PROTECTED]> wrote:
> Hi bob,
>
> Thanks for this answer.
>
> But how do I write a relative path?

You don't. When you properly set up the file hierarchy as I described,
LyX does it for you. All you have to do is insert a picture and you'll
notice that the path is relative.

The problem is when you go outside of the hierarchy that contains your
LyX file, then LyX puts in an absolute path for you because that's its
only way to locate it. However, if you stay within the directory or
below the directory of the LyX file then LyX puts in a relative path
because it knows where the picture is "relative" to the lyx file. Hope
that made sense.

> I think that below you wrote in absolute.  Right?

No. That was just an example of how to set up the document paths (or
hierarchy) on your hard drive. It had nothing to do with LyX.

Cheers,
/Bob


Re: How to stop Figure location broken when I open file in different computer?

2008-06-05 Thread Bob Lounsbury
On Thu, Jun 5, 2008 at 7:06 AM, Erez Yerushalmi
<[EMAIL PROTECTED]> wrote:
>
> Dear all,
>
> I don't seem to find the answer in the help file or in the forum, so I hope
> you can help me.
>
> I'm using LyX 1.5.5 on XP.
> I'm slowly building a larger and larger file and adding more and more
> figures.
>
> Assume my figure is located in:
>
> C:/PHD/Notes on Dynamic GE/Diagrams/risk aversion.jpg
>
> LyX converts it to an EPS and dumps it in the same folder location as the
> original figure.
> Then LyX uses it, and everything is fine.
>
> The PROBLEM arrises when i take my file to a different computer, and the
> links obviously gets broken.
> I have been trying to keep the figure and the lyx file close together say:
>
> C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx
>
> I am looking for a way in which all I do is copy my work on a disk-on-key
> and open it in another computer, and the lyx file will know where to find
> the figure.
>
> Can anyone give me advice about this.
>
> Thanks a lot, Erez
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-stop-Figure-location-broken-when-I-open-file-in-different-computer--tp17669372p17669372.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>
>

I think the problem is that the lyx file and pictures need to be in
the same directory or the pictures in a subdirectory. This way LyX
will use relative paths otherwise how do expect the program to follow
your logic of where you are storing the files. Hence, LyX stores the
absolute path. To clarify, here's an example

Put your LyX files in:
C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx

Put your pictures in either:
C:/PHD/Notes on Dynamic GE/Files/risk aversion.jpg
C:/PHD/Notes on Dynamic GE/Files/Diagrams/risk aversion.jpg

The point is the pictures need to be at the same level or below the
LyX file for LyX to use a relative path.

Cheers,
/Bob


Re: How to stop Figure location broken when I open file in different computer?

2008-06-05 Thread James Sutherland


C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx

I am looking for a way in which all I do is copy my work on a disk- 
on-key
and open it in another computer, and the lyx file will know where to  
find

the figure.



Try using relative path locations such as
"./Files/Notes v1.lyx"

Note however that LyX occasionally will change these back to absolute  
paths - I don't know why...


James




How to stop Figure location broken when I open file in different computer?

2008-06-05 Thread Erez Yerushalmi

Dear all,

I don't seem to find the answer in the help file or in the forum, so I hope
you can help me.

I'm using LyX 1.5.5 on XP.
I'm slowly building a larger and larger file and adding more and more
figures.

Assume my figure is located in:

C:/PHD/Notes on Dynamic GE/Diagrams/risk aversion.jpg

LyX converts it to an EPS and dumps it in the same folder location as the
original figure.
Then LyX uses it, and everything is fine.

The PROBLEM arrises when i take my file to a different computer, and the
links obviously gets broken.
I have been trying to keep the figure and the lyx file close together say:

C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx

I am looking for a way in which all I do is copy my work on a disk-on-key
and open it in another computer, and the lyx file will know where to find
the figure.

Can anyone give me advice about this.

Thanks a lot, Erez

-- 
View this message in context: 
http://www.nabble.com/How-to-stop-Figure-location-broken-when-I-open-file-in-different-computer--tp17669372p17669372.html
Sent from the LyX - Users mailing list archive at Nabble.com.



How to stop color-profile changing from CMYK to RGB?

2007-09-27 Thread Robert Neumann
Hello,
I have some eps files (graphics) included in the header of my lyx-file. 
I do this in the preamble which works perfectly.
I export the file to pdf which works as well.
Now I found out that the color-profile of the pdf-file is RGB instead 
of the original CMYK-Profile of the graphics.
How can I prevent Lyx of doing this?
I use Lyx 1.36 with Suse 8.2 or Lyx 1.37 on Windows xp.
I tried to export a ps, but this causes errors while using the acrobat
distiller...
Thanks
Robert



Re: Controlling space after full stop

2005-06-03 Thread Andrew Sullivan
On Fri, Jun 03, 2005 at 11:47:52AM +0200, G. Milde wrote:
> 
> Reading a LaTeX book, I found that typesetting rules differ between
> European and North-American conventions. By default, LaTeX introduces an
> extra large space after a sentence-ending full stop. 
> So this extra space is already in the dvi.

I know there's extra space there; the problem is that the resulting
ascii doesn't include them.  So I figure that dvi2tty thinks there
isn't enough space (this is also true between paragraphs in some
cases, for instance: I had to adjust the space around subsections to
get the spacing right).

A

-- 
Andrew Sullivan  | [EMAIL PROTECTED]
This work was visionary and imaginative, and goes to show that visionary
and imaginative work need not end up well. 
--Dennis Ritchie


Re: Controlling space after full stop

2005-06-03 Thread G. Milde
On  2.06.05, Andrew Sullivan wrote:
> Hi,
> 
> I'm using the packages courier and stdpage in order to produce
> correctly-formatted pages for a certain ASCII-based format.  I then
> use dvi2tty to create an actual ASCII document.  This works, except
> that the usual typesetting rules produce one space, not two, after a
> full stop.  

Reading a LaTeX book, I found that typesetting rules differ between
European and North-American conventions. By default, LaTeX introduces an
extra large space after a sentence-ending full stop. 
So this extra space is already in the dvi.

 
> I'm sure there's some way to control this, but I've never wanted to
> before.  Any clues?  

The latex command \frenchspacing prevents this extra space (as do AFAIK
some "European" classes like koma-script and the "german" style option).

Günter


-- 
G.Milde web.de


Re: Controlling space after full stop

2005-06-02 Thread Andrew Sullivan
On Thu, Jun 02, 2005 at 10:40:55PM +0100, Angus Leeming wrote:
> 
> Given that "man dvi2tty" doesn't provide any clues, how about a sed script?
> 
> sed 's/\. \([A-Z]\)/.  \1/g' in.txt > out.txt

Good idea.  I'll try this.  I think I'm going to see if I can hack on
the dvi2tty stuff to do this, too; if I have any luck (wish me,
please -- I'm a crappy programmer) I'll post a note.

A

-- 
Andrew Sullivan  | [EMAIL PROTECTED]
The whole tendency of modern prose is away from concreteness.
--George Orwell


Re: Controlling space after full stop

2005-06-02 Thread Angus Leeming

Andrew Sullivan wrote:

Hi,

I'm using the packages courier and stdpage in order to produce
correctly-formatted pages for a certain ASCII-based format.  I then
use dvi2tty to create an actual ASCII document.  This works, except
that the usual typesetting rules produce one space, not two, after a
full stop.  This makes the resulting ASCII file harder to read?

I'm sure there's some way to control this, but I've never wanted to
before.  Any clues?  


Given that "man dvi2tty" doesn't provide any clues, how about a sed script?

sed 's/\. \([A-Z]\)/.  \1/g' in.txt > out.txt

Angus



Controlling space after full stop

2005-06-02 Thread Andrew Sullivan
Hi,

I'm using the packages courier and stdpage in order to produce
correctly-formatted pages for a certain ASCII-based format.  I then
use dvi2tty to create an actual ASCII document.  This works, except
that the usual typesetting rules produce one space, not two, after a
full stop.  This makes the resulting ASCII file harder to read?

I'm sure there's some way to control this, but I've never wanted to
before.  Any clues?  

A


-- 
Andrew Sullivan  | [EMAIL PROTECTED]
Information security isn't a technological problem.  It's an economics
problem.
--Bruce Schneier


Re: End Close Stop Environment

2004-09-09 Thread G. Milde
On  9.09.04, Luke Simon wrote:
> I am using the "article (elsevier)" document class, and I cannot for the
> life of me figure out how to have two separate "definition" environments
> one after the other. 

Its a common problem. The common hack is to have an empty Standard paragraph
inbetween. As LyX will normally close it, you have to put something in that
translates to nothing in LaTeX, e.g.
   * {} in ERT
   * a notice
   * % a comment in ERT
Or use the Comment style (M-a Shift-C with my bindings) and write something.

This is also in the user manual under Help - no need to go to the net.
(Developers: should we mention it in the FAQ?)

You can even define a Environment-Separator Style in a *.layout file. (Have
a look at Help>Customization to learn about defining styles.)

# Environment Separator
Style Separator
  CopyStyle Standard
  KeepEmpty 1
  NextNoIndent  1
  MarginFirst_Dynamic
  LabelType Centered_Top_Environment
  LabelString   "environment separator___"
  LabelFont 
Family  Roman
Shape   Italic
Color   blue
  EndFont
End




-- 
G.Milde web.de


End Close Stop Environment

2004-09-09 Thread Luke Simon
I am using the "article (elsevier)" document class, and I cannot for the
life of me figure out how to have two separate "definition" environments
one after the other.  I have tried:

1. enter/return
2. decrease environment depth

...followed by selecting the "definition" environment, but that only
causes me to stay in the same environment as opposed to starting a
separate one.  I can start other environments of a different type, by
typing a carriage return followed by a selection of the environment...
as long as it is different from "definition".

Please help.  My web searches haven't helped.



Re: delete & backspace keys stop working on upgrade

2003-03-18 Thread faunt

I solved this by downgrading to 1.2.3 from 1.3.0-7. The problem was
probably using RPMs instead of compiling from tarballs -- which were
unavilable for 1.3.0-7 or 4.

jamie faunt




delete & backspace keys stop working on upgrade

2003-03-16 Thread faunt
Sorry for he duplicate message -- I forgot to title it.


Hi, I just upgraded from LyX 1.2.0-5 to 1.3.0-7 and my delete and
backspace keys no longer work!

They work in other X applications -- nothing has changed in X.

Is there some obvious thing I might be missing here? I'll have to
downgrade to be able to continue using LyX as it stands.


thanks,
jamie faunt



Re: How to stop page numbering from auto reset?

2003-01-14 Thread Paul Medwell
Depending on the format required for your abstract, you could just use 
Chapter*, or alternatively use something similar to:

\newenvironment{abstract}{%
   \titlepage
 \begin{center}%
  \large
   \bfseries \abstractname
   \@endparpenalty\@M
 \end{center}}%

in the preamble, and use the "book" (probably modified a bit) format.
You should only need to use two page number definitions, one for your 
front matter, and one at the start of Chapter 1.

Hope this helps.

P. Medwell

-
Tan Choong Leong wrote:
I am writing my thesis using the "report" class and I am facing the common
problem of page numbering of the "front matter". My front matter includes
the title page, abstract and acknowledgements. Report class does not define
frontmatter and mainmatter, so I have to use a lot of /setcounter{page}{x}
to set the page numbers correctly. Moreover, I have to use
/thispagestyle{plain} to force numbering in the abstract and
acknowledgement.  There is also two /addcontentsline. Currently, there are
still some errors due to these inclusions and I am still figuring out. It
seems that the specific placement of all these ERTs are vital.

My questions are:

1) Is there switches which will make this less painful?
2) Is there a better document class or modified report class that is better
suited for my need? I tried the book class, but there is no abstract and
acknowledgements this class.

~~~
Tan Choong Leong (Mr)
Nanyang Technological University
School of Computer Engineering
Blk N4, 2A-32, Nanyang Avenue
Singapore 639798
Tel: (065) 67904623
Fax: (065) 67926559
HP : (065) 90088330








How to stop page numbering from auto reset?

2003-01-14 Thread Tan Choong Leong
I am writing my thesis using the "report" class and I am facing the common
problem of page numbering of the "front matter". My front matter includes
the title page, abstract and acknowledgements. Report class does not define
frontmatter and mainmatter, so I have to use a lot of /setcounter{page}{x}
to set the page numbers correctly. Moreover, I have to use
/thispagestyle{plain} to force numbering in the abstract and
acknowledgement.  There is also two /addcontentsline. Currently, there are
still some errors due to these inclusions and I am still figuring out. It
seems that the specific placement of all these ERTs are vital.

My questions are:

1) Is there switches which will make this less painful?
2) Is there a better document class or modified report class that is better
suited for my need? I tried the book class, but there is no abstract and
acknowledgements this class.

~~~
Tan Choong Leong (Mr)
Nanyang Technological University
School of Computer Engineering
Blk N4, 2A-32, Nanyang Avenue
Singapore 639798
Tel: (065) 67904623
Fax: (065) 67926559
HP : (065) 90088330




Re: How do I stop table linebreaks introducing a \smallskip{} ?

2001-02-15 Thread Herbert Voss

Richard Black wrote:
> 
> Hi all
> 
> I am trying to generate a table using the linebreaks option.  My problem
> is that when lyx creates the \parbox it also adds a \smallskip{} at the
> beginning and end of the paragraph.  This places spaces at the top and
> the bottom of the cell--a feature I don't want as none of the other
> cells in the table have them.
> 
> If you coy the table from the users guide in the section describing the
> linebreaks option and look at the top alignment of the cell, you will
> see what I mean.

i suppose, that you have lyx version older than 1.1.6.
i can't see this behaviour in 1.1.6.

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/





How do I stop table linebreaks introducing a \smallskip{} ?

2001-02-14 Thread Richard Black

Hi all

I am trying to generate a table using the linebreaks option.  My problem
is that when lyx creates the \parbox it also adds a \smallskip{} at the
beginning and end of the paragraph.  This places spaces at the top and
the bottom of the cell--a feature I don't want as none of the other
cells in the table have them.

If you coy the table from the users guide in the section describing the
linebreaks option and look at the top alignment of the cell, you will
see what I mean.

Does anyone know how to fix this?

TIA

Richard



Re: how to stop the numbering on the bottom of the pages?

2001-01-22 Thread Herbert Voss

Tuukka Toivonen wrote:
> 
> On Mon, 22 Jan 2001, Mark Hansel wrote:
> 
> > >If you want disable page numbers only from certain pages, see
> > >http://www.educat.hu-berlin.de/~voss/lyx/#pagenumbers
> >
> > But, the title page still ends up with a number - for article and book
> > documents.
> 
> You must put the line
> \thispagestyle{empty}
> right _after_ the document title (and possible after the author and other
> similar lines--I didn't try this. In any case, it has to be in right
> position in the title page).

this belongs to your latex-class. for article you can write it 
behind author, too. but you're right, the best way is behind title.

> IMO this should be added to the FAQ.

done! ;-)

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Re: how to stop the numbering on the bottom of the pages?

2001-01-22 Thread Tuukka Toivonen

On Mon, 22 Jan 2001, Mark Hansel wrote:

> >If you want disable page numbers only from certain pages, see 
> >http://www.educat.hu-berlin.de/~voss/lyx/#pagenumbers
> 
> But, the title page still ends up with a number - for article and book
> documents.

You must put the line 
\thispagestyle{empty}
right _after_ the document title (and possible after the author and other
similar lines--I didn't try this. In any case, it has to be in right
position in the title page).

IMO this should be added to the FAQ.




Re: how to stop the numbering on the bottom of the pages?

2001-01-22 Thread Tuukka Toivonen

On Mon, 22 Jan 2001, Anna H.Pryor wrote:

> How do you turn off the page numbering?  I need to do this for a conference.

The simplest way to turn page numbers off from the whole document is
is to simply set "Layout/Document/Document/Pagestyle" to "empty".

If you want disable page numbers only from certain pages, see 
http://www.educat.hu-berlin.de/~voss/lyx/#pagenumbers





how to stop the numbering on the bottom of the pages?

2001-01-22 Thread Anna H.Pryor


I am using linux with lyx 1.1.5fix2.

How do you turn off the page numbering?  I need to do this for a conference.

Thanks,

Anna







Re: Q: how can I stop lyx form compiling

2000-07-05 Thread Jose Abilio Oliveira Matos

On Wed, Jul 05, 2000 at 06:39:25PM +0100, Phil Scordis wrote:
> 
> Sorry, I don't know how to stop it, but I did find recently that I was
> doing lots of emacs-like keypresses in lyx which generally did not have
> the effect that I desired, e.g. ctrl-e to move to the end of the line,
> which 'emphasises' the text, and ctrl-x-s to save, which cuts and then
> saves! 

  That exxplains I it took so many time, in cua bind control+d is view dvi,
and probably since it was generating new fonts... But this should only happen
the first time. Did it happen everytime?
 
> The solution: stop doing emacs keypresses, or add this to my lyxrc
> file 
> \bind_file emacs
> 
> Oh the joy of emacs key bindings in lyx!

  Yep. :)
 
> Phil

-- 
José



Re: Q: how can I stop lyx form compiling

2000-07-05 Thread Phil Scordis


On Wed, 5 Jul 2000, Laurent DUVAL wrote:
> Suppose I type Ctrl-D, aiming to delete a character, just like in Xemacs.
> LyX then starts a sometimes quite long compiling process.
> Now, suppose I would like to stop it, instead of waiting for minutes. 
> What should I do?

Sorry, I don't know how to stop it, but I did find recently that I was
doing lots of emacs-like keypresses in lyx which generally did not have
the effect that I desired, e.g. ctrl-e to move to the end of the line,
which 'emphasises' the text, and ctrl-x-s to save, which cuts and then
saves! 

The solution: stop doing emacs keypresses, or add this to my lyxrc
file 
\bind_file emacs

Oh the joy of emacs key bindings in lyx!

Phil




Q: how can I stop lyx form compiling

2000-07-05 Thread Laurent DUVAL

Bonsoir,

Suppose I type Ctrl-D, aiming to delete a character, just like in Xemacs.
LyX then starts a sometimes quite long compiling process.
Now, suppose I would like to stop it, instead of waiting for minutes.

What should I do?

Laurent




Re: Lyx 1.04: How do I stop the previous chapter =?ISO-8859-1?Q?heading_from_appearing_on_________=B4Chapter*=B4_pages_??=

1999-10-26 Thread Jean-Pierre.Chretien


>>Date: Wed, 27 Oct 1999 06:26:09 +0200
>>From: Martina Schwarz van Doorn <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Lyx 1.04: How do I stop the previous chapter heading from appearing on 
>´Chapter*´ pages ?
>>
>> 
>> Hello everybody,
>> 
>> can anyone help me on how stop the previous chapter heading from
>>appearing on ´Chapter*´ pages ?
>> 
>> Thanks
>>
In TeX mode
\markboth{Title}{Title}
is a first workaround.
If you want Title in the toc, you will need also
\addcontentsline{toc}{chapter}{\protect\numberline{}#1}

If you need it often, a good way is to define a command in the preamble
\newcommand{\tocchap}[1]{\addcontentsline{toc}{chapter}{\protect\numberline{}#1}%
\markboth{#1}{#1}}
so that
\tocchap{Title}
does the job.
You may have to modify the arguments to make these headings look like the
others headings, e.g. \uppercase{#1}

Regards
-- 
Jean-Pierre



Lyx 1.04: How do I stop the previous chapter heading from appearing on ´Chapter*´ pages ?

1999-10-26 Thread Martina Schwarz van Doorn

 
 Hello everybody,
 
 can anyone help me on how stop the previous chapter heading from
appearing on ´Chapter*´ pages ?
 
 Thanks



Re: Margins [HOW DO I STOP THIS DAMNED MESSAGE]

1999-10-18 Thread lloy0076

lloy0076 wrote:
> 
> Juergan and All:
> 
> > Could you send an example file? It's a bit hard to guess what's wrong
> > only from your comments :)
> 
> I have attached a sample file. On this particular file section 1.2
> doesn't print at all. Furthermore it's touch and go whether the headers
> print either.
> 
> DAVID
> --
> Subscribe to the Linux C Mailing Lists Today!
>   mailto:[EMAIL PROTECTED]
>   http://users.senet.com.au/~lloy0076/linux_c_programming/index.html
> 

AAARGHGHGHGGH!

I don't know what's going wrong. This message keeps resending. I have:

1) checked my nsmail directory and it's not contained in any of my
unsent or draft folders (I use Netscape to coordinate my mail messages)

2) resent this message to ISP to see what they say about it

Can the list manager please tell me what's wrong?

DL
-- 
Subscribe to the Linux C Mailing Lists Today!
  mailto:[EMAIL PROTECTED]
  http://users.senet.com.au/~lloy0076/linux_c_programming/index.html