Re: Re: ERROR: file is from a newer version of LyX and the lyx2lyx script failed to convert it.

2011-04-23 Thread Stefan Janse van Rensburg



On 04/22/2011 06:15 AM, Stefan Janse van Rensburg wrote:


As for the errors, the main thing was that I was experiencing several 
spontaneous crashes which I had not experienced with RC3. Nothing 
that resulted in data loss, though.



Any hint at all when these were happening?
OK, re-upgraded to RC3 and crashes seem to happen when I delete certain 
tables within a branch. I get the message: Lyx has caught an exception, 
it will attempt to save all unsaved documents and exit. Exception: 
basic_string::_S_create. Richard, I can e-mail you the offending file.
The other issue (the main one that made me downgrade), I have a 
document which previously rendered as PDF (using latex2pdf) which now 
suddenly complains that latex cannot determine image size (no 
bounding box). Unfortunately, this problem has persisted after 
downgrading, so I might have been wrong in assuming that it was the 
upgrade that caused the error.


This is usually because LaTeX cannot find the image. Are you sure it 
is still there? (Silly question, perhaps, but I had this very problem 
recently.)
Images are still there, but will try replacing relative paths with 
absolute paths. Note that I have no problems when rendering as PS and 
then converting to PDF.


Richard






import tex error

2011-04-23 Thread Sebastian Krämer
Hi there!

I'm getting an error when I try to import a tex source file to lyx:

 Cannot convert file
 An error occurred whilst running  -f 'ml1_3.tex' 'ml1_3.lyx'

If however I do the convertion with the tex2lyx1.6 script, a lyx file is
created successfully.

I'm using latest svn (r38473) from 1_6_X branch, running the lyx binary
via script which calls
~/src/lyx-svn/build/bin/lyx1.6 -sysdir ~/src/lyx-svn/lib $@
(I do that because I don't want to install this self-compiled lyx
version system-wide. There appears to be something missing with the
package that cpack creates but that's another issue.)

If interested, I can provide the tex file.

Is this a bug?


Sebastian


Re: super-/subscript Lyx-function name for bindfile

2011-04-23 Thread Jürgen Spitzmüller
Sean Wendt wrote:
  Tools  Preferences  Edit  Shortcuts
 
 2.0.0rc2 only had an entry for script-insert by default, which
 doesn't seem to be useful and also cannot be bound to any key.

But you can bind script-insert subscript and script-insert superscript to 
any free key combination in that dialog (hit New below right)

 
 
 Paul Rubin wrote:
  command-sequence ert-insert; self-insert \textsubscript{; char-forward;
  ert-insert; self-insert }; char-backward; char-backward;
 
 This one is neat.

I don't think such ERT tricks are necessary for things that are natively 
supported by LyX.

Jürgen


Re: Master document

2011-04-23 Thread Jürgen Spitzmüller
Two additions:

Jürgen Spitzmüller wrote:
 Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to 
 Document  Settings  Child Documents in the master and select the
 respective  children (this is the includeonly GUI).

For includeonly, you will need to compile the master (View  View/Update 
Master, if you're in a child document).

 You will need to select maintain counters and references (at least on
 the  first run) to get the numbers right.

If you put the following into the master's preamble, you don't need to select 
maintain counters and references, if you just want to have sort of, but 
not 100% exact counters. This assures all auxiliary files are generated once 
(on the first run), but only updates the included file's aux files later (and 
thus speeds up compilation):

\IfFileExists{\jobname.aux}{}{\AtBeginDocument{\@partswfalse}}

Jürgen


Re: spellchecker for lyx 2.0 rc2

2011-04-23 Thread Ganesh Sundaram

On 4/17/2011 12:12 PM, Stephan Witt wrote:



The problem is indeed that Hunspell dictionaries are missing in the installer.
This will be fixed in RC3.

Ok, thanks. This was the plan indeed - to use the dictionaries from LyX's SVN
to integrate it in the installers.

Stephan


All the issues related spell checking and Thesaurus have been fixed in 
Lyx 2.0 rc3.


Thanks to all the developers.
Regards
Ganesh


---
Mail scanned by Amrita GAV Server


Re: import tex error

2011-04-23 Thread Richard Heck

On 04/23/2011 04:40 AM, Sebastian Krämer wrote:

Hi there!

I'm getting an error when I try to import a tex source file to lyx:


Cannot convert file
An error occurred whilst running  -f 'ml1_3.tex' 'ml1_3.lyx'

If however I do the convertion with the tex2lyx1.6 script, a lyx file is
created successfully.

I'm using latest svn (r38473) from 1_6_X branch, running the lyx binary
via script which calls
~/src/lyx-svn/build/bin/lyx1.6 -sysdir ~/src/lyx-svn/lib $@
(I do that because I don't want to install this self-compiled lyx
version system-wide. There appears to be something missing with the
package that cpack creates but that's another issue.)

If interested, I can provide the tex file.

Is this a bug?


Sounds like it. There have been changes in tex2lyx since 1.6.

What would really be helpful is if you could provide a MINIMAL file that 
causes the problem. I.e., erase as much as you can until you don't get 
it any more. Then we'll actually know what the issue is.


You might open a bug on the bug tracker and attach that file.

Richard



Viewing

2011-04-23 Thread Hal Kierstead
While working on a LyX document it would be nice to be able to quickly see the 
the pdf view, just as one can when working on a tex document.  The problem I 
have is that to view changes I must close the current view reopen it and then 
navigate to the the current position, and maybe even reposition the window.  Is 
there a more automated way to do this?

Thanks,

Hal

Re: Viewing

2011-04-23 Thread Liviu Andronic
On Sat, Apr 23, 2011 at 5:20 PM, Hal Kierstead kierst...@asu.edu wrote:
 While working on a LyX document it would be nice to be able to quickly see 
 the the pdf view, just as one can when working on a tex document.  The 
 problem I have is that to view changes I must close the current view

Are you using acroread? It features a known issue: it doesn't reload
the PDF on file system change. You could either reload it in acroread,
or use something else such as Evince.


 reopen it and then navigate to the the current position,

There is a new feature 'forward search' (or similar) that should help
in such cases, but I'm not familiar with it.

Regards
Liviu


 and maybe even reposition the window.  Is there a more automated way to do 
 this?

 Thanks,

 Hal



-- 
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: Viewing

2011-04-23 Thread Hal Kierstead
I am working on a Mac.  My viewer is Adobe Reader, but I have also tried Skim.  
I got Reverse and Forward search working with Skim, but still saving the 
changed LyX file, and hitting the PDF button does not produce a new PDF view.

Hal

On Apr 23, 2011, at 8:36 AM, Liviu Andronic wrote:

 On Sat, Apr 23, 2011 at 5:20 PM, Hal Kierstead kierst...@asu.edu wrote:
 While working on a LyX document it would be nice to be able to quickly see 
 the the pdf view, just as one can when working on a tex document.  The 
 problem I have is that to view changes I must close the current view
 
 Are you using acroread? It features a known issue: it doesn't reload
 the PDF on file system change. You could either reload it in acroread,
 or use something else such as Evince.
 
 
 reopen it and then navigate to the the current position,
 
 There is a new feature 'forward search' (or similar) that should help
 in such cases, but I'm not familiar with it.
 
 Regards
 Liviu
 
 
 and maybe even reposition the window.  Is there a more automated way to do 
 this?
 
 Thanks,
 
 Hal
 
 
 
 -- 
 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: Viewing

2011-04-23 Thread Richard Heck

On 04/23/2011 12:00 PM, Hal Kierstead wrote:

I am working on a Mac.  My viewer is Adobe Reader, but I have also tried Skim.  
I got Reverse and Forward search working with Skim, but still saving the 
changed LyX file, and hitting the PDF button does not produce a new PDF view.

I'd try reposting with that specific issue highlighted in the Subject. 
Mac people may have a better idea what to do here. It's an issue with 
the viewer, not with LyX.


Richard



lyx 2.0.0

2011-04-23 Thread Petrov Denis
Dear LyX team,

I have some problem. About one month ago I had a problem with the
Russian language and I have sent the question, but I have not received
an answer yet. The solution of the problem is very important for me.
Could you help me? I am forwarding you the message again. And I would
like to mention that I have installed lyx 2.0rc3 and I have the same
problem.

In the version lyx 2.0rc3 the Spell-checking on the fly was
announced, but I can not start it. Could you tell me what should I do
to make it work.

In the version lyx 2.0rc3 I start Spell-checking (F7) for the simple
Russian sentence Что делаешь? (which means What are you doing?) and it
suggests me to change the word Что to the word То. I am sure that
the word Что does exist. I have set the language of the document to
Russian and in the version lyx 1.6 everything works. Could you tell me
how can I get the same functionality of Spell-checking?


-- Forwarded message --
From:  lyx-users@lists.lyx.org
Date: 2011/3/27
Subject: Please confirm your message
To: petrovde...@gmail.com


This message was created automatically by mail delivery software (TMDA).

Your message attached below is being held because the address
petrovde...@gmail.com has not been verified.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's Reply feature.

  lyx-users-confirm-1301261897.651.7ae...@lists.lyx.org

This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.

If you do not respond to this confirmation request within 14 days,
your message will not be delivered.


-- message --
From: Petrov Denis petrovde...@gmail.com
To: lyx-users@lists.lyx.org
Date: Sun, 27 Mar 2011 23:38:06 +0200
Subject: Russian Language support
Dear support,

I faced a problem. For Ubuntu I had a problem with Russian language.
But after installing texlive-lang-cyrillic the problem of converting
LyX - document to PDF - file was solved.

But I use also Windows XP SP3 (French edition) and I can not set the
text to be justified (look at the files Test_WINDOWS and Test_Ubuntu),
but the settings for both documents are the same. Could you tell me
what should I install for Windows or what preamble must be for correct
export to PDF?

--
Best regards,
Denis Petrov




-- 
Best regards,
Denis Petrov


Test_WINDOWS.pdf
Description: Adobe PDF document


Test_Ubuntu.pdf
Description: Adobe PDF document


Re: lyx 2.0.0

2011-04-23 Thread Jürgen Spitzmüller
Petrov Denis wrote:
 I have some problem. About one month ago I had a problem with the
 Russian language and I have sent the question, but I have not received
 an answer yet. The solution of the problem is very important for me.
 Could you help me? I am forwarding you the message again. And I would
 like to mention that I have installed lyx 2.0rc3 and I have the same
 problem.

Do other languages work?

Is the Russian dictionary installed? You can see this in the spell checker on 
the check mark icon beneath the Russian entry in the language selection combo. 
Additionally, check if the files ru_RU.aff and ru_RU.dic are at the correct 
place, in the hunspell path (see Tools  Preferences  Paths  Hunspell 
Dictionary Paths). If not, you can grab them here:

http://www.lyx.org/trac/export/38483/dictionaries/trunk/dicts/ru_RU.aff
http://www.lyx.org/trac/export/38483/dictionaries/trunk/dicts/ru_RU.dic

 In the version lyx 2.0rc3 the Spell-checking on the fly was
 announced, but I can not start it. Could you tell me what should I do
 to make it work.

Tools  Preferences  Language Settings  Spell checker  Spell check 
continuously.

HTH,
Jürgen


Re: lyx 2.0.0

2011-04-23 Thread Liviu Andronic
2011/4/23 Petrov Denis petrovde...@gmail.com:
 Dear LyX team,

 I have some problem. About one month ago I had a problem with the
 Russian language and I have sent the question, but I have not received
 an answer yet. The solution of the problem is very important for me.
 Could you help me? I am forwarding you the message again. And I would
 like to mention that I have installed lyx 2.0rc3 and I have the same
 problem.

 In the version lyx 2.0rc3 the Spell-checking on the fly was
 announced, but I can not start it. Could you tell me what should I do
 to make it work.

Other than what Jürgen suggested, it seems likely that you do not have
the appropriate spell checkers and/or languages installed. Install
aspell and hunspell for the Russian language, and then select one of
the two in Tools  Preferences  Language Settings  Spell checker 
Engine. It might help to additionally Tools  Reconfigure.

Regards
Liviu


 In the version lyx 2.0rc3 I start Spell-checking (F7) for the simple
 Russian sentence Что делаешь? (which means What are you doing?) and it
 suggests me to change the word Что to the word То. I am sure that
 the word Что does exist. I have set the language of the document to
 Russian and in the version lyx 1.6 everything works. Could you tell me
 how can I get the same functionality of Spell-checking?


 -- Forwarded message --
 From:  lyx-users@lists.lyx.org
 Date: 2011/3/27
 Subject: Please confirm your message
 To: petrovde...@gmail.com


 This message was created automatically by mail delivery software (TMDA).

 Your message attached below is being held because the address
 petrovde...@gmail.com has not been verified.

 To release your message for delivery, please send an empty message
 to the following address, or use your mailer's Reply feature.

   lyx-users-confirm-1301261897.651.7ae...@lists.lyx.org

 This confirmation verifies that your message is legitimate and not
 junk-mail. You should only have to confirm your address once.

 If you do not respond to this confirmation request within 14 days,
 your message will not be delivered.


 -- message --
 From: Petrov Denis petrovde...@gmail.com
 To: lyx-users@lists.lyx.org
 Date: Sun, 27 Mar 2011 23:38:06 +0200
 Subject: Russian Language support
 Dear support,

 I faced a problem. For Ubuntu I had a problem with Russian language.
 But after installing texlive-lang-cyrillic the problem of converting
 LyX - document to PDF - file was solved.

 But I use also Windows XP SP3 (French edition) and I can not set the
 text to be justified (look at the files Test_WINDOWS and Test_Ubuntu),
 but the settings for both documents are the same. Could you tell me
 what should I install for Windows or what preamble must be for correct
 export to PDF?

 --
 Best regards,
 Denis Petrov




 --
 Best regards,
 Denis Petrov




-- 
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


lyx + bibtex: title in lowercase

2011-04-23 Thread Igor Kvasnicka

Hi,
I have a strange problem and I don't know, if it is problem because of 
Lyx or Bibtex


My bibtex entry looks like this:

@STANDARD{rfc974,
  title = {RFC 974: Mail routing and the domain system},
  organization = {Network Working Group},
  institution = {CSNET CIC BBN Laboratories Inc},
  author = {Craig Partridge},
  month = {January},
  year = {1986},
  url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system, 
January 1986.


notice, that there is Rfc instead of RFC

is there any way, how to configure lyx not to lowercase letters in 
title? or any other solution?


thanks a lot

Igor


Re: lyx + bibtex: title in lowercase

2011-04-23 Thread Julien Rioux

On 23/04/2011 2:12 PM, Igor Kvasnicka wrote:

Hi,
I have a strange problem and I don't know, if it is problem because of
Lyx or Bibtex

My bibtex entry looks like this:

@STANDARD{rfc974,
title = {RFC 974: Mail routing and the domain system},
organization = {Network Working Group},
institution = {CSNET CIC BBN Laboratories Inc},
author = {Craig Partridge},
month = {January},
year = {1986},
url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system,
January 1986.

notice, that there is Rfc instead of RFC

is there any way, how to configure lyx not to lowercase letters in
title? or any other solution?

thanks a lot

Igor



This is done by bibtex, and depends on the style you choose (.bst file). 
You can always prevent it using braces {} around uppercase text:


title = {{RFC} 974: Mail routing and the domain system},

--
Julien



Re: lyx + bibtex: title in lowercase

2011-04-23 Thread Richard Heck

On 04/23/2011 02:18 PM, Julien Rioux wrote:

On 23/04/2011 2:12 PM, Igor Kvasnicka wrote:

Hi,
I have a strange problem and I don't know, if it is problem because of
Lyx or Bibtex

My bibtex entry looks like this:

@STANDARD{rfc974,
title = {RFC 974: Mail routing and the domain system},
organization = {Network Working Group},
institution = {CSNET CIC BBN Laboratories Inc},
author = {Craig Partridge},
month = {January},
year = {1986},
url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system,
January 1986.

notice, that there is Rfc instead of RFC

is there any way, how to configure lyx not to lowercase letters in
title? or any other solution?

thanks a lot

Igor



This is done by bibtex, and depends on the style you choose (.bst 
file). You can always prevent it using braces {} around uppercase text:


title = {{RFC} 974: Mail routing and the domain system},

Which is to say: Whenever you have a non-initial capital you want 
preserved, such as someone's name, you must surround it with braces.


Richard



Re: Viewing

2011-04-23 Thread Stephan Witt
Am 23.04.2011 um 18:00 schrieb Hal Kierstead:

 I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
 Skim.  I got Reverse and Forward search working with Skim, but still saving 
 the changed LyX file, and hitting the PDF button does not produce a new PDF 
 view.

Did you check the setting

Preferences - Sync - Check for file changes?

Stephan

Re: Viewing

2011-04-23 Thread Hal Kierstead

On Apr 23, 2011, at 11:47 AM, Stephan Witt wrote:

 Am 23.04.2011 um 18:00 schrieb Hal Kierstead:
 
 I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
 Skim.  I got Reverse and Forward search working with Skim, but still saving 
 the changed LyX file, and hitting the PDF button does not produce a new PDF 
 view.
 
 Did you check the setting
 
 Preferences - Sync - Check for file changes?

In LyX or the viewer preferences?  I cannot find such a preference.  Rh thought 
it was the viewer, and I have found that it does work correctly with Mac's 
Preview.

Hal
 
 Stephan



Re: Viewing

2011-04-23 Thread Stephan Witt
Am 23.04.2011 um 21:15 schrieb Hal Kierstead:

 
 On Apr 23, 2011, at 11:47 AM, Stephan Witt wrote:
 
 Am 23.04.2011 um 18:00 schrieb Hal Kierstead:
 
 I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
 Skim.  I got Reverse and Forward search working with Skim, but still saving 
 the changed LyX file, and hitting the PDF button does not produce a new PDF 
 view.
 
 Did you check the setting
 
 Preferences - Sync - Check for file changes?
 
 In LyX or the viewer preferences?  

Sorry, I meant the Skim.app preferences.

 I cannot find such a preference.  Rh thought it was the viewer, and I have 
 found that it does work correctly with Mac's Preview.

Stephan

Re: Viewing

2011-04-23 Thread Steve Litt
On Saturday 23 April 2011 11:20:09 Hal Kierstead wrote:
 While working on a LyX document it would be nice to be able to quickly see
 the the pdf view, just as one can when working on a tex document.  The
 problem I have is that to view changes I must close the current view
 reopen it and then navigate to the the current position, and maybe even
 reposition the window.  Is there a more automated way to do this?
 
 Thanks,
 
 Hal

Hi Hal,

Here's what I do on my Linux LyX setup.

Whenever I want to see exactly how it looks, I press Ctrl+D and it compiles up 
a new .dvi file and puts the .dvi file in a .dvi viewer. Elapsed time, about a 
five seconds for a 110,000 word book, on an Intel Core2 Duo @ 2.53GHz with 4GB 
RAM -- in other words, a 2 year old box using Ubuntu and LyX 1.6.5.

No need to exit out of anything. Just press Ctrl+D and 5 seconds later this 
110,000 word doc pops up in a viewer. This is a 350 page document: For a 20 
page doc it would probably be a fraction of a second.

The layout and look of a .dvi file is almost identical to that of a PDF. As a 
matter of fact, many PDFs are made by dvi to ps to pdf. On my machine, going 
to PDF that way takes 23 seconds rather than the 5 of going to dvi.

HTH

StevET

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



Re: super-/subscript Lyx-function name for bindfile

2011-04-23 Thread Paul Rubin
True. I'm on 1.6.x (2.0 requires multiple library upgrades on my Linux systems,
so it's awaiting my next major Linux upgrade).  Sean apparently is on 2.0,
though, so it would seem easier for him to bind the new LFUNs.

Paul



Re: Viewing

2011-04-23 Thread Charlie
On Sat, 23 Apr 2011 17:35:16 -0400
Steve Litt sl...@troubleshooters.com wrote:

 The layout and look of a .dvi file is almost identical to that of a
 PDF. As a matter of fact, many PDFs are made by dvi to ps to pdf. On
 my machine, going to PDF that way takes 23 seconds rather than the 5
 of going to dvi.

About 5 seconds if you already have Okular loaded. Even though it
brings you file up in a new Okular window.

About 20 if you don't have it loaded.

HTH
Charlie
-- 
Registered Linux User:- 329524
***

The temple bell stops but the sound keeps coming out of the flowers.
--BASHO

***

Debian GNU/Linux - just the best way to create magic

-


Re: Re: ERROR: file is from a newer version of LyX and the lyx2lyx script failed to convert it.

2011-04-23 Thread Stefan Janse van Rensburg



On 04/22/2011 06:15 AM, Stefan Janse van Rensburg wrote:


As for the errors, the main thing was that I was experiencing several 
spontaneous crashes which I had not experienced with RC3. Nothing 
that resulted in data loss, though.



Any hint at all when these were happening?
OK, re-upgraded to RC3 and crashes seem to happen when I delete certain 
tables within a branch. I get the message: Lyx has caught an exception, 
it will attempt to save all unsaved documents and exit. Exception: 
basic_string::_S_create. Richard, I can e-mail you the offending file.
The other issue (the main one that made me downgrade), I have a 
document which previously rendered as PDF (using latex2pdf) which now 
suddenly complains that latex cannot determine image size (no 
bounding box). Unfortunately, this problem has persisted after 
downgrading, so I might have been wrong in assuming that it was the 
upgrade that caused the error.


This is usually because LaTeX cannot find the image. Are you sure it 
is still there? (Silly question, perhaps, but I had this very problem 
recently.)
Images are still there, but will try replacing relative paths with 
absolute paths. Note that I have no problems when rendering as PS and 
then converting to PDF.


Richard






import tex error

2011-04-23 Thread Sebastian Krämer
Hi there!

I'm getting an error when I try to import a tex source file to lyx:

 Cannot convert file
 An error occurred whilst running  -f 'ml1_3.tex' 'ml1_3.lyx'

If however I do the convertion with the tex2lyx1.6 script, a lyx file is
created successfully.

I'm using latest svn (r38473) from 1_6_X branch, running the lyx binary
via script which calls
~/src/lyx-svn/build/bin/lyx1.6 -sysdir ~/src/lyx-svn/lib $@
(I do that because I don't want to install this self-compiled lyx
version system-wide. There appears to be something missing with the
package that cpack creates but that's another issue.)

If interested, I can provide the tex file.

Is this a bug?


Sebastian


Re: super-/subscript Lyx-function name for bindfile

2011-04-23 Thread Jürgen Spitzmüller
Sean Wendt wrote:
  Tools  Preferences  Edit  Shortcuts
 
 2.0.0rc2 only had an entry for script-insert by default, which
 doesn't seem to be useful and also cannot be bound to any key.

But you can bind script-insert subscript and script-insert superscript to 
any free key combination in that dialog (hit New below right)

 
 
 Paul Rubin wrote:
  command-sequence ert-insert; self-insert \textsubscript{; char-forward;
  ert-insert; self-insert }; char-backward; char-backward;
 
 This one is neat.

I don't think such ERT tricks are necessary for things that are natively 
supported by LyX.

Jürgen


Re: Master document

2011-04-23 Thread Jürgen Spitzmüller
Two additions:

Jürgen Spitzmüller wrote:
 Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to 
 Document  Settings  Child Documents in the master and select the
 respective  children (this is the includeonly GUI).

For includeonly, you will need to compile the master (View  View/Update 
Master, if you're in a child document).

 You will need to select maintain counters and references (at least on
 the  first run) to get the numbers right.

If you put the following into the master's preamble, you don't need to select 
maintain counters and references, if you just want to have sort of, but 
not 100% exact counters. This assures all auxiliary files are generated once 
(on the first run), but only updates the included file's aux files later (and 
thus speeds up compilation):

\IfFileExists{\jobname.aux}{}{\AtBeginDocument{\@partswfalse}}

Jürgen


Re: spellchecker for lyx 2.0 rc2

2011-04-23 Thread Ganesh Sundaram

On 4/17/2011 12:12 PM, Stephan Witt wrote:



The problem is indeed that Hunspell dictionaries are missing in the installer.
This will be fixed in RC3.

Ok, thanks. This was the plan indeed - to use the dictionaries from LyX's SVN
to integrate it in the installers.

Stephan


All the issues related spell checking and Thesaurus have been fixed in 
Lyx 2.0 rc3.


Thanks to all the developers.
Regards
Ganesh


---
Mail scanned by Amrita GAV Server


Re: import tex error

2011-04-23 Thread Richard Heck

On 04/23/2011 04:40 AM, Sebastian Krämer wrote:

Hi there!

I'm getting an error when I try to import a tex source file to lyx:


Cannot convert file
An error occurred whilst running  -f 'ml1_3.tex' 'ml1_3.lyx'

If however I do the convertion with the tex2lyx1.6 script, a lyx file is
created successfully.

I'm using latest svn (r38473) from 1_6_X branch, running the lyx binary
via script which calls
~/src/lyx-svn/build/bin/lyx1.6 -sysdir ~/src/lyx-svn/lib $@
(I do that because I don't want to install this self-compiled lyx
version system-wide. There appears to be something missing with the
package that cpack creates but that's another issue.)

If interested, I can provide the tex file.

Is this a bug?


Sounds like it. There have been changes in tex2lyx since 1.6.

What would really be helpful is if you could provide a MINIMAL file that 
causes the problem. I.e., erase as much as you can until you don't get 
it any more. Then we'll actually know what the issue is.


You might open a bug on the bug tracker and attach that file.

Richard



Viewing

2011-04-23 Thread Hal Kierstead
While working on a LyX document it would be nice to be able to quickly see the 
the pdf view, just as one can when working on a tex document.  The problem I 
have is that to view changes I must close the current view reopen it and then 
navigate to the the current position, and maybe even reposition the window.  Is 
there a more automated way to do this?

Thanks,

Hal

Re: Viewing

2011-04-23 Thread Liviu Andronic
On Sat, Apr 23, 2011 at 5:20 PM, Hal Kierstead kierst...@asu.edu wrote:
 While working on a LyX document it would be nice to be able to quickly see 
 the the pdf view, just as one can when working on a tex document.  The 
 problem I have is that to view changes I must close the current view

Are you using acroread? It features a known issue: it doesn't reload
the PDF on file system change. You could either reload it in acroread,
or use something else such as Evince.


 reopen it and then navigate to the the current position,

There is a new feature 'forward search' (or similar) that should help
in such cases, but I'm not familiar with it.

Regards
Liviu


 and maybe even reposition the window.  Is there a more automated way to do 
 this?

 Thanks,

 Hal



-- 
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: Viewing

2011-04-23 Thread Hal Kierstead
I am working on a Mac.  My viewer is Adobe Reader, but I have also tried Skim.  
I got Reverse and Forward search working with Skim, but still saving the 
changed LyX file, and hitting the PDF button does not produce a new PDF view.

Hal

On Apr 23, 2011, at 8:36 AM, Liviu Andronic wrote:

 On Sat, Apr 23, 2011 at 5:20 PM, Hal Kierstead kierst...@asu.edu wrote:
 While working on a LyX document it would be nice to be able to quickly see 
 the the pdf view, just as one can when working on a tex document.  The 
 problem I have is that to view changes I must close the current view
 
 Are you using acroread? It features a known issue: it doesn't reload
 the PDF on file system change. You could either reload it in acroread,
 or use something else such as Evince.
 
 
 reopen it and then navigate to the the current position,
 
 There is a new feature 'forward search' (or similar) that should help
 in such cases, but I'm not familiar with it.
 
 Regards
 Liviu
 
 
 and maybe even reposition the window.  Is there a more automated way to do 
 this?
 
 Thanks,
 
 Hal
 
 
 
 -- 
 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: Viewing

2011-04-23 Thread Richard Heck

On 04/23/2011 12:00 PM, Hal Kierstead wrote:

I am working on a Mac.  My viewer is Adobe Reader, but I have also tried Skim.  
I got Reverse and Forward search working with Skim, but still saving the 
changed LyX file, and hitting the PDF button does not produce a new PDF view.

I'd try reposting with that specific issue highlighted in the Subject. 
Mac people may have a better idea what to do here. It's an issue with 
the viewer, not with LyX.


Richard



lyx 2.0.0

2011-04-23 Thread Petrov Denis
Dear LyX team,

I have some problem. About one month ago I had a problem with the
Russian language and I have sent the question, but I have not received
an answer yet. The solution of the problem is very important for me.
Could you help me? I am forwarding you the message again. And I would
like to mention that I have installed lyx 2.0rc3 and I have the same
problem.

In the version lyx 2.0rc3 the Spell-checking on the fly was
announced, but I can not start it. Could you tell me what should I do
to make it work.

In the version lyx 2.0rc3 I start Spell-checking (F7) for the simple
Russian sentence Что делаешь? (which means What are you doing?) and it
suggests me to change the word Что to the word То. I am sure that
the word Что does exist. I have set the language of the document to
Russian and in the version lyx 1.6 everything works. Could you tell me
how can I get the same functionality of Spell-checking?


-- Forwarded message --
From:  lyx-users@lists.lyx.org
Date: 2011/3/27
Subject: Please confirm your message
To: petrovde...@gmail.com


This message was created automatically by mail delivery software (TMDA).

Your message attached below is being held because the address
petrovde...@gmail.com has not been verified.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's Reply feature.

  lyx-users-confirm-1301261897.651.7ae...@lists.lyx.org

This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.

If you do not respond to this confirmation request within 14 days,
your message will not be delivered.


-- message --
From: Petrov Denis petrovde...@gmail.com
To: lyx-users@lists.lyx.org
Date: Sun, 27 Mar 2011 23:38:06 +0200
Subject: Russian Language support
Dear support,

I faced a problem. For Ubuntu I had a problem with Russian language.
But after installing texlive-lang-cyrillic the problem of converting
LyX - document to PDF - file was solved.

But I use also Windows XP SP3 (French edition) and I can not set the
text to be justified (look at the files Test_WINDOWS and Test_Ubuntu),
but the settings for both documents are the same. Could you tell me
what should I install for Windows or what preamble must be for correct
export to PDF?

--
Best regards,
Denis Petrov




-- 
Best regards,
Denis Petrov


Test_WINDOWS.pdf
Description: Adobe PDF document


Test_Ubuntu.pdf
Description: Adobe PDF document


Re: lyx 2.0.0

2011-04-23 Thread Jürgen Spitzmüller
Petrov Denis wrote:
 I have some problem. About one month ago I had a problem with the
 Russian language and I have sent the question, but I have not received
 an answer yet. The solution of the problem is very important for me.
 Could you help me? I am forwarding you the message again. And I would
 like to mention that I have installed lyx 2.0rc3 and I have the same
 problem.

Do other languages work?

Is the Russian dictionary installed? You can see this in the spell checker on 
the check mark icon beneath the Russian entry in the language selection combo. 
Additionally, check if the files ru_RU.aff and ru_RU.dic are at the correct 
place, in the hunspell path (see Tools  Preferences  Paths  Hunspell 
Dictionary Paths). If not, you can grab them here:

http://www.lyx.org/trac/export/38483/dictionaries/trunk/dicts/ru_RU.aff
http://www.lyx.org/trac/export/38483/dictionaries/trunk/dicts/ru_RU.dic

 In the version lyx 2.0rc3 the Spell-checking on the fly was
 announced, but I can not start it. Could you tell me what should I do
 to make it work.

Tools  Preferences  Language Settings  Spell checker  Spell check 
continuously.

HTH,
Jürgen


Re: lyx 2.0.0

2011-04-23 Thread Liviu Andronic
2011/4/23 Petrov Denis petrovde...@gmail.com:
 Dear LyX team,

 I have some problem. About one month ago I had a problem with the
 Russian language and I have sent the question, but I have not received
 an answer yet. The solution of the problem is very important for me.
 Could you help me? I am forwarding you the message again. And I would
 like to mention that I have installed lyx 2.0rc3 and I have the same
 problem.

 In the version lyx 2.0rc3 the Spell-checking on the fly was
 announced, but I can not start it. Could you tell me what should I do
 to make it work.

Other than what Jürgen suggested, it seems likely that you do not have
the appropriate spell checkers and/or languages installed. Install
aspell and hunspell for the Russian language, and then select one of
the two in Tools  Preferences  Language Settings  Spell checker 
Engine. It might help to additionally Tools  Reconfigure.

Regards
Liviu


 In the version lyx 2.0rc3 I start Spell-checking (F7) for the simple
 Russian sentence Что делаешь? (which means What are you doing?) and it
 suggests me to change the word Что to the word То. I am sure that
 the word Что does exist. I have set the language of the document to
 Russian and in the version lyx 1.6 everything works. Could you tell me
 how can I get the same functionality of Spell-checking?


 -- Forwarded message --
 From:  lyx-users@lists.lyx.org
 Date: 2011/3/27
 Subject: Please confirm your message
 To: petrovde...@gmail.com


 This message was created automatically by mail delivery software (TMDA).

 Your message attached below is being held because the address
 petrovde...@gmail.com has not been verified.

 To release your message for delivery, please send an empty message
 to the following address, or use your mailer's Reply feature.

   lyx-users-confirm-1301261897.651.7ae...@lists.lyx.org

 This confirmation verifies that your message is legitimate and not
 junk-mail. You should only have to confirm your address once.

 If you do not respond to this confirmation request within 14 days,
 your message will not be delivered.


 -- message --
 From: Petrov Denis petrovde...@gmail.com
 To: lyx-users@lists.lyx.org
 Date: Sun, 27 Mar 2011 23:38:06 +0200
 Subject: Russian Language support
 Dear support,

 I faced a problem. For Ubuntu I had a problem with Russian language.
 But after installing texlive-lang-cyrillic the problem of converting
 LyX - document to PDF - file was solved.

 But I use also Windows XP SP3 (French edition) and I can not set the
 text to be justified (look at the files Test_WINDOWS and Test_Ubuntu),
 but the settings for both documents are the same. Could you tell me
 what should I install for Windows or what preamble must be for correct
 export to PDF?

 --
 Best regards,
 Denis Petrov




 --
 Best regards,
 Denis Petrov




-- 
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


lyx + bibtex: title in lowercase

2011-04-23 Thread Igor Kvasnicka

Hi,
I have a strange problem and I don't know, if it is problem because of 
Lyx or Bibtex


My bibtex entry looks like this:

@STANDARD{rfc974,
  title = {RFC 974: Mail routing and the domain system},
  organization = {Network Working Group},
  institution = {CSNET CIC BBN Laboratories Inc},
  author = {Craig Partridge},
  month = {January},
  year = {1986},
  url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system, 
January 1986.


notice, that there is Rfc instead of RFC

is there any way, how to configure lyx not to lowercase letters in 
title? or any other solution?


thanks a lot

Igor


Re: lyx + bibtex: title in lowercase

2011-04-23 Thread Julien Rioux

On 23/04/2011 2:12 PM, Igor Kvasnicka wrote:

Hi,
I have a strange problem and I don't know, if it is problem because of
Lyx or Bibtex

My bibtex entry looks like this:

@STANDARD{rfc974,
title = {RFC 974: Mail routing and the domain system},
organization = {Network Working Group},
institution = {CSNET CIC BBN Laboratories Inc},
author = {Craig Partridge},
month = {January},
year = {1986},
url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system,
January 1986.

notice, that there is Rfc instead of RFC

is there any way, how to configure lyx not to lowercase letters in
title? or any other solution?

thanks a lot

Igor



This is done by bibtex, and depends on the style you choose (.bst file). 
You can always prevent it using braces {} around uppercase text:


title = {{RFC} 974: Mail routing and the domain system},

--
Julien



Re: lyx + bibtex: title in lowercase

2011-04-23 Thread Richard Heck

On 04/23/2011 02:18 PM, Julien Rioux wrote:

On 23/04/2011 2:12 PM, Igor Kvasnicka wrote:

Hi,
I have a strange problem and I don't know, if it is problem because of
Lyx or Bibtex

My bibtex entry looks like this:

@STANDARD{rfc974,
title = {RFC 974: Mail routing and the domain system},
organization = {Network Working Group},
institution = {CSNET CIC BBN Laboratories Inc},
author = {Craig Partridge},
month = {January},
year = {1986},
url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system,
January 1986.

notice, that there is Rfc instead of RFC

is there any way, how to configure lyx not to lowercase letters in
title? or any other solution?

thanks a lot

Igor



This is done by bibtex, and depends on the style you choose (.bst 
file). You can always prevent it using braces {} around uppercase text:


title = {{RFC} 974: Mail routing and the domain system},

Which is to say: Whenever you have a non-initial capital you want 
preserved, such as someone's name, you must surround it with braces.


Richard



Re: Viewing

2011-04-23 Thread Stephan Witt
Am 23.04.2011 um 18:00 schrieb Hal Kierstead:

 I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
 Skim.  I got Reverse and Forward search working with Skim, but still saving 
 the changed LyX file, and hitting the PDF button does not produce a new PDF 
 view.

Did you check the setting

Preferences - Sync - Check for file changes?

Stephan

Re: Viewing

2011-04-23 Thread Hal Kierstead

On Apr 23, 2011, at 11:47 AM, Stephan Witt wrote:

 Am 23.04.2011 um 18:00 schrieb Hal Kierstead:
 
 I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
 Skim.  I got Reverse and Forward search working with Skim, but still saving 
 the changed LyX file, and hitting the PDF button does not produce a new PDF 
 view.
 
 Did you check the setting
 
 Preferences - Sync - Check for file changes?

In LyX or the viewer preferences?  I cannot find such a preference.  Rh thought 
it was the viewer, and I have found that it does work correctly with Mac's 
Preview.

Hal
 
 Stephan



Re: Viewing

2011-04-23 Thread Stephan Witt
Am 23.04.2011 um 21:15 schrieb Hal Kierstead:

 
 On Apr 23, 2011, at 11:47 AM, Stephan Witt wrote:
 
 Am 23.04.2011 um 18:00 schrieb Hal Kierstead:
 
 I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
 Skim.  I got Reverse and Forward search working with Skim, but still saving 
 the changed LyX file, and hitting the PDF button does not produce a new PDF 
 view.
 
 Did you check the setting
 
 Preferences - Sync - Check for file changes?
 
 In LyX or the viewer preferences?  

Sorry, I meant the Skim.app preferences.

 I cannot find such a preference.  Rh thought it was the viewer, and I have 
 found that it does work correctly with Mac's Preview.

Stephan

Re: Viewing

2011-04-23 Thread Steve Litt
On Saturday 23 April 2011 11:20:09 Hal Kierstead wrote:
 While working on a LyX document it would be nice to be able to quickly see
 the the pdf view, just as one can when working on a tex document.  The
 problem I have is that to view changes I must close the current view
 reopen it and then navigate to the the current position, and maybe even
 reposition the window.  Is there a more automated way to do this?
 
 Thanks,
 
 Hal

Hi Hal,

Here's what I do on my Linux LyX setup.

Whenever I want to see exactly how it looks, I press Ctrl+D and it compiles up 
a new .dvi file and puts the .dvi file in a .dvi viewer. Elapsed time, about a 
five seconds for a 110,000 word book, on an Intel Core2 Duo @ 2.53GHz with 4GB 
RAM -- in other words, a 2 year old box using Ubuntu and LyX 1.6.5.

No need to exit out of anything. Just press Ctrl+D and 5 seconds later this 
110,000 word doc pops up in a viewer. This is a 350 page document: For a 20 
page doc it would probably be a fraction of a second.

The layout and look of a .dvi file is almost identical to that of a PDF. As a 
matter of fact, many PDFs are made by dvi to ps to pdf. On my machine, going 
to PDF that way takes 23 seconds rather than the 5 of going to dvi.

HTH

StevET

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



Re: super-/subscript Lyx-function name for bindfile

2011-04-23 Thread Paul Rubin
True. I'm on 1.6.x (2.0 requires multiple library upgrades on my Linux systems,
so it's awaiting my next major Linux upgrade).  Sean apparently is on 2.0,
though, so it would seem easier for him to bind the new LFUNs.

Paul



Re: Viewing

2011-04-23 Thread Charlie
On Sat, 23 Apr 2011 17:35:16 -0400
Steve Litt sl...@troubleshooters.com wrote:

 The layout and look of a .dvi file is almost identical to that of a
 PDF. As a matter of fact, many PDFs are made by dvi to ps to pdf. On
 my machine, going to PDF that way takes 23 seconds rather than the 5
 of going to dvi.

About 5 seconds if you already have Okular loaded. Even though it
brings you file up in a new Okular window.

About 20 if you don't have it loaded.

HTH
Charlie
-- 
Registered Linux User:- 329524
***

The temple bell stops but the sound keeps coming out of the flowers.
--BASHO

***

Debian GNU/Linux - just the best way to create magic

-


Re: Re: ERROR: file is from a newer version of LyX and the lyx2lyx script failed to convert it.

2011-04-23 Thread Stefan Janse van Rensburg



On 04/22/2011 06:15 AM, Stefan Janse van Rensburg wrote:


As for the errors, the main thing was that I was experiencing several 
spontaneous crashes which I had not experienced with RC3. Nothing 
that resulted in data loss, though.



Any hint at all when these were happening?
OK, re-upgraded to RC3 and crashes seem to happen when I delete certain 
tables within a branch. I get the message: "Lyx has caught an exception, 
it will attempt to save all unsaved documents and exit. Exception: 
basic_string::_S_create". Richard, I can e-mail you the offending file.
The other issue (the main one that made me downgrade), I have a 
document which previously rendered as PDF (using latex2pdf) which now 
suddenly complains that latex cannot determine image size (no 
bounding box). Unfortunately, this problem has persisted after 
downgrading, so I might have been wrong in assuming that it was the 
upgrade that caused the error.


This is usually because LaTeX cannot find the image. Are you sure it 
is still there? (Silly question, perhaps, but I had this very problem 
recently.)
Images are still there, but will try replacing relative paths with 
absolute paths. Note that I have no problems when rendering as PS and 
then converting to PDF.


Richard






import tex error

2011-04-23 Thread Sebastian Krämer
Hi there!

I'm getting an error when I try to import a tex source file to lyx:

> Cannot convert file
> An error occurred whilst running  -f 'ml1_3.tex' 'ml1_3.lyx'

If however I do the convertion with the tex2lyx1.6 script, a lyx file is
created successfully.

I'm using latest svn (r38473) from 1_6_X branch, running the lyx binary
via script which calls
~/src/lyx-svn/build/bin/lyx1.6 -sysdir ~/src/lyx-svn/lib "$@"
(I do that because I don't want to install this self-compiled lyx
version system-wide. There appears to be something missing with the
package that cpack creates but that's another issue.)

If interested, I can provide the tex file.

Is this a bug?


Sebastian


Re: super-/subscript Lyx-function name for bindfile

2011-04-23 Thread Jürgen Spitzmüller
Sean Wendt wrote:
> > Tools > Preferences > Edit > Shortcuts
> 
> 2.0.0rc2 only had an entry for "script-insert" by default, which
> doesn't seem to be useful and also cannot be bound to any key.

But you can bind "script-insert subscript" and "script-insert superscript" to 
any free key combination in that dialog (hit "New" below right)

> 
> 
> Paul Rubin wrote:
> > "command-sequence ert-insert; self-insert \textsubscript{; char-forward;
> > ert-insert; self-insert }; char-backward; char-backward;"
> 
> This one is neat.

I don't think such ERT tricks are necessary for things that are natively 
supported by LyX.

Jürgen


Re: Master document

2011-04-23 Thread Jürgen Spitzmüller
Two additions:

Jürgen Spitzmüller wrote:
> Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to 
> Document > Settings > Child Documents in the master and select the
> respective  children (this is the includeonly GUI).

For includeonly, you will need to compile the master (View > View/Update 
Master, if you're in a child document).

> You will need to select "maintain counters and references" (at least on
> the  first run) to get the numbers right.

If you put the following into the master's preamble, you don't need to select 
"maintain counters and references", if you just want to have "sort of", but 
not "100% exact" counters. This assures all auxiliary files are generated once 
(on the first run), but only updates the included file's aux files later (and 
thus speeds up compilation):

\IfFileExists{\jobname.aux}{}{\AtBeginDocument{\@partswfalse}}

Jürgen


Re: spellchecker for lyx 2.0 rc2

2011-04-23 Thread Ganesh Sundaram

On 4/17/2011 12:12 PM, Stephan Witt wrote:



The problem is indeed that Hunspell dictionaries are missing in the installer.
This will be fixed in RC3.

Ok, thanks. This was the plan indeed - to use the dictionaries from LyX's SVN
to integrate it in the installers.

Stephan


All the issues related spell checking and Thesaurus have been fixed in 
Lyx 2.0 rc3.


Thanks to all the developers.
Regards
Ganesh


---
Mail scanned by Amrita GAV Server


Re: import tex error

2011-04-23 Thread Richard Heck

On 04/23/2011 04:40 AM, Sebastian Krämer wrote:

Hi there!

I'm getting an error when I try to import a tex source file to lyx:


Cannot convert file
An error occurred whilst running  -f 'ml1_3.tex' 'ml1_3.lyx'

If however I do the convertion with the tex2lyx1.6 script, a lyx file is
created successfully.

I'm using latest svn (r38473) from 1_6_X branch, running the lyx binary
via script which calls
~/src/lyx-svn/build/bin/lyx1.6 -sysdir ~/src/lyx-svn/lib "$@"
(I do that because I don't want to install this self-compiled lyx
version system-wide. There appears to be something missing with the
package that cpack creates but that's another issue.)

If interested, I can provide the tex file.

Is this a bug?


Sounds like it. There have been changes in tex2lyx since 1.6.

What would really be helpful is if you could provide a MINIMAL file that 
causes the problem. I.e., erase as much as you can until you don't get 
it any more. Then we'll actually know what the issue is.


You might open a bug on the bug tracker and attach that file.

Richard



Viewing

2011-04-23 Thread Hal Kierstead
While working on a LyX document it would be nice to be able to quickly see the 
the pdf view, just as one can when working on a tex document.  The problem I 
have is that to view changes I must close the current view reopen it and then 
navigate to the the current position, and maybe even reposition the window.  Is 
there a more automated way to do this?

Thanks,

Hal

Re: Viewing

2011-04-23 Thread Liviu Andronic
On Sat, Apr 23, 2011 at 5:20 PM, Hal Kierstead  wrote:
> While working on a LyX document it would be nice to be able to quickly see 
> the the pdf view, just as one can when working on a tex document.  The 
> problem I have is that to view changes I must close the current view
>
Are you using acroread? It features a known issue: it doesn't reload
the PDF on file system change. You could either reload it in acroread,
or use something else such as Evince.


> reopen it and then navigate to the the current position,
>
There is a new feature 'forward search' (or similar) that should help
in such cases, but I'm not familiar with it.

Regards
Liviu


> and maybe even reposition the window.  Is there a more automated way to do 
> this?
>
> Thanks,
>
> Hal



-- 
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: Viewing

2011-04-23 Thread Hal Kierstead
I am working on a Mac.  My viewer is Adobe Reader, but I have also tried Skim.  
I got Reverse and Forward search working with Skim, but still saving the 
changed LyX file, and hitting the PDF button does not produce a new PDF view.

Hal

On Apr 23, 2011, at 8:36 AM, Liviu Andronic wrote:

> On Sat, Apr 23, 2011 at 5:20 PM, Hal Kierstead  wrote:
>> While working on a LyX document it would be nice to be able to quickly see 
>> the the pdf view, just as one can when working on a tex document.  The 
>> problem I have is that to view changes I must close the current view
>> 
> Are you using acroread? It features a known issue: it doesn't reload
> the PDF on file system change. You could either reload it in acroread,
> or use something else such as Evince.
> 
> 
>> reopen it and then navigate to the the current position,
>> 
> There is a new feature 'forward search' (or similar) that should help
> in such cases, but I'm not familiar with it.
> 
> Regards
> Liviu
> 
> 
>> and maybe even reposition the window.  Is there a more automated way to do 
>> this?
>> 
>> Thanks,
>> 
>> Hal
> 
> 
> 
> -- 
> 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: Viewing

2011-04-23 Thread Richard Heck

On 04/23/2011 12:00 PM, Hal Kierstead wrote:

I am working on a Mac.  My viewer is Adobe Reader, but I have also tried Skim.  
I got Reverse and Forward search working with Skim, but still saving the 
changed LyX file, and hitting the PDF button does not produce a new PDF view.

I'd try reposting with that specific issue highlighted in the Subject. 
Mac people may have a better idea what to do here. It's an issue with 
the viewer, not with LyX.


Richard



lyx 2.0.0

2011-04-23 Thread Petrov Denis
Dear LyX team,

I have some problem. About one month ago I had a problem with the
Russian language and I have sent the question, but I have not received
an answer yet. The solution of the problem is very important for me.
Could you help me? I am forwarding you the message again. And I would
like to mention that I have installed lyx 2.0rc3 and I have the same
problem.

In the version lyx 2.0rc3 the "Spell-checking on the fly" was
announced, but I can not start it. Could you tell me what should I do
to make it work.

In the version lyx 2.0rc3 I start "Spell-checking" (F7) for the simple
Russian sentence Что делаешь? (which means What are you doing?) and it
suggests me to change the word "Что" to the word "То". I am sure that
the word "Что" does exist. I have set the language of the document to
Russian and in the version lyx 1.6 everything works. Could you tell me
how can I get the same functionality of Spell-checking?


-- Forwarded message --
From:  
Date: 2011/3/27
Subject: Please confirm your message
To: petrovde...@gmail.com


This message was created automatically by mail delivery software (TMDA).

Your message attached below is being held because the address
 has not been verified.

To release your message for delivery, please send an empty message
to the following address, or use your mailer's "Reply" feature.

  lyx-users-confirm-1301261897.651.7ae...@lists.lyx.org

This confirmation verifies that your message is legitimate and not
junk-mail. You should only have to confirm your address once.

If you do not respond to this confirmation request within 14 days,
your message will not be delivered.


-- message --
From: Petrov Denis 
To: lyx-users@lists.lyx.org
Date: Sun, 27 Mar 2011 23:38:06 +0200
Subject: Russian Language support
Dear support,

I faced a problem. For Ubuntu I had a problem with Russian language.
But after installing texlive-lang-cyrillic the problem of converting
LyX - document to PDF - file was solved.

But I use also Windows XP SP3 (French edition) and I can not set the
text to be justified (look at the files Test_WINDOWS and Test_Ubuntu),
but the settings for both documents are the same. Could you tell me
what should I install for Windows or what preamble must be for correct
export to PDF?

--
Best regards,
Denis Petrov




-- 
Best regards,
Denis Petrov


Test_WINDOWS.pdf
Description: Adobe PDF document


Test_Ubuntu.pdf
Description: Adobe PDF document


Re: lyx 2.0.0

2011-04-23 Thread Jürgen Spitzmüller
Petrov Denis wrote:
> I have some problem. About one month ago I had a problem with the
> Russian language and I have sent the question, but I have not received
> an answer yet. The solution of the problem is very important for me.
> Could you help me? I am forwarding you the message again. And I would
> like to mention that I have installed lyx 2.0rc3 and I have the same
> problem.

Do other languages work?

Is the Russian dictionary installed? You can see this in the spell checker on 
the check mark icon beneath the Russian entry in the language selection combo. 
Additionally, check if the files ru_RU.aff and ru_RU.dic are at the correct 
place, in the hunspell path (see Tools > Preferences > Paths > Hunspell 
Dictionary Paths). If not, you can grab them here:

http://www.lyx.org/trac/export/38483/dictionaries/trunk/dicts/ru_RU.aff
http://www.lyx.org/trac/export/38483/dictionaries/trunk/dicts/ru_RU.dic

> In the version lyx 2.0rc3 the "Spell-checking on the fly" was
> announced, but I can not start it. Could you tell me what should I do
> to make it work.

Tools > Preferences > Language Settings > Spell checker > Spell check 
continuously.

HTH,
Jürgen


Re: lyx 2.0.0

2011-04-23 Thread Liviu Andronic
2011/4/23 Petrov Denis :
> Dear LyX team,
>
> I have some problem. About one month ago I had a problem with the
> Russian language and I have sent the question, but I have not received
> an answer yet. The solution of the problem is very important for me.
> Could you help me? I am forwarding you the message again. And I would
> like to mention that I have installed lyx 2.0rc3 and I have the same
> problem.
>
> In the version lyx 2.0rc3 the "Spell-checking on the fly" was
> announced, but I can not start it. Could you tell me what should I do
> to make it work.
>
Other than what Jürgen suggested, it seems likely that you do not have
the appropriate spell checkers and/or languages installed. Install
aspell and hunspell for the Russian language, and then select one of
the two in Tools > Preferences > Language Settings > Spell checker >
Engine. It might help to additionally Tools > Reconfigure.

Regards
Liviu


> In the version lyx 2.0rc3 I start "Spell-checking" (F7) for the simple
> Russian sentence Что делаешь? (which means What are you doing?) and it
> suggests me to change the word "Что" to the word "То". I am sure that
> the word "Что" does exist. I have set the language of the document to
> Russian and in the version lyx 1.6 everything works. Could you tell me
> how can I get the same functionality of Spell-checking?
>
>
> -- Forwarded message --
> From:  
> Date: 2011/3/27
> Subject: Please confirm your message
> To: petrovde...@gmail.com
>
>
> This message was created automatically by mail delivery software (TMDA).
>
> Your message attached below is being held because the address
>  has not been verified.
>
> To release your message for delivery, please send an empty message
> to the following address, or use your mailer's "Reply" feature.
>
>   lyx-users-confirm-1301261897.651.7ae...@lists.lyx.org
>
> This confirmation verifies that your message is legitimate and not
> junk-mail. You should only have to confirm your address once.
>
> If you do not respond to this confirmation request within 14 days,
> your message will not be delivered.
>
>
> -- message --
> From: Petrov Denis 
> To: lyx-users@lists.lyx.org
> Date: Sun, 27 Mar 2011 23:38:06 +0200
> Subject: Russian Language support
> Dear support,
>
> I faced a problem. For Ubuntu I had a problem with Russian language.
> But after installing texlive-lang-cyrillic the problem of converting
> LyX - document to PDF - file was solved.
>
> But I use also Windows XP SP3 (French edition) and I can not set the
> text to be justified (look at the files Test_WINDOWS and Test_Ubuntu),
> but the settings for both documents are the same. Could you tell me
> what should I install for Windows or what preamble must be for correct
> export to PDF?
>
> --
> Best regards,
> Denis Petrov
>
>
>
>
> --
> Best regards,
> Denis Petrov
>



-- 
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


lyx + bibtex: title in lowercase

2011-04-23 Thread Igor Kvasnicka

Hi,
I have a strange problem and I don't know, if it is problem because of 
Lyx or Bibtex


My bibtex entry looks like this:

@STANDARD{rfc974,
  title = {RFC 974: Mail routing and the domain system},
  organization = {Network Working Group},
  institution = {CSNET CIC BBN Laboratories Inc},
  author = {Craig Partridge},
  month = {January},
  year = {1986},
  url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system, 
January 1986.


notice, that there is "Rfc" instead of "RFC"

is there any way, how to configure lyx not to lowercase letters in 
title? or any other solution?


thanks a lot

Igor


Re: lyx + bibtex: title in lowercase

2011-04-23 Thread Julien Rioux

On 23/04/2011 2:12 PM, Igor Kvasnicka wrote:

Hi,
I have a strange problem and I don't know, if it is problem because of
Lyx or Bibtex

My bibtex entry looks like this:

@STANDARD{rfc974,
title = {RFC 974: Mail routing and the domain system},
organization = {Network Working Group},
institution = {CSNET CIC BBN Laboratories Inc},
author = {Craig Partridge},
month = {January},
year = {1986},
url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system,
January 1986.

notice, that there is "Rfc" instead of "RFC"

is there any way, how to configure lyx not to lowercase letters in
title? or any other solution?

thanks a lot

Igor



This is done by bibtex, and depends on the style you choose (.bst file). 
You can always prevent it using braces {} around uppercase text:


title = {{RFC} 974: Mail routing and the domain system},

--
Julien



Re: lyx + bibtex: title in lowercase

2011-04-23 Thread Richard Heck

On 04/23/2011 02:18 PM, Julien Rioux wrote:

On 23/04/2011 2:12 PM, Igor Kvasnicka wrote:

Hi,
I have a strange problem and I don't know, if it is problem because of
Lyx or Bibtex

My bibtex entry looks like this:

@STANDARD{rfc974,
title = {RFC 974: Mail routing and the domain system},
organization = {Network Working Group},
institution = {CSNET CIC BBN Laboratories Inc},
author = {Craig Partridge},
month = {January},
year = {1986},
url = {http://tools.ietf.org/html/rfc974}
}

notice, that the title has got capital RFC in it...

and now, when I compile it with lyx, the result looks like:
[27] Craig Partridge. Rfc 974: Mail routing and the domain system,
January 1986.

notice, that there is "Rfc" instead of "RFC"

is there any way, how to configure lyx not to lowercase letters in
title? or any other solution?

thanks a lot

Igor



This is done by bibtex, and depends on the style you choose (.bst 
file). You can always prevent it using braces {} around uppercase text:


title = {{RFC} 974: Mail routing and the domain system},

Which is to say: Whenever you have a non-initial capital you want 
preserved, such as someone's name, you must surround it with braces.


Richard



Re: Viewing

2011-04-23 Thread Stephan Witt
Am 23.04.2011 um 18:00 schrieb Hal Kierstead:

> I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
> Skim.  I got Reverse and Forward search working with Skim, but still saving 
> the changed LyX file, and hitting the PDF button does not produce a new PDF 
> view.

Did you check the setting

Preferences -> Sync -> "Check for file changes"?

Stephan

Re: Viewing

2011-04-23 Thread Hal Kierstead

On Apr 23, 2011, at 11:47 AM, Stephan Witt wrote:

> Am 23.04.2011 um 18:00 schrieb Hal Kierstead:
> 
>> I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
>> Skim.  I got Reverse and Forward search working with Skim, but still saving 
>> the changed LyX file, and hitting the PDF button does not produce a new PDF 
>> view.
> 
> Did you check the setting
> 
> Preferences -> Sync -> "Check for file changes"?

In LyX or the viewer preferences?  I cannot find such a preference.  Rh thought 
it was the viewer, and I have found that it does work correctly with Mac's 
Preview.

Hal
> 
> Stephan



Re: Viewing

2011-04-23 Thread Stephan Witt
Am 23.04.2011 um 21:15 schrieb Hal Kierstead:

> 
> On Apr 23, 2011, at 11:47 AM, Stephan Witt wrote:
> 
>> Am 23.04.2011 um 18:00 schrieb Hal Kierstead:
>> 
>>> I am working on a Mac.  My viewer is Adobe Reader, but I have also tried 
>>> Skim.  I got Reverse and Forward search working with Skim, but still saving 
>>> the changed LyX file, and hitting the PDF button does not produce a new PDF 
>>> view.
>> 
>> Did you check the setting
>> 
>> Preferences -> Sync -> "Check for file changes"?
> 
> In LyX or the viewer preferences?  

Sorry, I meant the Skim.app preferences.

> I cannot find such a preference.  Rh thought it was the viewer, and I have 
> found that it does work correctly with Mac's Preview.

Stephan

Re: Viewing

2011-04-23 Thread Steve Litt
On Saturday 23 April 2011 11:20:09 Hal Kierstead wrote:
> While working on a LyX document it would be nice to be able to quickly see
> the the pdf view, just as one can when working on a tex document.  The
> problem I have is that to view changes I must close the current view
> reopen it and then navigate to the the current position, and maybe even
> reposition the window.  Is there a more automated way to do this?
> 
> Thanks,
> 
> Hal

Hi Hal,

Here's what I do on my Linux LyX setup.

Whenever I want to see exactly how it looks, I press Ctrl+D and it compiles up 
a new .dvi file and puts the .dvi file in a .dvi viewer. Elapsed time, about a 
five seconds for a 110,000 word book, on an Intel Core2 Duo @ 2.53GHz with 4GB 
RAM -- in other words, a 2 year old box using Ubuntu and LyX 1.6.5.

No need to exit out of anything. Just press Ctrl+D and 5 seconds later this 
110,000 word doc pops up in a viewer. This is a 350 page document: For a 20 
page doc it would probably be a fraction of a second.

The layout and look of a .dvi file is almost identical to that of a PDF. As a 
matter of fact, many PDFs are made by dvi to ps to pdf. On my machine, going 
to PDF that way takes 23 seconds rather than the 5 of going to dvi.

HTH

StevET

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



Re: super-/subscript Lyx-function name for bindfile

2011-04-23 Thread Paul Rubin
True. I'm on 1.6.x (2.0 requires multiple library upgrades on my Linux systems,
so it's awaiting my next major Linux upgrade).  Sean apparently is on 2.0,
though, so it would seem easier for him to bind the new LFUNs.

Paul



Re: Viewing

2011-04-23 Thread Charlie
On Sat, 23 Apr 2011 17:35:16 -0400
Steve Litt  wrote:

> The layout and look of a .dvi file is almost identical to that of a
> PDF. As a matter of fact, many PDFs are made by dvi to ps to pdf. On
> my machine, going to PDF that way takes 23 seconds rather than the 5
> of going to dvi.

About 5 seconds if you already have Okular loaded. Even though it
brings you file up in a new Okular window.

About 20 if you don't have it loaded.

HTH
Charlie
-- 
Registered Linux User:- 329524
***

The temple bell stops but the sound keeps coming out of the flowers.
--BASHO

***

Debian GNU/Linux - just the best way to create magic

-